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
3e12ff23dAdeel AsgharBetter reading of visual xml file
767bbe4ceAdeel AsgharAlways send utf-8 data from OMEdit to OMC
c8b2e0e0eMartin SjölundUpdate ModelicaExternalC
04b5e7ae6johtiISSUE-5503: Focus set proper when changing the shape that we are activly drawing
a7237c207johtiRemovedOutCommentedCode: Removed code that was not used in Commands.cpp. They are still in the history so should be retrievable
4d4d80992johtienhancement-5444: Now possible to escape while drawing lines and polygons
c6b0e20c0Martin SjölundPrevent some memory leaks in KINSol
7d0026e3fMartin SjölundAbort previous builds when PR has a new commit
6bcd56458Adeel AsgharDocumentation about DynamicSelect and state machine debugging
0468d6921Per Östlund[NF] Avoid evaluating external functions.
a09c8abbbAdrian Popfix MSVC build - handle MSVC that doesn't know how to handle array declarations with sizes set by local variables on the stack
dbe3960e8Martin SjölundRHEL6 requires libatomic_ops/m4 to exist
53f0fcbc8Adeel AsgharAdapt to the new output format for text options
69a67b26eAdeel AsgharSupport non-ascii characters on Windows
38bb5e046arun3688set datarecon uncertain var unreplaceable
0e102be30Adrian 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
ad11e888darun3688generate seperate c function for setting datarecon inputs
00057d265johtiRemoved duplicate code. Instead create a new method for LineAnnotation
dc9a2b2a3Per ÖstlundRemove pedantic option.
cef23d1b3Ruediger Franke[Cpp] Support assignment to vectorized discrete-time states in for loops
61686da50Per Östlund[NF] Implement sum-reduction of operator records.
52269bf53Per Östlund[NF] Add --strict flag.
8e39485c4Martin SjölundCreate m4 directory to please CentOS6
739106a9fPer ÖstlundFix check of flags in Flags.loadFlags.
fcce7079dMartin SjölundAdd the MidCode theses to the list
2ec8f3574Adrian Popupdate 3dParty
4f1956f24Martin SjölundMake a list of flaky tests for the compliance suite
24d90d7f3Martin SjölundUpdate compliance suite tests for newInst
0d019321fAdeel 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
e851d0e3fhudson* libraries d7daa7e...1f7f382 (1): > Bump libraries
f066cbaf9Adrian Pop* libraries 92788d8...d7daa7e (1): > update provided after AdvancedNoise version change
8581d04c0Adrian Popfix ticket:5484 allow only -d=nfAPI to be set
89b42042fAdeel Asgharticket:5481 Updated the parameter when the value is changed
41b846d66Adeel AsgharUpdated translations Thanks to LI Wenhui for Chinese translations
0b3c742c5Lennart Ochel* OMSimulator 5d63a37...83936fb (1): > Update .gitignore
e00938b54Lennart Ochel* OMSimulator 9e04b31...5d63a37 (1): > Emit events for strongly connected systems (#680)
555414b0aAdeel AsgharCheck for the index out of bounds
2f2c9955bAdeel AsgharUnify the getVersion output for all platforms Updated the OMEdit's about page.
f6f572707hudson* libraries bf78c4b...92788d8 (1): > Bump libraries
efba4f83cMartin SjölundThe doc repo is never used
75becfa81Martin SjölundMerge pull request #182 from sjoelund/fix-common-version
c2d73c767Martin SjölundFix version string used
b66fa07c2Martin SjölundAdd 'common/' from commit 'c9c90856e0875fc31ccc71f97114023dc640170b'
746f6d55eMartin SjölundRemove common submodule (use subtree instead)
2ab97af9bMartin SjölundUpdate to the actual latest 3rdParty
4b57428d2Martin SjölundMerge pull request #179 from sjoelund/omcompiler-subtree
8c0cb3f93Martin SjölundAdd common and 3rdParty back
f2b058a41Martin SjölundRemove 3rdParty and common submodules
83be5f2b7Martin SjölundAdd 'OMCompiler/' from commit '5dc61f678fe0ed388fc811fe2cea14c54a0a0b29'
7e93f6768Martin SjölundAdd 'doc/' from commit 'f863b8c3d86223259fa53f7bf5acdbef04727792'
bfa656a78Martin SjölundRemove submodules (to be added as subtree)
5caf2a52ahudson* OMCompiler c33af09...5dc61f6 (1): > any target starting with 'msvc' is msvc
5dc61f678Adrian Popany target starting with 'msvc' is msvc
cf17a88b0hudson* libraries 7a8c41b...bf78c4b (1): > Bump libraries
c33af0978Per Östlund[NF] Check conditional component contexts.
9053eb0fehudson* OMCompiler 9a3a758...c33af09 (1): > [NF] Check conditional component contexts.
5116ef389hudson* OMCompiler ad34730...9a3a758 (1): > [NF] Fix expandable connector lookup.
2f4840a5cPer Östlund[NF] Add expandable connector test.
9a3a75822Per Östlund[NF] Fix expandable connector lookup.
3cd9411fcAdeel 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.
210774d02hudson* 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
4b18e23d8Adrian Pop- update tests due to #3087
ad3473053Adrian 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
92034e2a1hudson* libraries aefdec1...7a8c41b (1): > Bump libraries
432add660Lennart Ochel* OMSimulator b4f2530...9e04b31 (1): > Update OMTLMSimulator
bbf51fa82Lennart Ochel* OMSimulator 89a8623...b4f2530 (1): > Add documentation on how to use OMEdit
99eb5ee5ahudson* libraries b563630...aefdec1 (1): > Bump libraries
27269d25chudson* libraries b24433c...b563630 (1): > Bump libraries
3e23ece3fAdeel AsgharFix the broken TextAnnotation string update
2f616cf17hudson* OMCompiler d9dbed6...92a4119 (1): > Handle complex equations in when statements.
92a411947Andreas HeuermannHandle complex equations in when statements.
bdf4d9f8fhudson* libraries c56853c...b24433c (1): > Bump libraries
d2cce7f75hudson* OMCompiler a4e794b...d9dbed6 (1): > Fix rpath for OMSI FMU with gcc
11ea517bdAndreas[OMSI] Adition test and cleaner tests.
d9dbed6b5AndreasFix rpath for OMSI FMU with gcc
d2c1ff75fLennart Ochel* OMSimulator 1b54304...89a8623 (2): > Add right limit of discrete changes to sub-sampled results > Prettify warnings
ebede8e70Lennart Ochel* OMSimulator 6408a01...1b54304 (1): > Catch filesystem exception
906a9641fhudson* libraries b77e0c4...c56853c (1): > Bump libraries
8de386152hudson* OMCompiler d2540cc...a4e794b (1): > Fix wrong linkage of expat lib for FMUs
a4e794b3fAndreasFix wrong linkage of expat lib for FMUs
6e53e5c67Martin SjölundDo not link TLM with OMEdit
8a0ac6873hudson* OMCompiler 6cebda4...d2540cc (1): > [NF] Improve unit checking.
ae3d4c565Per Östlund[NF] Update tests.
d2540cc70Per Östlund[NF] Improve unit checking.
5e85efc89hudson* OMCompiler c8a95fd...6cebda4 (1): > [NF] Improve overconstrained connection handling.
6cebda438Per Östlund[NF] Improve overconstrained connection handling.
60db07d6bAndreas[OMSimulator] Made OMSimulator tests compatible with Windows
8d278e287Martin SjölundCompile for Qt4
c42eac4f0hudson* libraries 89ea3f9...b77e0c4 (1): > Bump libraries
3b1af5927Adrian Popfix non-existent OMCompiler sumbmodule hash
ffb8d4e2dkabdelhak[fixTest] ticket 4793 - OMC PR #3077
c8a95fdf0kabdelhak[BE] Avoid records in remove simple equations - #4793
6c4f794e3Adeel Asgharticket:5456 Set simCodeTarget and target flags before compilation
80f6ed2acPer ÖstlundFix NFUnitCheck.getFunctionName for records.
b1e80b412hudson* OMCompiler ee7aaab...80f6ed2 (1): > Fix NFUnitCheck.getFunctionName for records.
35dc9df52Francesco Casella* doc 3f37f1a...f863b8c (1): > Added Save Total description to OMEdit doc
f863b8c3dFrancesco CasellaAdded Save Total description to OMEdit doc
ee7aaabe6Adeel Asgharticket:5030 Fix the broken profiling for OMEdit
db4ed5b0fhudson* OMCompiler 5daaf9b...ee7aaab (1): > ticket:5030 Fix the broken profiling for OMEdit
aab467cb8Martin Sjölund* OMSimulator 4d9d552...6408a01 (1): > Override OMTLM=OFF for MacOS platform
5174acb78hudson* libraries 8bd870c...89ea3f9 (1): > Bump libraries
1ebf928deLennart OchelAdd co-simulation test
04784f30cLennart Ochel* OMSimulator 6562003...4d9d552 (1): > Update doc/
b54f826e6Francesco Casella* doc 5d4eef3...3f37f1a (1): > Updated profiler manual
3f37f1a42Francesco CasellaUpdated profiler manual
97cd554d7Adeel AsgharUse MessageWidget instead of std::cout
ae82472achudson* libraries cec7671...8bd870c (1): > Bump libraries
882fadfffAdeel AsgharClear the DiagramWindow when the ModelWidget is deleted
b890c3793Adeel AsgharDeleted the unused file
5ebd90b4dAdeel AsgharUpdated translations Thanks to LI Wenhui for Chinese translations
998ec879ehudson* OMCompiler f6e1212...5daaf9b (1): > [BE] Remove dumping of empty sets from index reduction
5daaf9ba0kabdelhak[BE] Remove dumping of empty sets from index reduction
b3569f0d6Adeel 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.
b38fd6468hudson* OMCompiler 364f80f...f6e1212 (1): > [NF] Fix redeclaration of enumerations.
773e45d67Per Östlund[NF] Add enumeration redeclare tests.
f6e121244Per Östlund[NF] Fix redeclaration of enumerations.
db98c6541hudson* OMCompiler 0baa066...364f80f (1): > fix dataReconciliation top level inputs
364f80f3darun3688fix dataReconciliation top level inputs
6f46e9074hudson* libraries 431293b...cec7671 (1): > Bump libraries
8b0c5d69fhudson* libraries 589cbcd...431293b (1): > Bump libraries
f50739fcdhudson* OMCompiler 10081da...0baa066 (1): > Fix detection of setlocale using -O0
0baa0669fMartin SjölundFix detection of setlocale using -O0
0abe10602hudson* OMCompiler 67b8802...10081da (1): > Fix bug introduced by PR #3067
10081da2cAndreasFix bug introduced by PR #3067
0dba921b1hudson* libraries bf99b97...589cbcd (1): > Bump libraries
d27cc3e0ehudson* OMCompiler 84b5f7e...67b8802 (2): > [OMSI] Added buildModelFMU for simCodeTarget=omsic > [OMSI] Fixed wrong header guard and warnings in OMSIBase and OMSIC
2a6cb1c86Andreas[OMSI] Added first OMSIC test
67b880245Andreas[OMSI] Added buildModelFMU for simCodeTarget=omsic
10a0a9df6Andreas Heuermann[OMSI] Fixed wrong header guard and warnings in OMSIBase and OMSIC
228978df2hudson* OMCompiler 8b33074...84b5f7e (2): > Update 3rdParty > Fixes for latest MacOS release
84b5f7ec3Martin SjölundUpdate 3rdParty
fafb07605Martin SjölundFixes for latest MacOS release
85b17c587hudson* libraries fe0d6a7...bf99b97 (1): > Bump libraries
8b33074ddarun3688generate dataReconc-csvInputs when not exists
9038a09a9hudson* OMCompiler a5eccba...8b33074 (1): > generate dataReconc-csvInputs when not exists
a5eccbadbPer ÖstlundAdd dumping of external declaration annotations.
63453e475hudson* OMCompiler bdf89c3...a5eccba (1): > Add dumping of external declaration annotations.
8eb0d6f80Adeel Asgharticket:5443 Use the doubleClick SIGNAL instead of event
18c7db839hudson* OMCompiler b7a2c69...bdf89c3 (1): > Load libraries case insensitive on case sensitive OS
bdf89c36aMartin SjölundLoad libraries case insensitive on case sensitive OS
377721584hudson* libraries c83e829...fe0d6a7 (1): > Bump libraries
b7a2c6913Volker Waurichcatch crash in visualXML
0b92bbe2bhudson* OMCompiler eef9c24...b7a2c69 (1): > catch crash in visualXML
a2165e34ehudson* 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.
0ec37933fAdeel Asgharticket:2395 Handle the connectorSizing annotation Updated tests to expected output
eef9c24acAdeel 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.
58040af89hudson* OMCompiler 047112f...c252b04 (1): > [OMSI] Add OMSI C library
c252b047bAndreas Heuermann[OMSI] Add OMSI C library
5365af1e4hudson* OMCompiler 2da4cb3...047112f (1): > [NF] stream connector improvements.
fa080aea4Per Östlund[NF] Update actualStream/inStream tests.
047112f28Per Östlund[NF] stream connector improvements.
dfa536280hudson* OMCompiler 22a570f...2da4cb3 (1): > [NF] Fix structural analysis of if-condition.
5e43ef817Per Östlund[NF] Test if equation with impure condition.
2da4cb375Per Östlund[NF] Fix structural analysis of if-condition.
614f67c1eLennart Ochel* OMSimulator 5bb909d...6562003 (1): > Fix loading of msvc/mingw library in OMSimulatorPython
b7f1b627dLennart Ochel* OMSimulator b6d531e...5bb909d (3): > Fix doc/omsimulator-help.inc > Fix doc/addTLMBus > Update doc/setTolerance
a72ff35d8hudson* libraries 142cf0a...c83e829 (1): > Bump libraries
1341337f0hudson* libraries a322705...142cf0a (1): > Bump libraries
8c8c2160bhudson* OMCompiler 8e0f7c5...22a570f (1): > [NF] Disable checks for actualStream/inStream.
3ef8a0b91Per Östlund[NF] Update tests.
22a570fa3Per Östlund[NF] Disable checks for actualStream/inStream.
9265cb20chudson* libraries df309fc...a322705 (1): > Bump libraries
c70c4564ahudson* OMCompiler e9f8330...8e0f7c5 (1): > [NF] inStream/actualStream improvements.
c399c91a5Per Östlund[NF] Add more actualStream/inStream tests.
8e0f7c517Per Östlund[NF] inStream/actualStream improvements.
e098bf749Lennart Ochel* OMSimulator 2561eda...b6d531e (1): > Fix mac build
39e26ad4ahudson* OMCompiler dd336f9...e9f8330 (1): > [SimCode] Remove unnecessary verbose SimCode dump - Repeats the same information - Dump size grows factorially with number of elsewhen statements
e9f83304ekabdelhak[SimCode] Remove unnecessary verbose SimCode dump - Repeats the same information - Dump size grows factorially with number of elsewhen statements
ba1db80f7hudson* libraries c75ad66...df309fc (1): > Bump libraries
fa8cdd143Lennart Ochel* OMSimulator a3b8542...2561eda (2): > Create tasks for subsystems > Move thread pool to model
ab7571796hudson* OMCompiler b423c40...dd336f9 (1): > Allow parsing the Text(textColor = ...) annotation
1add3237cAnatoly TrosinenkoFix the Text(textColor = ...) annotation & re-enable it on icons
dd336f954Anatoly TrosinenkoAllow parsing the Text(textColor = ...) annotation
d8044194chudson* libraries cbe12d8...c75ad66 (1): > Bump libraries
dbc07c832hudsonUpdating submodules
bb5274d1dadrpoupdate tests due to library updates
5d4eef3d1arun3688add search functionality to OMEdit documentation
43dbf0d4cAdeel AsgharRestrict key binding on system libraries
7d31839f0Adeel AsgharUpdated the translation flag text
f1f591f8aAdeel Asgharticket:5132 Don't enable the evaluation of parameters by default
2ad607cd6arun3688add dataReconciliation documentation
b423c4043kabdelhak[BE,daeMode] Fix: add removed (simple) eqns to dae system
646bc9b89hudson* OMCompiler d6957d5...b423c40 (1): > [BE,daeMode] Fix: add removed (simple) eqns to dae system
d3932f418hudson* OMCompiler 5ef43cc...d6957d5 (1): > [BE] Add initial state selection - available with flag "--initialStateSelection" - implemented for C runtime - has still some bugs
d6957d571kabdelhak[BE] Add initial state selection - available with flag "--initialStateSelection" - implemented for C runtime - has still some bugs
20862b7bfAdeel AsgharUse options instead of settings
e5a0c3a32Adeel AsgharMake the class name relative if possible
2e3b0aecbMartin SjölundAlso upload the html folder for the documentation
1c19033acMartin SjölundUpdate compliance suite failure list
13e61863bAdeel Asgharticket:5337 Sync the documentation view with ModelWidget
52e77f788Adeel Asgharticket:5128 Added drag and drop for text layer
18533fb0bhudson* OMCompiler 9a506ce...5ef43cc (1): > Handle uses-annotation according to the standard.
74d015370Per ÖstlundAdded uses-annotation test case.
5ef43cce8Per ÖstlundHandle uses-annotation according to the standard.
d2226ca14hudson* OMCompiler 963b33e...9a506ce (1): > Initial implementation of String vars in the Cpp runtime
9a506ce9bAnatoly TrosinenkoInitial implementation of String vars in the Cpp runtime
7f1a15dedLennart Ochel* OMSimulator 2ca4025...66fe6fe (1): > Update README.md
d49bfd0e8Lennart Ochel* OMSimulator 51a79b6...2ca4025 (1): > Update stale bot configuration
685b27f39Lennart Ochel* OMSimulator 917fc35...51a79b6 (1): > Add option to disabled --fetchAllVars
724d79219hudson* 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
48a1cca9dkabdelhak[fixTest] For OMCompiler PR#3048
963b33e13kabdelhak[BE] Add jacobian dependencies - Preparation for initial state selection, used for matching - The dependencies of a jacobian are all unknowns contained in it
6a4c0f4daAdeel AsgharFixes ticket:5422 Use the root component
44507d2e8hudson* libraries 787ce2b...3606a9e (1): > Bump libraries
d02e5e706hudson* OMCompiler ee4deab...3006b8a (1): > [NF] Fix Typing.typeCrefDim for array types.
65ae27381Per Östlund[NF] Update tests.
3006b8aeePer Östlund[NF] Fix Typing.typeCrefDim for array types.
6527a5893hudson* OMCompiler 3f5cb68...ee4deab (1): > [BE] Add unique index of stateSets as attribute
ee4deabd8kabdelhak[BE] Add unique index of stateSets as attribute
8d7cca52ehudson* OMCompiler f2e6265...3f5cb68 (1): > [C] update inline documentation of stateSelection
3f5cb6832kabdelhak[C] update inline documentation of stateSelection
50b0b1a5eMartin SjölundUpdated mechanism to skip building omc
8f90dd6a2hudson* OMCompiler 2ee23a6...f2e6265 (2): > [NF] Don't evaluate external objects. > [NF] Various fixes.
f2e6265d0Per Östlund[NF] Don't evaluate external objects.
e732ccf14Per Östlund[NF] Update tests.
4f5cf17a3Martin SjölundFix path of .html.tar.xz
d82185e19Per Östlund[NF] Various fixes.
081db194ehudson* OMCompiler 1997057...2ee23a6 (1): > [C] split up sets for state selection
2ee23a6f5kabdelhak[C] split up sets for state selection
f461d8495Adeel AsgharRead the default value Fixed the annotation completer icon path Made the auto complete case insensitive
fdc07bf6dAnatoly TrosinenkoDon't show keyword, etc. completions when in annotation.
0116bcc0dAdeel 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
69bdc32e5Anatoly TrosinenkoImplement simple completer for Modelica annotations (task#5333)
5ea05e7a4Lennart Ochel* OMSimulator 1919978...917fc35 (1): > Fix writing results
457e10e5aMartin SjölundFix string substitution for documentation publishing
a062fb5d5hudson* libraries b7af01f...787ce2b (1): > Bump libraries
9488e89e6hudson* libraries a0e88d4...b7af01f (1): > Bump libraries
333b05acahudson* libraries ca09a28...a0e88d4 (1): > Bump libraries
28aafe6dfhudson* OMCompiler 8a2def5...1997057 (1): > [NF] Various fixes.
353862961Per Östlund[NF] Updated tests.
199705757Per Östlund[NF] Various fixes.
d89db2fcbLennart Ochel* OMSimulator 13c7b5c...1919978 (1): > Handle derivatives that are NAN or INF
b17ab4a46arun3688* OMCompiler 0a7961e...8a2def5 (1): > fix csv file inputs and LOG_STATS for dataReconciliation
d1ca88cdfarun3688update DataReconciliationOpenCpsTests
8a2def5adarun3688fix csv file inputs and LOG_STATS for dataReconciliation
e93b2eb3fAndreas* OMCompiler 45edd24...0a7961e (1): > Fixed error with install_name_tool for OMSI
0a7961e9aAndreasFixed error with install_name_tool for OMSI
e3a228f34Lennart Ochel* OMSimulator dafde86...13c7b5c (1): > Configure stale bot
8fe2e1048Lennart Ochel* OMSimulator 180daf0...dafde86 (2): > Return right-hand limit for derivatives of lookup tables > Fix input derivatives for the first step
6a7d8da89Martin Sjölund* OMCompiler b694f3f...45edd24 (1): > Add a warning if FMU is generated without compile-time URI
96e0644dcMartin SjölundAdd spelling for URI
45edd24a9Martin SjölundAdd a warning if FMU is generated without compile-time URI
c60eac363hudson* libraries 56d8431...ca09a28 (1): > Bump libraries
b694f3f03AndreasFix linking shared libs on mac os
06614510dAndreas* OMCompiler 9cb23bc...b694f3f (1): > Fix linking shared libs on mac os
aff96d67bLennart Ochel* OMSimulator aa2c500...180daf0 (2): > Update pull_request_template.md > Update README.md
a7a7beb40Martin Sjölund* OMCompiler 30afa79...9cb23bc (1): > Move cJSON to Compiler runtime as simulations do not use it
72a8af7a2Martin SjölundUpdate expected output; fewer files in source-code FMU
9cb23bc22Martin SjölundMove cJSON to Compiler runtime as simulations do not use it
d51d900e1Lennart Ochel* OMSimulator 0be281f...aa2c500 (1): > Refactoring of signal derivatives
666b4afefAdeel Asghar* doc 6eaa1a8...0c638e3 (1): > Added documentation about OMEdit menus.
0c638e30aAdeel AsgharAdded documentation about OMEdit menus.
30afa79d3Martin SjölundDisable mmap in FMUs
dbbf20179hudson* OMCompiler 0839b2f...30afa79 (1): > Disable mmap in FMUs
c0bb00db4hudson* OMSimulator bde4da4...0be281f (4): > Run hostname for Windows agent > Provide first order derivatives for lookup-tables > Fix reading time > Refactoring of signal derivatives
516aa1917Adeel Asgharticket:5413 Show a custom warning instead of error message When diff algorithm fails show a warning
6c9b69ce8Martin SjölundUpload generated documentation
c1d8a523fAdeel AsgharAllow simulation with data reconciliation
3b5ce5b21Martin SjölundExpected output for newInst compliance suite
3bb27436ahudson* libraries b5c5422...56d8431 (1): > Bump libraries
6d4ea7919Martin SjölundAdd OMSimulator to default build since testsuite uses it
3cd148870hudson* libraries 5847e5e...b5c5422 (1): > Bump libraries
875d4f4d0Martin Sjölund* libraries 30b8e8a...5847e5e (1): > Force Inline annotation for loadResource
0839b2fe1Per Östlund[NF] Add component prefix checks for records.
26f6fc37fhudson* OMCompiler 450104a...0839b2f (1): > [NF] Add component prefix checks for records.
8fc9c9161Adeel AsgharFixes ticket:5359 Read the modified simulation settings
450104a6cPer Östlund[NF] Fix Expression.typeOf for size(x).
2dc8a1098hudson* OMCompiler 8676697...450104a (1): > [NF] Fix Expression.typeOf for size(x).
e4d287055Adeel AsgharInstall the pre-commit hook for clients Killed tabs Fixed OMPlot link
a9c9afa59hudsonMerge remote-tracking branch 'origin/master' into pullrequest
3868c4881Lennart Ochel* OMSimulator c11f942...bde4da4 (1): > Make 'bufferSize' optional in Python API (setResultFile) (#644)
f55d4f11cMartin Sjölund[CI] Configure gcc build without hwloc
83ebb9bc5Martin SjölundAdd 'testsuite/' from commit 'cabd6f22a34e3402ec62426f92475b945e3d977b'
9469788a6Martin SjölundRemove testsuite (will be re-added as git subtree)
867669786Martin SjölundAllow to configure without hwloc
eebd62940Martin Sjölund* OMCompiler 73c7be8...8676697 (1): > Allow to configure without hwloc
f7c386b92Martin SjölundUpdate compliance failure list
469f281b4Martin Sjölund* OMCompiler 7984f74...73c7be8 (1): > Fix path that the FMU binary is copied back into
73c7be839Martin SjölundFix path that the FMU binary is copied back into
f99509321hudsonUpdating submodules
7984f74f8Martin SjölundCopy source-code FMU to a docker volume before compiling
acb265361hudson* libraries 9b559a1...30b8e8a (1): > Bump libraries
24f4ca419vwaurichincrease animation slider imcrements
2bce6be4eLennart OchelUpdate OMPlot/.gitignore
cabd6f22aAdeel AsgharUpdated getClassNames test to new output
1983c2f14Anatoly TrosinenkoAdd some example auto-completion information for use by OMEdit
9d23be0a4Martin Sjölund* OMCompiler 304f353...a2024ab (1): > Fix path used to debug docker run in FMI cross-compile
a2024ab5cMartin SjölundFix path used to debug docker run in FMI cross-compile
3823fc8e2Adeel AsgharFixes ticket:4842 Export the values with the actual unit
db70cfa50Martin SjölundGenerate Autoconf.mo for Matlab test
707735d92Adeel AsgharFixes ticket:4955 Make sure name doesn't contain any space
304f3536aMartin SjölundFixes for crashes in dynamic FMUs
a18a19d56Martin Sjölund* OMCompiler ed7a206...304f353 (1): > Fixes for crashes in dynamic FMUs
ed7a206baMartin SjölundMore debugging for cross-compilation of FMUs
d192d2cccMartin Sjölund* OMCompiler 5de59c3...ed7a206 (1): > More debugging for cross-compilation of FMUs
a16c8c1c6Martin Sjölund* OMCompiler 17ca1ee...5de59c3 (1): > Fix runtime CFLAGS detection
5de59c3dfMartin SjölundFix runtime CFLAGS detection
48ed322b5Martin Sjölund* OMCompiler 384c6f8...17ca1ee (1): > Fix configure of ModelicaExternalC
17ca1eee8Martin SjölundFix configure of ModelicaExternalC
f6573dbc6Martin Sjölund* OMCompiler 0464950...384c6f8 (1): > Show files visible in docker before failing
384c6f8e7Martin SjölundShow files visible in docker before failing
f6fc0abe3Martin SjölundAlso fix SCRIPT.mos to load Autoconf.mo
441e394c4Martin Sjölund* testsuite 34d4ab0...f6fc0ab (1): > Also fix SCRIPT.mos to load Autoconf.mo
046495012Martin SjölundFix include path for docker FMI builds
e7d826680Martin Sjölund* OMCompiler ccf8c89...0464950 (1): > Fix include path for docker FMI builds
ca8d2de59Martin Sjölund* testsuite b827193...34d4ab0 (1): > Load Autoconf for the matlab translator
34d4ab036Martin SjölundLoad Autoconf for the matlab translator
616fed661Adrian Popno hooks are needed for OMShell, OMEdit, OMPlot, OMNotebook anymore
6cde39315Adeel AsgharUpdated the links
da42c1c59hudson* libraries 0f6241c...9b559a1 (1): > Bump libraries
15dfaa7afhudsonMerge remote-tracking branch 'origin/master' into pullrequest
46bc05c52Martin SjölundChange commit from submodule to symlink
ccf8c899aMartin SjölundLink libzlib explicitly since gcc fails bootstrapping
348afac56Martin Sjölund* OMCompiler f12151c...ccf8c89 (1): > Link libzlib explicitly since gcc fails bootstrapping
a900aeab3Martin SjölundAdd 'OMShell/' from commit 'cf210ceb0fe1d26744b0d62eaee0daa39c9169f5'
0824d635eMartin SjölundRemove OMShell (will be re-added as git subtree)
e55eab08dMartin SjölundAdd 'OMNotebook/' from commit '3671c8f5065aff8145a01a70f941931caf3c07e2'
9277a51f8Martin SjölundRemove OMNotebook (will be re-added as git subtree)
cb7e493ddMartin SjölundAdd 'OMEdit/' from commit '21f82a33bf74193b96a90a473999778440c87380'
1c8913995Martin SjölundRemove OMEdit (will be re-added as git subtree)
4df0afb01Martin SjölundAdd 'OMPlot/' from commit '4b15019d19e127c61fed45ce9148add4fc3fe81e'
b4966f89fMartin SjölundRemove OMPlot (will be re-added as git subtree)
f12151ccaAdeel AsgharMake sure file is not modified before using the cache
c394834f0Adeel Asghar* OMCompiler b9d5e4a...f12151c (1): > Make sure file is not modified before using the cache
2c38819c8Martin Sjölund* OMCompiler 09f079c...b9d5e4a (1): > Clear the extra memory pools on each iteration
b9d5e4a5bMartin SjölundClear the extra memory pools on each iteration
586d36e52Adrian Pop* OMCompiler db4e230...09f079c (1): > [BUILD] - add missing = in Autoconf.mo.omdev.mingw
09f079c67Adrian Pop[BUILD] - add missing = in Autoconf.mo.omdev.mingw
4034105c4Adrian Pop* OMCompiler 81d8a03...db4e230 (1): > [BUILD] - fix System.c external interface for bootstrapping on Windows
db4e230f0Adrian Pop[BUILD] - fix System.c external interface for bootstrapping on Windows
851d1574ahudson* libraries 0efd5c9...0f6241c (1): > Bump libraries
81d8a0365Adrian Pop[BUILD] - fix generation of Autoconf.mo on msys/mingw
9bc3c9b8eAdrian Pop* OMCompiler 02027be...81d8a03 (1): > [BUILD] - fix generation of Autoconf.mo on msys/mingw
295a9d50eAdrian Pop* libraries 501c5f9...0efd5c9 (1): > add provides for NcDataReader2
2984c9693Adeel Asghar* OMEdit a95655f...21f82a3 (1): > Only show documentation for LibraryTreeItem::Modelica
21f82a33bAdeel AsgharOnly show documentation for LibraryTreeItem::Modelica
02027beefMartin SjölundMove more constants from System.mo to Autoconf.mo
ef4b26a03Martin Sjölund* OMCompiler 5db7684...02027be (1): > Move more constants from System.mo to Autoconf.mo
f6f094852Adeel Asghar* OMEdit 03aae16...a95655f (1): > Added `oms_solver_wc_mav2` solver
a95655f00Adeel AsgharAdded `oms_solver_wc_mav2` solver
873868186Adeel Asghar* OMEdit 0bc9db2...03aae16 (1): > Fixes ticket:5412 Close the simulation result file properly
03aae16a2Adeel AsgharFixes ticket:5412 Close the simulation result file properly
ea4c085ebfrape315* OMSimulator 8908238...c11f942 (1): > Adaptive step-size solver for Co-simulation (#602)
b827193b1Martin SjölundLoad Autoconf.mo in bootstrapping tests
42dffbd99Martin SjölundUpdating submodules
5db768488Martin SjölundUse Autoconf.mo instead of external C functions
c5f6f6c83Adeel Asghar* doc 2c7fbf9...6eaa1a8 (1): > Fix indentation
6eaa1a86aAdeel AsgharFix indentation
bd53a7ee6Adeel Asghar* OMEdit 888930a...0bc9db2 (1): > Set the ModelWidget before setting the class text
0bc9db2d1Adeel AsgharSet the ModelWidget before setting the class text
c97542d2cMartin SjölundUpdate work-around for MSL 3.2.1 tables
6ddf108a8Martin 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
13eb1f39eMartin SjölundCompile ModelicaExternalC static lib
4a2a554ebMartin SjölundUse -Wl,-Bstatic for user libraries in FMUs
b75f3413eAdrian Pop* OMCompiler 3997aa3...c84e407 (1): > [RUNTIME] the usual evening fix for Windows builds
c84e407b4Adrian Pop[RUNTIME] the usual evening fix for Windows builds
a69a41014Per Östlund[NF] Add external object connection test.
772fbf080Per ÖstlundUpdating submodules
3997aa3fdPer Östlund[NF] Don't split external objects in connectors.
018430674Per Östlund[NF] Add more when tests.
1e744a345Per ÖstlundUpdating submodules
72c947e42Per Östlund[NF] Fix ExpOrigin.isSingleExpression.
f193e07a0Per Östlund[NF] Add more when tests.
0c6c63a5fPer ÖstlundUpdating submodules
b8d7e26fcPer Östlund[NF] More fixes for checking when-clauses.
473d47918Martin Sjölund* OMCompiler fc29404...adba422 (1): > Call the correct Makefile target on OMDev
adba422feMartin SjölundCall the correct Makefile target on OMDev
3c401647aPer Östlund[NF] Add more when tests.
5427f3e5ePer ÖstlundUpdating submodules
fc29404a7Per Östlund[NF] Fix when-branch cref set check.
36d36230fMartin Sjölund* OMCompiler 53c7613...ec459e7 (1): > Add more timers for solvers
ec459e7baMartin SjölundAdd more timers for solvers
1d88e8a7cMartin Sjölund* OMCompiler e9616ab...53c7613 (1): > Try even harder to fix Windows builds
53c7613a6Martin SjölundTry even harder to fix Windows builds
a8698a50cMartin Sjölund* OMCompiler f337f6d...e9616ab (1): > Fix for Windows builds
e9616abe9Martin SjölundFix for Windows builds
26ce2d8e9Adrian Pop* OMCompiler 9c7d828...f337f6d (1): > [OMSI] link with expat on non Windows
f337f6da5Adrian Pop[OMSI] link with expat on non Windows
a514dc3b7Adrian Pop* OMCompiler a356daf...9c7d828 (1): > [OMSI] fix the search lib path for sundial
9c7d828b1Adrian Pop[OMSI] fix the search lib path for sundial
8a00eba93Adeel Asghar* doc 09c7fa1...2c7fbf9 (1): > Documentation of translation flags in OMEdit
2c7fbf9f3Adeel AsgharDocumentation of translation flags in OMEdit
b900c7ed1Martin SjölundUpdating submodules
cd7e51692Martin SjölundExpected output when listing files in source FMUs
a356daf4bMartin SjölundDo not include the standard FMI headers in the FMU
03a4ab6feMartin SjölundUpdates for source-code FMUs
7e86472eaAdrian Pop* OMCompiler ab4e3e6...e13c1c3 (1): > attempt to fix MacOS builds - depend OMSI on fmil as well
e13c1c325Adrian Popattempt to fix MacOS builds - depend OMSI on fmil as well
4e96c49faPer Östlund[NF] Add more when-tests.
abc4efe61Per ÖstlundUpdating submodules
ab4e3e623Per Östlund[NF] Improve error checking of when-clauses.
b1dd04d8ehudsonUpdating submodules * OMEdit f000581...888930a (1): > Set setSaveContentsType to SaveInOneFile when creating non-existing classes Fixed a typo
e3fab539cAndreas[OMSI] Add OMSIBase library with solvers
1d7487d43Andreas* OMCompiler f881685...e3fab53 (1): > [OMSI] Add OMSIBase library with solvers
f881685f6Per Östlund[NF] Fix visualization (ticket:5319).
96f619012Per Östlund* OMCompiler b70342a...f881685 (1): > [NF] Fix visualization (ticket:5319).
888930a5cAdeel AsgharSet setSaveContentsType to SaveInOneFile when creating non-existing classes Fixed a typo
fa52b4763Adeel Asghar* OMEdit e76522f...f000581 (1): > Set the save contents type when creating non existing classes
f00058119Adeel AsgharSet the save contents type when creating non existing classes
b110bb160Martin SjölundUpdating submodules
b14fc7d6cMartin SjölundAdd testcase for ticket 5360
b70342a5eMartin SjölundMake the diff algorithm handle within in new code
48e0b2172Per Östlund* OMCompiler 417604f...759292c (1): > [NF] Remove workaround for ticket:4904.
759292c24Per Östlund[NF] Remove workaround for ticket:4904.
a1b491d5aLennart Ochel* OMSimulator afc407f...6f471e6 (1): > Re-add adaptive step-size control (#614)
417604feeMartin SjölundExtend LOG_STATS_V with more timers
9de0bfe33Martin Sjölund* OMCompiler 2305d75...417604f (1): > Extend LOG_STATS_V with more timers
30e9e67d7Adeel AsgharUpdated the moveClass API test Check for all the loaded classes before and after the `moveClass` API call.
03eb7d62ehudsonUpdating submodules
2305d7585Per ÖstlundFix Interactive.transformClassInProgram.
e537dbc7fhudson* libraries 424050d...501c5f9 (1): > Bump libraries
89078f5d6Per ÖstlundFix integer packing in C code generation.
6ab08f22bPer Östlund* OMCompiler 72fdfb4...89078f5 (1): > Fix integer packing in C code generation.
72fdfb4f8Martin SjölundDo not run both event and output timers at the same time
3965509b4Martin Sjölund* OMCompiler d85a258...72fdfb4 (1): > Do not run both event and output timers at the same time
4a84aaad6hudson* libraries 161233d...424050d (1): > Bump libraries
16b02564bhudson* libraries 55f9bfc...161233d (1): > Bump libraries
13c7f7a2cPer Östlund[NF] Disable final parameter tests.
bf578f09aPer ÖstlundUpdating submodules
d85a25849Per Östlund[NF] Disable evaluation of final parameters.
416ac23a4hudson* libraries d78d477...55f9bfc (1): > Bump libraries
3f3f13ab3Per Östlund[NF] Update tests.
3073eb143Per ÖstlundUpdating submodules
3b38d7b82Per Östlund[NF] Improved parameter evaluation analysis.
38ba20a57hudson* libraries 6dca805...d78d477 (1): > Bump libraries
d8e33dd57Adeel Asghar* OMEdit df3d8f4...e76522f (1): > Check if the bitmap file exists or not
e76522f2dAdeel AsgharCheck if the bitmap file exists or not
b9ff5e13aAdeel Asghar* OMEdit f84bf47...df3d8f4 (1): > Set the editor text via setClassText
050a82062Adrian Popuse fabs for doubles
d2a971e71Adrian Pop* OMCompiler f350041...050a820 (1): > use fabs for doubles
df3d8f427Adeel AsgharSet the editor text via setClassText
3aee09289Adrian Pop* OMCompiler 570e9f0...f350041 (1): > fix MacOS builds
f3500415cAdrian Popfix MacOS builds
b0224f97cAdeel Asghar* OMEdit ed41047...f84bf47 (1): > Only return true from operator< when item is really less than
f84bf474dAdeel AsgharOnly return true from operator< when item is really less than
4b7d2c2aearun3688* OMNotebook da5e18f...3671c8f (1): > Fix some typos in OMNotebookHelp.onb
3671c8f50arun3688Fix some typos in OMNotebookHelp.onb
cd8880928Adrian Popfix tests after update of MSL 3.2.3
7bf714645hudsonUpdating submodules
570e9f077Adeel AsgharOption to filter the nested classes when dumping the class via listFile
ed4104717Adeel AsgharFixes ticket:4799, ticket:4875, ticket:5191 and ticket:5393 Better duplicate functionality.
7dd33ff4aPer Östlund[NF] Update tests.
e9bb8d616Per ÖstlundUpdating submodules
04df807f5Per Östlund[NF] Function scoping improvements.
8a7ebb7b6kabdelhak[fixTest] ticket4793
314b7e3f3kabdelhakUpdating submodules
f63f7ac40kabdelhak[BE] Consider complex as impure for removeSimpleEquations
8de30392bLennart OchelUpdate doc/
f44020770Per Östlund[NF] Real range fixes.
1ca31320ePer Östlund* OMCompiler 2f5968b...f440207 (1): > [NF] Real range fixes.
5a9953276Per Östlund[NF] Update tests.
d5f876799Per ÖstlundUpdating submodules
2f5968bdbPer Östlund[NF] Minor type casting fixes.
09c7fa140Lennart OchelFix link to OMSimulator documentation
9e5561383Per Östlund[NF] Add tests.
d32907bb3Per ÖstlundUpdating submodules
0c79e1c5fPer Östlund[NF] Try to detect instantiation loops.
73d7366f2Adrian Pop* OMCompiler 113e9da...9a49909 (1): > Fix windows build after linking with tables
9a49909f0Adrian PopFix windows build after linking with tables
63cc0598dMartin Sjölund* libraries c97f5db...49acef0 (1): > More libraries changed to BSD3
113e9da81Martin SjölundUpdating 3rdParty
2c626d1a2Martin SjölundUpdating OMCompiler
fe66efcafMartin Sjölund* libraries e218231...c97f5db (1): > Add BSD3 license option for libraries
5e38dd5echkiel* OMEdit 94ae17d...e4f00d9 (1): > fix includes
e4f00d95bhkielfix includes
27b1fa1f8hudson* libraries 70b9949...e218231 (1): > Bump libraries
1b0c51507Per Östlund* OMCompiler 9656261...a5562cc (1): > [NF] Improve ModelicaIO support.
a5562ccabPer Östlund[NF] Improve ModelicaIO support.
36558dcd3Per Östlund* OMCompiler fe78a6d...9656261 (1): > [NF] Implement ModelicaIO_readMatrixSizes.
965626166Per Östlund[NF] Implement ModelicaIO_readMatrixSizes.
e8f547afbhudson* libraries d066e21...70b9949 (1): > Bump libraries
fe78a6da2Per Östlund[NF] Implement ElementSource.getElementSourceTypes.
62f7a1c33Per Östlund* OMCompiler fe6fd31...fe78a6d (1): > [NF] Implement ElementSource.getElementSourceTypes.
df234ac47Martin SjölundUpdating submodules
37bcdd644Martin SjölundUpdate tests (not BackendDump of empty sections)
fe6fd3174Martin SjölundDo not BackendDump empty sections
3f5243a8dPer ÖstlundUpdating submodules
0c072d16ePer Östlund[NF] Add constraining class tests.
61571e834Per Östlund[NF] Merge constraining class modifiers.
8d0023625hudson* 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.
94ae17d60Per ÖstlundFix case of include.
f818ba8aeAdeel 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.
3e59d5b45Adeel Asghar* OMEdit 43ebf04...67fe5ce (1): > Read the activate access annotations setting only at loading
67fe5ced3Adeel AsgharRead the activate access annotations setting only at loading
d61da534bhudson* libraries dfea231...d066e21 (1): > Bump libraries
4a303b3cdhudson* libraries 28952b5...dfea231 (1): > Bump libraries
7912862cbhudson* libraries 8ca1fa2...28952b5 (1): > Bump libraries
04f106144Adeel AsgharMake buildEncryptedPackage export read-only packages
6b821a8a9Adeel AsgharUpdating submodules
43ebf040cAdeel AsgharBundled all import and export actions under File menu Update to new interface of `buildEncryptedPackage` setSaveContentsType whenever we update the class information.
2de609cb3hudson* libraries df1f2a3...8ca1fa2 (1): > Bump libraries
d6785fed8Per ÖstlundUpdating submodules
a10b1953ePer Östlund[NF] Add redeclare test.
56f218af8Per Östlund[NF] Merge redeclared attributes in correct order.
45fd35456Andreas* OMCompiler ea6c155...cfee592 (1): > [OMSI] Preparing Code generation for C
cfee59268Andreas[OMSI] Preparing Code generation for C
0ee8017d1Per Östlund* OMCompiler a0d3cc1...ea6c155 (1): > [NF] Fix ComponentRef.transferSubscripts.
ea6c15501Per Östlund[NF] Fix ComponentRef.transferSubscripts.
d9b6b45b1hudson* libraries 46e6094...df1f2a3 (1): > Bump libraries
cc9f361a6Per ÖstlundUpdating submodules
b11b5d545Per Östlund[NF] Add redeclare test.
a0d3cc1b6Per Östlund[NF] Reuse pointer when redeclaring component.
338c59484Per Östlund* OMCompiler 68d87aa...1cc697e (1): > Add referencePointerString debug function.
1cc697e0ePer ÖstlundAdd referencePointerString debug function.
1e237d2f6Per Östlund* OMCompiler 50bc1b1...68d87aa (1): > [NF] Use explicit scope in InstNode.scopeName.
68d87aa24Per Östlund[NF] Use explicit scope in InstNode.scopeName.
1d1289f36hudson* libraries 17e826b...46e6094 (1): > Bump libraries
9e044ea4ePer ÖstlundUpdating submodules
5a2e7ef25Per Östlund[NF] Update tests.
50bc1b136Per Östlund[NF] Split TUPLE() := TUPLE() assigments.
20e11b521AnHeuermann* OMCompiler f211539...5c656ca (1): > Add comment for parameters in generated code
5c656ca74AnHeuermannAdd comment for parameters in generated code
239e57ff2Adrian Popadd OMEncryption to .gitignore
f211539ebPer Östlund[NF] Hack to fix some array conditions.
6b4efb7b7Per Östlund* OMCompiler ae2ddcb...f211539 (1): > [NF] Hack to fix some array conditions.
645efde67Per Östlund[NF] Add inner/outer test.
3e2cc3700Per ÖstlundUpdating submodules
ae2ddcb40Per Östlund[NF] Inner/outer fixes.
1229c9332Per Östlund* OMCompiler f0376d4...b55fb1b (1): > [NF] Collect functions in array dimensions.
b55fb1b3dPer Östlund[NF] Collect functions in array dimensions.
ee328a996Per Östlund* OMCompiler b691eb1...f0376d4 (1): > [NF] Fix equation counting for _.
f0376d4b6Per Östlund[NF] Fix equation counting for _.
7e05f6955hudson* libraries 2c53690...17e826b (1): > Bump libraries
4e226ae04hudson* libraries 29a50fc...2c53690 (1): > Bump libraries
31dd020a4Per Östlund[NF] Update tests.
78afa1eb6Per ÖstlundUpdating submodules
b691eb147Per Östlund[NF] Improve errors for binding type mismatches.
8a674c236Per Östlund* OMCompiler 69a3ec4...2ba9e4b (1): > [NF] Update the call type when type casting.
2ba9e4bf6Per Östlund[NF] Update the call type when type casting.
0372b6d33Per Östlund* OMCompiler 0470a5b...69a3ec4 (1): > Fix : subscripting in Ceval.cevalSubscriptValue.
69a3ec4faPer ÖstlundFix : subscripting in Ceval.cevalSubscriptValue.
f64db1904Per Östlund* OMCompiler cc9ae78...0470a5b (1): > Improve runtime implementation of 'diagonal'.
0470a5b38Per ÖstlundImprove runtime implementation of 'diagonal'.
15a7e24adPer Östlund* OMCompiler 482cb0e...cc9ae78 (1): > [NF] Improve type casting of some builtins.
cc9ae7881Per Östlund[NF] Improve type casting of some builtins.
7049f3013Per Östlund* OMCompiler ba58857...482cb0e (1): > [NF] Fix function vectorization with type casting.
482cb0e7ePer Östlund[NF] Fix function vectorization with type casting.
1c477aa8dPer Östlund[NF] Add more function vectorization tests.
ba60f6518Per ÖstlundUpdating submodules
ba5885721Per Östlund[NF] Improve function vectorization.
5bf89f092hudson* libraries 7ddab42...29a50fc (1): > Bump libraries
06df31c77Per ÖstlundUpdating submodules
76b2ef35dPer ÖstlundAdd cardinality to spellcheck.
426974a52Per Östlund[NF] Update cardinality tests.
46fdf1a5aPer Östlund[NF] Restrict cardinality usage.
220cd16eahudson* libraries 2064866...7ddab42 (1): > Bump libraries
4961b3653Per Östlund[NF] Fix Call.reductionDefaultValue.
2e48f6561Per Östlund* OMCompiler c4e03c8...4961b36 (1): > [NF] Fix Call.reductionDefaultValue.
f15fcea19Per Östlund* OMCompiler a44d71c...c4e03c8 (1): > [NF] Fix tuple calls in builtins and reductions.
c4e03c808Per Östlund[NF] Fix tuple calls in builtins and reductions.
cfe3263acPer Östlund* OMCompiler 1784812...a44d71c (1): > [NF] Fix scope in Inst.instConnectorCref.
a44d71c00Per Östlund[NF] Fix scope in Inst.instConnectorCref.
a5473164dhudson* libraries 6c1b6a1...2064866 (1): > Bump libraries
08742a3c5Martin SjölundAdd total model for changed ClosedLoop example
f6fbeafcaMartin SjölundUpdating submodules
1e3bbbcd4Per Östlund[NF] Update tests.
35b3d414cPer ÖstlundUpdating submodules
178481276Per Östlund[NF] Improve replaceable base class error message.
31b563012arun3688* OMCompiler 57fb8ee...7c64e95 (1): > generate HTML report and debug log for dataReconciliation
7c64e955farun3688generate HTML report and debug log for dataReconciliation
b37f982b9Per Östlund* OMCompiler 0eec718...57fb8ee (1): > Rename System.stringHashDjb2Mod alias.
57fb8ee7dPer ÖstlundRename System.stringHashDjb2Mod alias.
7d264e89aPer Östlund[NF] Add expandable connector tests.
fa2169b2ehudsonUpdating submodules
0eec718dfPer Östlund[NF] Implementation of expandable connectors.
3d734cf3cMartin SjölundAdded Modelica 2018 US paper
9d9cee99eMartin SjölundAdd some Modelica'2019 papers
f51840c19Adeel 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.
9658c55efAdeel Asgharbump OMEdit
a385b605dAdeel 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.
29420dd9fAdeel AsgharSupport for exporting/importing .mol without encryption/decryption
d09c7c7d8hudson* libraries 9d8c132...a00049d (1): > Bump libraries
2acecddf0Martin Sjölund* OMSimulator 7154469...afc407f (1): > Build CentOS7
98bcb4860Martin Sjölund* OMSimulator 678e5cd...7154469 (2): > Add retry 2 times for MSVC64 target > Fix building on systems using Boost
5c5d5ade8Adeel AsgharCheck if .mol contains .mo files If it does then load them normally
9609be776Adeel Asghar* OMCompiler 61b21df...5c5d5ad (1): > Check if .mol contains .mo files If it does then load them normally
a5d752a91hudson* libraries 4b4cd17...9d8c132 (1): > Bump libraries
4ed92480bMartin SjölundUpdates for newest ThermoPower
a6021ff32Martin SjölundUpdating submodules
5fb237721Adeel Asghar* OMEdit 9f3d0f7...775b6d5 (1): > Fixed OMSimulator documentation link
775b6d575Adeel AsgharFixed OMSimulator documentation link
63783be7ahudson* libraries c5c9afe...c8bfed1 (1): > Bump libraries
64e532c24AnHeuermannNeede one more change of ordering
996d2153bhudsonUpdating submodules
e21082582AnHeuermannChanged order of cse variables in jacobian for dynamicTearing2.mos
61b21dfdaAndreasChanged string documentation, removed unused variables, changed name for omsiAllEquations.
2a07fcecewibraundon't remove DAE_AUX_VAR case in BackendDump
2f1a09846Lennart OchelChanged more comments to documentation strings
f281bdb8dAndreasChanged comments to string documentation in BackEnd/BackendDAE.mo
7e9115667wibraunfix index of jacobian variable in function createJacSimVarsColumn
9b98e73e3wibraunfix added jacobian vars also to HT (#1)
af50f26e4AnHeuermann[OMSI] Preparing data structure for code generation in SimCode
575806cbcAdeel 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.
91743cecbAdeel Asgharticket:5343 set the isReadOnly attribute to false When copying the class make sure we make set `isReadOnly` attribute to false.
221cfcd17hudson* libraries 98ee3a0...c5c9afe (1): > Bump libraries
eb9b5cb79Martin Sjölund* libraries f4899c1...98ee3a0 (1): > Fix 3.2.3 patching
4f5354dd7hudson* libraries 7b754d4...f4899c1 (1): > Bump libraries
a0627421ahudson* libraries 3d1a422...7b754d4 (1): > Bump libraries
d48e82144hudson* libraries 796760d...3d1a422 (1): > Bump libraries
fb0112831Martin Sjölund* OMSimulator 31da4d4...678e5cd (1): > Update OMTLMSimulator
1e9d59d51Adrian Pop* OMCompiler 0c02427...e32846a (1): > more fixes to ticket:5305
e32846a8cAdrian Popmore fixes to ticket:5305
581d9b7c7Adrian Pop* testsuite a6d7282...70e6d3a (1): > add test for ticket:5340
70e6d3af9Adrian Popadd test for ticket:5340
0c02427c1Adrian Popfix for ticket:5340 - handle DAE.INITIAL_TERMINATE in BackendDAECreatelowerEq - correctly add DAE.TERMINATE to the regular equations, not the initial equations
390074568Adrian 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
02540072eLennart Ochel* OMSimulator 063b29a...31da4d4 (1): > Test MSVC64 builds
21221e4e1hudson* libraries f54fc08...796760d (1): > Bump libraries
b5e109e1bAdrian 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
eea5ec294Adrian 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
0c4e65392Martin Sjölund* OMSimulator 15b31e2...063b29a (1): > [Jenkins] Check if submodule was updated unexpectedly
a0daf5f8chudsonUpdating 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
22352d406Per Östlund* OMCompiler 1afef5f...33c5dba (1): > [NF] Fix checkConnectorType for derived nodes.
33c5dbaabPer Östlund[NF] Fix checkConnectorType for derived nodes.
adc135768Per Östlund* OMCompiler a154b44...1afef5f (1): > [NF] Fix default connector type for discrete types.
1afef5fbdPer Östlund[NF] Fix default connector type for discrete types.
a6d7282b3Adrian Popupdate test due to changes in ticket:5336
270177bbdAdrian PopUpdating submodules
a154b4411Adrian Popfix ticket:5336, set non connector instead of potential
223eec880Adrian Popupdate OMCompiler/3rdParty
cea302360Adrian Popupdate 3rdParty
6c58cb89fPer Östlund* OMCompiler 89e4fb8...19e82ea (1): > [NF] Inherit annotations in functions.
19e82eab7Per Östlund[NF] Inherit annotations in functions.
ede3a4372Lennart Ochel* OMSimulator 9015f14...9b58085 (2): > Update OMTLMSimulator > Enable tlm tests again
189f35e99Robert Braun* OMSimulator e923b2a...9015f14 (1): > Sequential initialization of TLM submodels
68e277487Lennart Ochel* OMSimulator 2cb1242...e923b2a (2): > Emit results before stepping WC systems > Improve error messages of setRealInputDerivative
e277dd4f2hudsonUpdating submodules * OMEdit d66d325...9f3d0f7 (1): > Update e-mail address
9f3d0f7c6Lennart OchelUpdate e-mail address
353170ebbLennart Ochel* OMSimulator 827b45e...74ab875 (2): > Make working dir a canonical path > Make working dir the default tmp dir
5eca2c82cAdrian Pop* OMSimulator 6d1a547...827b45e (1): > update OMTLMSimulator
9d3928c68hkiel* OMCompiler a55f71c...89e4fb8 (2): > update documentation of some functions > fix compile warnings
89e4fb8e6hkielupdate documentation of some functions
dfeebf26ehkielfix compile warnings
d64206942hudson* libraries d6f226b...bf186f6 (1): > Bump libraries
fb37f9539Lennart Ochel* OMSimulator 5b18fb2...6d1a547 (1): > Sort API calls in the documentation
ab8a43703Per Östlund* OMCompiler 2de3e75...a55f71c (1): > [NF] Fix type when casting arrays.
a55f71c86Per Östlund[NF] Fix type when casting arrays.
f1702248bLennart Ochel* OMSimulator 2f8dd7a...5b18fb2 (1): > Update OMTLMSimulator
fb4a3775eRobert Braun* OMSimulator dc6caf6...2f8dd7a (1): > Update TLM submodule
a4239907dLennart Ochel* OMSimulator aca92db...dc6caf6 (1): > Add oms_setRealInputDerivative to the API
17e8dc127Lennart Ochel* OMSimulator 0eb72f6...aca92db (2): > Disable tlm tests for now. Revert this ASAP. > Implement soft real-time for co-simulation
00839f2f9Lennart Ochel* OMSimulator 13a80b7...0eb72f6 (1): > Fix command-line option --solver
2de3e7582AnHeuermannRemoved unused makefile rule mkbuilddir
72c250fb6AnHeuermann* OMCompiler b3d5248...2de3e75 (1): > Removed unused makefile rule mkbuilddir
b3d524855arun3688fix Fstar Computation for dataReconciliation
4a9c3a2b2arun3688* OMCompiler ce469c3...b3d5248 (1): > fix Fstar Computation for dataReconciliation
d09ba73adhudson* libraries 0f55607...d6f226b (3): > Bump libraries > update MSL hash > update version in patches to 4.0.0-dev
185f64801Lennart Ochel* OMSimulator 85af15f...13a80b7 (1): > Update links in the README file
75b8c942bAdeel 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.
f9f54cc24Adeel Asghar* OMEdit 51d7b1e...b09a4f0 (1): > ticket:5274 Added a button to open the transformational debugger directly
d66d325c0Adeel AsgharSet the default compiler and allow resetting back to default
f38b366f9Adeel 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.
b09a4f003Adeel Asgharticket:5274 Added a button to open the transformational debugger directly
3a8709612Adeel Asghar* OMEdit f0fa107...51d7b1e (1): > Fix OSX build
51d7b1ef5Adeel AsgharFix OSX build
ce469c3e2Karim Abdelhak[BE] Fix mixed-determined dump and raise index to 10
f5ddcb558Karim Abdelhak* OMCompiler 5c4124c...ce469c3 (1): > [BE] Fix mixed-determined dump and raise index to 10
b58799a80Karim Abdelhak[aspell] added overdetermined underdetermined underconstrained
a28c3f976Lennart Ochel* OMSimulator 32ebddd...85af15f (1): > Remove unused includes
6481cab70Lennart Ochel* OMSimulator a0df12c...32ebddd (2): > Disable concurrent OMSimulator builds > New flag --stripRoot
510ff8ceeAdrian Popupdate OMCompiler with correct 3rdParty
5c4124cc2Adrian Popre-update 3rdParty to latest
23a6c4733Adeel Asghar* OMEdit 9fe7631...f0fa107 (1): > ticket:5048 use the class name for listFile instead of file name
f0fa10751Adeel Asgharticket:5048 use the class name for listFile instead of file name
77305f95bAdeel Asghar* OMEdit 8db5bf7...9fe7631 (1): > ticket:5048 suppress the unnecessary qt warning messages
9fe763165Adeel Asgharticket:5048 suppress the unnecessary qt warning messages
086fe63baarun3688add debug log and fix jacobian transpose for dataReconciliation
c142f68caarun3688* OMCompiler d45128c...086fe63 (1): > add debug log and fix jacobian transpose for dataReconciliation
299f6fd84Martin Sjölund* OMSimulator 75b0296...a0df12c (3): > Get latest OMTLMSimulator > Fix Python C interface > [Jenkins] Fix tests
d45128c2bAdeel AsgharExpose the functions required by OMEncryption
20363b8abAdeel Asghar* OMCompiler c0983d2...d45128c (1): > Expose the functions required by OMEncryption
8c3a23d5aPer Östlund[NF] Update tests.
e212d4da5Per ÖstlundUpdating submodules
c0983d2a8Per Östlund[NF] Fix equation order for branch selection.
106cb58a4Lennart Ochel* OMSimulator 3a00dbf...75b0296 (2): > Re-add testsuite > Remove testsuite submodule
45d68bffahudson* libraries 442de86...0f55607 (1): > Bump libraries
e13c41a26Adrian Popfix ticket:5048, lookup starting in the class, not the parents - only do this if the class is not derived
3bee91c1dAdrian 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
89143c127Adeel 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.
8db5bf7ebAdeel Asgharticket:4369 set the time unit so it doesn't become invalid. Only use the time conversion for time and interactive plot types.
39b77241ahudson* libraries 9bd9478...442de86 (1): > Bump libraries
f44d943bdPer Östlund[NF] Update tests.
6b26f03eePer ÖstlundUpdating submodules
8017c67f8Per Östlund[NF] Expand complex array crefs.
ba4a3e231Per Östlund* OMCompiler 2fee2f0...71414e4 (1): > [NF] Add execStat för Absyn->SCode.
71414e449Per Östlund[NF] Add execStat för Absyn->SCode.
7981963c1hudson* libraries d48f031...9bd9478 (1): > Bump libraries
b145b5522Adeel Asghar* OMPlot af5c4a6...4b15019 (1): > Clean up resources
2fee2f064Per ÖstlundFix code generation for function outputs.
fd9bf81a0Per Östlund* OMCompiler 4b0bcc2...2fee2f0 (1): > Fix code generation for function outputs.
4b15019d1Adeel AsgharClean up resources
8c828b7e0Adeel Asghar* OMEdit 91189d4...3e4797e (1): > Clean the SVGs
3e4797e93Adeel AsgharClean the SVGs
4b0bcc210Per Östlund[NF] Improve Typing.typeExpDim.
b0a364590Per Östlund* OMCompiler 68cc738...4b0bcc2 (1): > [NF] Improve Typing.typeExpDim.
be9c750c6arun3688fix DataReconciliationOpenCpsTests.mos baseline results
53450f865arun3688Updating submodules
68cc73853arun3688fix datareconciliation jacobians var ordering
262caf127hkiel* OMEdit 7353b63...91189d4 (1): > fix for Qt4.8: do not use QStringRef.left() or right()
91189d4fahkielfix for Qt4.8: do not use QStringRef.left() or right()
8558faee4Anatoly Trosinenko* OMEdit ce509a3...7353b63 (2): > Use different icons for autocompleted class and component names > Show meaningful descriptions for autocompleted classes and components
7353b630fAnatoly TrosinenkoUse different icons for autocompleted class and component names
502f86fd7Anatoly TrosinenkoShow meaningful descriptions for autocompleted classes and components
2fe61a6fchudson* libraries 91c7cc3...d48f031 (1): > Bump libraries
aa92d03d8hudson* libraries 8c04a0a...91c7cc3 (1): > Bump libraries
1a1d3db32hudson* libraries 1541c34...8c04a0a (1): > Bump libraries
cd01b362fLennart Ochel* OMSimulator f1611fc...3a00dbf (1): > Fix documentation of oms_importString
ae77dd6edAdeel 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`.
ce509a36cAdeel 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`.
a0d438c29Martin Sjölund* OMCompiler bbc721e...05c8b02 (1): > Unroll the patch commands
05c8b026dMartin SjölundUnroll the patch commands
0da1f6564Martin SjölundUpdates for MSL 3.2.3 being added
8e643e886Martin SjölundUpdating submodules
bbc721e3bPer Östlund[NF] Use System.setUsesCardinality.
ddc484b2ePer Östlund* OMCompiler d255b3a...bbc721e (1): > [NF] Use System.setUsesCardinality.
d255b3a73Martin SjölundUpdating 3rdParty
1d6c04a4cMartin SjölundUpdating OMCompiler
acff4fc14Martin Sjölund* OMCompiler 554ce08...a6a2406 (1): > Remove svn-clean.py
a6a240619Martin SjölundRemove svn-clean.py
8b4fc4efeMartin Sjölund* OMCompiler a27fbae...554ce08 (1): > Unify BSD/OSX and GNU sed syntax to one
554ce08abMartin SjölundUnify BSD/OSX and GNU sed syntax to one
d803f6750Martin SjölundUpdating OMCompiler
a27fbae91Martin SjölundUpdating 3rdParty
bef7e4f63Adeel Asgharticket:5050 Use Qt::ElideRight for value column. Other columns use Qt::ElideMiddle
53121856eMartin Sjölund* OMCompiler fbc944f...e10d5e4 (1): > Use $(MAKE) in Makefile
e10d5e4f5Martin SjölundUse $(MAKE) in Makefile
21d2cf187Martin SjölundUpdating OMCompiler
fbc944f68Martin SjölundUpdating 3rdParty
c8fa40216Adeel Asgharticket#5190 Save the class when saving the documentation
72b57be7fAdeel Asgharticket#5207 Preserve the jacobian type between simulations
acf369209Per Östlund* OMCompiler 0f5c4be...2f863d0 (1): > [NF] Make Real range generation more robust.
2f863d03ePer Östlund[NF] Make Real range generation more robust.
de55ec377Anatoly TrosinenkoDo not pass platform triplets with '&' when compiling FMUs
008aaf86ePer Östlund* OMCompiler 58af603...0f5c4be (1): > [NF] Handle inner/outer in records.
0f5c4be90Per Östlund[NF] Handle inner/outer in records.
0c0957928Anatoly TrosinenkoRefactor GitCommands.{h,cpp}
52aaba44ePer Östlund* OMCompiler 38fd61a...58af603 (1): > [NF] Allow Fortran 77 as external language.
58af603f1Per Östlund[NF] Allow Fortran 77 as external language.
d1d87566fPer Östlund[NF] Update tests.
9531ac33dPer ÖstlundUpdating submodules
a3987d2f8Per Östlund[NF] Add Complex subtraction test.
38fd61a5fPer Östlund[NF] Various fixes.
fa58684ecAdeel Asghar* doc c7d4997...8b616b2 (1): > Improved the OMPython's setXXX functions explanation
8b616b2cfAdeel AsgharImproved the OMPython's setXXX functions explanation
789da9f74Adeel Asghar* doc 50403cf...c7d4997 (1): > Fix heading style
9a3519958Martin SjölundUpdating 3rdParty
06c68c1efMartin SjölundUpdating OMCompiler
c7d4997deAdeel AsgharFix heading style
646c9d059Martin Sjölund* libraries 7061218...5abf33d (1): > Add MSL 3.2.3
29765f548hudson* libraries 582ceb7...7061218 (1): > Bump libraries
8167b9d2bPer Östlund[NF] Partially revert 8fcf925.
a974fed69Per Östlund* OMCompiler be0943f...8167b9d (1): > [NF] Partially revert 8fcf925.
40501effcarun3688* doc 2ef337a...50403cf (1): > fix OMJulia introduction
50403cfa6arun3688fix OMJulia introduction
a0238987dhudson* doc bbccbd9...2ef337a (2): > Merge remote-tracking branch 'origin/master' > users guide doc for FMU animation
2ef337a4eAdeel AsgharMerge remote-tracking branch 'origin/master'
970471d85Volker Waurichusers guide doc for FMU animation
be0943f3aPer Östlund[NF] Fix scoping of redeclared components.
7e3b0eaa7Per Östlund* OMCompiler 247f185...be0943f (1): > [NF] Fix scoping of redeclared components.
247f185a6Per Östlund[NF] Handle importing and inheriting the same name.
2078fcba0Per Östlund* OMCompiler 852d89e...247f185 (1): > [NF] Handle importing and inheriting the same name.
852d89ec5Per Östlund[NF] Fix operator overloading.
96385720ePer Östlund* OMCompiler 8fcf925...852d89e (1): > [NF] Fix operator overloading.
8fcf925f2Per Östlund[NF] Various improvements.
fbf72a40dPer Östlund* OMCompiler fcedc05...8fcf925 (1): > [NF] Various improvements.
fa64771d5Lennart Ochel* OMSimulator 6bfac9a...f1611fc (2): > Updating testsuite > Step me-system also if it doesn't contain any FMU
53bb83a9dWilli BraunUpdating submodules
d97b89374Willi Braunadded test for ticket5294
fcedc05ffWilli Braun[BE] added support for INITIAL_ASSERT in BackendCreate
a36ff7228hudsonUpdating submodules
35ce3fd87Willi Braunadjust test
db18f0d5bKarim Abdelhak[BE]apply simplifyIfEquations on initial equations
21a25349aLennart Ochel* OMSimulator 5fcd6f3...6bfac9a (1): > Revert "Fix bug in oms_compareSimulationResults"
eb421e8aaPer Östlund[NF] Evaluate bindings of complex final parameters.
3f09a7561Per Östlund* OMCompiler bf2e0a4...eb421e8 (1): > [NF] Evaluate bindings of complex final parameters.
bc3ef8138Lennart Ochel* OMSimulator d2a0e99...5fcd6f3 (1): > Fix bug in oms_compareSimulationResults
597b6c86bLennart Ochel* OMSimulator 5ee8cb1...d2a0e99 (1): > New flag --wallTime
5ce87e80fLennart Ochel* OMSimulator 4a05af7...5ee8cb1 (1): > Updating testsuite
6727d600eLennart OchelTest output-states
d164e66abLennart OchelUpdating submodules
c3b5ebb23Lennart OchelExpected output
bf2e0a4e4Lennart OchelDon't rename outputs
2d94743e5hudson* libraries ce198e2...582ceb7 (1): > Bump libraries
f643f5b5aLennart Ochel* OMCompiler e3d42ec...7eaf6bc (1): > Replace BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate
7eaf6bce7Lennart OchelReplace BackendDAEUtil.traverseBackendDAEExpsEqnsWithUpdate
885713e53Per ÖstlundUpdating submodules
0082843b0Per ÖstlundAdd test for --showStructuralAnnotations.
e3d42ecddPer ÖstlundImplement --showStructuralAnnotations flag.
8e4b477fcPer Östlund* OMCompiler 2128334...547468f (1): > Expand crefs when simplifying cat.
547468f7bPer ÖstlundExpand crefs when simplifying cat.
20243de70Lennart Ochel* OMSimulator 3ddb45c...4a05af7 (1): > Fix tables and time in wc-systems
6cc245e7cLennart Ochel* OMSimulator 9890d0f...3ddb45c (2): > Updating testsuite > Fix deletion of associated connections
3534b10abLennart Ochel* OMShell 43edc61...cf210ce (1): > Update .gitignore
cf210ceb0Lennart OchelUpdate .gitignore
4824a887dLennart Ochel* OMSimulator 7d7e812...9890d0f (1): > Remove Identifier.h/cpp
c2b1c9a01hudson* libraries 277c9e5...ce198e2 (1): > Bump libraries
6772ad32aLennart Ochel* OMSimulator 14b8f2b...7d7e812 (2): > Test if regex is valid > Fix result filter for tables
f02df9f01Adeel Asghar* doc 27c9045...bbccbd9 (2): > Document the variable filter option > ModelicaSystem can load dependent Modelica files
bbccbd95bAdeel AsgharDocument the variable filter option
0b6f0159aAdeel AsgharModelicaSystem can load dependent Modelica files
e52a2d854Adeel Asghar* doc 9c99416...27c9045 (1): > Updated examples
27c90450fAdeel AsgharUpdated examples
91daed6d2hudson* libraries 3867ee4...277c9e5 (2): > Bump libraries > update MSL patches due to version changes - update master revision to the lastest in repos.json
88ec3b611hudsonUpdating submodules * OMEdit e519aa1...5016e9c (2): > Update .gitignore > Make oms_system_wc the default system choice
5016e9c73Lennart OchelUpdate .gitignore
31578c083Lennart OchelMake oms_system_wc the default system choice
21283341fAdrian PopUpdating 3rdParty
90ac577e4Adrian PopUpdating OMCompiler
158c497a4Adrian 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)
87023ab54Lennart Ochel* OMPlot c25c2a7...af5c4a6 (1): > Update .gitignore
af5c4a6adLennart OchelUpdate .gitignore
825f1f0f1Lennart OchelUpdating submodules * OMOptim 6cc37d7...794e92d (1): > Update common
43edc6161Lennart OchelUpdate common
9d9580f5bLennart Ochel* OMNotebook bc948d8...da5e18f (1): > Update common
da5e18f2eLennart OchelUpdate common
e60d0de05Lennart OchelUpdate .gitignore
02d3df86dLennart Ochel* OMSimulator c8b9900...470808f (3): > Updating testsuite > Dump error if setReal failed > Dump error if getReal failed
43044cb55Adrian Pop[FMU] static link sundials, ticket:5293
99820f8bdAdrian Pop* OMCompiler e2dbad2...43044cb (1): > [FMU] static link sundials, ticket:5293
e29c9e2cfhudsonUpdating submodules * OMEdit d21bc7d...e519aa1 (1): > ticket#5282 Added a customizable delay in variable filter
e2dbad235Adrian Popmore execstat: at the end of frontend and for checkmodel
9ba78919cAdrian Pop* OMCompiler 5e72f06...e2dbad2 (1): > more execstat: at the end of frontend and for checkmodel
e519aa112Adeel Asgharticket#5282 Added a customizable delay in variable filter
3d550e416Martin Sjölund* OMSimulator a200e03...02399ec (1): > Make a static build using Alpine Linux
de0b3ad99Per ÖstlundUpdating submodules
5c577d75dPer Östlund[NF] Add when test.
5e72f06edPer Östlund[NF] Fix ordering of when-branches.
9e91387feAdeel Asghar* OMEdit 0ce89e2...d21bc7d (1): > Check against the actual stop time Rename for OMSimulator models is not implemented yet.
d21bc7d10Adeel AsgharCheck against the actual stop time Rename for OMSimulator models is not implemented yet.
5290514e7Adeel Asghar* OMEdit 712d903...0ce89e2 (1): > Compare against LibraryType
0ce89e2f0Adeel AsgharCompare against LibraryType
2a10dd5f3Adeel Asghar* OMEdit 5297e5b...712d903 (1): > ticket#5285 Implemented "save as" for OMSimulator models
712d903b2Adeel Asgharticket#5285 Implemented "save as" for OMSimulator models
9d1baa971Adeel Asghar* OMEdit 35a006c...5297e5b (1): > Better handling of system simulation information Allow instantiation and simulation from system and submodel level as well.
5297e5ba0Adeel AsgharBetter handling of system simulation information Allow instantiation and simulation from system and submodel level as well.
b9a78f02cLennart Ochel* OMSimulator 08e3bf9...a200e03 (1): > Fix asynchronous simulation
cd6134b31hudson* OMSimulator 8c8c521...08e3bf9 (2): > Remove obsolete references to OMSimulatorLib.png > Re-add dummy TLM interface
26b40ffe7Lennart Ochel* OMSimulator d573c46...8c8c521 (1): > Add some missing lua and python bindings
785efe178Lennart Ochel* OMSimulator d90764d...d573c46 (1): > Implement oms_getFixedStepSize
470837dbaLennart Ochel* OMSimulator 29991f2...d90764d (1): > v2.1.0-dev
64def7ab0hudsonUpdating submodules * OMEdit 55dabec...35a006c (1): > Do not place autogenerated commands to OMC window command line history
fd4e040b5Per Östlund[NF] Update tests.
5a980e996Per ÖstlundUpdating submodules
8a20ce05cPer Östlund[NF] Propagate structuralness via modifications.
35a006cfcAnatoly TrosinenkoDo not place autogenerated commands to OMC window command line history
253464901Lennart Ochel* OMSimulator 8cec050...3c0c27c (1): > Read version string from file if git is not available
25cfbd504Willi Braunremoved misleading fScalings labels in kinsol dump
0dacf2abaWilli Braun* OMCompiler 8cd9743...25cfbd5 (1): > removed misleading fScalings labels in kinsol dump
dd3ff330eAdeel Asghar* OMEdit 18e18bd...55dabec (1): > ticket#5273 Reset the filters before inserting new items to Variables Browser The filters are applied back after insertion.
55dabec31Adeel Asgharticket#5273 Reset the filters before inserting new items to Variables Browser The filters are applied back after insertion.
b610dde48Adeel Asghar* OMEdit 2b48418...18e18bd (1): > OMSimulator binaries are in bin folder for Windows
18e18bdfaAdeel AsgharOMSimulator binaries are in bin folder for Windows
8cd974325Per Östlund[NF] Fix root class modifiers.
bbf16cdeaPer Östlund* OMCompiler 683050e...8cd9743 (1): > [NF] Fix root class modifiers.
580dd2bb5Lennart Ochel* OMSimulator 29e2dae...8cec050 (1): > Allow setting start values before an FMU is instantiated
080a4a03dLennart Ochel* OMSimulator 1552061...29e2dae (2): > Updating testsuite > Make model->getSystem("") returning the root system
2d5a7feefLennart Ochel* OMSimulator 628d249...1552061 (1): > Update Python bindings
e8dc4c0b9Adrian Pop* libraries dc6dc70...3867ee4 (1): > add .git ending
6f8f24c0fLennart Ochel* OMSimulator 54741bf...628d249 (2): > Update oms_freeMemory > Add more Python bindings
79d048cbbhudsonUpdating submodules * OMSimulator 5efb12d...54741bf (1): > Remove idle bat-files
2bbce9058David Polak* OMCompiler 0ef03fc...683050e (1): > Fix FMU hybrj_ function signature
683050ef1David PolakFix FMU hybrj_ function signature
cc4354dedAnatoly Trosinenko* OMCompiler 23d8d26...0ef03fc (1): > Use the stack bottom value from the old threadData, if available
0ef03fcc6Anatoly TrosinenkoUse the stack bottom value from the old threadData, if available
e290872bfLennart Ochel* OMSimulator 34bf83d...5efb12d (1): > Fix some issues with SSP import for SC systems
db3cabe34hudson* libraries 720a5ce...c8881a0 (1): > Bump libraries
23d8d265bAdrian Popfix metis build on mac
726115113Adrian Pop* OMCompiler 0861aa3...23d8d26 (1): > fix metis build on mac
2f561db06Adrian Pop* OMSimulator d32a5f4...34bf83d (1): > Use curly instead of normal
2fb0879acAdeel Asghar* OMEdit 0bae201...2b48418 (1): > Adapt to oms_setTolerance
2b48418dfAdeel AsgharAdapt to oms_setTolerance
ed8efa22bhudsonUpdating submodules * OMEdit d04b21f...0bae201 (2): > Fix call of oms_setTolerance > Text view for OMSimulator components
0bae201f4Lennart OchelFix call of oms_setTolerance
0861aa330Per Östlund[NF] Fix Typing.typeCrefDim.
585e39728Per Östlund* OMCompiler ea40561...0861aa3 (1): > [NF] Fix Typing.typeCrefDim.
9a352e40bAdeel AsgharText view for OMSimulator components
32f2c4511Per ÖstlundUpdating submodules
6307dbc48Per Östlund[NF] Add reduction tests.
ea4056148Per Östlund[NF] Add type checking for reductions.
78b742bfbLennart OchelUpdating submodules
84a90a33fLennart OchelUpdate tests
d04b21f89Lennart OchelFix oms model state
5cdb13db1Lennart OchelAdapt to OMSimulator API changes
bbc01270dPer Östlund[NF] Record binding fixes.
6717298e9Per Östlund* OMCompiler ef2d3b4...bbc0127 (1): > [NF] Record binding fixes.
ebc2b0f30Adeel Asghar* OMEdit 6bcab54...5ab86e2 (1): > System simulation information for strongly coupled systems
5ab86e244Adeel AsgharSystem simulation information for strongly coupled systems
1002d7bc9hudsonUpdating submodules * OMEdit b3b2c54...6bcab54 (1): > Allow setting OMSimulator flags Removed the oms2 references
6bcab5440Adeel AsgharAllow setting OMSimulator flags Removed the oms2 references
fb6797a73Anatoly Trosinenko* OMEdit 8a25d73...b3b2c54 (1): > Basic implementation of completion for Modelica
b3b2c54c2Anatoly TrosinenkoBasic implementation of completion for Modelica
c14d0527fhudson* libraries bb7703b...2f5b752 (1): > Bump libraries
1ff576939Anatoly Trosinenko* OMEdit 4f53a8a...8a25d73 (1): > Implement feature to move FMU after build
8a25d733fAnatoly TrosinenkoImplement feature to move FMU after build
1a51d290dLennart Ochel* OMSimulator 9bf31c4...724b23a (1): > Updating testsuite
ef2d3b458Per Östlund[NF] Element-wise overloaded operator support.
efa44fb5ePer Östlund* OMCompiler 1f8adde...ef2d3b4 (1): > [NF] Element-wise overloaded operator support.
d663c40d8Per ÖstlundUpdate tests.
164a5ffe7Per ÖstlundUpdating submodules
1f8addeb0Per ÖstlundError message improvements.
7df277138Lennart OchelUpdate DualMassOscillator.mo
2bf67ee95Lennart Ochel* testsuite a5b0f22...7df2771 (1): > Update DualMassOscillator.mo
1f99d4a85Per Östlund[NF] Add case for MUTABLE in Typing.typeExp.
25020e4e4Per Östlund* OMCompiler 5e47a15...1f99d4a (1): > [NF] Add case for MUTABLE in Typing.typeExp.
5e47a157ePer Östlund[NF] Flatten for-loop ranges when unrolling.
df139e6a8Per Östlund* OMCompiler 158a345...5e47a15 (1): > [NF] Flatten for-loop ranges when unrolling.
158a345b4Per Östlund[NF] Fix TypeCheck.getRangeTypeReal.
a2a618928Per Östlund* OMCompiler c0d2c57...158a345 (1): > [NF] Fix TypeCheck.getRangeTypeReal.
c0d2c5729Per Östlund[NF] Improve Ceval.evalArrayConstructor.
749025cd8Per Östlund* OMCompiler 973bab3...c0d2c57 (1): > [NF] Improve Ceval.evalArrayConstructor.
92fe82098Adrian Pop* OMSimulator 0ca3a87...9bf31c4 (1): > link with -latomic on i386
793eed3behudson* libraries b229cc9...bb7703b (1): > Bump libraries
973bab372Per Östlund[NF] Cleanup some toString functions.
12b8cb95fPer Östlund* OMCompiler d681d71...973bab3 (1): > [NF] Cleanup some toString functions.
dc548f0ecLennart Ochel* testsuite 539eebd...a5b0f22 (1): > Test case for coupled ME-FMUs
a5b0f2221Lennart OchelTest case for coupled ME-FMUs
b71408040Lennart Ochel* OMCompiler 8481cc5...d681d71 (1): > Trigger internal computation in initialization mode
d681d7111Lennart OchelTrigger internal computation in initialization mode
114dd97fcLennart Ochel* OMSimulator 25b7058...0ca3a87 (1): > Fix linking boost
8481cc556Per Östlund[NF] Fix type in Ceval.evalArrayConstructor.
fc1361e67Per Östlund* OMCompiler 3c1d34e...8481cc5 (1): > [NF] Fix type in Ceval.evalArrayConstructor.
539eebd8eLennart OchelExpected output
576e64c1cLennart OchelUpdating submodules
2d5427859Lennart Ochel* OMSimulator a8590e0...0d9a538 (1): > Flag to avoid using (wrong) InitialUnknowns from OpenModelica
3c1d34e45Per Östlund[NF] Collect functions in builtin attributes.
ec10172a7Per Östlund* OMCompiler 0fb5b98...3c1d34e (1): > [NF] Collect functions in builtin attributes.
0fb5b980aPer Östlund[NF] Fix Flatten.collectTypeFuncs for arrays.
fbfc3fad8Per Östlund* OMCompiler 2be04fd...0fb5b98 (1): > [NF] Fix Flatten.collectTypeFuncs for arrays.
f17c7f84dhudson* libraries a7b173c...b229cc9 (1): > Bump libraries
2be04fdfcAdrian Pop[NF] support range based on enumeration type
30417ae50Adrian Pop* OMCompiler 1871ad3...2be04fd (1): > [NF] support range based on enumeration type
1871ad300Adrian Popadd more operators and builtin functions to the embedded codegen
0d9909d96Adrian Pop* OMCompiler da97141...1871ad3 (1): > add more operators and builtin functions to the embedded codegen
643bfada5Lennart Ochel* OMSimulator dc81b66...a8590e0 (1): > Fix multiline log messages on Windows
ab601ab7ahudson* libraries 97e5b18...a7b173c (1): > Bump libraries
c15ea990aLennart OchelInitialization of a simple composite model
aa775798bLennart Ochel* testsuite 6c01304...c15ea99 (1): > Initialization of a simple composite model
fb97934ccLennart Ochel* OMSimulator 8198634...dc81b66 (1): > Fix initialization of composite models
bd5825906Lennart Ochel* OMSimulator 26f4f93...8198634 (1): > Fix debug configuration
9f86e33d3Lennart Ochel* OMSimulator 49c2b46...26f4f93 (2): > Check if it is not allowed to set a start value > Check if FMU exists
7cdbd0169hudson* libraries f99d436...97e5b18 (1): > Bump libraries
da9714198Per ÖstlundHandle record better in lowerArrayEqn.
d4af0bd40Per Östlund* OMCompiler c8cc40e...da97141 (1): > Handle record better in lowerArrayEqn.
6c0130470Lennart OchelMove OMSimulator tests to its own folder
135b7b1cbLennart Ochel* testsuite bde3269...6c01304 (1): > Move OMSimulator tests to its own folder
c8cc40e45Per Östlund[NF] Fix Ceval.makeRecordBindingExp.
0c338ceb2Per Östlund* OMCompiler c68f433...c8cc40e (1): > [NF] Fix Ceval.makeRecordBindingExp.
8894598e3hudson* libraries c563d2e...f99d436 (1): > Bump libraries
d5c9d7abbAdeel Asghar* OMEdit 7074e48...4f53a8a (1): > More FMU capability flags Added `canInterpolateInputs` and `maxOutputDerivativeOrder`
4f53a8a7aAdeel AsgharMore FMU capability flags Added `canInterpolateInputs` and `maxOutputDerivativeOrder`
75b75d444Per Östlund* OMCompiler ef2fed9...c68f433 (1): > [NF] Ceval/SimplifyExp improvements.
c68f4330cPer Östlund[NF] Ceval/SimplifyExp improvements.
bde3269e1Lennart OchelTest case for initialization of an FMU
0987149f6Lennart OchelUpdating submodules
ef2fed95fLennart OchelFix more initialization issues with FMUs
8ee41fb4fPer Östlund* OMCompiler 82a256a...2f4f72e (1): > [NF] Fix connection graph.
2f4f72e3fPer Östlund[NF] Fix connection graph.
48530199cMartin SjölundAdd missing depends line
25a996e94hudsonUpdating submodules
43cc0a2a4arun3688add tests for computing reconciled x and sx
82a256a7barun3688add runtime support to dataReconciliation module
0492dfd18Lennart Ochel* OMCompiler 5c68648...a4086ba (1): > Fix initialization of parameters and attributes for FMUs
a4086ba13Lennart OchelFix initialization of parameters and attributes for FMUs
2a93e3e52hudson* libraries 7ad0ed5...c563d2e (1): > Bump libraries
868ae7cbdAdeel Asghar* OMEdit e6e83ea...7074e48 (1): > ticket:5187 Fixed the indentation issue Preserve user formatting where entire sub-packages are kept as single files
7074e4887Adeel Asgharticket:5187 Fixed the indentation issue Preserve user formatting where entire sub-packages are kept as single files
5c686487ePer Östlund[NF] Retype array constructors after ceval.
79fb9fca0Per Östlund* OMCompiler 15e62b7...5c68648 (1): > [NF] Retype array constructors after ceval.
15e62b72cPer Östlund[NF] Improve toString functions.
6b5a2cc2cPer Östlund* OMCompiler 8311f26...15e62b7 (1): > [NF] Improve toString functions.
8311f2653Lennart OchelFix capability flag maxOutputDerivativeOrder
22b81040dLennart Ochel* OMCompiler 0695240...8311f26 (1): > Fix capability flag maxOutputDerivativeOrder
c47a20db4Lennart Ochel* OMSimulator 7196c9a...49c2b46 (1): > Move add_rpath to cmake
069524036Per Östlund[NF] Various fixes.
0fa241056Per Östlund* OMCompiler 43bdde4...0695240 (1): > [NF] Various fixes.
8d6a86bbcMartin Sjölund* OMCompiler 17e1186...43bdde4 (1): > Add the trigonometric functions to EmbeddedC
43bdde4e3Martin SjölundAdd the trigonometric functions to EmbeddedC
5f74dae9fhudsonUpdating submodules * OMSimulator 49fa246...7196c9a (3): > Generate dynamic version of OMSysIdentLib > Misc warning fixes > New implementation of command line flags
17e11864ePer Östlund[NF] Improve Expression.splitRecordCref.
f3830b7fdPer Östlund* OMCompiler cf3c2d4...17e1186 (1): > [NF] Improve Expression.splitRecordCref.
c69acb4a9hudson* libraries 0f44e9f...04efb7e (1): > Bump libraries
cf3c2d444Per Östlund[NF] Fix DAE conversion of ^ operator.
06230fdefPer Östlund* OMCompiler b839fa1...cf3c2d4 (1): > [NF] Fix DAE conversion of ^ operator.
b839fa14fPer Östlund[NF] Fix DAE conversion of / operator.
5ddf5fe2cPer Östlund* OMCompiler 8ad5de1...b839fa1 (1): > [NF] Fix DAE conversion of / operator.
3a416d669Per ÖstlundAdd moveClass test.
6508c93faPer ÖstlundUpdating submodules
8ad5de13bPer ÖstlundImplement Interactive.transformPathedClassInClass.
94854f254Martin Sjölund* doc d08d562...9c99416 (1): > Add DOI for Eurosim 2016
9c994164fMartin SjölundAdd DOI for Eurosim 2016
5f35ad2e2hudson* libraries dba5111...0f44e9f (1): > Bump libraries
0ef3ef7c2Anatoly Trosinenko* OMSimulator e9e1403...49fa246 (1): > Logging: do not call vsnprintf for disabled debug messages
57ef0b196hudson* libraries 174a4f0...dba5111 (1): > Bump libraries
dd401ea20hudson* libraries 6147311...174a4f0 (1): > Bump libraries
1e836b6e7Anatoly TrosinenkoImplement *_get_5D(...) array accessors
df0452cb6Anatoly Trosinenko* OMCompiler 1b6a960...1e836b6 (1): > Implement *_get_5D(...) array accessors
134d5852aLennart Ochel* OMSimulator b865951...e9e1403 (2): > Support input derivatives > Add maxOutputDerivativeOrder to FMUInfo
ce88c16c2Lennart Ochel* OMSimulator 557cbb7...b865951 (1): > Add bat files to run config and build process
88b1ed64ehudson* libraries 14714c1...6147311 (1): > Bump libraries
1b6a960acAnatoly TrosinenkoDo not complain on NULL returned when allocating 0 objects
ed2cbce38Anatoly Trosinenko* OMCompiler 52cd129...1b6a960 (1): > Do not complain on NULL returned when allocating 0 objects
cd71f416ehudson* libraries a0ef68d...14714c1 (1): > Bump libraries
f05c7c387Adrian Popcheck if common directory exists
c31d49b1fhudson* libraries f22b5e7...a0ef68d (1): > Bump libraries
52cd12972Martin SjölundAdditional debug messages for overdetermined systems
0821045bbMartin Sjölund* OMCompiler 2b1c2bf...52cd129 (1): > Additional debug messages for overdetermined systems
9be213254adrpodisplay the commands during run
ae7259ae4adrpomake it executable
3a1ea1703hudson* libraries 48137c7...f22b5e7 (1): > Bump libraries
a74939d1dAdrian Pop* doc 79083ae...d08d562 (1): > fix sed expression for changing svg to pdf in .tex
d08d5620bAdrian Popfix sed expression for changing svg to pdf in .tex
5c04f7b56Robert Braun* OMSimulator 36f810b...557cbb7 (1): > Enabled oms3_setLoggingLevel for TLM simulations
7e364dedahkiel* OMCompiler 802d9c8...2b1c2bf (1): > fix copy&paste error
2b1c2bf5chkielfix copy&paste error
e4c4f8f73Adrian Pop* doc 4593658...79083ae (1): > proper literal quote for function comments
802d9c8f5Dietmar WinklerBeautifulSoup 3 is no longer maintained, switch to bs4
f026e4317Dietmar Winkler* OMCompiler 4eda4f7...802d9c8 (1): > BeautifulSoup 3 is no longer maintained, switch to bs4
79083ae24Adrian Popproper literal quote for function comments
2c2276b3bAdrian Pop* doc c6431a4...4593658 (1): > fix missing backquote, remove space in literal
4eda4f782Adrian 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
43508c1e2Adrian 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
4593658c7Adrian Popfix missing backquote, remove space in literal
9d0d1a98cAdrian Pop* doc a596ebd...c6431a4 (1): > never ending story
c6431a421Adrian Popnever ending story
3e83e6959Adrian Pop* doc 2ab3862...a596ebd (1): > attempt verbatim escaping
a596ebda9Adrian Popattempt verbatim escaping
5b3e6726dhudson* libraries fbd1815...48137c7 (1): > Bump libraries
3fdcbf2e4hkiel* OMNotebook bec0c66...bc948d8 (2): > fix notebook documents being trashed, trac:5255 > also ask before deleting cell when using keyboard short cut
bc948d82chkielfix notebook documents being trashed, trac:5255
d52fbfc99hkielalso ask before deleting cell when using keyboard short cut
ebb51a350Adrian Pop* doc db03d43...2ab3862 (1): > attempt to fix rst warnings, make class comment verbose
2ab38620aAdrian Popattempt to fix rst warnings, make class comment verbose
d6ee3b73dAdrian Pop* doc a448030...db03d43 (1): > activate the profiling again
db03d43cdAdrian Popactivate the profiling again
df494c231hudson* libraries d697be9...fbd1815 (1): > Bump libraries
771345a74Martin Sjölund* libraries c7a1ffc...d697be9 (1): > M_LS2 2.3.4 provides 2.3.2 functionality
434838c38hkielfix SVG generation script for Python3
d80495aeahkiel* OMCompiler 7140453...434838c (1): > fix SVG generation script for Python3
49f2729f2hudson* libraries 23d1fa6...c7a1ffc (1): > Bump libraries
1696e2d00Lennart Ochel* OMSimulator 6ca3f79...36f810b (1): > Fix performance issue of writing the simulation results
4ff0ebd88hudson* libraries bb717a9...23d1fa6 (1): > Bump libraries
bc6d80863Adeel Asghar* OMEdit 19b718f...e6e83ea (1): > Removed unnecessary debugging/helping code.
e6e83ea33Adrian Popfix ticket:5251, use secsTo instead of direct comparison
1e137dfbcAdrian Pop* OMEdit 4a8d97d...19b718f (1): > fix ticket:5251, use secsTo instead of direct comparision
714045344Adrian Popfix ticket:5250 handle '<' and '>' the way GenerateDoc.mos does
f88769989Adrian Pop* OMCompiler d090ace...7140453 (1): > fix ticket:5250 handle '<' and '>' the way GenerateDoc.mos does
6965af029wibraun* doc d5eccd3...a448030 (1): > added section for DAE mode
a44803077wibraunadded section for DAE mode
dee1ffbadPer Östlund[NF] Add operator overloading array tests.
d1a04bc77Per ÖstlundUpdating submodules
d090ace87Per Östlund[NF] Improve operator overloading.
a8243f554hudson* libraries 9bd3ed5...bb717a9 (1): > Bump libraries
b8ddb69cdAndreasAdded dependency for CPP runtime on Windows mingw build
0823da75bAndreas* OMCompiler 3fa798f...b8ddb69 (1): > Added dependency for CPP runtime on Windows mingw build
3fa798f48niklwors[cppruntime] Adapted zero function tolerance
c0bc3ccc6niklwors* OMCompiler 7a31ea6...3fa798f (1): > [cppruntime] Adapted zero function tolerance
1cabdc1f8Adrian PopUpdating submodules
24f22591bAdrian Popadd test for ticket:5249
7a31ea6b6Adrian Popfix ticket:5249 - add a flag to typed binding to signal if it was flattened - do not flatten again already flattened typed binding
50a0bb93fhudson* libraries 2ba74b0...9bd3ed5 (1): > Bump libraries
83d510501wibraunadded UsersGuide ref ticket:4246
a7a556e82wibraun* OMCompiler 8255622...83d5105 (1): > added UsersGuide ref ticket:4246
825562263Lennart OchelFix typos
cb76bb334Lennart Ochel* OMCompiler 35cf6f8...8255622 (1): > Fix typos
03f4fb32eniklwors* testsuite edc48e4...b7a3f0c (3): > temporary deactivated cpp test > temporary deactivates cpp test > adapted cpp test
b7a3f0cedniklworstemporary deactivated cpp test
e9f8ac159niklworstemporary deactivates cpp test
4329bd6a8niklworsadapted cpp test
4e495f466hudson* libraries 52ea1e6...2ba74b0 (1): > Bump libraries
edc48e43fPer Östlund[NF] Update tests.
94a8f6b55Per ÖstlundUpdating submodules
35cf6f80aPer Östlund[NF] Move overconstrained equation generation.
f327e1776Willi BraunUpdating submodules
918a5f78eWilli Braunupdate daeMode examples
53a0dfdf8Willi Braun[BE] adjust daeMode flag
a5a441c44Per Östlund* OMCompiler 7b01c95...23e4c45 (1): > Improve code generation for ADD/SUB_ARRAY_SCALAR.
23e4c4508Per ÖstlundImprove code generation for ADD/SUB_ARRAY_SCALAR.
1c44f86a1Adeel Asghar* OMEdit 14a8e7b...4a8d97d (1): > ticket:5244 Fix plotting array derivatives
4a8d97dc9Adeel Asgharticket:5244 Fix plotting array derivatives
ebdece43bLennart Ochel* OMSimulator 6bc7844...6ca3f79 (1): > Add --progressBar to CLI
4ce9d1d2dAdrian Pop* libraries f5eaab2...52ea1e6 (1): > add text on how to add a new library
e6fbb61b1hudson* libraries d1c8830...f5eaab2 (1): > Bump libraries
7b01c957bPer Östlund[NF] Fix Record.collectRecordParam.
6383b5954Per Östlund* OMCompiler 32d10a9...7b01c95 (1): > [NF] Fix Record.collectRecordParam.
968a6f7cfAdrian Pop* libraries 6d6603f...d1c8830 (1): > add ThermalSeparation library
de8057ec1hudson* libraries b34a8b8...6d6603f (5): > Bump libraries > update Complex and ModelicaTest trunk patches > Update ModelicaServices trunk patch > update MSL master > update Modelica trunk patch
be84cd68dPer Östlund* OMCompiler d8ca873...32d10a9 (1): > [NF] Record fixes.
32d10a91dPer Östlund[NF] Record fixes.
2a3f35c40Lennart Ochel* OMSimulator ed6d9f8...6bc7844 (1): > Implement a progress bar for stepUntil
50c759882Per Östlund[NF] Add record constructor tests.
37ff3e6dbPer ÖstlundUpdating submodules
d8ca87311Per Östlund[NF] Record constructor fixes.
598960397Per Östlund* OMCompiler c257574...a16d2aa (1): > Fix lowerEqn for initial complex equations.
a16d2aa3fPer ÖstlundFix lowerEqn for initial complex equations.
728409e52Adeel Asghar* OMEdit 2310bb3...14a8e7b (1): > ticket:5187 preserve user formatting
14a8e7bb8Adeel Asgharticket:5187 preserve user formatting
e971eca79Lennart Ochel* OMSimulator eb3cec2...ed6d9f8 (1): > Implement oms3_setLoggingLevel
c257574c6Per Östlund[NF] Collect constructors from record expressions.
8d7f6f8c0Per Östlund* OMCompiler b641911...c257574 (1): > [NF] Collect constructors from record expressions.
b60ef14b1Robert Braun* OMSimulator 1db7789...eb3cec2 (3): > Updating testsuite > Use number of log samples for TLM logging > Log all variables with TLM simulations
8a4a6d9d0hudsonUpdating submodules * OMEdit b7e072e...2310bb3 (1): > Fix OSX build
2310bb3c8Adeel AsgharFix OSX build
2c111aa2cadrpoupdate README.md
9eb6d39f3Lennart Ochel* OMSimulator 7d3831b...9d2f1cc (1): > Add wallTime to systems and components
3856d3c93hudson* libraries b29a005...b34a8b8 (1): > Bump libraries
454cc0f4bPer Östlund* OMCompiler a1f95a6...b641911 (1): > Handle DAE.REDUCTION in differentiateExp.
b64191121Per ÖstlundHandle DAE.REDUCTION in differentiateExp.
db3e5dacdPer Östlund[NF] Add type input/output tests.
64bf6c5e9Per ÖstlundUpdating submodules
a1f95a699Per Östlund[NF] Relax restriction on input/output prefixes.
7e723a6aeLennart Ochel* OMSimulator 0936825...7d3831b (1): > Updating testsuite
aac088eccAdeel Asghar* OMEdit 5866cd2...b7e072e (1): > ticket:5234 Make sure we always set the MainWindow as active after the simulation
b7e072e57Adeel Asgharticket:5234 Make sure we always set the MainWindow as active after the simulation
856ae3fd6Adeel 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
5866cd268Adeel AsgharMake sure we log the messages in the same thread Read the standard output and error files when using the OMSimulator API
dbcd0a438hudson* libraries c5d6e2b...b29a005 (1): > Bump libraries
5e99d5ae7Adrian Popv1.14.0-dev
e9b53fa5aAdrian Popv1.14.0-dev
e1d80fc27Adrian Popv1.14.0-dev
42a18c2efAdrian Popupdate the tagging script
c7cfe9eadAdrian Popadd a script to tag the release
e861b96d5Per Östlund[NF] Update tests.
f4aa462e4Per Östlund[NF] Fix Expression.compare for arrays.
c1a48de42Per Östlund[NF] Add missing cases to Expression.compare.
3693a2765Per Östlund[NF] Update tests.
cb2f4d4dfPer Östlund[NF] Various fixes.
c7c9c712aPer Östlund[NF] Clone derived nodes.
9fc7ba2afPer Östlund[NF] Improve evaluation of record fields.
60f701218Per Östlund[NF] Update tests.
8ffc95a47Per Östlund[NF] Improve functions called through components.
a8fad2e17Adeel AsgharCancel the composite model simulation properly Set the default result file buffer to 100
6abfbe4e9Adeel AsgharCopy the simulation output without HTML formatting
36d1c9e24Willi BraunadjustTests
e7d386dfbWilli Braun[Backend] symbolic jacobian remove defines in generates code
3ab3f3d2fAdeel AsgharDelete the Algloop* files generated by cpp runtime
1ff9da818Adeel AsgharMake sure the result file is new
de1221967Rüdiger Franke[Cpp] Normalize paths for simple concatenation of file names
6770e6300Rüdiger FrankeRename --solver-threads option to confirm with Cpp naming
c842427a6Rüdiger Franke[Cpp] Don't use outputPath for results file, ticket:4773
aa64ed4c6Per Östlund[NF] Constant evaluation optimizations.
a0782120cAdeel AsgharInteractive simulation is only implemented for c-runtime
8b10a6696Per Östlund[NF] Include root name when creating complex DAE types.
99e1c3954Per Östlund[NF] Improve Expression.hasArrayCall.
809abfcb3Per Östlund[NF] Collect more record constructors.
bccd64c5aPer Östlund[NF] Record fixes.
2661fa9b0Rüdiger Franke[Cpp] Implement flags for input and output path, ticket:4773
9bcafd67aRüdiger Franke[Cpp] Fix derivative vars in XmlPropertyReader, ticket:4773
8caab614aAdeel AsgharSet the tolerance for WC systems
d0f02ca1dWilli Braunupdate tests
6f93d97a8WilliScalarize differentiated exp RSUB and TSUB equations
0a46029abWillipartial differentiation of function with record outputs
bcad33063Adeel AsgharSSD text view for systems.
a90734022Adeel AsgharSet the signal filter when instantiating the model.
210af859fRüdiger FrankeRe-add local ModelicaExternalC to Cpp runtime, ticket:5227
2f21e5acdPer Östlund[NF] Add record inheritance tests.
7f7fb5389Per Östlund[NF] Clone inherited classes.
11caab2a3Adeel AsgharAllow adding TLM connector to the component
b75379539Adeel AsgharHighlight oms:TlmMaster keyword
2a71c2e9fAdeel AsgharDon't change the filename
46cf23670Adeel AsgharConnectors are not allowed on a TLM system
96dfd76e2Per Östlund[NF] Evaluate more constants in functions.
12ee163a5Per Östlund[NF] Minor fixes.
6ac3d327cPer Östlund[NF] Fix type checking of tuple expressions.
83bdb3db9Per Östlund[NF] Fix subscripting of ranges.
e49f7dc19Rüdiger FrankeUpdate test with array of overconstrained connectors
eeb0df6ceRüdiger Franke[NF] Treat arrays of overconstrained connectors
2e1519928Adeel AsgharMore structuring of OMSimulator files
e980f70a5Per Östlund[NF] Added partial function application tests.
17cf378aePer Östlund[NF] Initial partial function application support.
0fa800798Per ÖstlundFix anyString for SOME().
f5cbc6bd0Lennart OchelFix CS-FMU doStep function - Fix event handling - Fix integration method (euler)
e8953bb7fAdeel AsgharTLM system simulation information interface
0545fc650Adeel AsgharBetter structuring of OMSimulator related files
dc05202e2Adrian Popfix linearization file generation in Windows (ticket:5223)
b0ea5fef2Adeel AsgharAllow setting the logging interval via oms3_setLoggingInterval
287d131b1Adeel AsgharUse oms3_getTLMVariableTypes to build a drop down list
9fe9b419bAdeel AsgharDifferent colors for tlm connectors based on the domain
a3d1babfdRüdiger FrankeUpdate tests for improved treatment of array equations
19f18d652Rüdiger Franke[BE] Improve inlining and solution of array equations
f80c21e1aRüdiger Franke[Cpp] Use array assign in for loops
6d42c9da9Adeel AsgharVisual difference between system, fmu and table Also added extra visual information on system like system type and on fmu like fmukind and fmuversion.
3ee0acce8Adeel AsgharElementPropertiesDialog to set the parameters and inputs
4b5e4db90Rüdiger FrankeAdd test VectorizedSolarSystem
cb53a44efRüdiger Franke[Cpp] Implement array fill assignments
e2321aef7Rüdiger Franke[BE] Create array equations for array bindings
7603f209dPer ÖstlundUpdate tests.
a581f2909Per ÖstlundImprove parsing of function partial applications.
74a1cd4daAdrian Popfix GC stats
59a2937abLennart OchelExpected output
d5e13f929Lennart OchelSmall changes to Modelica export of linearized models
2621afe56Adeel AsgharTimeManager is not dependent on OSG now.
14969127eMartin SjölundUse OpenModelica rtclock.h for timers
c25c2a74fLennart OchelUpdate common
0e17c70e5Adeel 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
a616890f6Lennart OchelMake dummy states derivatives bidirectional
8fe98ae95hkielremove superfluous matchcontinue
565b72f5dhkielimprove doc generation speed
7322a4331Rüdiger FrankeExpected result when placing iter subs appropriately
789a1ecd9Rüdiger FrankeVectorize equations with iter at appropriate position
c308368c8Per Östlund[NF] Fix Ceval.evalComponentBinding.
42eeda452Per ÖstlundFix inline type checking.
7905e37cfPer Östlund[NF] Fix NFFunction.mapExpParameter.
a2b203f30Per Östlund[NF] Evaluate more package constants in functions.
aa7e9c177Per Östlund[NF] Add another when test.
13a4ae4faPer Östlund[NF] Fix typing of when statements too.
87201bfbfPer Östlund[NF] Add when test.
088d43524Per Östlund[NF] Fix typing of when conditions.
144493f24Rüdiger Franke[Cpp] Fix reduce_array, usub_array and in-situ access to array slice
4125b19e2hkielfix for Python3 remove redundant code optimize string compare
f67148ed7Rüdiger FrankeExpected result treating array flows as array equations
83d21165dRüdiger FrankeTreat array flows as array equations and solve them for code generation
e8bea8597Per Östlund[NF] Improve simplification of functions.
eb5a8a233Adeel AsgharLoad the connections when start/end element is empty
52bf40229hkielincrease performance of file name case sensitivity fix
01e433a52Willi Braunadded test for ticket-5206
5c466368fWilli Braun[BE] add support for if equations as residual equations
8f7c38acbAdeel AsgharSimulate OMSimulator models
19ec6d1a7Per Östlund[NF] Evaluate >= as >=, not as >.
2492d601aPer Östlund[NF] Improve typing of vector().
223798abbPer Östlund[NF] Evaluate parameter subscripts.
87420c2d6Rüdiger FrankeAdd test for vectorized flow connectors
98896ae5cRüdiger Franke[Cpp] Skip array subscripts in cref names if not NF_SCALARIZE
9188bd56eRüdiger Franke[Cpp] Implement operator= for ArraySlice to avoid call to crefIsScalar
648de4264Rüdiger Franke[Cpp] Consider array slices with less subscripts than dimensions
47d8ecf26Rüdiger Franke[Cpp] Fix code generation for array dimensions and slices
d4e9036c7Rüdiger FrankeApply inline to for-equations as well
2b8ffc95bRüdiger FrankeConsider ADD_ARR and SUB_ARR when solving equations
3e8df38ecRüdiger Franke[NF] Treat vectorized connectors with flow variables
023c904a1Williadd RSUB dump to ExpressionDump
4c9b18122Adeel Asgharset text for few commands
1185761b2Adeel AsgharUse `oms3_setConnectionGeometry` instead of `oms3_updateConnection` Edit the TLM connection using `oms3_setTLMConnectionParameters`
41d943353Adeel AsgharFix a typo
5f917a680Adeel AsgharUse --suppressPath flag
0e4d8eed0Per Östlund[NF] Remove bad NFCeval optimization.
c54cb4b24Adrian Popsupport cycles in anyString (ticket:5205)
749313355Adeel AsgharFix Qt4 compilation
804c58ed3Per Östlund[NF] Fix inStream/actualStream on arrays.
ba17bb179Anatoly TrosinenkoPrint a warning when no platforms are specified when generating an FMU
b1cb26e4cAdeel AsgharOnly show input/output connectors on the view Fixed few minor bugs
ef02fddcaAdeel AsgharAllow connections directly from the connectors
fdf0ab151Adeel AsgharHandle the connection if FMU port contains dot
7e08313a8Adeel AsgharAllow creating TLM connection between TLM buses
b2e653625Adeel AsgharTLM buses and connectors
fb6277fecAdeel AsgharEdit bus connection
e8247c90aAdeel AsgharAdd/Load the co-simulation FMUs
63faf7e9cAdeel AsgharRestrict sub systems creation based on the current system type.
eff759e9aAdeel AsgharBus connection dialog
f8d500ad9Adeel AsgharUse `GraphicsView::roundPoint` instead of `GraphicsView::snapPointToGrid` for OMS connections
510f80ce8Adeel AsgharUpdate the component instance when connector/bus is added/updated
6d04063f9Adeel AsgharAllow editing a bus connectors Re-implement redo function only in UndoCommand and use redoInternal in all child commands
1f3978fa3Adeel AsgharExport SSP instead of SSD
5b7ef1e0aAdeel AsgharDon't push the failed commands to UndoStack
6697f70d9Adeel AsgharAtomic connections omscommunication.log file for OMSimulator called APIs
f492eeb34Adeel AsgharSet the logging callback after settings
3344d0e27Adeel AsgharSet the TLM bus geometry Added new OMSimulator tags for syntax highlighting
416a83b3eAdeel AsgharImplemented AddTLMBusDialog Add and load the TLM bus
0072563b4Adeel AsgharAdd bus to the system Green icon for the bus
59832c192Adeel AsgharUse oms3_import to load a model Built-in icons for the connectors Draw the systems and connectors in the ModelWidget
b85412548Adeel AsgharAdd connectors to the system
03ab7794eAdeel AsgharRemoved New FMI model menu item.
b40b971c2Adeel AsgharEnable/disable toolbar buttons based on the active view
98cff3bccAdeel AsgharUpdated add/edit/delete icon commands to support system Use oms3_setElementGeomtry
0b6c0ed4bAdeel AsgharUse oms3_export for saving a model
99d3ba833Adeel AsgharAdd systems and sub systems Icon view for systems with shapes Use oms3_getElements
3b94ba500Adeel AsgharCreate a new model with a root system
a3c597a1eAdeel AsgharUpdate to new oms3_element_type_enu_t Fixed usage of oms3_addSystem
bdd3e2a9bAdeel AsgharAdded oms3_getElement
6cee4f33aAdeel AsgharAdd system dialog
f47adba5eAdeel AsgharCreate/delete model
ac8e7b9f3Adeel AsgharAllow adding connectors to the system Don't draw ModelWidget for signals Added an interface for creating buses
6da90a04ePer Östlund[NF] Generate fold expression for reductions.
2726ae48ePer Östlund[NF] Improve Expression.recordElement.
ba472c677Per Östlund[NF] Add functional argument tests.
fbe0a6675Per Östlund[NF] Initial support for functional arguments.
c6038ff00hkielfix creation of zip file use dominant_baseline instead of alignment_baseline to circumvent SVG display flaw in Firefox
88e51f684Martin Sjölund[fmuChecker] Fix version number
dd78c0858hkielarchive Icons as well clean working dir before creating docs
08c3710b3Adrian Popcopy values of fmi2CallbackFunctions in fmi2Instantiate - copy fmi2CallbackFunctions* functions in fmi2Instantate as it could be freed by the caller environment after the call
ec5dfe941Per Östlund[NF] Add -d=evaluateAllParameters test.
06d58cd7fPer Östlund[NF] Implement -d=evaluateAllParameters.
c77f81ef7hkielsmall fix for GenerateDoc.mos
d129e47b8Per Östlund[NF] Various fixes.
e073cfc20Per Östlund[NF] Fixes for Modelica tables.
d39b07be9Per Östlund[NF] Optimize cref evaluation.
9a925117dPer Östlund[NF] Optimize evaluation of for loops.
7e237d371hkielfix GenerateDoc.mos
fb27486eePer Östlund[NF] Update tests.
ad7bdaf98Per Östlund[NF] Improve handling of Evaluate=true.
ff431bde6hkieltry to fix some "Argument list too long" errors
898f94d47Per Östlund[NF] Simplify trivial array constructors.
084b9e4c0Martin SjölundSet permissions of installed headers
ad14159ddAdrian Popbetter explain where to change directory
3fd362422hkielmake subdirs for hashed SVGs optional
6571fe892Martin SjölundUpgrade libgc to 8.0 release
d5b4c5dfeRüdiger FrankeExpected result
a588c55bcRüdiger FrankeGeneralize FOR_EQUATION in backend from left=right to any equation
54551a332Martin SjölundIgnore GC warnings in rtest
55185a136Rüdiger FrankeUpdate test with more consistent treatment of array equations
01a292863Rüdiger FrankeUse crefToExp when creating backend DAE with arrays
76f3cebd4Rüdiger Franke[NF] Convert equality of array type to DAE.ARRAY_EQUATION
3f575006bPer Östlund[NF] Add conditional component binding tests.
8a234f06dPer Östlund[NF] Allow invalid bindings on deleted components.
993f292abWilli Braunadded testcase for ticket:5185
7a86b4c7eWilli Braun[daeMode] fix decision when use pure algebraic solver
f73af463chkielfix link to svg
aadf3f352Rüdiger FrankeExpected result for size of for-equations
743eec1b1Rüdiger FrankeAdd equation size to vectorized equalities and for loops
8e8393f57Rüdiger Franke[NF] Skip empty array variables and equations
aa010e981Per Östlund[NF] Add Clock constructor tests.
a08ef7bf2Per Östlund[NF] Fix typing of Clock constructors.
5e591840bPer Östlund[NF] Expand transpose during simplification.
56d43b764Per Östlund[NF] Update tests.
f66e5ac11Per Östlund[NF] Disable expansion of function arguments.
b1694bcd6Rüdiger FrankeExpected result avoiding -(-a)
14ec88946Rüdiger FrankeAdapt test to improved treatment of vectorized models
13e5b32c4Rüdiger FrankeAvoid conversion of of a = b to b = -(-a), ticket:5144
e57c4cc10Rüdiger FrankeDisable inlineArrayEqn in vectorized models
58cae62e0wibraun[cRuntime] add some jacobian statistics
13d784af5Per Östlund[NF] Update tests.
75c4b3ecaPer Östlund[NF] Expand function call arguments.
be5254a73wibraunfix SimCodeDump, dump also bool variables
54b3544daPer Östlund[NF] Add if-equation branch selection tests.
88c0b81bcPer Östlund[NF] Do more branch selection during flattening.
3753d6d74hkielremove ulimit from call, it hangs the script
4654c86baPer Östlund[NF] Add record binding test.
18e327174Per Östlund[NF] Split record crefs in binding equations.
9f2d99a48Per Östlund[NF] Add if-equation test.
e14b05432Per Östlund[NF] Improve handling of if-equations.
970357b9bWilli Braunupdate result file with expected results
12ad189cbWilli Braunadded test for ticket:4254
9595dac0eWilli Braun[BE] replace zeroCrossings in jacobian matrices
ecd1fed3eWilli Braun[cRuntime] fix total simulation time measurement
fb2861e8chkieldump model name and start time in generate_icons.py for debugging purpose
bf49d96b0Per ÖstlundOptimize EvaluateFunctions.getStatementLHSScalar
f5699c980Rüdiger FrankeExpected result after evaluation of constants in for-equations
ca41844c3Rüdiger Franke[NF] Evaluate constants in for-equations as well
78191053eRüdiger FrankeRename sub-methods for initialization from define... to init...
1619f730chkielfix race condition on concurrent call
c303e6d32Per ÖstlundOptimize EvaluateFunctions.
1b3bb4d5dRüdiger FrankeAdd test for vectorized blocks
d99646653Rüdiger FrankeSimplify treatment of trivial array equations cref=exp and exp=cref
e645dd791Per ÖstlundAdd missing dgelsy to Lapack functions.
b23d97a76Adeel AsgharFix OMEdit compilation
29048075aRüdiger FrankeRemove separate memberVariableDefinePreVariables
dcd7c9ef5Rüdiger FrankeSeparate init of StatArray from assign with operator=
095844b39hudsonUpdating 3rdParty
a5a404e28hkielclose opened files again
a83744b8dAdeel AsgharUse italic font for parameter textbox in Variables Browser
3f512db30Adeel AsgharUpdate the connection when component transformation is changed Avoid adding extra line to Modelica text Preserve the text position with undo/redo
b7aefa70ehkielDo not crash when Bitmap file is not found
89692f53dPer Östlund[NF] Fix Expression.applySubscriptArray.
65065879cRüdiger FrankeDetect enumeration type in arrays as well
d7274ca92Rüdiger Franke[NF] Keep vectors in connect equations
0dbda2b3bRüdiger Franke[NF] Vectorize arrays of components, ticket:5144
b11ba5911Per Östlund[NF] Add record binding test.
bac7d12e3Per Östlund[NF] Improve typing of record field dimensions.
521d55e98hkielgenerate hashed SVGs in subdirs
7961fdb4dPer Östlund[NF] Improve array assignment in EvalFunction.
00d75285fPer Östlund[NF] Fix typing of dimensions.
6127ec966Per Östlund[NF] Various improvements.
0283b33baPer Östlund[NF] Improve DAE conversion of reductions.
c7d9e16dcPer Östlund[NF] Fix Call.typeCall.
1d6f8f5e5Per Östlund[NF] Update tests.
f34bf81fbPer Östlund[NF] Improve handling of reductions.
63c9d1401Per Östlund[NF] Make inStream evaluation properly recursive.
9f88584b8Per Östlund[NF] Update tests.
9b06327d0Per Östlund[NF] Fix handling of Evaluate annotation.
09a79cbaehkieldo not generate json with icon annotations
976a9966fRüdiger FrankeTreat sample with clock constructor in array equations as well
10a2b6942Rüdiger FrankeAdapt array tests to enhanced backend
ec7f7412eRüdiger FrankeMake inline integration for synchronous models work with arrays
eda1ea2daRüdiger FrankeChange size of array equations to 1 if -nfScalarize
dad3995e5Per Östlund[NF] Use correct origin in Typing.typeCref.
d59074e77hkielembed image data from URI into svg
e6854b504hkielput base64 data into svg image
09d7769b6Per Östlund[NF] Add ceval handlers for Clock constructors.
53e32ce35Adeel AsgharFixes ticket:4956 Use end connector color in case of connection from expandable or array connector to normal connector.
2e8481780Per Östlund[NF] Fix Ceval.evalComponentBinding with 'each'.
7fd4fbc3fAdeel AsgharAllow only the valid FMI versions. ticket:5146
069a6113cRüdiger FrankeAdd tests for array variables and for loops, ticket:5110
3f4c043b5Rüdiger FrankeReactivate Cpp code generation for SimCode.SES_FOR_LOOP
6952465e4Rüdiger FrankeConvert BackendDAE.FOR_EQUATION to SimCode.SES_FOR_LOOP (simplified)
d2c673dcbRüdiger FrankeOptionally strip loop subscript from clocked states
e37e5cc07Rüdiger FrankeExtend treatment of for-equations in backend
9220d77b3Rüdiger FrankeConvert DAE.FOR_EQUATION to BackendDAE.FOR_EQUATION, ticket:5110
0641eaf32Rüdiger FrankeGenerate FMI model structure without dependencies for array vars
dd5a6fd76Rüdiger FrankeTreat variable index for array elements in FMI model description
efe296facRüdiger FrankeRoll out arrays for FMI model description and Cpp init XML files
098c4ec2fRüdiger FrankeTreat array variables during Cpp code generation, ticket:5110
0880a6c60Rüdiger FrankeAssume simple array equations solved and count scalars for ModelInfo
8b160f9d2Rüdiger FrankeLet simple array equations pass the backend, ticket:5110
cc4c1bf6aDietmar WinklerMake sed greedy since there are two links per line to fix
363871639Adrian Pop[NF] don't try to evaluate external functions in the backend
8dd29ae12Adeel AsgharCheck for NULL pointers Avoids crashing Make sure to close the result file in case of error
99f57b454Per Östlund[NF] Update tests.
5468d69dePer Östlund[NF] Move general evaluation to separate phase.
6f85ead02Martin SjölundDo not add weird GCC CFLAGS when using ccc-analyzer
317fb4854Martin SjölundPrint the TRY_FLAGS accepted
1f1ae5094Anatoly TrosinenkoChange FMI version type from double to QString
7ebe12bc5hkieladjust 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
b144bb400Adeel AsgharList OMSimulator dependency in the readme
5bf01fd89Dietmar Winklerformat expects string and encode not needed
62c7358feRüdiger FrankeExpected result for preservation of for loops
b102b4847Rüdiger Franke[NF] Preserve for loops with -d=-nfScalarize, ticket:5110, ticket:5144
84d4820ddAdrian Popincrease the timeout 600s is not enough for MSL icons
43ad2678aAdrian Popticket:5144 do not expand complex array components
d5eccd3e7Arunkumar Palanisamyfix omjulia typos
542669c7fArunkumar Palanisamyupdate omjulia doc
b9307fbc4hkielfix 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
a4010f688Willi Braunadded test for ticket5114
d4d60596cWilli Braun[CG] stip subs before copy array
b86011553Willi Braun[cRuntime] fix minor outpur issue in kinsol
ff4a73549Willi BraunAdjust expected output
16e11dfcbWilli Braunadded test for ticket:4985
090346b01Willi Braun[BE] added debug flag to enable error asserts from min/max attributes
4b2bcb835Adrian Poptests for ticket:5134
0cdd3ea6aAdrian Popfix ticket:5134, pass by reference
4ad0cdf5eAdrian Popupdate tests
d671df53dAdrian 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
9646ce441Per Östlund[NF] Don't evaluate impure funcs in if-conditions.
b0af930c0Adrian Popfix for ticket:5133, make impure function calls be parameter expressions
e941483d3Adrian 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
2708d45b1Adrian Popactivate the needed flags when -d=-nfScalarize is on
aa6173bbdAdrian 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
3048851a8Adrian 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
ee04b9f67Adrian Popadd a test for sample when --std < 3.3
0f7d6b997Adrian 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
8ccbc7ed6Adrian Popsome tests for synchronous features (ticket:5127)
f7f06a216Adrian 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
09518b9e2Adrian 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
629c139eePer ÖstlundUpdate tests.
92b7fbb1dPer ÖstlundCheck named arguments of API calls like simulate.
95e1e1257Willi Braun[BE] fix order of jacobian equation of a dynamic stateSet
03101bd0bPer Östlund[NF] Variability fixes.
0bcaee03bPer Östlund[NF] Expand tranpose better.
232b21346Per Östlund[NF] Fix simplification of transpose.
049ab6934Rüdiger FrankeSupport array equation with der(v) on left hand side
66e7ec84bAdrian Poptest for ticket:5129
18752c9b4Adrian Popfix for ticket:5129
358f0dcc9Adrian 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
eb75cbe88Rüdiger FrankeRestrict to previous with Cpp runtime too, ticket:5110
66ceece9bRüdiger FrankeSupport more vectorized calls for Cpp runtime only, ticket:5110
bfccc5f2dAdrian 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
4aca4b4ceWilli Braun[FMI] added unit test for debug flag "disableFMIDependency"
5b5cfe87bWilli Braun[FMI] added debug flag "disableFMIDependencies"
cadc72bc2Adrian Popremove the output from cleaning, it might change
9e884a5b4Adrian Popremove the output from cleaning, it might change
c3a6587d8Adrian 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
b0370a25ePer Östlund[NF] Add default argument test.
dfb7517bePer Östlund[NF] Do substitution of default function arguments.
3f9ecccd2Adrian Popfix library linking order
db34e7f12Per Östlund[NF] Update min/max tests.
2f395d31aPer Östlund[NF] Fix typing of min/max.
22bbcbbc9Adrian 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
f9edf2817Rüdiger FrankeRestrict collapse of arrays with same call on each element to previous
1fd1dd9e6Rüdiger FrankeCollapse arrays with same call on each element, ticket:5110
df1914c20Per Östlund[NF] Fix ConnectEquations.associatedFlowCref.
7a6d06bafPer Östlund[NF] Update tests.
2fa8c5ec9Per Östlund[NF] Evaluate actualStream.
661b5958fPer Östlund[NF] Improve evaluation of some external functions.
33aa19d18Adrian Popuse LONG_MAX for integer in FMU min/max
eefcdcc54Anatoly TrosinenkoFix String inputs/outputs handling for FMUs
540aa9ca1Per ÖstlundAdd enum equation test.
baf7ba404Per ÖstlundFix for #5111.
32ad2f523Adrian 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
ba6ffa58ePer Östlund[NF] Update tests.
1eeffa0d0Per Östlund[NF] Evaluate functions with constant arguments.
03dba6ee6vrugeupdate test packages
989052ea1Per Östlund[NF] Add function vectorization test.
eb0909d92Per Östlund[NF] Fix function vectorization/cast conflict.
ee8a23cdbPer Östlund[NF] Update tests.
cbc69f9e9Per Östlund[NF] SimplifyExp improvements.
151c704b4Martin SjölundPass linker to qwt
7b82c4131Adrian PopUpdating 3rdParty
f3bd6828cPer Östlund[NF] Update tests.
dd340df3fPer Östlund[NF] Fix nfExpandOperations with unary ops.
ad208503ePer Östlund[NF] Update tests.
b8a07779dPer Östlund[NF] Add flag to expand binary operations.
609455ac2Adrian Popof course windows doesn't like it
852216723Adrian 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
df8e38bd6Adrian 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
576f19837vrugeadded tests for inStream
5ce059386Per Östlund[NF] Fix ExpandExp.expandRange.
7d0f654caPer Östlund[NF] Fix Expression.makeSubscriptedExp.
9aaad999bPer Östlund[NF] Fix Subscript.mergeList.
6e03b386aPer Östlund[NF] Improve subscripting of expressions.
88c345383Adeel AsgharUse beginMacro from ModelWidget Use the .ssd extension for OMSimulator models
33b800de6vruge[BE] fixes for inStream
a2d00efc4vrugeenable tests
2e9a88f3cvrugeadded some tests for inStream
67189f385vruge[BE] improved inStream
4d29aced1vrugeadded some tests for inStream
6ded654f0arun3688Test cases for DataReconciliation algorithm
2f78a66acarun3688implement DataReconciliation algorithm
65f0077e6Adrian Poptest to find out if we need to link with -lboost_regex
e8f50b197Adrian Popfix 32bit architecture detection
134ecffd4Martin SjölundThe OMSimulator library is now called OMSimulator
46d9c5b68vruge[BE] fixes for inStream
13b403fe5vruge[BE] fixes for inStream
49624efbcAdrian Popbetter Qt log
e29273e9fAdrian Popfilter omcommunication.log on #s# to get a csv that you can check for performance
9a25be444Adrian Poplink with boost_atomic for i386 linux
dd0494623Adrian Poplink with -latomic on i386 needed by libOMSimulatorLib.so
51e9b19daniklwors[cppruntime] fixed division by zero during setting start values
9aae697e1Lennart OchelFix volume and number
956eafc1fLennart OchelAdd pages to openmodelica.org:fritzson:sne:2005
17d07dae4Adeel AsgharSave the output format in the simulation flags annotation.
d81695e04Adeel AsgharAllow modifying the SSD of the composite models Load the updated text back when user switches to diagram view.
8eb75ba3eAdeel AsgharAdded a text view for OMSimulator models
94992759dPer Östlund[NF] Relax connector check for e.g. isRoot.
6d27fdff2Per Östlund[NF] Fix SimplifyExp.simplifySubscriptedExp.
62dcbfd13Per Östlund[NF] Fix access violation check for Lookup.
4e5b4c7b3Per Östlund[NF] Ignore some funcs in Expression.hasArrayCall.
6a4d8d1bePer Östlund[NF] Make protected class lookup possible.
ffd939195Per Östlund[NF] Update matrix() test.
f558b3b83Per Östlund[NF] Improve handling of matrix().
07b398de6Adrian 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)
11eaca39aPer Östlund[NF] Inline the skew operator.
72fc67378Per Östlund[NF] Add subscripting tests.
2bfa83f61Per Östlund[NF] Fix expansion of cref slices.
2e978c5e8Adrian Pop[NF] Expandable Connectors [ticket:5015] - partial implementation - during lookup create virtual crefs - during typing, type virtual crefs
9199a1a69Adeel AsgharUse oms2_getSubModelPath for tables
5698726b6Adrian Popmake sure people git clone OMDev properly
6920ca99cAdeel AsgharUpdated the copyright text year.
a9375863dAdeel 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.
717eccdb3Anatoly TrosinenkoImplement detailed function arguments dialog
7606bd6c8Anatoly TrosinenkoAdd "Call function" context menu item
390f239b2Adeel 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
444fbec68Per Östlund[NF] Fix parent in Inst.instComponentExpressions.
f2acbf58aPer ÖstlundFix InstUtil.splitInnerAndOtherTplLstElementMod.
9840114c9Per Östlund[NF] Potential fix for #5063.
a40caf210Per Östlund[NF] Add test for derived root class.
01f706828Per Östlund[NF] Fix instantiation of derived classes.
9533d859cAdrian Popupdate tests due to error message change
363af9f13Adrian Popinclude function name in the error message for clarity
ceb595ee2Adrian Pop[NF] do not set structural parameter variability for constants if they have annotation(Evaluate=true)
e0316423eAdrian Popupdate tests
11bce5aceAdrian 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
4c3f85511Martin SjölundIgnore hwloc warnings
418233658Martin SjölundFix use before define
47f3ecb05Martin SjölundAllow the compliance suite tests to crash
52b169333Willi Braunexpected output
8423437c4Karim Abdelhak[Backend] do not hide $-variables in result file
d199cb75cMartin SjölundUse `chmod a-w` instead of `-w`
fabb954c4Martin SjölundImprove stack overflow detection for compliance suite
f3ff4025fMartin SjölundDisable crane C++ FMU test
9489b472fMartin SjölundHandle stack overflow for compliance suite test
6bfa734e1Martin SjölundAvoid backslashes in JSON strings
63848be39Julien SchuellerAdd cp -r option to ${builddir_share}/omc/runtime/
80b06e9a4Martin SjölundTest all of the compliance suite
fa11a5b6bAdrian Poptest fix for ticket:5054
8c3db214bAdrian Popfix for ticket:5054 - proper prefixing (subscript transfer) of condition in Equation.IF
9ebd34b9dMartin SjölundCompliance-Suite: Fix crash when simulation fails
7d6cb6d47Martin SjölundSort results of compliance suite testing
1c58f5defAdeel 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.
d86a2f08aAdeel AsgharUpdate according to OMSimulator signal format
51c079c5dAdeel AsgharOMSimulator rename functionality
94cae26a1Volker WaurichcopyFile call for scripting api
bab4ecd2fVolker Waurichfix evalOutputOnly
9d2a05f37Adrian 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
500aa7975Willi Braunadjust dump warnings
fc9be10d4Willi Braun[cRuntime] fix nonlinear value extrapolation
489266015Adrian Pop ticket:5054 - add an warning message about missing rooted branch and continue
7eb47d602Willi Braun[cRuntime] adjust tests with nonlinear dumps
bb8f3d85eWilli Braun[cRuntime] improve dump of the non-linear system solution
8fd8d3e21Willi Braun[Backend] fix text of algebraic loops jacobian
44cd6d263adrpofix line endings
70e5adaedAdrian Pop[NF] tests for ticket:4966 overconstrained connection graph
a9fc037cdAdrian 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
b28062c18Adrian 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
2bfa70139Adeel AsgharActivate access annotations documentation
445f370dfAdeel AsgharAdded a new option `Activate Access Annotations` Enables the access annotations for non-encrypted libraries.
d49d6ff0aAdeel Asgharticket:5044 Show platform specific compiler options
67ee5996aAdeel AsgharCheck for the access annotation before calling `listFile` and `getIconAnnotation` avoids unnecessary messages from OMC. Allow opening *.mol files from regular open dialog.
532f7bbcaAdeel AsgharCall `numProcessors` once
15177bd51Adrian 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
c5bc6e519niklworsRemoved code generation for algebraic loop variables and added it to algebraic loop default solver implementation
353b409ddAdeel AsgharFixed indentation Pick the logo from _images folder.
626796c9dAdeel AsgharStart the bullet list from new line.
ebbeebbffAdeel AsgharFixed some warnings
df994567aAdeel 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.
f127f11e5Adeel AsgharUpdated `OMC Flags` to `OMC Command Line Options`
63cdd5e1cAdeel AsgharUpdated OMEdit documentation
4f95c4f90Adeel AsgharShow the OpenModelica logo in the left navigation
a0c6d7b5cAdeel Asgharticket:5047 Return after setting the top window active
9f68fc36dAdeel AsgharFixed heading
185f11c1bAdeel AsgharAdded menu item for OMSimulator users guide.
65a53ae5eAdeel Asgharticket:5046 Added link to OMSimulator documentation.
83e3e9294Adrian Popupdate common
c9c90856eAdeel AsgharInclude lib folder in RPATH_QMAKE
e6b1adb6eAdeel AsgharLink with libomtlmsimulator
01356fff4Adeel AsgharMerge branch 'adeas31-oms'
ebbf3d04aAdeel AsgharMerge remote-tracking branch 'origin/master' into oms
0e9c2ff82Adeel AsgharSplit the log stream checkboxes to 3 columns
857e886b4Adeel 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.
04d541f51Per Östlund[NF] Fix type when expanding unary expressions.
06e511fcaPer Östlund[NF] Array equation fixes.
65d13903bniklworsAdded flag to use only one instance of algebraic loop solver in cpp runtime
23656fa58Adrian Popallow disabling of 'stdout' and 'assert' streams
578550f20Martin SjölundFix path names for compliance suite
66b19e05fMartin SjölundMore options for ModelicaCompliance testing
c44a5382dAdrian Popbetter fix for Windows compilation - use gcc instead of g++ - use -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic instead of -static-stdc++
f251a6043Adrian 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
a32b6223fAdrian 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
8089bfdf4Per Östlund[NF] Fix package constant detection.
bcacb27eaAdeel 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.
52c826abaPer Östlund[NF] Handle SUBSCRIPTED_EXP in Typing.typeExp.
7f60f8293Per Östlund[NF] Don't evaluate local constants in functions.
ba22c5afbAdeel Asgharticket:4983 Update the documentation browser when a new ModelWidget is selected
008d2d22cWilli Braun[FMI] fix directional derivatives in c fmu
2d1ed04acAdeel AsgharAdd quotes around the full command
0eac6626aPer Östlund[NF] Fix lookup error message.
b5ddaa63aPer Östlund[NF] Add ceval tests.
c3159ae3ePer Östlund[NF] Change cref evaluation strategy.
d4dad558eAdeel Asgharticket:4987 Only add the top level model/package to recent files list
862a32451Adeel Asgharticket:4840 Handle the array unit conversion of array modifiers
69d6869ceMartin SjölundFix typo
fee18148dMartin SjölundUpdate expected output for steady state simulation
5ae39b976Martin SjölundReturn success for found steady state simulation
6ca0d8173Per Östlund[NF] Update tests.
53c7b2549Per Östlund[NF] Collect more functions during flattening.
25d5df2bbPer Östlund[NF] Simplification improvements.
fd178e184Per Östlund[NF] Fix simplification of sum/product.
412a02353Per Östlund[NF] Revert to first base class lookup fix.
08b416901Martin SjölundDisabled the C++ static linking test
ab2c84c9cMartin SjölundProperly disable the Motor_mcp test
e3f55e4c6Martin SjölundFix the FMU resource path on Win32
73619c7edPer Östlund[NF] Update delay test.
d870b3b91Per Östlund[NF] Fix `delay` definition.
647ef1079Per Östlund[NF] Fix Ceval error reporting.
7d0153e3fPer Östlund[NF] Simplification improvements.
299bfbc50Per Östlund[NF] Add cardinality tests.
582a03819Per Östlund[NF] Implement evaluation of cardinality.
6ec2d31b3Per Östlund[NF] Better fix for base class lookup issue.
bfcb3895cPer Östlund[NF] Add extends test.
e9a73b9e8Per Östlund[NF] Fix base class lookup.
c9217b308Pierre Haessigfix typos in OMMatlab doc
8654f34d4Adeel AsgharFix indentation
bb446cd7dAdeel AsgharA bit of documentation about encryption support
5b2ac558fMartin SjölundStop testing testBug3902
605c99bb3Martin SjölundDisable HPCOM test Motor_mcp_omp
276bf6fefMartin SjölundChange tested cross-compiled+run platforms
a34b659b0Martin SjölundFix for Windows paths in URIs
6f6611995Martin SjölundAdd script to run FMUs through Jenkins
bcaffcb5fMartin SjölundMove creation of the tar.xz to the Jenkinsfile
a1214cb0aMartin SjölundAlso build x86 in docker
b4d738da1Martin SjölundCross-compile FMUs using docker or the local machine
7cd71ba5fMartin SjölundCheck if file can be opened before using dup2
7660aa043Martin SjölundAdd support for compiling FMUs using docker
3f36b04ddAdrian Popsmall readme update
991c06b4eAdeel AsgharUse listFile when file is encrypted
1257694a0Adeel AsgharlistFile should work for Access.nonPackageText and higher
75c94ec6dAdeel AsgharRestrict instantiateModel based on the access annotation If the class is encrypted then check the access level for instantiateModel
ba2ec9885Per Östlund[NF] Update tests.
bc961b4f7Per Östlund[NF] Expand sum/product in equations/bindings.
94bcd989fMartin SjölundAdded more preprocessor checks for OSG
80bc25f32Adeel AsgharRestrict instantiateModel based on the access annotation.
ad9df37e1Adrian Popadd a readme about using own compiled OpenModelica
863cf1341Per Östlund[NF] Add scalar() test.
facb5c9dbPer Östlund[NF] Improve handling of scalar().
561548584Per Östlund[NF] Improve expression expansion.
3609d875dPer Östlund[NF] Add unknown dim test.
592a4a469Per Östlund[NF] Make array constructors structural in bindings.
891aab58dMartin SjölundDo not point directly into OMCompiler.git
f76128010Martin SjölundThe FMIL includes are necessary to compile OMEdit
1c8bb86deLennart OchelFix copyright header
dfa7337c5Adeel AsgharUse the correct working directory
fb766b3f4Per ÖstlundHandle : in ComponentReference.compareSubs.
dba6b173aPer Östlund[NF] Update tests.
cce54d907Per Östlund[NF] Tuple and array equation improvements.
37e717734Per Östlund[NF] Fix issue with conditional components.
f9bcda0caPer Östlund[NF] Fix scope in Inst.instExpressions.
4eaab01e8Per Östlund[NF] Added conditional connector test.
72ee12239Per Östlund[NF] Improve handling of conditional components.
b74a2f118Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
0fb948cd0Per Östlund[NF] Fix moving of parameter binding to equation.
6fe40c2e9Per Östlund[NF] Remove empty arrays equations.
20dc212eaPer Östlund[NF] Update tests.
24b68a227Per Östlund[NF] Handle initial complex equations better.
27740e16fMartin SjölundUse the FMI 2.0 resources directory for info.json
e3fba96fbMartin SjölundDo not enforce -flto when building FMUs
7f3aeefb4Per Östlund[NF] Update NFModelicaBuiltin.
a107bb4b6Per Östlund[NF] Fix handling of 'each' in Ceval.
d262d0a53Adrian Popsome readme updates after feedback from DING Ni, thanks
c0e48477dAdrian Popsmall readme update
97ad0bf47Adrian Popcheck if the file is valid
d023d7a5bPer Östlund[NF] Add if-equation test.
5e9917054Per Östlund[NF] Evaluate if-conditions in more cases.
fb8371207Per Östlund[NF] Add record array evaluation tests.
05b35777dPer Östlund[NF] Handle evaluation of some record arrays.
23a584f7aMartin SjölundIncrease the colour palette of check.png to 8-bit
8f36866bcAdeel AsgharPass the correct number of arguments.
ab5e5eef5Adeel AsgharKill the library vendor executable after load
def3e2eb6Adeel AsgharStart the library vendor executable separately For each `loadEncryptedPackage` call create only one instance of library vendor executable.
bede77897Per Östlund[NF] Update operator overloading tests.
af928ab2bPer Östlund[NF] Operator overloading fixes.
8dca89a95Per Östlund[NF] Try harder.
71716621cPer Östlund[NF] Update tests.
b5921938bPer Östlund[NF] Try not evaluating complex parameter bindings.
11fdfba1bPer Östlund[NF] Add function evaluation test.
5e365bfc4Per Östlund[NF] Function output type fixes.
e17906458Adrian Popfix include path for SEMLA
7ee060b8bAdrian Pophandle list and listFile if we have encryption
8c6ff4182Adeel AsgharBuild SEMLA from OMEncryption
b9da8d025Per Östlund[NF] Update function vectorization tests.
b96cf7167Per Östlund[NF] Fix function vectorization with type casting.
1761f6d0bDietmar WinklerPy3 fix.
fd86471cbDietmar WinklerUse ZMQ only since testing for CORBA did not really work out.
383f8207fDietmar WinklerRef: #4622 Making the icon generator compatible with ZMQ
7ad3a17b9Per Östlund[NF] Make record constructors work again.
546f25070Per Östlund[NF] Update and add operator overloading tests.
dc81059a3Per Östlund[NF] Operator overloading improvements.
ee2d623d0Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
50faa877aAdeel AsgharAllow creating and loading encrypted package
e076b38dbAdeel AsgharAvoid the NULL pointer exception.
9419b55f7Adeel AsgharMake sure to clean SEMLA
1f361bb09Adeel AsgharRestrict the API based on the access annotation of the encrypted class Show error message when user can't access contents
91cd77d84Rüdiger FrankeFix type of firstTick operator
3cc7e9dc5Per Östlund[NF] Add function derivative tests.
6533bcd6ePer Östlund[NF] Handle function derivative annotations.
82c85da6fPer Östlund[NF] Update tests.
82c686da7Per Östlund[NF] Evaluation improvements.
11f71a367Adeel AsgharAllow adding table as submodel FMU properties context menu
ce21b1069Adeel AsgharFMU inputs via FMU properties dialog
58dca932aPer Östlund[NF] Minor optimization for fold/map of crefs.
f42c0a917Per Östlund[NF] Add more function evaluation tests.
9d7f5d5edPer Östlund[NF] Improve subscripting in EvalFunction.
f4308839cPer Östlund[NF] Expression evaluation fixes.
391deb85bPer Östlund[NF] Add function evaluation test.
15644b5c8Per Östlund[NF] Handle unassigned record field better.
030f49945Per ÖstlundAdd code generation for 'product'.
df6ecef0ePer Östlund[NF] Use correct call attributes everywhere.
216655525Adrian Poptry to not use the new dtags also for shared objects
e8a302419Adrian Pop- handle -Wl,--no-as-needed via configure
cc5bf4bb3Adrian Pophandle -Wl,--disable-new-dtags via configure
cf3746a7bAdrian Popuse RPATH not RUNPATH via -Wl,--disable-new-dtags
4c949e125Adrian Popuse -Wl,--no-as-needed as otherwise the klu test fails
3afa6f7eeVolker Waurichremove duplicated relation checking for cpp codegen, fixes relations using iterators
50fc6a26dAdeel AsgharDisable the renaming feature until its fixed completely
61b04277bPer Östlund[NF] Add nested 'end' test.
84be5a951Per Östlund[NF] Fix variability issues.
2fffc2075Per ÖstlundHandle "()" for __OpenModelica_simulationFlags.
0b2fd737bPer Östlund[NF] Update tests.
c3468c05aPer Östlund[NF] Various fixes.
9d25b3868Adeel AsgharUse oms2_setConnectorGeometry for connectors Bit of code cleanup.
891adba85Per ÖstlundUpdate tests.
afc94ce2ePer ÖstlundUse __OpenModelica_simulationFlags in buildModel
5f2612639Per Östlund[NF] Update tests.
66094846ePer Östlund[NF] Function improvements/cleanup.
7e8c5265fPer Östlund[NF] Add more 'when' tests.
6f42885b4Per Östlund[NF] Improvements to handling of 'when'.
9b09552c3Per ÖstlundAdd evaluation of intBit*.
9878b52aePer Östlund[NF] Fill in field names when converting records.
12e54e083Per Östlund[NF] Fix Package.collectVariableConstants.
a44441915Per Östlund[NF] Allow both types to be unknown in matchTypes.
14022bc06Adeel AsgharAdapt to the changes of asynchronous simulate Added support for get start and stop time APIs.
debb491d8Per Östlund[NF] Apply scope fixes to records constructors too.
f545a43d3Adeel AsgharAllow deleting the submodel icon Restrict few actions on the submodel signals. Respective context menus
fedcaa24dPer Östlund[NF] Update tests.
0fd679dedPer Östlund[NF] Fix scoping issues.
434849110Per Östlund[NF] Update tests.
14c51e072Per Östlund[NF] Pad cref subscripts with :.
e2290c947Per ÖstlundFix ComponentReference.expandCref.
a18520584Per ÖstlundImprove inlining to handle Complex constructor.
e8395d74fPer Östlund[NF] Fix call attributes for operator overloading.
04d958a40Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
2496b7d4bAdeel AsgharModelWidget for FMUs and its signals Handling of iconSource attribute for FMUs.
215b5fc1cPer Östlund[NF] Fix ConnectEquations.makePositiveMaxCall.
3c2d914adPer Östlund[NF] Add function record parameter tests.
526262a25Per Östlund[NF] Fix default values in record constructors.
c2593f279Dietmar WinklerAdd default top alignment for table rows
0ea5484bbPer Östlund[NF] Fix InstNode.scopePath for derived classes.
47387c8adPer Östlund[NF] Update tests.
f09a7d4a8Per Östlund[NF] Improve expansion of reductions.
0f7ec3176Willi Braun[cRuntime] fix typo
73c624c48Per Östlund[NF] Add array concatenation test.
e80e9272dPer Östlund[NF] Implemented expansion of cat and promote.
2ea674852Willi Braun[cRuntime] Fixing LOG_DSS dump
2716d05b8Willi Braun[DAEMode] create aux variable for cse variables
729fcc06bWilli Braun[cRuntime] fix function _omc_maximumVectorNorm
ef288f941Per Östlund[NF] Fix equation counting for algorithms.
62a0cb466Per Östlund[NF] Add tests.
e5b9e3eebPer Östlund[NF] QoL fixes.
74a7737efPer Östlund[NF] Added prefixing test.
71fb0a703Per Östlund[NF] Fix prefixing issue.
abc79f2f8Per Östlund[NF] Add prefixing test.
2d96bc284Per Östlund[NF] Fix flattening of bindings.
4a35da1d5Per Östlund[NF] Add dimension deduction test.
4f6e4cd98Per Östlund[NF] Fix dimension deduction with 'each' bindings.
f0dc63558Per Östlund[NF] Add builtin attribute test.
5733f33e5Per Östlund[NF] Modifier/binding fixes.
3c4e9ad54Per Östlund[NF] Update test.
fed5daceePer Östlund[NF] Fix binding issues.
437e35d61Adrian 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
adbecab95Per Östlund[NF] Update tests.
6b4140324Per Östlund[NF] Various fixes.
bc4d22860Per Östlund[NF] Add array binding test.
0c4854189Per Östlund[NF] Fix ExpressionIterator for arrays.
affad0bf4Per Östlund[NF] Add more class modifier tests.
6a4b5f121Per Östlund[NF] Improve handling of class modifiers.
05591447fPer Östlund[NF] Add more record evaluation tests.
6812b5269Per Östlund[NF] Ignore unused record field bindings.
c06350fe9Per Östlund[NF] Fix record constructor generation issue.
c6677a428Per ÖstlundMake saveTotalModel respect uses-annotations.
54d7a401cPer Östlund[NF] Fix modifier scope in Inst.instClassDef.
c0cc57f7cMartin SjölundBuild lpsolve55 if it is not found
2a436ddf0Per Östlund[NF] Update tests.
74abb6444Per Östlund[NF] Improve binding type mismatch error message.
9a756d2b5Per Östlund[NF] Update tests.
c02ea2ff4Per Östlund[NF] Improve handling of record evaluation.
90c188696Per Östlund[NF] Improve type checking of records.
1a8d98282Per Östlund[NF] Fix generation of record constructors.
2fefbbb86Per Östlund[NF] Improve type checking of records.
13aad5f7aPer Östlund[NF] Update getInstanceName test.
16e088377Per Östlund[NF] Implement getInstanceName().
5df20c635Per Östlund[NF] Update tests.
803cabd92Per Östlund[NF] Record fixes.
57e8ce74fMartin SjölundGenerate correct code for integer mod(i1,i2)
bad53a2fdPer Östlund[NF] Update tests.
17adb9a8cPer Östlund[NF] Performance improvements.
ed95fad9aPer Östlund[NF] Constant evaluation fixes.
7e3111a89Martin SjölundPass CXXFLAGS to qjson
6aa87b50eLennart OchelUpdating 3rdParty
7b94780afPer Östlund[NF] Update tests.
c09713212Per Östlund[NF] Generate less stupid flat models.
57f144b78Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
fb58909f0Per Östlund[NF] Various improvements.
da1155a9dAdeel Asgharticket:4935 Check the simulation result size before switching to the plotting view.
52e894fe7Per Östlund[NF] Use class scopes for function names.
09fcdbcf4Adeel AsgharFixed flickering of duplicate dialog
d47670afbPer Östlund[NF] Don't treat external "builtin" as external.
678ea021bPer Östlund[NF] Add inner outer test.
271b70dcePer Östlund[NF] Fix lookup scope for inner names.
74e8456e8Martin SjölundfilterSimulationResults option to remove descriptions
a3a17502fPer ÖstlundAdd dumping of INITIAL_NORETCALL to DAEDump.
3d7f6a461Per Östlund[NF] Fix evaluation of dimensions in functions.
0e2c8f568Per Östlund[NF] Fix variability of size() properly.
63ed25253Per Östlund[NF] Handle derived classes in collectRecordParams.
59a392a87Per Östlund[NF] Minor fixes.
1bed3ff2bPer Östlund[NF] Fix variability of size() in functions.
ce77458a4Per Östlund[NF] Added function evaluation tests with arrays.
a3ddfaf94Per Östlund[NF] Function evaluation improvements.
8b4871a39Per Östlund[NF] Improve function vectorization.
c84474230Martin SjölundOnly perform logging of delay for LOG_EVENTS_V
b0383b2c8Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
afcb6057aAdeel AsgharFix array parametric plot
4912fd69bPer Östlund[NF] Inlining fixes.
881575c43Adeel Asgharticket:4923 Check for Modelica:// urls
bc9cecefeBernhard ThieleRemoving description of a previously removed module
a86472e6bAdeel AsgharSimulate FMI composite models
c0e3759b9Per Östlund[NF] More test for records in function evaluation.
d9899db2cPer Östlund[NF] Support for records in NFEvalFunction.
83fe9fa19Per Östlund[NF] Added function evaluation test with record.
a1911e751Per Östlund[NF] Function evaluation improvements for records.
2ec164387Per Östlund[NF] Evaluation tests for linspace and reductions.
60e8e0a5aPer Östlund[NF] Evaluation of reductions and SUBSCRIPTED_EXP.
230344418Per Östlund[NF] Update tests.
5feb83260Per Östlund[NF] Implemented basic function inlining.
87286cb84Per Östlund[NF] Various improvements.
23774333fPer Östlund[NF] Add test for duplicate params in function.
89eacbb81Per Östlund[NF] Minor fixes.
ace473cd5Per Östlund[NF] Add evalution of known external functions.
bc4b3e1b6Per Östlund[NF] Add sanity check to Call.vectorizeCall.
9fbd53a15Per Östlund[NF] Added function evaluation tests.
cd7b28ae3Per Östlund[NF] Initial function evaluation implementation.
f92e6eb39Adeel AsgharFixed the windows FMU export
74a891bedAdeel AsgharDocumented the third argument of ModelicaSystem
6a5320c62Per ÖstlundFix Inst.releaseInstHashTable.
db60c45f0Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
26cb1843bMartin SjölundImproved instantiateModel
7fc85eb69Martin SjölundFix undefined behaviour in codegen of array reduction
a523321a4Per Östlund[NF] Add ceval test for Integer().
5a7ce9458Per Östlund[NF] Implemented evaluation of Integer().
81ba86819Per Östlund[NF] Various fixes.
6b04065d8Adeel Asgharticket:3788 Delete the entire simulation folder on quit
3aae2a0d8Adrian Poppass the makefile file in Windows
bdad48676Per Östlund[NF] Update tests.
338d1df7aPer Östlund[NF] Improve constant evaluation.
48aee2f0dAdeel Asgharticket:4788 Add the saved files to recent files list
0737232d6Adeel AsgharDocumentation for __OpenModelica_commandLineOptions and __OpenModelica_simulationFlags annotations
d1e355161Adeel AsgharBetter default color for warnings
e2aff3c8bAdeel AsgharDon't set a minimum width
b3f8af892Martin SjölundNumber of output points changed
27184161bMartin SjölundChange the default to statically linked FMUs
004da7332Per ÖstlundDisable incorrect typing of .+ for Strings.
6a1cc9a99Per Östlund[NF] Update tests.
d8d9e02c3Per Östlund[NF] Improve Expression.promote.
f5e1d77ecMartin SjölundInline mmc_mk_modelica_array for source FMUs
0db66a6dePer Östlund[NF] Add reduction subscripting test.
549896e2ePer Östlund[NF] Improve subscripting of expressions.
c51b82386Martin SjölundFix stateselection destructor
81d569875Martin SjölundFix typo in translateModelFMU command
0b569ccd9Martin SjölundRemove wrong code for translateModelFMU
d6ea7eb49Rüdiger FrankeSupport assignment to arrays of discrete states
d4122a2d8Willi Braun[Runtime] fix some debug outputs in kinsol solver
a31e90700Adeel Asgharticket:4806 pass correct library name to loadModel
c2ffbc562Martin SjölundHandle # in the working path
3f638304bPer Östlund[NF] Fix type of DAE.RANGE.
cb4993192Adeel AsgharFMU ModelWidget
c2dad7bbfPer ÖstlundAdd comment strip option to saveTotalModel.
072b5c8c1Per ÖstlundUpdate OMCProxy for saveTotalModel change.
340f1d39ePer Östlund[NF] Improve structural parameter marking.
a39ede289Per Östlund[NF] Updated tests.
19ce60ad9Per Östlund[NF] Minor fixes for type attributes.
1787fde90Per Östlund[NF] Update tests.
c9c4c3059Per Östlund[NF] Improved handling of types.
29bc2a846Willi Braun[SC] Refactor some functions that reconstruct SimEqSystems
14f66e7b8Willi Braun[SC] update tests
feb746ee8Willi Braun[SC] remove the replacement of the DIV operator by a call
8748e7a34Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
ff9e939edAdeel AsgharAdapt to updated OMS API
de3a48789Adrian Popadd GC_get_prof_stats as OMC API, ticket:4889
42c11db1cPer Östlund[NF] Update tests.
ae5e0b10dPer Östlund[NF] Connection handling improvements.
fb1806b9dPer Östlund[NF] Update tests.
ff8188090Per Östlund[NF] ones/zeros and dimensions type check fixes.
129d50feaAdrian Popfix copy of antlr jars for Linux and Windows
a8f003fffPer Östlund[NF] Use correct DAE type for array assignments.
f6ae791a6Adrian Popfix windows builds, copy of antlr*jar
921635988Per Östlund[NF] ExternalObject fixes.
a47336541Per Östlund[NF] Hack to fix type of min/max/sum/product.
5ac354546Per Östlund[NF] Update tests.
6ca89244bPer Östlund[NF] Improvements.
d36f68c84Martin SjölundCompile runtime code with no-dollars-in-identifiers
d7c5c23ccMartin SjölundMoved the Java interface to new repo OMJava
0f2f73e33Martin SjölundRun javac with encoding=utf8
e86a4580dMartin SjölundIncrease the size of equation alias cache
a538e8bedMartin SjölundExpected output for SimCode alias equations
20e6c2d3cMartin SjölundDisable equation aliasing for C++ runtime
53af8ff6aMartin SjölundIntroduce aliasing of SimCode equations
4d89e7f1aPer Östlund[NF] Fix FBuiltin.getBasicTypes for NF.
5680ad363Willi Braun[BE] added execStat to BackendDAEUtil.sortGlobalKnownVarsInDAE
74a526d35hkielsome minor optimizations
368ac8c53Martin SjölundRefactor SimCode.createEquation
7a3a58fa5Willi Braun[DAEmode] reduce generated code for algebraic variables
ad900fc76Martin Sjölund[NF] Expected output from evaluating ranges
f6ef4b263Martin Sjölund[NF] Simplify enumeration ranges
4fc65f53bMartin Sjölund[NF] Simplify Integer/Real/Boolean ranges
e6bd88360Willi Braun[DAEMode] update at event update again all equations
22458626aMartin Sjölund[NF] Improve TODO-messages
c160a16d7Martin SjölundHandle SVGs containing UTF-8 characters
3f9491d00Martin SjölundHandle empty rotation in icon generation script
38efbe787Martin Sjölund[NF] Handle more binary vector operations
45f753c5bMartin Sjölund[NF] Unlift arrays types when expanding expressions
20ca0048fMartin Sjölund[NF] Fix evaluation of promote
38d78f522Martin SjölundFix simplify for cat-expressions
65d57a519Per Östlund[NF] Set correct restriction for complex types.
ce80c430aWilli Braunupdate all tests which dumping equations
3b1f542e3Willi BraunExpanded test for dependencies testing
bd785a4ceWilli Braun[DAEmode] Introduce evaluation stages on equation level
5e99e6163Martin Sjölund[NF] Translate more binary vector operations to DAE
29cd7741bMartin SjölundFix formatting
35d3cb667Martin SjölundFix some links
3888a7e82Martin SjölundFix formatting error
62c95d4cfMartin SjölundAdd a technical details chapter with MATv4 format
e84261d43Martin Sjölund[NF] Evaluate scalar product and power operator
dd4810086Willi Braunenable inline function tests
5c7b2f018vrugefixes for tmpVars
cc58a7bcbMartin SjölundHandle builtin functions in isConst
08403397fMartin SjölundFix the tar-file in GenerateDoc.mos
6b0b10899vrugefix tests
b29ad1319vrugeexpected output
baa1a2541vrugeimproved inStream
576fac6fePer ÖstlundUpdate String() argument order in tests.
7dd0320aePer ÖstlundFix order of arguments to String.
3f9d53fdcPer ÖstlundFix ParModelica compilation with Clang 6.0.
41b008fc6Per Östlund[NF] Add record in connector test.
4204ff08ePer Östlund[NF] Handle records in Connector.split.
fde17ad20Per Östlund[NF] Add if-expression tests.
ee22481b7Per Östlund[NF] Branch selection of if-expressions.
7257817dfWilli Braunadd a further test for inverse algorithm solving
180e0084fWilli Braun[BE] improve inverse algorithm handling
73e3f9c61vruge[BE] fix for inStream
862a0978bvrugeimproved inStream
acd54fca9Volker Waurichcheck if evaluate annotation is actually true
eb6a2d7e2Per Östlund[NF] Update tests.
87a0162b8Per Östlund[NF] Implement structural parameter handling.
155e22a6cPer Östlund[NF] Add more when tests.
0616b65b5Per Östlund[NF] Expand when conditions.
e74a42004Volker Waurichfix cad-file based visualization
b374bc72avrugeadded test
23f5dff8bvrugeadded sum to skipped case for cse
e1daf289fvrugeuse dumpdaelow
d180efb92vrugeimproved inline-function
79b533b7ePer ÖstlundAdded Integer expression simplification test.
bb49baab0Per ÖstlundFix expression simplification rules.
b8fa29df2Per Östlund[NF] Update inStream tests.
9edd1f5a3Per Östlund[NF] Port inStream changes from #2319.
21c648dfbPer Östlund[NF] Add tuple operation tests.
a4776a612Per Östlund[NF] Fix typing of calls with multiple outputs.
dddb7ad18Per Östlund[NF] Update record test.
72d39d691Per Östlund[NF] Fix path when creating record expressions.
2d74418f2Per Östlund[NF] Updated tests.
1792dd70cPer Östlund[NF] Cleaning and various optimizations.
11aa135c2Martin SjölundFix listArrayLiteral
8126e501eMartin SjölundUpdate file paths
7199ae18fMartin SjölundReduced code used when bootstrapping
0e62fe054Simon ErikssonInitial MidCode implementation
a9b58e13aMartin SjölundUpdate to Java6 since Java5 is obsolete
6a6c0332fMartin SjölundReplace tabs with 2 spaces
25da4670fMartin Sjölund[NF] Relax variability error in functions
3a6cb88d3Martin Sjölund[NF] Unescape raw Absyn.STRING
019bec79ePer Östlund[NF] Added complex flow test.
b4635bbb1Per Östlund[NF] More derived scope fixes.
659bcbc3eLennart OchelFix indentation of 1c86d4e3a86bdc7c7708ae2816682d536ad96f57
964de8b87Adrian Popupdate testsuite after MSL library update
87cf29539vrugeexpected output
e513cebbavrugeadded test
1c86d4e3avrugeimproved inStream
6663e4844Per Östlund[NF] Added dimension size test.
de9ded9a9Per Östlund[NF] Improve typing of size expression.
21bec3c43Per Östlund[NF] Added extends tests.
75bf644edPer Östlund[NF] Fix scoping for derived classes.
489a0c523Per Östlund[NF] Add array binding test.
c282ec9aaPer Östlund[NF] Fix array binding issue.
e564a04b6vrugeenable some tests for inline
f10312d57Willi Braun[DAEmode] added several minor things
05c03a7e0vrugeadded test
90d01e948vrugefixed inline
f3d84c6devrugebugfixes
ee4126043vrugeenable SMEE_Generator_MultiPhase
4e71e61ccvrugeenable PumpingSystem
3933f1c6avrugeadded rule for expandFactors
907d54ec2vrugeimproved inInline.getFunctionInputsOutputBody
69ab07a10vrugeadded example for ticket:4808
f9d9de0cbvrugefixed inline
70ec530e3Per Östlund[NF] Update range/subscripting tests.
69ee163e8Per Östlund[NF] Subscripting improvements.
13b595d69hkielavoid failure(_=BaseHashTable.get()), use hasKey() instead
43f36d562hkielfix match -> matchcontinue
35f216d9fhkieluse BaseHashTable.hasKey() instead of failing/passing get()
ff5f8bf62hkielimplement non-failing versions of get and has in BaseHashSet
a96f71dfbPer Östlund[NF] Add record binding tests.
63888ab87Per Östlund[NF] Record binding improvements.
5a27cbb82Martin SjölundSome spelling fixes
dbc28d8e3arun3688add userguide to OMMatlab and OMJulia
f103a0d61Per Östlund[NF] Create equations for complex bindings.
fb72969f0Per Östlund[NF] Fix record constructor DAE issue.
cd42dc746Willi[SimCode] added equation attributes to SimCode.SimEqSystem
93b4018ecPer Östlund[NF] Fix issue with converting functions to DAE.
71a15a19aWilli Braunupdate daemode test on new implementation
f7f4c35ecWilli Braun[DAEmode] get rid of the old implementation
378084c19Martin SjölundAdd test for ticket:4838
05a951b53Martin SjölundHandle tail recursion in CevalFunction
d3acec041Per Östlund[NF] Add test for type referencing type instance.
748b75ab9Per Östlund[NF] Fix typing loop.
48b7193caPer Östlund[NF] Add test for size as external argument.
e30046d30Per Östlund[NF] Fix size as external argument.
fc8513b93niklworscopy Visual Studio libs and pdb of cpp runtime with CMake instead of make
20606a96dPer Östlund[NF] Improve performance of DAE conversion.
77407e8d8Willi Braun[DAEmode] Avoid IDA for models without states
c580b850ePer Östlund[NF] Add testcase for size of constant dimension.
1769e7028Per Östlund[NF] Fix the variability of size.
bf7ba0b6fPer ÖstlundUpdate nfinst tests.
921ea2920Per Östlund[NF] Redeclare and extends fixes.
742335f89Martin SjölundSphinx 1.6.6 introduced smartquotes = False
79692b0f4Willi Braunadjust expected output
c2feb3fdeWilli Braun[DAEmode] improve event handling and discrete loops
2a2c7d9ebPer ÖstlundUpdated/added nfinst import tests.
90be43449Per Östlund[NF] Improve handling of imports.
acac48b01Per ÖstlundUpdate nfinst tests.
df1cb2759Per Östlund[NF] Fix redeclare final, for real this time.
94f45f43aPer ÖstlundUpdate nfinst tests.
9d7f3fd2ePer Östlund[NF] Fix for redeclare with final issue.
d7dd3d3b6Per ÖstlundUpdated nfinst tests.
1efe7ca1cPer Östlund[NF] Redeclare improvements.
35bc3ed22Rüdiger FrankeAdd test for clocked partition with algebraic loop if FMU
472cc1138Rüdiger FrankeExpected result
fc30ae13dRüdiger FrankeRename Periodic to Inferred clocks in FMI modelDescription
399b73089Rüdiger FrankeUse sorted variable references in Cpp fmi2GetDirectionalDerivative
ced7f13feRüdiger FrankeSet index of clocked partition in algebraic loops of FMI Jacobian
79e9b3da9Mahder Gebremedhin[NF] Add missing case for fold subscript.
8c6364e67Martin SjölundRemove debugging code
3c4a0942bMahder Gebremedhin[NF] Disable conversion of bindings in TYPES_VAR.
695f2e179Martin SjölundSupport function pointers with underscores in them
27c536c35Martin SjölundAdd test for invalid function pointer
5aa5373b4Martin SjölundResolve polymorphic bindings in the the function type
cccd62d1aMartin SjölundFix typo
e89be0095Martin SjölundType-check arguments of function pointers
659c5672eMahder Gebremedhin[NF] Minor fixs
69a16f1bcMartin SjölundFetch content between html start/end better
cc3ff32b4Rüdiger FrankeConsider discrete states in Cpp fmi2GetDirectionalDerivative
056a0fae0Rüdiger FrankeSet index of clocked partition for FMI Jacobian
de26b558aAdrian Popfix msvc build - select skd 8.1 for msvc 2015 - use jom to compile things in parallel
b3683ed28Willi Braun[BE] differentiate the inner exp of getPart
a3c91c41fMahder Gebremedhin[NF] Tests for overloaded operators, function vectorization and mapping functions.
65beadfa5Mahder Gebremedhin[NF] Initial support for function vectorization.
e9740997eLennart OchelUpdate 3rdParty
b2e098b8ePer ÖstlundUpdate tests.
d98c067dbPer ÖstlundNotify about constant values in match inputs.
f1296f3afMartin SjölundUpdates for loadFile with notifications for uses
f2d424245Martin SjölundCheck uses-annotation on loadFile of non-package
1fae0b2e9Adeel AsgharAdded oms_fmu_info_t to FMUProperties dialog
d0e1fe9a1Willi Braun[BE] remove redundant Expression.simplify calls
079c102b1hkielremove unnecessary define in Makefile
779ff677bWilli Braun[cRuntime] if IDA fails with linear solver setup reinit and try again
747e40188Willi Braun[DAEmode] try to improve the performance of the main traverseFunction
995c5ef0fWilli Braunmove profiling function from BackendDAEUtil > Util
4f0ba05ccAdeel Asgharticket:4798 Fix the 3d-visualization Seems like the file is generated in a proper format now so we don't need the conversion.
09e106cf9Martin SjölundChange the default simulation opt. level to -Os
85217234bWilli Braunenable directional derivatives in discrete states example
46dca4245Willi Braun[BE] Fixing differentiation of synchronous states
f9df72ee1Adeel Asgharset/get Integer/Boolean parameter
407a017ffMahder Gebremedhin[NF][#4784] Fix conversion of complex types to old DAE.
151be0587Per ÖstlundAdd nfinst test for end.
a134d4eadPer Östlund[NF] Fix Expression.mapShallow.
9ee54591dAdeel Asgharget/set real fmu parameters
3a1daf47aAdeel AsgharUpdate according to API changes
58f4ab1f9Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
074cd8e32Adeel AsgharAdded debug toolbar button to make it easier to run debug configuration
2199757a2hkielremove unnecessary and wrong cast
ead22198dAdrian Poppass the default makefile file for windows
c188334d6Adeel AsgharShow the Messages Browser when its tabbed
8772e9079Adeel AsgharUse polling via sleep to allow canceling the search
ef809deb3Adeel AsgharOnly do the state operations on Modelica models
ac459ee1aAdeel AsgharAdded addFMU, deleteSubModel, getElement and getFMUPath Updated to the APIs new structure
920540b75Martin SjölundDo not recompile Sundials all the time
c4e5102f4Rüdiger FrankeReuse factors of linear equation systems during Jacobian evaluation
e3f501708Rüdiger FrankeUnify capitalization in FMU2Wrapper
514196213Rüdiger FrankeReuse factors of linear equation systems in fmi2GetDirectionalDerivative
1e827cf72Willi Braunupdate to expected output
a3617061fWilli Braunadded test to Makefile, belongs to PR868
71c219d80Willi Braun[DAEmode] several minor improvments and fixes for events
fbf28bfa3Willi Braun[DAEmode] use IDA when the model is compiled in DAEmode
e87848a1bMartin SjölundAdd test for ticket:4795
47aed5e03Martin SjölundPrefix partial function application
bf562e79aWilli Braun[DAEmode] don't not put JacobianEqns into json
ad854a60fWilli Braun[DAEMode] create startValueEquations from initDAE
19657600eWilli Braun[cRuntime] clean DASSL from DAEmode code
32e74c0e8Willi Braunadded testcase for fmi discrete model structure
d66515a63Willi Braun[FMI] added model structure for discrete states
1453d7dd8Adrian Popremove quotes that are not needed in Windows makefile
18ac1530bwibraunfix quotechar for a link
2919af7b3Willi Braunadded DAEmode test for arrays
04159c54aWilli Braun[DAEmode] improving array equations support
656ccdd58Willi Braunrewritten the section on integration methods
7725be444Martin SjölundExpected output for unexpected state selection
c5d63e71aMartin SjölundAdd a warning for StateSelect.always/never
5fb2ee38bMartin SjölundFix Python3 error
09bfe049bMartin SjölundFixes for new (broken) bibtexparser
95ca468a6Adrian Popset larger recursion limit
25f7007d1Willi Braunadded testcase for inverse algorithm initialization
be2bc8962Willi Braun[BE] Fixing initialization of algorithms
0731b2d6cAdeel AsgharAdapted to new connection APIs
78e4cba8fWilli Braunenable DrumBoiler test for new DAEmode
f5c562920Willi Braun[DAEmode] added basic algorithms support
b54a3c9daRüdiger FrankeSafeguard possible repeated finalization of Cpp logger
da270f8dbRüdiger FrankeEnable Cpp logger under Windows and finalize it, ticket:4773
d7469be7bWilli Braunenable when test for new DAEmode
67e62cb48Willi Braun[DAEmode] added when equation support
1cc3bf35eWilli Braun[DAEmode] Fix sorting of parameter equations
24e74bf8fWilli Braun[DAEmode] added removed equations
7cec36a83Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
36aa34a73Adeel AsgharCode cleanup
cca8f3358arun3688show searchBrowser(ctrl+h) when tabbed in dockwidget
d6bf3ffd6arun3688minor name fixes for advanced search
86a7dae93arun3688add search history,expandcollapse to search operation
f06fb1485Willi Braunattempt to fix Codegen issue of inverse algorithms
3fe1d1337Adeel AsgharGet the model connections
46705f787Martin Sjölund[NF] Evaluate cat and promote operators
85e616238Willi Braun[DAEMode] Several improvments to the DAEmode
fbb971671Martin SjölundExpected output
3e14bd28fMartin SjölundEnable test AppendElement.mo
77367d9cfMartin SjölundAdd tests for concatenation
6c9726ffaMartin Sjölund[NF] Add support for array concatenation
0e3a5eb23Adeel AsgharSubmodel parameters dialog Updated `oms_element_geometry_t` to `ssd_element_geometry_t`
878318efaMahder Gebremedhin[NF] Fix overload ambiguity with default constrctors for operator records.
c17054f4bRüdiger FrankeConsider row major ordering when assigning arrays to seed vars
64f86fbafAdeel AsgharEnable basic toolbar buttons for OMSimulator models
ef9ef619fAdeel AsgharLoad and draw the FMICompositeModel signals
ffb66c31ePer Östlund[NF] Update builtin uriToFilename.
cd5cd60edPer ÖstlundAdd element redeclare condition test.
adb7a38e5Per ÖstlundFix handling of element redeclare condition.
a3ea7f5f8Willi BraunAdjust output of stupid dump tests
7a6270389Willi Braun[BE] fixing handling seed vars of symbolic jacobians
987ac3c2cMahder GebremedhinExpected output.
f570c07f3Mahder Gebremedhin[NF] Operator overloading support.
71611b18aMartin SjölundExpected output
983f52f9eMartin Sjölund[NF] Fix type-checking of arrays with >1 dimension
ca288a210Martin Sjölund[NF] Type-check array constructor
ee3f9cf33Martin SjölundUse C++17 has_include for unordered map/set
88c4d6102Rüdiger FrankeReduce common template code from assignDerArray to assignJacArray
2cb619ac5Rüdiger FrankeImplement assignment of arrays to Jacobian vars, ticket:3266,4696
b082e742dMartin Sjölund[NF] Fix type of matrix-vector multiply
4835303b4Martin SjölundReport possible savings from sharing strings
90621756aRüdiger FrankeRemove duplicate and erroneous Modelica external C libs, ticket:4772
e16b2333fAdeel AsgharLoad model and fetch the components Modify the components geometry and save the model
bf329a177Martin SjölundImprove report of used size of MM datatypes
ae9336adbMartin SjölundDisable the OutOfMemory test
419eaa1e3Martin Sjölund[VS] Make autoconf generate revision.h
68e1bff11Martin Sjölund[VS] LIB also needs trailing slashes
19b3154eeMartin SjölundPrint the environment before starting wine
88711c9eeMartin SjölundImprove MSVC compilation on Wine
af208b2edBernhard ThieleImproved documentation for Modelica state machines
887565e13arun3688Update Conference paper link
b7906fee2Jan SilarPDEModelica documentation.
44ab60f90Jan SilarDocumentation for Array (Parametric) Plot
1dbe81e92Martin SjölundAdd targets for the MSVC FMI C-runtime via wine
7c77e0ab2Adeel AsgharMerge remote-tracking branch 'origin/master' into oms
70e2f0075Adeel AsgharCheck if we receive the expected file
86eb44141Adeel Asgharticket:4771 Use square brackets instead of curly brackets for dimension
cacc8bf97Rüdiger FrankeLink MODELICA_EXTERNAL_LIBS after model defined libs, ticket:4772
30322f110wibraunfixing simulation flags, mostly ticket:4390
0334c2587Adeel AsgharRemove the extension
07921476fMartin SjölundUse set instead of unordered_set
b4562fbddAdrian Popfix compilation on Windows, add -std=c++11
ec9f5430fAdeel AsgharCompile semla before omc declare the functions in systemimpl
0c3f696cdAdeel 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.
526b822d5Martin SjölundImprove reporting memory usage
51f340accLennart OchelExpected output
9c759d91aLennart OchelMerge postOptModules that detect sparse pattern
516354347Adrian Popfix crashes in omccAPI if threadData is allocated in the heap - hide threadData again - set threadData and then copy it after each call
69b2c906bAdrian Popfix windows GCC now :) - more checks for pthread: attribute init, stack setting
325b3925fAdrian Popfix windows build - include omc_msvc.h for attribute - exclude wsock2 as is already incldued - for some reason lst1 and lst2 are defined
d59f23accWilli Braunadjust tests
74ad9da44Willi Braun[Backend] fix generateSymbolicJacobian config flag
f6ac4dd0dWilli Braun[NF] set index of relations to -1 otherwise it's a zc
5c5495390Willi Braunadded test from ticket:3266
7b8186ac6Willi Braun[BE] fixing function differentiation and tuple calls in algorithms
d874cd0eaWilli Braun[BE] move transpose to a single function calls
90b9c22c7Willi Braun[BE] added size and range operator to diff module
808888cb5Willi Braun[BE] added debug for diff exp and calls
6737c2cf0Martin SjölundAdd test for out of memory
846ccc5bcMartin SjölundCatch out of memory errors
30a4db0a0adrpoupdate 3rdParty manually
d27683d7aAdrian Popupdate 3rdParty submodule
092daf685Willi Braun[Backend] Fix coloring of sparse matrix
b44f0a7d2Adeel AsgharFix the SEMLA Windows build.
bec0c6613hkielcleaned up a bit - removed "inCommand" from latexcell - reomved dysfunctional variableButton from graphcell
06a166d23Adrian Popupdate 3rdParty manually
ba5ff89f3Rüdiger FrankeApply complete pivoting to singular linear systems in FMUs, ticket:4747
fcdc6b272Adeel AsgharAdded missing Windows variables.
06cea20daAdeel Asgharconfigure option for encryption
081af3b22Adeel 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`.
0a2708a82hudsonFix broken 3rdParty hash
ad98b0357Martin SjölundUpdate 3rdParty for new dgesv
0e5129b50Adrian Popuse --wrap=none instead of deprecated --no-wrap
7c125ac66Adrian Popdon't fail if there is no omc to kill!
79205e4f9Adrian Popadd date and time to index
bda7feea8Adrian Popadd fmi.rst to index.rst
723deb1faAdrian Popfiltering mat parameters to csv does not work
e3267ce3bAdrian 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
5f7004ba5Adrian Popsphinx.util.compat is deprecated
12121dfc1Adrian Popfix crashes of omcCAPI on Windows - use threadData from stack not via GC_malloc_uncollectable - increase exe stack on windows - link with pthread
027e5cb1ePer Östlund[NF] Fill in dims when creating DAE.Element.VAR.
3bd1e3c8fWilli Braun[DAEmode] fix update event in ida solver
c68882d4bWilli Braun[SimCode] dump algorithms in correct sorting
4f6f50200Willi Braunupdate test
c15e7bd20Willi Braun[Backend] prevent stackoverflow for recursive function differentiation
cb2609ad6ptaeuberExpected output
815ffe0fbptaeuberMake KINSOL compatible with adaptive homotopy
6b6a486e7Lennart OchelDummy commit to satisfy Hudson
cf5c9a765Per Östlund[NF] Fix type of unary operators.
5cf076a5dWilli Braun[Backend] Use the original functionTree instead an empty one
92921a4dbWilli Braun[Backend] fix functions with record argument
be30e8eabWilli Braunupdated linearization test of the SteamPipe model
bf59c08efWilli Braun[Backend] fix differentiation of the SteamPipe model
92da43d2bAdeel AsgharUpdated to latest logging interface
4c05be3efMartin SjölundFix suffix for ZMQ
05f062d41Willi Braunadded testcase for linearization of fluid functions
5056d0b1fWilli Braun[Backend] fix differentiation of functions with function arguments
fd4a590aaWilli Braunadjust test to use symbolical jacobians
3cc00f336wibraun[CRuntime] Tweak linear solvers for Symbolic Jacobians
8f2cb04b9Adeel AsgharOMSimulator settings page Allow setting the working directory and debug logging.
977263efePer ÖstlundUpdate nfinst tests.
71c512556Per Östlund[NF] Fix builtin type attribute order.
3be99feecPer Östlund[NF] Handle empty arrays better.
9bfe511bcAdeel AsgharCreate and unload FMI models
e9d02c3c3Willi Braunadded test for symbolical jacobians in ida
5614078f5Willi Braun[C Runtime] added symbolical jacobian support to ida
de1bcf844Martin Sjölund[NF] Set the correct type in the relation
34561dc4eptaeuberAdd homotopy tests
f5acc120cptaeuberMake non-default nonlinear solvers ...
10a2c8b0aptaeuberDo not try without homotopy twice
693886bd2Martin Sjölund[NF] Fix generation of reduction temp-var names
cce5d8325Rüdiger FrankeAlways apply tearing if MAX_SIZE > 0 and dense matrices are used
70ef32be7Per Östlund[NF] Better handling of constants.
5cc04d9baptaeuberFurther improve solver memory management
891db48efptaeuberAlways initialize lambda with 0
aa30393adAdeel AsgharDisable toolbar for OMSimulator models
df6431cf8Per Östlund[NF] Use correct variability for pre error.
bfe77c294Adeel AsgharMerge origin/master
a45068d39Adeel AsgharFixed FMILibrary linking Check for the correct library type. Removed unnecessary code.
e2bb27441Adeel AsgharCreate, simulate and unload OMSimulator model
5cf25d19dptaeuberFix for trying without adaptive homotopy
3418ccff3wibraunadjust documentation string to actual config value
31e2567f7Lennart OchelExpected output
9529c7832Lennart OchelFix var attrributes
cf973f1d0Lennart OchelMake when condition variables protected and add description string to them
fad9f0ae6Adeel AsgharMerge origin/master
c4493da8bPer Östlund[NF] Generate correct DAE for tuple assignments.
4b2df5a85ptaeuberSet variables back to start values before trying homotopy
1d1f811deAdeel Asgharticket:4369 Use the proper bracket
edda13fd8ptaeuberUse flag homotopyOnFirstTry
162cdb597ptaeuberTry without homotopy also for adaptive homotopy
81869605cptaeuberBetter handling of solver memory
9de0296c9Per Östlund[NF] Add FuncArgs when making DAE function types.
8f5caa03aAdeel Asgharticket:4717 Added option to display hidden classes.
4caa0b2f2Per ÖstlundUpdate nfinst tests.
e0c71b029Per Östlund[NF] Remove connects with deleted components.
c10a192b7hkielask user before deleting cell as this cannot be undone
f15d2b3b5Rüdiger FrankeFix error messages for linear solver
1dd31baa0Lena Buffoniupdate requirement tests
76bc17ee0Lena Buffoniadded an extends VerificationModel
7f5924da5Lennart OchelMake cse variables protected
218f17f07Lennart OchelMake cse variables protected
2008d8171Per ÖstlundUpdated nfinst tests.
31c7f1644Per Östlund[NF] Implement proper handling of subscripts.
090db0ef5Adeel Asgharticket:4743 Delete the result with Del key.
dad2e98f0Willi Braunupdate DAEMode test
17ce08db2Willi Braun[DAEmode] Varios fixes including complex equations
9775fb9d5Per ÖstlundUpdate nfinst tests.
70d5639f5Per Östlund[NF] Deduce dimensions from the start attribute.
da012868fAdeel AsgharLink with OMSimulator Show the OMSimulator version in the About OMEdit dialog.
0f8a7d1afniklworsadded assert for sqrt function calls
c97c5bb18Per Östlund[NF] Various fixes.
9d6ed55e7Rüdiger FrankeExpected result (make clean in CevalScriptBackend.buildModelFMU)
91ae007a3Rüdiger FrankeClean up after building Cpp FMU (the sources are saved inside the FMU)
bdcee4ec7Rüdiger FrankeStore source files in Cpp FMU
336fb4704Adrian Popadd tests tickets:4674
339512106Adrian Popticket:4674: add new api to retrieve instantiated parameters
047c5a81aMartin SjölundHandle ceval of asub using enum literals
c51b59582Willi Braun[Backend] improve residual creation for complex equations
61c89af2ePer ÖstlundUpdate nfinst tests.
ddd8677e3Per Östlund[NF] Don't use polymorphic builtin functions.
d8c8c3073Adrian Popuse the default makefile name in windows
f476a5dfbAdeel Asgharpropagate threadData from main.cpp
9f05bfe47Adeel Asgharpropagate threadData from main.cpp
0d8b4b00bAdeel AsgharMinor fixes to the way threadData is passed around.
31f71f30dAdrian Poppropagate threadData from main.cpp
02a553b4bAdeel Asgharmove symbolTable back to local roots
ef2592729Willi Braunadded DAEMode module
bcc40861bMartin SjölundAllow `size()` on non-crefs at runtime
27ab27562Martin SjölundBugfix for URI lookup in class
f8d52b963Martin SjölundClean patches with make clean
38212aa27Martin SjölundFix memory corruption in ZeroMQ init
87c471050Per ÖstlundUpdate nfinst tests.
8b177b924Per Östlund[NF] Improve operator handling.
a7e6f7fc8Adrian Popmove symboltable from threadData vars to global ones this will fix OMEdit crash on startup on Windows
82f103f36Martin SjölundDon't print error-message about missing impact
9c4635fefAdrian Popfix copy of the files and cmake search directories
ac51afc9eadrpofix Windows and Linux builds of omcCAPI
51ed43614ptaeuberFix nls flag order
8e5affa30Martin SjölundFix wrong pointer type
a7e840a9cLennart OchelFix array allocation
a2e245d64Adrian Popfix windows build add omcCAPI build on Linux as well (commented out for now as there are some issues)
860a01239hkielremove 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
5cb3f4128Martin SjölundMake matchcontinue inputs volatile
782245f20Martin SjölundUpdate the Qt API
4eb7a19b9Martin SjölundUpdates for new Main.mo interface
ab34299edMartin SjölundUpdate for new Main.mo interface
e2c518957Martin SjölundMove initialization of symboltable
eeba7bb37Martin SjölundSymboltable shouldn't be in the class
854ded556Martin SjölundUpdates for the new Main.mo interface
5296b688fMartin SjölundHandle the correct command in CORBA
af0968b8fAdrian Popfix windows build
432c8317dMartin SjölundExpected output
177b914b4Martin SjölundDo not elaborate using scripting functions in models
9bbc242b8Martin SjölunduriToFilename returns empty on fail in mos-script
fbbbe205bMartin SjölundEvaluate uriToFilename in the script environment
75770db86Martin SjölundChange examples to new uriToFilename
4efe1423fMartin SjölundExpected output
95af27516Martin Sjölund[FMI2] Handle the jump buffers better
1b2f2b9eeMartin Sjölund[FMI2] Copy resources into the FMU
103b43500Martin SjölundCheck for undeclared functions
620b30df5Martin SjölundMove win32/mingw32 realpath to simulation runtime
bd035a4c0Martin SjölundGenerate fewer templates during bootstrapping
8a7d7b192Martin SjölundRedesign SymbolTable handling
86c0c2736Per ÖstlundUpdate nfinst tests.
105aad907Per Östlund[NF] Fix return type of smooth.
5637847baPer ÖstlundUpdate nfinst tests.
eb49dd7c6Per Östlund[NF] Propagate comments to the DAE.
c28b63027hkielremoved wrong translations
58c796925hkielre-activate clickable error-links clean up indentation state machine
5ab0f640aPer ÖstlundUpdate nfinst tests.
c5ca0a5c3Per Östlund[NF] Various fixes.
dbda08c08Per ÖstlundMake saveTotalModel more accurate when using NF.
81db93b5bPer ÖstlundUpdate nfinst tests.
59944ec07Per Östlund[NF] Fix scoping of imported components.
131a16b39Martin SjölundAdd testcase for ticket:4718
59e722eebMartin SjölundEvaluate parameters with non-literal bindings
bfd3af391Adeel AsgharShortcut to load MSL
587cac20aniklworsfix for division by zero in cpp runtime
e43fc8abfniklworsfix for asserts during event iteration
914a7dc4fhkielimprove auto indentation remove debugging output
4a5e0fcaehkielfix Ticket:4704 accept click on input cell after clicking output cell allow to open empty notebooks apply style to output cells
b1a437a8fniklworsfix for save pre varibales in cpp runtime
627e124e9Per ÖstlundUpdate nfinst tests.
96f7d96e4Per Östlund[NF] Typing improvements.
4e15c16c4Adeel Asgharticket:4651 Remove the extra "=" that appear in case of equation modification.
c265dda29ptaeuberCorrect output of homotopy example
2716d589cptaeuberFix lambda position in non-torn homotopy components
99e87fe1cAdeel Asgharticket: Add equation or algorithm keyword to new classes.
6c375125cMartin SjölundTest me_cs import
991cbcb11Martin SjölundSupport importFMU for me_cs FMUs
d34564098adrpoupdate tests due to libs changes
bb2c1bae6Adrian Popfix a typo
e46cb6bdeAdeel Asgharticket:4697 Don't add = when modifier value start with ( and contains =.
c09764a1cPer ÖstlundUpdate nfinst tests.
ce6c93b4fPer Östlund[NF] Ceval/Simplify fixes.
6d6e41bf5Per ÖstlundUpdate nfinst tests.
4df493838Per Östlund[NF] Handle derived class bindings better.
bb64e1e2eAdeel Asgharticket:4708 Delete the intermediate compilation files after the simulation is finished.
eb0d38c19Martin SjölundUpdate for improved handling of loading libraries
c0777112aMartin SjölundKeep loaded libraries after buildModel failure
25e1a3ac3Martin SjölundExpected output
e46b83760Martin SjölundPropagate unit checking to the DAE
0844b0d26Bernhard ThieleTest for Ticket:4618
92c638318Bernhard ThieleFixes Ticket:4618
7a63969c2Per ÖstlundUpdate nfinst tests.
cb8de49f9Per Östlund[NF] Improved handling of array modifiers.
f7a213646hkiel[CodegenC] do not check for zero increment if it is constant +1 or -1
565061873hkieladded menu items for cell evaluation only evaluate input cells, when evaluating all cells add an action to evaluate all LaTeX cells updated translations
cbe247e37Martin SjölundHandle indexed assignment of string arrays
ebc128827Martin SjölundExpected output
1f5d7506fMartin SjölundAdd testcase with fixed=false strings
fe5c35df4Martin SjölundFix generation of FMI 1.0 import
bcf422b74Martin SjölundSupport for fixed=false for strings
b7d5ab632Martin SjölundAdd test for ticket:4368
5c05ef6deMartin SjölundMove comments after doing the diff algorithm
efcef39d8Martin SjölundFix typo causing duplicate elements to appear
715fb858fMartin SjölundDo not remove added lines that don't match label
708e99622Martin SjölundUpdate debugging code
ad8112d8bAdeel AsgharAdded a shortcut to show the search browser.
42ccd829bAdeel AsgharStart the search when return is pressed.
661e8b03cAdeel AsgharUpdated the Search Browser layout.
b4fcb3a42Adeel AsgharUse QMap begin instead of firstKey. Minor indentation fixes.
3c6df0753Adeel AsgharQtConcurrent header introduced in Qt 5.
36c0c9e3bAdeel AsgharTry to fix Qt 4 builds.
cef36c67cAdeel AsgharHide the Search Browser on startup.
d14653968arun3688Fixes for Search functionality
06dcea4ebarun3688Add Search functionality
f16fbfd1dMartin SjölundFix copy-paste error
1117eb943Martin SjölundExpected output
67acb2d44Martin SjölundThe attributes of a pre-var is the same as the var
62d1de3b1Martin SjölundAdd Jacobian variables to the simvar lookup
705b6a1fbMartin SjölundHandle alias variables in Susan
f1ce9e958hkielapply stylesheet to input cells again
d26494171Martin SjölundExpected output
25d84d410Martin SjölundFix pretty-printing of negative real literals
bd8571dafMartin SjölundLook for external libraries in /usr
7b5879e90Martin SjölundExpected output
ee6b27bbaMartin SjölundLet the CSE look into if-conditions
d1104cedbMartin SjölundHandle record indexing better
5aac106d5Martin SjölundloadFile(".../package.mo") ignores MODELICAPATH
9f8b954efMartin SjölundReduce output
775a336b6Martin SjölundDo not evaluate the residuals if xloc is inf or NaN
9210aa9aeMartin SjölundExpected output
eca7e56d1Martin SjölundWarnings for aliases during codegen
47aad9539Martin SjölundAdd differentiation of DAE.RSUB
059c8c0faMartin SjölundFix for DAE.RSUB with Expression.factorsWork
1c428bf8dMartin SjölundHandle inline where inputs are record fun-calls
62a0b9dffMartin SjölundAdd support for inline of some if-statements
bd7b85ce0Adeel AsgharCheck the size of list before accessing the index.
be0cedd5bAdeel AsgharRead the omeditoutput and omediterror files when getMessagesStringInternal is called
70f05e5d3Lennart OchelDefine vrStates iff states are available
4b1305c90Adeel AsgharUse non cosmetic pens For Libraries Browser and shapes inside component when thickness is greater than 2
5f1fe9f55ptaeuberAdd adaptive homotopy tests
aee683cbbptaeuberImprove adaptive homotopy
7366c3261hkieldo not recreate objects
a63f2df7dAdeel Asgharticket:4694 Only check the Access annotation of the containing class.
8e2f487ffAdeel AsgharCheck the LibraryTreeItem type before showing the documentation.
32af47524Adeel Asgharticket:3912 preserve the formatting when duplicating class.
c513fa362Per ÖstlundUpdate nfinst tests.
1a07660b3Per Östlund[NF] Ceval fixes.
481bef0a7ptaeuberLook for homotopy in the whole system
822590489Per ÖstlundUpdate nfinst tests.
6bc981e1aPer Östlund[NF] Ceval for builtin functions and other fixes.
58737ab09Martin SjölundAdd EOOLT'2017 paper
171274407Adeel Asgharticket:4687 Check for the null pointer. Use the QPlainTextEdit undo redo for independent editors like check/instantiate model.
b91fa8ff5hkielavoid recursions
19775bac4Adeel AsgharSave the old annotation in case of key press event.
ce5afa201Adeel AsgharConnect to the finished signal before posting the data.
569a00a79Adeel AsgharGenerate the fmu files in the folder.
926d8af51hkielavoid excessive longjmp (matchcontinue) avoid recursion (stack overflow) when processing lists
55a1b638fWilli Braunfixing scaling of the ida solver
64d4bf14cMartin Sjölund[NF] Use Error.assertion() instead of assert()
62af4e695niklworsfix for Ubuntu Clang build error in Peer solver
e44d430b1niklworsfix for linux gcc 4.4 build error
63993347dvwaurichfix for visual xml filename
f06dd118aPer ÖstlundUpdate nfinst tests.
d71fe296dPer Östlund[NF] Fix external object calls.
691dfe497Adeel AsgharSave the duplicate class in a different file for folder structure. Fixes ticket:4350, 4557 & 4594.
e322106f1vwaurichadd test for index reduction and cse
eb3b858ccvwaurichudpate tests for cse3 extension
f37e0292cVolker Waurichextend cse3 to find state alias
b528b72f1niklworsFatemeh 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);
d7481911bAdeel AsgharFixes ticket:4672 & 4673. Do not skip the drawing of inherited classes.
fb52840dcMartin SjölundFix for elabBuiltinSize of zero-size arrays
cdf224b8dMartin SjölundSome work-arounds for Ceval of zero-size arrays
4ddc693f9Per ÖstlundUpdate nfinst tests.
d1a57b2fdPer Östlund[NF] Fix handling of duplicate outer elements.
dad39fb0cPer Östlund[NF] Fix undefined behaviour due to #4502.
eeb91480aPer Östlund[NF] Function expressions also count as discrete.
cac9f2ec0Per ÖstlundUpdate nfinst tests.
aa363fe25Per Östlund[NF] Minor fixes.
851acf4b2Per ÖstlundUpdate nfinst tests.
117eefb21Per Östlund[NF] Variability fixes and other improvements.
5cea0b5a2ptaeuberFix solving of array equations
c200584abAdeel AsgharCheck for PlotWindow instance. Fixes a null pointer crash.
3cffa6719Adeel AsgharLoad the ModelWidget before accessing it. Fixes a null pointer crash.
cf618db76Per ÖstlundFix setCommandLineOptions with -d=newInst.
2c449d28ePer ÖstlundUpdate FlagParsing test.
71f4da23fPer ÖstlundFix setCommandLineOptions.
33fb1889aAdeel Asgharticket:4652 Make sure we don't skip the builtin types.
93d2d760bAdeel AsgharEnable/disable the duplicate menu item based on Access.packageDuplicate annotation.
5148feff7Per Östlund[NF] Fix NFTypeCheck.matchDimensions segfault.
5cf184a75Per ÖstlundUpdate nfinst tests.
4d02b9063Per Östlund[NF] Function handling improvements.
0e14e987cAdrian 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)
cbb329b29Adeel AsgharHandle the Access.nonPackageDuplicate && Access.packageText annotations.
af64b7ef9Adeel AsgharHandle Access.nonPackageText annotation.
039313f64Adeel AsgharHide the text view for Access.diagram
c72eace89Adeel Asghar[WIP] Disable the diagram and text view for Access.icon and Access.documentation
13fa5acf7Adeel Asghar[WIP] Show/hide the class documentation based on Access.documentation
e8f130fbdhkielremove redundant simplification rule recognized by commutative call
46708660bAdeel Asghar[WIP] Handle Access.icon and partially Access.diagram
00b9632b3Adeel AsgharClose the ModelWidget for Access.hide annotation
88f8ef6eaAdeel Asghar[WIP] Read the Access annotation. If the value is Access.hide then don't show the class in Libraries Browser.
e2f94fe97Per ÖstlundUpdate nfinst tests.
83ffab2f7Per Östlund[NF] Fix some variability issues.
4e49f3124Per ÖstlundUpdate nfinst tests.
12d1ede4dPer ÖstlundNFInst improvements.
2be51e22bvwaurichupdate test for IR fix
b9cba5b3bVolker WaurichremoveEdgesToDiscreteEquations for MSSS
f49e14312Per ÖstlundAdded test for --ignoreReplaceable.
a0c7ddf5ePer ÖstlundAdded --ignoreReplaceable flag.
c73638c68niklworsfixed divsion by zero if zero crossing was detected and before event handling started
b636b011bVolker Waurichfix bipartiteGraphML generation for algorithms
40c6cc0b8Per ÖstlundUpdate nfinst tests.
3e982aa5cPer Östlund[NF] Fix check of size() as external argument.
7befa222ePer ÖstlundUpdated nfinst tests.
908566603Per ÖstlundNFInst improvements.
62a5fe896Mahder GebremedhinPart of NFInst builtin function handling.
d653ea8f8Mahder GebremedhinNFInst builtin function handling.
a62a90048Adeel AsgharUpdate the editors preview on the settings page.
da629b0c9Volker Waurichmoved simplification rule to simplifyBinaryCommutativeWork
d76e9c2f7hkieluse heap sort for ascending integer sort
0e8a73811hkielfix reheap when sorting the array
68ab9042bhkieluse Array.heapSort to reduce memory usage for large models
aa30cda97hkielimplemented heap sort for arrays
0f350e648Adeel AsgharGet rid of QFileInfo constructed with empty file name warnings.
b674956e5Per ÖstlundUpdate nfinst tests.
6dc1882ccPer Östlund[NF] Replace package constants by default.
d9b21268bniklworsfix for linker error in ModelicaExtrenalC for cpp runtime
814b4aeeaptaeuberCalculate numerical jacobian for adaptive homotopy correctly
9892584ebAdeel AsgharCheck for NULL pointer
ea246de58Per ÖstlundNFInst fixes.
df577f24dhkielfix copy/paste bug introduced in 1fd2008cf5
b22d2734aPer ÖstlundUpdate nfinst tests.
8e9ee9145Per Östlund[NF] Better handling of stateSelect.
ae561c4a0Per ÖstlundUpdate nfinst tests.
0790acfb4Per ÖstlundNFInst improvements.
9ec3abdfeptaeuberAdd flag to start running the homotopy path ...
c46903b28Rüdiger FrankeExpected result with unit in FMI2 modelDescription.xml
573024618Rüdiger FrankeSkip displayUnit in FMI2 export because FMI2XML fails for e.g. bar
2b46fc835Rüdiger FrankeGenerate units in FMI 2 modelDescription.xml, ticket:4649
05ebd2ec5Rüdiger FrankeOnly consider Real variables for fmi2GetDirectionalDerivative
d4ea7ac82ptaeuberSolve lambda0-system separately ...
fdc9fe187Per ÖstlundUpdate nfinst tests.
34369f3caPer Östlund[NF] Handle recursive functions.
05946cb05Per ÖstlundUpdate nfinst tests.
3548b470fPer ÖstlundNFInst fix.
add36ffd1hkieldo simplification of "a and not a" to false only for boolean type same for "a or not a" to true
ce3522c3ehkielworkaround for PNLib in PNlib the LBINARY expression "{} and not {}" must be handled and should not be simplified to "false" by ExpressionSimplify.simplifyLBinary
6f71dc57fRüdiger FrankeDummy commit to (hopefully) get around Hudson bugs
f2d48acadRüdiger FrankeTreat removed Jacobian var defines in daeExpCrefRhsArrayBox
6ee245861hkielfix "a or not a" and "a and not a" simplifications optimize some simplify rules reuse existing structures
37ec0ba15hkiel[CodeGenC] skip cases independent of passing guard
0cd326810hkieluse list comprehension instead of recursion
5fcc409ffPer ÖstlundUpdate nfinst tests.
16e800b39Per ÖstlundNFInst improvements.
ca68c3589Per ÖstlundUpdate nfinst tests.
2fe6fb840Per Östlund[NF] Improved handling of function parameter dims.
613640092Volker Waurichmodified description of comsubexp
02355eb89hkieluse loop instead of recursive matchcontinue in BaseHashSet.get2
a6ecff617Volker Waurichfix external object alias in initial equations
763095f6ahkielfix test cosh^2(x)-sinh^2(x)=1 disabled sin(asin(time))=time test
197ec7ad2hkielfix cosh^2(x)-sinh^2(x)=1 in ExpressionSimplify.simplifyBinary also remove asin(sin(x))=x and atan(tan(x))=x from simplifyCall
1fd2008cfVolker Waurichsimpify r1+r2+cr ->r3+cr
4d95b57c4Per ÖstlundUpdate nfinst tests.
a4417ed69Per ÖstlundNFInst improvements.
517bf930bniklworsfix for typo in cpp tempalte
2bdb8a0f5ptaeuberUse new homotopy flags
3e4eb9485ptaeuberBetter flag handling for different homotopy approaches
0a33707b1Martin SjölundHandle vectorization of matrix slightly better
b8738186aMartin SjölundPartially type-check for min,max,smooth
afdc59e9dMartin SjölundUse ZMQ for building the documentation
d6d471e20Per ÖstlundUpdate nfinst tests.
5e28f3c11Per ÖstlundNFInst improvements.
941a9db8fMartin SjölundPython3 fixes
55a26a3f8Per ÖstlundReactivate BindingArray5 test.
7c50cbcadPer ÖstlundNFInst improvements.
d55e7e175ptaeuberAllow adaptive step size also for local homotopy
58c1aeaaaPer ÖstlundUpdate nfinst tests.
e82a71369Per ÖstlundPropagate component visibility down in NFFlatten.
1a074b074Martin SjölundAvoid using + for options
0d7c53d52Per ÖstlundUpdate nfinst tests.
d8b46d09dPer ÖstlundNFInst fixes.
10b2ba109Per ÖstlundUpdate nfinst tests.
8fe91b3bfPer ÖstlundImprove detection of invalid each in NFInst.
38bf65a63Martin Sjölund[NF] Type-check pre operator
c536259acMartin Sjölund[NF] Call fail() when failing
8f80b4e48Martin Sjölund[NF] Support default attributes in functions
63769821ePer ÖstlundDisable unit checking in nfinst.
ff1e618b3Per ÖstlundFix for ticket:4625.
a72f16503hkielsome small optimizations avoid matchcontinue
978d2764dhkielavoid recursion and matchcontinue in getSparsePattern reduce memory overhead in ExpressionSimplify.simplifyAdd
679140ab7Martin SjölundRemove DAE.SUM in favor of DAE.REDUCTION
1514b599ePer ÖstlundUpdate nfinst tests.
ea3a1f6a3Per ÖstlundBuiltin attribute type checking for NFInst
1dfcc602dhkielreplace matchcontinue by match
85c8ee99eAdeel AsgharUse Utilities::Sleep. Get rid of some order warnings.
9e52038b9Adeel Asgharticket:4619 Use QFrame for border instead of paint event
eaa2e128dMartin Sjölund[NF] Fix for builtin calls
332341ba8Martin SjölundDo not optimize CC for initialAnalyticJacobian
385289821Per ÖstlundUpdated nfinst tests.
89998d3fePer ÖstlundStripping of direction in nfinst.
7360bc3f7ptaeuberFix writing of homotopy csv-file for matrix elements
ed4f81e86Per ÖstlundUpdated nfinst tests.
9cb312a83Per ÖstlundFix prefixing of modifiers on inherited elements.
b03175431Per ÖstlundUpdated nfinst tests.
9b63a0edaPer ÖstlundHandle package constants in nfinst.
b46188a13Adrian Popfix text special, Tpl depends on StackOveflow
2a409cde6Willi Braunadded first version of ida scaling
725d9defbniklworsacitvate 'Allow dividing by all globalKnownVars in initDAE' for cpp runtime
425073cefWilli Braun[FMI] fix sorting of the directional derivatives
6700bd243ptaeuberAdd test for conflicting aliases and expected output
28e9498e5ptaeuberAlways select start value with lowest...
748835de7Per ÖstlundUpdate nfinst tests.
cf744823ePer ÖstlundBasic handling of component conditions in nfinst.
b22e71f96Adeel AsgharTLM co-simulation was merged with OMSimulator sometime ago
42bc0b10aMahder GebremedhinNFFrontEnd small fix for array expressions ($array)
1bb9816b7Per ÖstlundUpdate nfinst tests.
1e0528341Per ÖstlundImplement simple branch selection in nfinst.
67d63de5ePer ÖstlundClean up NFUnitCheck.foldEquation2 a bit.
0e80fa1f3Adeel Asgharticket:4607 Update the model after generateVerificationScenarios call.
9a9ebb670Per ÖstlundUpdate nfinst tests.
8ab93d5b3Per ÖstlundRedeclare improvement in nfinst.
63db4c65dAdeel AsgharUse the -inputPath and -outputPath simulation flags. Fixes ticket:4583
1be2a07fdAdeel 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.
1a778dd4aMahder GebremedhinNFFrontEnd record fix
0ede316favwaurichupdate test
1b186d3c3Volker Waurichthrow warning when SimCodeUtil.makeSES_SIMPLE_ASSIGN fails
a1aa13855Volker Waurichfix for SimCodeUtil.makeSES_SIMPLE_ASSIGN
49cdb0326Adrian Popfix opcua lib exports on windows
423fd8f76Adrian Popfix windows opcua lib imports
19933497bAdrian Popfix windows build
c04255830ptaeuberExpected output
27d4fab07ptaeuberFix init message for FMI
bb335c693ptaeuberMove default success messages from stdout to LOG_SUCCESS
d2feef9bePer ÖstlundUpdated nfinst test cases.
691f4e903Per ÖstlundImprove element visibility in nfinst.
3ab69ff69Martin SjölundQt4 work-around
7046ded1cMartin SjölundUse new flag -d=oldFrontEndUnitCheck
b30e47aacMartin SjölundHandle reporting real stack overflow in Susan
037d5bb3fMartin SjölundFix scalability issue in NFUnitCheck
d69fb20e7Per ÖstlundAdded test for nfinst StateSelect variability.
9e0eb5fd7Per ÖstlundFix StateSelect variability in nfinst.
f4b81ebb3Per ÖstlundAdd test for ticket:4611.
0f0996174Per ÖstlundFix ticket:4611.
23c2c8b8fhudsonUpdating 3rdParty
fb2513cd3Martin SjölundUpdate open62541 to 0.2 release
03be5e2f0Martin SjölundUpdate open62541 to v0.2
9a8bb1d62Martin SjölundFix stack overflow in NFUnitCheck
0a53c4f7bhkieldo not use matchcontinue where match+guard can be used
663155c14Per ÖstlundUpdated nfinst test cases.
75a30894fPer ÖstlundBasic connection handling for NFInst.
0dd95719fMartin SjölundFix type of entry
eb4ef3228Martin SjölundAdded the BSc thesis of Fors Johansson
2c5818d2bLennart OchelAdd flag to fix the mat file headers every N steps
0a2dcae72Mahder GebremedhinEnable unit checking by default in the New FrontEnd.
12b5caf44Per ÖstlundAdd testcase for #4606 fix.
7e6dbfd82Per ÖstlundFix for #4606.
0a64f0055Martin SjölundAdd rpath for the C runtime libraries
b3c9646b6Lennart OchelAdd unit information of alias variables to mat files
a07c7d7f8Martin SjölundPassing fixed=true where expected in the examples
f7e90ac22Martin SjölundAdd documentation for interactive simulation
724e394abAdeel AsgharRespect the case sensitive systems
f6e984cbdVolker Waurichadd new page about graphml generation
1f28d87c1Lennart OchelSave units of measure for parameters to mat files
66d69d5a7Rüdiger FrankeUnify generated code for variable access under FMI 1.0 and 2.0
0ed5264e9Martin SjölundFix scalability for systems without variables
b389638a2Rüdiger FrankeEnable test for code generation of directional derivatives
32ea34faaRüdiger FrankeFix Cpp code generation for derivative functions of media, ticket:4600
effc95264David PolakAdded convertUnits mmHg test
d01f3d6c0David PolakAdded pressure unit mmHg
bf377faf4Lennart OchelAvoid deprecated usage of flags
1b8b8e6f4Adeel Asgharticket:4575 Added checkbox for -single simulation flag. Default value is false.
91776d0a7arun3688add master thesis
ebaacfbd4Mahder GebremedhinNFrontEnd Unit checking.
d4dd96b0cLennart OchelCleanup MatVer4
9363d9947Bernhard ThieleImproved/simplified the OPC example
4ccbc576aMahder GebremedhinUpdate NFInst tests
119136c6cMahder GebremedhinNew FrontEnd improvments
80e3d34faMartin SjölundAdded optional Susan debugging help
fe021bdbeLennart OchelRemove old mat file writer
36778dd5eLennart OchelAdd unit information to mat files
a981b3727Lennart OchelNew implementation for writing mat files
bf1eaeb34Rüdiger FrankeImplement fmi2GetDirectionalDerivative in Cpp runtime
6c0d7cf2dRüdiger FrankeSet FMI flag providesDirectionalDerivative depending on generated code
69f2571cdRüdiger FrankeChange int to size_t in FMU accessors
29a5b8cb6Adeel AsgharActivate profiling properly
6fccf1972Per ÖstlundUpdate nfinst tests.
a33d4f3c1Per ÖstlundFix NFInst.instClass for encapsulating classes.
1749c2e3fMartin SjölundDisable CC optimizations on linear systems
2c59f19faPer ÖstlundUpdate nfinst test cases.
8abed04d0Per ÖstlundSplit NFFlatten into multiple phases.
43d3d5d39hkielfix Matching.removeEdgesForNoDerivativeFunctionInputs
11df6e673hkielsome minor optimizations - remove a matchcontinue - do not operate twice on list - make function tail recursive - avoid tuples
dfbce6c2fMartin SjölundUse Set instead of List.unique
9ff276e85Martin SjölundMake findLoops able to look for at most one loop
c21c29ddeMartin SjölundUse sets instead of lists in comSubExp
7b04aa189Martin SjölundUse sets in comSubExp
2ac44ced4ptaeuberFix check of homotopy solution
9e2d1a7c5Martin SjölundFix scalability of collectInitialBindings
62f2cd7f8adrpoupdate testsuite after library changes
68350e96dMartin Sjölund[OSX] ModelicaExternalC install names
2f828a21cMartin Sjölund[MAT4] Add special case when nrows==0
83762c255hkielfix Qt4 compilation
a5b8a71baMartin Sjölund[OSX] Fix install name of OPC library
c2e5abee7Martin Sjölund[OSX] Fix builds when using a single thread
0f1405c2fBernhard ThieleState machine hint for switching to Modelica v3.3
18b70e240Martin SjölundSilence some warnings
a3eea2746Willi Braun[cRuntime] move jacobian eval LOG_STATS output
7f2aee4a8Willi Braun[SimCode] fixing symbolic jacobians order for info
f3156d146Adeel Asgharticket:4505 Use the diagram annotation when connector is inside the component instance
c3e0976e5Adeel Asgharticket:4585 Added cut, copy, paste and selectAll to text editor
77b13fd85adeas31Signals are protected in Qt4
3d68932f6Adeel AsgharOnly save the preference when checkbox is checked
3532b108bMartin SjölundSupport bootstrapping when using array literals
bb6380f07Adeel AsgharFix Qt4 builds.
1506f4d0cAdeel Asgharticket:4305 Added checkbox to remember user's decision in text editor error dialog.
09c37cd93Martin SjölundAdd MetaModelica.Dangerous.listArrayLiteral
ec1d29272Martin SjölundUpdate linear system debugging
36a3e41b8ptaeuberAdd test and expected output
04560c977ptaeuberWarn of conflicting alias variables
6882da0d0vwaurichfix path in simulate with animation
5df57a8f9Martin SjölundFix rebase errors
5a35717aeMartin SjölundEnable interactive simulation without stepping
7d12dd46bMartin SjölundWait for OPC-UA server to start during init
685fc6308Adeel AsgharCreate the OpcUaClient after the opc-ua server is initialized.
a918f6161Christoffer Fors JohanssonUpdated how OMPlot and OMEdit handles simulation control buttons.
d60db4d4cAdeel AsgharRemoved unnecessary debugging info.
d5f420aa0Adeel AsgharRemoved the unnecessary SimulationServerCheckThread class. Do not create unnecessary QTcpSocket objects.
dbc50ee19Christoffer Fors JohanssonFixed variable names. Better port handling.
436baa28eAdeel AsgharFix opc-ua linking for win32.
b38bd4661Christoffer Fors JohanssonInitial commit for interactive simulation
0e1d01eebChristoffer Fors JohanssonBetter way of handling interactive simulation control buttons.
eb19ef4a2Christoffer Fors JohanssonInteractive plot windows.
6b6200d62Adeel Asgharticket:2249 Only show the documentation as default view for DocumentationClass annotation.
baaffecf6niklworsfix in cpp template for jacobian variables used by algebraic loop
ed4ccd80bMartin SjölundFix for linear sparse solvers in source code FMUs
4e94bc521Martin SjölundExpected output
6b70c759dMartin SjölundAdd test for ticket:4550 reduction type
15730cb50Martin SjölundReturn correct variability for reductions
b0861d4aaMartin SjölundReference file does not contain time=0.0
b610cb9d9Martin SjölundDo not store time in the data_1 matrix
095b0ef3bAdeel Asgharticket:1857 Show context menu when clicked on empty spot in Libraries Browser
5831af02bMartin SjölundExpected output
2f8fe8ec5Martin SjölundMake error-message shorter
d60d430a7Adeel Asgharticket:4576 Don't delete the transition in focusOutEvent.
625bb6584Per ÖstlundNFInst fixes.
017636b9cJan ŠilarPDEPlots
ac679f79aLennart OchelRemove unused variables
2d0ba0f98Lennart OchelNew function to debug hash tables
f55d7d6b5Martin SjölundFix for using default sparse linear solver
348695870Martin SjölundImproved debugging of bad variables in codegen
98136a986Bernhard ThielecheckModel support for state machines
785126337Adeel Asgharticket:4572 Don't allow illegal instance names
6c085bb83Willi Braun[FMI] join functionTrees for directional derivative
75ec7ef8dWilli Braundisable fmi directional derivatives by default
73e4cc5eeptaeuberDo not get algorithm crefs that will be discarded
3655c8ed3Martin SjölundAdd test for single precision output
702e3381bMartin SjölundAdd a scripting function to access stat
aeb9725a3Martin SjölundAdd support for single precision in mat4 output
67b8eef1cLennart OchelUpdate LoadCompilerSources.mos
3d0d8a3b4Adeel AsgharSnap to grid with shift modifier
92ac5a60dLennart OchelIncrease hash table sizes for the unit checking
d32e47688Willi Braunfix output
bba43625eWilli Braunfixing FMI directional derivatives and model structure
bc8938e28Adeel Asgharticket:4567 Removed the extra simulation toolbar
16bcbe68dAdeel Asgharticket:4461 Save additional simulation flags in correct syntax
a766c29eaMartin SjölundUnify reading enumeration flags
0e39b73bcMartin Sjölund[FMI] Fix static source code FMUs
b4aa137b3Martin Sjölund[FMI] Set default dense and sparse linear solvers
c1445a867Martin Sjölund[FMI] Escape the model's description attribute
0a09efc09Martin Sjölund[FMI] Expected output with nls solver mixed
fba815048Martin Sjölund[FMI] Set nominal to 1.0 as a default
2a43b90b7hkieloptimize memory further for ticket:1451
2e4f0f82dBernhard ThieleSwitch to C run-time for two tests
90e7f8a50Bernhard ThieleTest case for ticket:4563
84dc1d9ecBernhard ThieleState machines ticket:4563
fdcc01d6ahkielabsAdjacencyMatrix only changes lists if values < 0 are contained improves ticket:1451
f8d55c68fPer ÖstlundAdded test for inherited function with try.
b5d86d327Per ÖstlundFix InstExtends for MetaModelica constructs.
d8c018eaaMartin SjölundMake FMU tmpTick indexes more similar to C codegen
aa907b11bWilli Braunfix array differentiation for symbolic jacobains
505f10d7dMartin SjölundAdding test for parameter record bindings
a9268a9e8Martin SjölundMove parameter record bindings to initial equations
37e75adf8Martin SjölundImprove check for failed function inlining
0406ea2e6Martin SjölundFix crash is default linear solver
f627d108bAdeel Asgharticket:4308 Move by factor of 5 when shift key is pressed.
8f278a262Martin SjölundAdded testcase for terminate at init
aba368508Martin SjölundCalling terminate at initialization means success
20b20c06eptaeuberAdd test for inversion of pow
c22c35be4ptaeuberFix problems with ExpressionSolve
d1ab6caccMartin SjölundExpected output
ebb0ea835Martin SjölundMove checkForDiscreteChanges to simulation runtime
3a0af47b1Lennart OchelNew package AdjacencyMatrix
12ed59f8eWilli Braunadded new test diff array crefs
2264580fdWilli Braunremove jacobian var defines in cpp codegen
24d57037cWilli Braunfix differentiation of arrays crefs(ticket:4545)
988a8982aWilli Braunupdate warnings
6d2338df2Willi Braunimprove variable generation for jacobians
024a75d0aMartin SjölundMake it possible to ignore OMC_DISABLE_OPT
94e29a9aaMartin Sjölund[C-code] Binding equations disable optimization
47db56e57Adeel Asgharticket:4490 Use cosmetic pen for correct scaling and zooming effects
b0b8677b7Martin SjölundBootstrapping depends on zmq
da6dc6cd3Adeel Asgharticket:4332 Round the origin value
173618cd5Martin Sjölund[FMI] Implement a faster setReal/getReal
a60374984Martin SjölundDo not generate defines for value references
88845bb53Martin SjölundFixes from static analysis of ranges in reductions
c02603fc9Adeel AsgharCheck if changeDirectory is successful
8e4493232ptaeuberAdd flags to tests
ccd5c42a2ptaeubermaxSizeLinearTearing=200 as default
541124880adrpoupdate testsuite due to library changes
624b9a6eaptaeuberWarn about unbalanced system after WFC
475897475Adeel Asgharticket:4038 Use the updated flag names
c7348eac2Per ÖstlundUpdated nfinst test cases.
3c3ca8772Per ÖstlundComponent attribute propagation for NFInst.
7648bd565Per ÖstlundClean up obsolete files from new frontend.
351cb3767Martin SjölundDo not add FMI runtime while bootstrapping
aad32e02aMartin SjölundSplit updateParameters into simple and complex
6138df4ebMartin SjölundImprove scalability for binding equations
b225cec05Martin SjölundAdd tests for JSON parser
38a901345Martin SjölundAdd a JSON parser
ad52d37cbMartin SjölundAdd a JSON lexer
958906ae8Martin SjölundUpdates for libomcruntime
760b17910Adeel AsgharUpdated copyClass tests
3d141a9e1Adeel AsgharReturn "" as file name when duplicating top level class
5422a279fAdeel Asgharticket:4547 Fill the path if model belongs to a package Don't allow duplicating in system libraries
bc6e18812Adeel AsgharCreate a directory with model name to dump the generated files Delete the Cpp generated files as well
4d3b50221Per ÖstlundAdded testcase for min/max of enumerations.
e92a0b57cPer ÖstlundFix min/max for enumerations.
c2054ffd3Per ÖstlundAdded stringEmpty and arrayEmpty to MetaModelica.
0e625e9d0hkielfix some warnings from static code analysis
eda7008a9Per ÖstlundUpdated nfinst test cases.
fe070413ePer ÖstlundNFInst improvements.
9c8a62983Per ÖstlundUpdated test cases for #4543 fix.
8943f737cPer ÖstlundAdded debug flag ignoreCycles for #4543.
ec69d301bMartin SjölundApplied the refactoring script
ec7206f2eMartin SjölundOnly add _length variable for array reduction
9ce0a4a13Martin SjölundAvoid static analyzer dead assignment warning
64ace5b32ptaeuberNew test and expected output
215f1b1e5ptaeuberBetter handling of redundant initial equations
d3f9ab11ehkielsome small list optimizations
080cd298dAdeel AsgharDelete the generated files after compilation instead of simulation
126db4389Adeel Asgharticket:2909 Allow deleting the intermediate compilation files
118b3d07aWilli Braunadded DrumBoiler as testcase for linearization
f85f44f91Willi Braunfix differentiation of function outputs
1cd286dcfPer ÖstlundUpdated nfinst test cases.
ebf70e339Per Östlundinner/outer handling for nfinst.
a3201a2d3Martin SjölundTest fileNamePrefix that is not a C identifier
2dfe8db0bMartin SjölundGive expected output for bug2756
669df4128Martin SjölundFix for fileNamePrefix not a valid C identifier
defddaa0eMartin Sjölund[MetaModelica] Use goto instead of done variable
90af743e4Adeel Asgharticket:4461 Save additional simulation flags
19186f7c2Martin Sjölund[FMI] Give default start-values for parameters
c5205762fMartin SjölundtranslateModelFMU returns empty string on failure
ae793bea4Adeel Asgharticket:4505 Use the Icon annotation for extends connector class.
333f946f9Willi Braunexpected output
da38b3e64Willi Braunrewrite algebraic system in SimCode
29e812163Martin SjölundMake getAnnotationNamedModifiers not return bad data
a601adebbWilli Braunadded testcase for linearization with records
702501a86Willi Braunenable discrete vars in symbolic jacobian
74ef35db2Per ÖstlundAdded tuple test cases for nfinst.
fff178847Per ÖstlundForbid invalid tuple use in nfinst.
297f7c634Per ÖstlundUpdated nfinst test cases.
f42e28055Per ÖstlundNFInst improvements.
699e373a0Rüdiger FrankeRe-enable FMI 2.0 crane test
15ba583b5Martin SjölundFix generated C++ FMU filenames
21525ab59Lennart OchelExpected output
bacaf0378Lennart OchelDon't replace dots in fileNamePrefix for FMUs
e1ab4026cMartin SjölundUse rpath provided by configure
c057936e3Per ÖstlundUpdated nfinst test cases.
b7bed213cPer ÖstlundNFInst improvements.
5dfdea2faAdeel AsgharReturn same number of output from failing case.
2a672b283Per ÖstlundAdd test case for enum type matching fix.
453e1c770Per ÖstlundFix for OperatorOverloading.makeEnumOperator.
48dca0bd5Adeel AsgharUpdated tests using getClassInformation
9670ad9e5Adeel AsgharReturn the access annotation with getClassInformation.
c64663db5hkielmake SimCodeUtil.createAllDiffedSimVars tail recursive fix ticket:4534
e6d206248Martin SjölundMake C++ FMUs respect fileNamePrefix
b383de7ebMartin SjölundCache the FMI configure results
cd1bf8756Martin Sjölund[FMI] Do not optimize read_input_fmu
5122abb87Martin Sjölund[FMI] Keep more logs with generated binary
f99f61254Martin SjölundEnabled RT_CLOCK_BUILDMODEL for buildModelFMU
d39727c21hkielupdate omc translations
351c73d38hkielfix some c-compiler warnings
999d33bb3hkielinterpret MMC_STRINGDATA as utf-8
15276ce9fhkielavoid stack overflow (ticket:4534)
f326bf7baAdrian Popnot needed
70ef9f428adrpodon't use std::begin and std::end as is not need
e4eabb4ddAdrian Popattempt to fix clang compilation
255934c6bAdeel AsgharFixed OMShell windows compilation
ed5d7956fRüdiger FrankeExpected result
a0077f839Rüdiger FrankeAdd test for FMI model description with sub-clocks
7511e8f7fRüdiger FrankeCorrect synchronous test for shiftSample, ticket:4530
0371e9711Rüdiger FrankeThird attempt to fix shiftSample, ticket:4530
5b8217142Rüdiger FrankeEliminate subSampleFactor from FMI model description
23493d868Lennart Ochel[FMI2] Fix set/get methods for types integer, boolean, and string
c7cddda44Lennart OchelFix some error messages
08c6143c3Lennart Ochel[FMI2] Calculate real values if needed
5ab8668edAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
73e1f2a0dAdeel AsgharAllow creating initial state graphically.
7519ad75chkielcd() to tmp dir when starting OMShellGUI
a172806b5hkielCall MMC_INIT()
b65dea292hkielexplicit instead of using namespace
d6df635dfhkielfix crash when doing first evalExpression()
dfc9aa0abhkielchange OMShellGUI from corba to direct interface
8d1b0784ahkielchange mosh from corba to direct interface
4a398f7cfalash325Updated the traceability message format version to 1.4 and latest OpenModelica test case
52a706437alash325Remove traceability query functionality Disable basic git functionality
453670fdbPer ÖstlundFix #4524 for Cpp and XML codegen too.
93a4aedd9hkielmake unmodified objects constant
415de246dPer ÖstlundFix for #4524:
5bf9661f6Rüdiger FrankeRevert "Alternative treatment of shiftSample also considering event clocks"
17caf9298Adeel AsgharSlightly better way to fix ticket:4472.
6554061cfRüdiger FrankeAlternative treatment of shiftSample also considering event clocks
df66a2132Rüdiger FrankeRevert "Separate subSample and superSample from shiftSample"
9a067c8d0Rüdiger FrankeFix clock ordering in FMI model description
edd5dda09Rüdiger FrankeSeparate subSample and superSample from shiftSample
5c6d6e3acRüdiger FrankeRemove superSampleFactor from FMI model description
0e5f04fcePer ÖstlundAdded test case for #4521.
79caae607Per ÖstlundFix for #4521.
57246396bJan ŠilarAdding test for PDEModelica.
b9e79ece9Jan ŠilarPDEModelica
aab2f9283Volker Waurichfix for simplifyIfEquation
bbbda07eabernhardbachmannFix division by zero problem
594ab6019hudsonUpdating 3rdParty
6bb362f71adrpoupdate tests after changes to modelica tables
555e13e72Adrian 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
a633fbbc2Rüdiger FrankeApply resolution to shiftCounter in FMI model description
fb83cf683Bernhard ThieleAdd reference to corresponding ticket
e1fe7f8dfBernhard ThieleTest case for ticket:4527
e844e3abcBernhard ThieleFix for ticket:4527
6967d1c27Per ÖstlundUpdated nfinst test cases.
50d02d907Per ÖstlundNFInst improvements.
b00cb1ab5bernhardbachmannImproved damping criteria of the newton solver
d3dffead4bernhardbachmannImproved damping criteria of the newton solver
13c08d4b6Per ÖstlundUpdated nfinst test cases.
e59152f17Per ÖstlundNFInst improvements.
9743a1ae8Per ÖstlundFix for #4472.
d85ad3855Per ÖstlundUpdated nfinst test cases.
0c97493cePer ÖstlundNFInst improvements.
c40d463d2Adrian Popfix a crash in sphinxoutput
7bd484726Volker Waurichfix visualization xml
09052874bWilli Braunadjust output to solver
a275e4ca0Willi Braunmore fixes for ticket:4395
29654258ebernhardbachmannAdd scaling test and expected output
ff269274cbernhardbachmannFix some scaling issues
1e8090d73Per ÖstlundAdded testcase for inherited fully qualified name.
cc3c53183Per ÖstlundFix InstExtends.fixCref for fully qualified crefs.
e8ef378ecPer ÖstlundAdded testcase for fully qualified import.
5307f91e1Per ÖstlundFix parsing of imports.
df8573fecWilli Braunadded noScaling flag and fix minor kinsol things
8e05bdf25ptaeuberExpected output
275ccba0eptaeuberIntroduce new global homotopy approach
8aeeac1d1Bernhard ThieleAdded failing test for state machines
91a80a7faPer ÖstlundUpdated nfinst tests.
62dc75df3Per ÖstlundNFInst improvements.
ea9199bc8vwaurichupdate test for partlintorn
e2dfbf69bVolker Waurichfix for partlintorn
8a7ad824dPer ÖstlundUpdated nfinst test cases.
568224974ptaeuberWarn about iteration variables with no nominal attribute
3d27c595dhkielmake SymbolicJacobian.createAllDiffedVars tail recursive fixes ticket:4392
e4efaecc0Per ÖstlundUpdated nfinst test cases.
8cf74960aPer ÖstlundNFInst improvements.
df2b0b432Willi Braunfurther fixes to ticket:4395
933120ec5Adeel AsgharMake sure we always initialize the text annotation for transition.
60fecddddAdrian Popfix ticket:4509, use correct defines on Windows
45d12dbeeLennart OchelRemoved the eol comma separator
8befe8aa0Lennart OchelSkip exporting variables of type string for csv export
503e9a1f5Lennart OchelFix csv export for variables of type string
dc5dc2be7Willi Braunfixes issues from ticket:4395
1a22a7545ptaeuberExpected output
b67fdd1b5ptaeuberTry without homotopy also for local homotopy method
9db625489ptaeuberFix bug in homotopy solver
7e16a2c2dWilli Braunmove daeMode testsuite
56f95c75cWilli Braunadded additional ida statistics
a4b828031Willi Braunfix daeMode=all by skipping algebraic evaluation
29740e24bLennart OchelFix sorting of external object destructors
9ed2db403Lennart OchelExpected output
52b0a0920Lennart OchelAlign variables to avoid unexpected behaviour
ad433e801ptaeuberExpected output
3ade1973bptaeuberFix success messages
86f97b680adrpov1.13.0-dev
4522d1311adrpov1.13.0-dev
bf355bb7bPer ÖstlundAdded some nfinst test cases for size.
c74f60564Per ÖstlundImplemented initial support for size in nfinst.
1a120c836hkielevaluateForStatement: do not loop over ranges with stop < start
e5d7afe3dPer ÖstlundUpdated nfinst test cases.
2e4c6ff81Per ÖstlundImplemented class extends in nfinst.
cc3ad1507hkielavoid creation of temporary lists
1c87ab090Per ÖstlundRemove name from class extends SCode.ClassDef.
602b89572Per ÖstlundUpdated nfinst test cases.
5b5e235d4Per ÖstlundImplemented handling of duplicates in nfinst.
bf8c59d4bAdeel Asgharticket:4348 Remember the welcome page splitter state.
16b485f9dAdeel Asgharticket:4476 Handle gradients properly for SVG export.
829f2cad2Adeel AsgharNo context menu when creating a transition.
830a9708eAdeel Asgharticket:4478 Added time units in simulation setup.
db0864769Martin SjölundCheck for -g=Optimica in optimization solver
8f52c44b4Adeel AsgharUpdated the new state image.
29ea329c9Adeel AsgharCopy the transition-mode.svg
6b8812302Adeel AsgharCreating states and transitions.
116a85417Adeel AsgharDon't display the simulation success message. The success message is moved to omc.
af79c5134vwaurichrevert camera implementation
7340eb30cvwaurichcam icon
d66adad54vwaurichcamera mount, i dont get it
7e5cc77a1ptaeuberChange homotopyOnFirstTry flag description
f43fad045vwaurichinteractive control panel for FMU animation2
f8a77749dAdeel AsgharFix build
19f24e8a0Volker Waurichfix for HpComEqSystems.partlintorn
ac5733af0Martin SjölundExpected output for balance checking improvement
24c3047c7Martin SjölundPerform incomplete matching for over/underdet syst
2252051favwaurichadd test for evalFunc
1355755feVolker Waurichfix for evalfunc #4456
d51aef879ptaeuberExpected output
dc49b6e24ptaeuberInitialization and simulation success messages on stdout
6b9a41d12vwaurichactivate test
24cba6cecvwaurichtest for deltaSimulationResults scripting
e988ea489Volker Waurichadd 1-norm, 2-norm and max error for deltaSimualtionResults API
9f04cba09Adeel AsgharState Machines GUI support.
a845edafcVolker Waurichuse fmax() instead max()
66f09c413Volker Waurichadd scriptingAPI to compute error sum
5b71b6690ptaeuberFix wrong error message ...
45431ea67ptaeuberAdd tests for function evaluation
2cd28b6c3ptaeuberFix bug in function evaluation
2eed74cb2Volker Waurichproper cref comparison in evalFunc
3645e8bd6Volker Waurichcorrect type in DAEUtil.varCref
4d034e923Adeel AsgharFixed the addInitialState API.
d96fb12dcMartin SjölundTest connector extending type
564c40590Martin SjölundLift restriction on connector extending from type
2432a47d7ptaeuberDo not remove functions used in lambda0 system
0b97943f3ptaeuberAdd function tree to jacobian dae
2e17f151fMartin SjölundHandle range special case for reductions
d28b97492ptaeuberAdjust homotopy examples
5ee6abbdfptaeuberEnable global homotopy as fallback option by default
d0deadfb0Lennart OchelFix homotopy for source code FMUs
eb0530e7bAdeel AsgharTest the initial state APIs.
42663b6a1Adeel AsgharAdded new add, update and delete APIs for initial state.
7dd1e0031Jan ŠilarAvoiding QComboBox::setCurrentText()
21ce9323aptaeuberFix bug in homotopy method
441b181a8Volker Waurichavoid List.intRange() in for loop
388bbcf25hkieloptimize Graph.partialDistance2colorInt
e5206efcbAdeel AsgharFixed OMNotebook build.
e8e2216ccMartin SjölundRemove equations like "{} = f(...)"
545461b1cMartin SjölundAccept DAE.MATRIX in codegen of array equation
17af9c57eMartin SjölundExpected output
abde81d4eMartin SjölundHandle a stack overflow in HpcOm
74ffe7010Martin SjölundExpand equations marked inlineAfterIndexReduction
789abbee3Martin SjölundHandle running the same optimization module twice
2933df617Martin SjölundAvoid expanding equations
523e2afceVolker Waurichexpected output
169fa51dfVolker Waurichrewrite ResolveLoops.getSimpleEquations
a2c68bc97Lennart OchelExpected output
f80d03549Lennart OchelTest for global homotopy approach
220e25fe5Lennart OchelGlobal homotopy approach
b69c21673Jan ŠilarPlots for PDEModelica
7f2c3327aJan ŠilarArray plots
4221d29abMartin SjölundAdd an extra step before daeExp in Susan
97fddd802hkielmove option creation out of outer loop
d30d68c37hkieldo not recreate Option
160b2cdd2Martin SjölundExpected output after collapsing some array crefs
12c7c7fffMartin SjölundCollapse arrays of crefs
9ebc68cb4Adrian Popproper handling of corba file dump path
cccc5bde7hkielexpected output
d51f346fbhkielspeed up and memory enhance ResolveLoops.getShortPathsBetweenEqCrossNodes
b00d68d72Martin SjölundMake predictable tmp-indexes for residual functions
88c73ca88hkielreduce memory footprint of comSubExp
3987ad38bptaeuberExpected output
853b43e5aptaeuberSpeed up tearing
b69a9eb74hkielsome small optimizations for large models
f50884b47Martin SjölundExpand arrays in record when generating simcode
49a376758Niklas Worschechusing Kinsol as standard nonlinear solver
ffcf1b14aNiklas Worschechfixed errors in commits cca3ace0a656a71348290808b13138057a06c732 and 6e5cf6bf01ad7cde7a8a461969924e361ef4b24d
e19e1ee92Niklas Worschechadded simple NoxSettings
315bbe1a7Niklas Worschechrefactored Nox.cpp when calling CheckWhetherSolutionIsNearby
be4b2d9efNiklas Worschechcompleted replacing generateoutput-flag by logging
28e177d7aNiklas Worschechrevert activating Logger
0f0914305qichenghuaAdded Logger, added Doxygen and fixed bug in varying initial guess by 10% if initial guess has components that are zero.
34f3bd745qichenghuaSoftened tolerance for homotopy solver
46e1cff89qichenghuaUsing homotopy for nominal values as start values as well.
6eee27b44qichenghuafixed error in variation of initial guess in commit fb31cf3e8a7b1523d3e86170359c4a8ef279ae47
7c973e6c4qichenghuaadded frames for Doxygen
78e7aa71fqichenghuaTry extrapolatin start values of nonlinear solver
951ee926fqichenghuaPreparations for extrapolating start values for nonlinear solver.
b4973f6fbqichenghuaTry setting initial guess to nominal values if other methods fail.
3ba7fa653qichenghuaNox: Try more methods if and only if eventretry is false.
179903604qichenghuaadded varying initial guess in NoxSolver again.
ec62f807bqichenghuafixed error in the lacking precision of double precision handling that was introduced during refactoring in commit f2f0b7eb56785e14bf78f2acb0ab888596a998d3, so this criterion is applied successfully again.
6d48942b8qichenghuaadded retry of nonlinear solver nox in case of events
456875edfqichenghuaFurther Refactoring of nonlinear solver nox
8ea3763a4qichenghuarefactored nox.solve()
eccaa1fabqichenghuadeactivated variation of initial guess.
955014879qichenghuafixed bad cast error when homotopy solver within Nox is used.
d633a30e0qichenghuaadded variation of initial guesses in nonlinear solver.
e13383428qichenghuaadded more accurate (4th order) method of computing the finite difference approximation to the jacobian of the algloop.
7187f7036qichenghuaset algloop to 1e12 instead of 1e6 when evaluating the right hand side fails
5914059d7qichenghuaadded 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.
267a1c706qichenghuaused normal Newton again
ea35f342cqichenghuafixed KLU path
3290599a7qichenghuaadapted initial step length in homotopy method in nonlinear solver nox in cppruntime
d5d856ec4qichenghuarefactored Nox
557c01749qichenghuarefactored Nox.cpp
6079a8638qichenghuaTrying less methods in nonlinear solver
2a98b08a0qichenghuareduced output in nonlinear solver nox
d0b99ccbdqichenghuaenabled nonlinear solver for arbitrary tolerances by solving issues with lacking precision of double precision in case of too tight tolerances
9a1334396qichenghuamuted output and disabled tolerance alleviation in nonlinear solver nox completely.
6beb4f401qichenghuaExperimental rounding error fixing for fluid models in MSL
faa82e65dqichenghuafixed error introduced in 31424fc19ae5b7e29f5a17e102eb4d6e0a29d311
330aa9e1eqichenghuause kinsol instead of nox as default nonlinear solver
83d7b4ac0qichenghuadeleted unnecessary comments and dead code in Nox.
b3f0ed0faqichenghuaadded additional homotopy methods
f5426db1eBernhard ThieleActivate FMIExercise.mo test case
7362e6360ptaeuberExpected output
d2c74c006ptaeuberAllow dividing by all globalKnownVars in initDAE
88fee4f5aAdeel AsgharNew API to get initial states.
9eba7c711Adeel Asgharticket:4463 Added a dialog to display class version information.
ae81be2f6Adeel Asgharticket:4468 Fixed export to image for Text shapes.
591485e63Bernhard ThieleFix FMU import related simulation deviations
acc20cc1aAdeel AsgharCheck if the list is empty.
4d60cd369Adeel AsgharCheck for NULL pointer when trying to access inherited class.
ca1c6de2chkielincrease size of base array to avoid expensive re-sizing
7029f3afbniklworsfix for coping sim values in BufferReaderWriter
fbc5346c9Adeel AsgharMake the display of system and tornsystem consistent.
3082898a6Adeel AsgharRead and display according to new model_info.json file
90441d8cdptaeuberImprove model_info.json
64eefbbd2ptaeuberSpeed up tearing matching a bit
498ae9ff3Adeel AsgharIf an embedded server is specified.
02b0bab99Adeel AsgharOutput the information when opc-ua server is initialized.
0fc8e098chkieloptimize ResolveLoops.getShortPathsBetweenEqCrossNodes() further
107d88df3ptaeuberAdd execStat for matching/sorting of init dae
da6c53fe6hkielavoid multiple sorts
743991c8fhkielfix reverse ranges n:-1:1
89f3548dehkielfix List.sortIntN()
9a5c35eeehkielsort lists before intersection to speed up
feee0cf28hkielimplement intersection on sorted Integer lists
767bebdf1hkielRemove loop check from differentiation ther is still a maxIteration check. reduces running time tremendously
bfbc14590ptaeuberCount tmp vars to unknowns in SimCode EqSystem
a5f8084abAdrian Popfix TEST_SPECIAL job
2a223aa7aPer ÖstlundFix conflicting test filenames.
62106406fptaeuberAdd more info to SimCode EqSystem
0b0a647achkieluse AvlSetInt instead of too big List.uniqueIntN() array for large models
f30ae8ae4ptaeuberImprove model_info.json
929645f94Rüdiger FrankeDelay initialization of FMU2 logger until it is requested
c617a1f58ptaeuberFix detection of fixed globalKnownVars
ade8bc485hkieldo not create temporary arrays
cbeb9b317hkieldo not copy key if it already exists
6674cbe6aRüdiger FrankeExport FMI functions for multi-rate sampled data systems
0d0414ca3Rüdiger FrankeFix initialization of nominal values in DgesvSolver, ticket:4459
61870e3e3Rüdiger FrankeEnhance logging of DgesvSolver
4866f5598Rüdiger FrankeFix whitespaces in DgesvSolver
02891915bBernhard ThieleAdded tutorial FMI exercise as test
1504ef744Adeel AsgharCopy the open62541.h file build include directory
26b29599aptaeuberExpected output
214f0d63aptaeuberDo not create parameter equations for constant variables ...
299703b47Martin SjölundCopy libzmq dylib files
708c3b488hkielreduce memory footprint of Tearing
2f44c0ea0ptaeuberRemove TestCompressor from ThermoSysPro testsuite
0ecd8be5bhkielsome small optimizations
131a851d0ptaeuberUpdate ThermoSysPro testsuite
b6d186fc0ptaeuberAdd tests for function input iteration
dc91086f1ptaeuberDo not create unnecessary large nonlinear systems ... around single complex functions
092ac3896Martin SjölundFix for RHEL/GCC not compiling in C99 mode
dfebc074cJan ŠilarA new function to read whole array from .mat file.
375731a45Adeel Asgharticket:4436 Move the residual marker to first position. Add some information to the defines of residual equations.
1606f8a10hkieldo not use tuple as function argument when not necessary
6ed6ae040Adeel AsgharRemoved whitespace
f7325c0e9Adeel AsgharRemove unnecessary and probably wrong example.
4c9713fd3Adeel AsgharUse OMCSessionZMQ for examples instead of OMCSession
951ddeb9cAdeel AsgharMinor text fix.
dc171cca8Adeel Asgharticket:4444 Give viewing options for transformations.
c41bd337aAdeel AsgharMerge branch 'adeas31-fix-headings'
1672ee1d3Adeel AsgharMerge branch 'fix-headings' of https://github.com/adeas31/OpenModelica-doc into adeas31-fix-headings
3cbf0b703Adeel AsgharFixed sub headings
9d6b99329Adeel AsgharAdded OMSimulator chapter. Moved the FMI and TLM co-simulation chapters inside OMSimulator chapter.
d8dda01b9Adeel AsgharAdded OMSimulator chapter. Moved the FMI and TLM co-simulation chapters inside OMSimulator chapter.
76d87502fPer ÖstlundMore nfinst fixes for ScalableTestSuite.
6e926926cPer ÖstlundIgnore imports in NFClassTree.expandExtends2.
c8caa6d3dVolker Waurichadapt yEd dump, add borderwidth to graphml nodes
3dcf0f9f6Per ÖstlundAdded execStat for instantiateModel DAE dumping.
c5c6f9ae4Per ÖstlundUpdated scodeinst tests.
c8394ea31Per ÖstlundHandling of self-referencing extends in nfinst.
225b295d8Per ÖstlundUpdated scodeinst tests.
b2744b01bPer ÖstlundSimple typing of subscripts for nfinst.
c28fb0ce1Lennart OchelSimplify handling of invalid states
01d38b7b8Per ÖstlundUpdated scodeinst tests.
c7d04e1fbPer ÖstlundNFInst improvements.
4e4ac932dAdeel 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.
b8d75b4a4Adeel AsgharAdded OMCSesssionZMQ references to OMPython documentation
f1f89ccf8adeas31Fix the zmq initialization for linux
709531b2ehkielTicket4407 case preserving filesystems fixes problem with re-generating files on case-preserving filesystems
73555c0acVolker Waurichnew yEd dump of complete dae system as bipartite graph
8ba253e1fAdeel AsgharWrite zmq server connect string to file. Let zmq choose the port automatically and write it to a file.
f2b55ccb7Martin SjölundFix compilation of zmq on OSX
86cfac41dMartin SjölundDo not copy so-files to bin/
ea473e72aVolker Waurichcomments for synchronous implementation
6a81761cfVolker Waurichsolver clocks do connect base partitions
4a475accaAdeel AsgharImproved the ZeroMQ server send method
d68b05699Volker Waurichexpected output
7827a66b1Volker Waurichnew subclock partitioning implementation with new partition adjacency matrix
0d6e0e83cptaeuberExpected output
95cea6e24ptaeuberAlso dump resEq in tearing dump
2f2fed896hkielsome small improvements do not update Avl.key when adding key of equal value optimize function intersection
966360501hkieluse simpler if instead of matchcontinue
ba78dc703hkieldo not explode and re-create tuple
9276843c9hkielfix static analysis: avoid dead assignment
1b08e2b10hkieldo not generate intermediate list
48a8d497chkielapply style to Input cells when printing/exporting to pdf fix some other minor things add short cut (Alt+P) for PDF export
b11bb9742Lennart OchelUse different call sequence logics for ME and CS
71eeb5f42Lennart OchelFix indentation
050739da0Adeel AsgharFixed encoding.
b70932d98Adeel AsgharImproved the ZeroMQ server receive method
7a88dc81ehudsonUpdating 3rdParty
fcd2bf763Adeel AsgharInclude the ZeroMQ headers.
579677befAdeel AsgharAdded ZeroMQ communication interface
e2bcaf36dAdeel AsgharFixed socket communication.
fecbed32cptaeuberExpected output
76dc2503aptaeuberMatch more nonlinear equations first while tearing
42dae63b7adrpofix tests due to library updates
47cd8209aalash325Delete QNetworkReply object in the receiving slot when it is finished
3bfdad9aahkielAdded line numbers to Input cells
d7d99bd61hkielremove unused code from latexcells (indentation, autocomplete)
b95b469c7Lennart OchelAllow fmi2SetInteger in continuous-time mode
783478cabAdeel AsgharCheck for NULL pointer.
8888f42dbAdeel Asgharticket:4440 Make sure we always simulate when user selects simulate from menu.
44459e5e0Adeel AsgharUpdated TLMPlugin to OMTLMSimulator.
1ff64b59bAdeel AsgharCheck if model_init.xml file exists.
18e70d6d3alash325Do not delete QNetworkReply object
d84ea136fptaeuberMake Evaluate=false have an effect
04b350a20alash325trace FMUImport
30e59b45cptaeuberExpected output
3bbb391b3Adeel 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.
b2178d3f7Adeel Asgharticket:4434 Properly set the -d=infoXmlOperations flag.
3d09049aeAdeel AsgharRevert "ticket:4428 Set very low ration for legend so that plot gets more space."
2230a75c1alash325- update the traceability message according to the Json schema
78dcf3fbfhkielfix translation string
d0aa5e637hkieltranslate more strings update german translation
e573d473aadrpoupdate tests due to library updates
18303352dAdeel Asgharticket:4421 Show a fixed value when there is only one unit.
5215a827dAdeel AsgharInitialize the variables properly.
9b87ac3b9Adeel Asgharticket:4431 Fixed the rendering rectangle size. use Component's sceneBoundingRect() instead of calling sceneBoundingRect() on its items.
192b8383bBernhard ThieleFailing MDD tests for synchronous blocks
ed569e2e7Bernhard ThieleMore tests for MDD library
e116454e9ptaeuberDo not prefer vars with start value for tearing
e2f605d6aAdeel 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.
16532e564Adeel Asgharticket:2232 Allow setting axes range manually.
d51c142a7ptaeuberRevert "Expected output"
9ca61408cptaeuberRevert "Use nominal value as start value for iteration vars"
05b74d7d2ptaeuberExpected output
e7045ec96ptaeuberUse nominal value as start value for iteration vars
2b12dca3fhkielNew caption for omc messages also highlight error cells in red, warning cells in yellow
4922085d4hkielDo not translate items in drop down box that need to be english update translation files
ddfec0ed7wibraunremove unused functions as a last step of backend
f821aa3e7Danny MoeschAvoid 'and' operator in C++ code since MSVC12 does not support it
16a762618Martin SjölundHandle dassl better in opc-ua
a884b9643hkielfix expansion of '=' to ' = ' considers also ':=', '<=' and '>='.
dada30172hkielupdated OMNotebook help file
774fd7d44hkielImplement more intelligent command completion detects if input cell contains a class and then prompts modelica keywords instead of OpenModelica Scripting commands
7b440a1b1Lennart OchelFix derivation rule of pre calls
0042521a3Lennart OchelFix derivation of previous calls
9492f9ed5Lennart OchelFix homotopy debug dump
a7b382876Lennart OchelRead csv file delim from header
ef8d92946Jan HagemannwrapFunctionCalls can be used in initOpt: --initOptModules+=wrapFunctionCalls
f6f6a142ehkielspell fix
9dc481ed6hkielfix C-macros (missing braces)
480ac49a2Lennart OchelRemoved unused variables
8ed0af6eehkielfix prototype to avoid a warning from C compiler
6d8f3d628Lennart OchelTest for ticket:4419
d0c4de069Lennart OchelFix zero crossings for div calls
a342dab3dhkielcorrectly compare mod() and div() zerocrossing pairs
0a3d79062Adrian Popadd requirement tests
7aeaf08d2Lena Buffonirequirements example
2f4a4090aLena Buffoniinversed path order
d147790caLena BuffoniFixed autogen names, finding correct client paths, not parsing through Modelica Standard Library
96267f141Volker Waurichfix Ws2_32.dll linking under windows
6d5709bdahkielturn non tail-recursive functions into for-loops
4f5fdf909Adrian Poprun the Modelica_DeviceDrivers tests
0466192b2Adeel Asgharticket:4400 Toggle visibility with single click. Hide all except click curve with double click. Don't show plot picker for hidden curves.
120c4f939Adeel AsgharFix typo.
bb3109f33Adeel AsgharOnly allow drag & drop of Modelica LibraryTreeItem on a Modelica LibraryTreeItem.
030c9b505Lennart OchelEmit protected variables
ba45c06e5Lennart OchelHide protected variables
19285705cVolker Waurichfix subclocktree
1ec58addaptaeuberDefine separator for homotopy path csv file
9f917019dptaeuberFix initialization of external objects
771ca557fBernhard ThieleAdded test case for MDD serial packager
ce11282f7Martin SjölundOPC-UA: Trigger an event when changing inputs
7abe6456aChristoffer Fors JohanssonAdded a new flag, -embeddedServerPort
da3af1211Adeel Asgharticket:4401 Fixed opening of component class through double click. Allow opening component class via shift + enter.
7a6ded62cAdeel Asgharticket:4320 Follow changes from Diagram to Icon view instead of Icon to Diagram view.
a56849e23arun3688add modelica conference-2017
deeabde08hkielFix initial size of HashSet reduces execution time of inlineWhenForInitialization from O(n^3) to O(n^2) (see ScalableTestSuite)
398f56301Volker Waurichdont order partitions if there are none
1a18b3bd4Adeel Asgharticket:4348 Set a minimum width for DuplicateClassDialog.
ba9d6fd02Adeel Asgharticket:4400 Toggle the visibility of plot curve on legend double click.
c3006bd97Adeel Asgharticket:4341 Fixed display of system libraries. Show white outer background, a gray outline, white inner background and no grid for system libraries.
e6df7c1c1Adeel Asgharticket:4401 Open component class with shift + double click.
81a9ecf9fAdeel Asgharticket:4406 Option to automatically close completed simulation windows
dbf52c280arun3688ticket:4404 Auto-Complete Fixes for key features missing
582c559c6Volker Waurichexpected output
3a944419dVolker Waurichsort clocked sub-partitions and deactivate negative shift
2474ceca8Adeel Asgharticket:4409 Don't unfold the annotations when object is moved.
4e66e4367Adeel Asgharticket:4320 Only follow changes from Icon View to Diagram View.
90a4593d2Adeel AsgharInsert the code snippets as one undo/redo operation.
df7486200Martin SjölundAdd the new Mutable dependency
54881ac36Martin SjölundUse Mutable in the backend
d12a03586Martin SjölundUse Mutable for the DoubleEndedList
122453513Martin SjölundUse Mutable in the frontend
f618817f9Martin SjölundAdd a Pointer type similar to the Mutable type
f92a4a00aMartin SjölundAdd support for a Mutable data structure
dbc1049baAdeel AsgharAdded tool-tips to auto complete suggestions.
e74c0881carun3688autocompletion for codesnippets
c3c036f46Lennart OchelRevert "Expected output"
8780cf754Lennart OchelRevert "Enable homotopy by default"
8dc4feab2Lennart OchelFix ExpandableArray.compress
1b6ac2050Adeel Asgharticket:4402 Show plot window after simulation.
8e2a2a071Martin SjölundParse mos-file statements using iteration
c0043fe5eVolker Waurichadd booolean sub clock test for cpp
f9882c38fVolker Waurichsupport boolean sub clocks for cpp
bcc9445ddLennart OchelExpected output
89d9bc659Lennart OchelEnable homotopy by default
6fbf5db7cAdeel 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.
345eb1d00Adeel AsgharAdded OMTLMSimulator documentation menu item.
a9e3d63a4Lennart OchelEstimate required allocations for selectInitializationVariablesDAE
61d19ba16Adeel Asgharticket:4341 Draw background for system libraries.
ce8671d98Adeel Asgharticket:4369 Use round brackets instead of square for units.
88971456aAdeel Asgharticket:4369 Do not use square brackets for units.
ba82e684dVolker Waurichprovide reference files with 0 for not ticked clocked variables
4f1dc42d2Lennart OchelEstimate number of equations
5b2afb1eeAdeel AsgharLet the users know what Compiler Flags means.
cf6f51c51Lennart OchelEstimate number of equations
241af4536Adeel AsgharCall `getConnectionCount` from the C interface.
e3fdafb19Adeel 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
8b616fe9dAdeel AsgharCalculate the font size when its too big to fit.
a8b251ebfAdrian Popexperimental support for merging alg sections, ticket:4365
3c3326e66Adrian Poptest for ticket:4365
935a1c922Adrian Popfix inner/outer prefixing in algorithms ticket:4365
3be9952d1Adrian Poptests for frontend part of ticket:4157
dd5fb2b86Adrian Popfix frontend part of ticket:4157
cae7797bcMartin SjölundInclude line numbers for the roots
48db51ddcMartin SjölundAdd FCSys example
ac1663df6Martin SjölundProvide more information for invalid roots
eb3f80fe3Martin SjölundHandle recursion better when inlining calls
12d7a715fLennart OchelRemoved initialEquations_lambda0
894837ccdLennart OchelReimplementation of the c runtime homotopy support
2e23bddebptaeuberAdd simple homotopy loop
17e88411dptaeuberAdd experimental initOptModule inlineHomotopy
f0af41201Willi Braunadded scaling for f(u) in kinsol, based on jacobian
73d6738f7ptaeuberRemove decompressed result files after usage
d1cb82453Lennart OchelExpected output
11f1da2a3Lennart OchelAdjust memory management of equation arrays
fa0a689e5Lennart OchelFix side-effect in getSymbolicJacobian
2892979abLennart OchelFix BackendEquation.merge
8e24cbffeLennart OchelClean up BackendEquation.mo
9abe3dcf0Lennart OchelFix ExpandableArray
3eb1be03fLennart OchelUse ExpandableArray for BackendDAE.EquationArray
9fc185fdfptaeuberExpected output
8429f9475ptaeuberFix wrapFunctionCalls for cpp runtime
28a93394eAdeel AsgharRead the init.xml file when only loading the result file.
fd294f600Lennart OchelRemove unused variable arrays
a12c3491aBernhard ThieleRemoved obsolete state machine back-end code
1f47e70cbptaeuberAdd tests for WFC and update expected output
2cb1d8f6dptaeuberImprove module wrapFunctionCalls
0d63f38ccAdeel AsgharDon't make the welcome page expanding.
8e555b8d4Adeel AsgharUpdated the composite modeling doc. Improved the screen-dumps.
e302e123bAdeel AsgharAdded visualization screenshot.
c224a4b97Per ÖstlundAttempt to speed up collectInitialBindings.
9b7a4ca6dAdeel AsgharUpdated composite modeling.
32a70d265Willi Braunfix kinsol, reinit klu matrix onyl if klu is used
f4bd4ad46Adeel AsgharAdd 25% space to model's extents.
3e1126be7Adeel AsgharRemoved unnecessary setCompleter function.
4ba81ac63Adeel AsgharAvoid crashing MetaModelicaEditor.
c57868fffarun3688autocompleter for keywords and types
23fb50808Lennart OchelExpected output
639c7bdc4Lennart OchelRemove when initial() from dynamic system
4a3c2b244Lennart OchelAdd test for ticket:4387
3d4461dbdLennart OchelFix ticket:4387
3c24923cdLennart OchelRemove timing information from test suite
e05d9d557Lennart OchelMove timings from LOG_LS to LOG_LS_V
ff7789df4Lennart OchelcompareSimulationResults is deprecated
65dd5bc7eLennart OchelcompareSimulationResults is deprecated
ed5ccfb89Lennart OchelExpected output
adf56d386Lennart OchelAdjust comparison of initial data point
9166cbfafhkieldo not use tuple for one needed arg
0bb681ef1Adeel AsgharOnly update the cursor position when text view is visible.
d48d23a10Adeel 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.
d48b065edAdeel AsgharUse interfacesAligned instead of alignInterfaces.
c74c1a1bfAdeel AsgharLoad the mo file as MetaModelica when loaded via "Load External Model(s)"
f31ed5b0bLennart OchelRemove $_old(.)
2aadf4f0bLennart OchelAdd .vscode/ to .gitignore
1698ce9baWilli Braunfix symbolic jacobian in kinsol
d2f4ddbdaLennart OchelFix variable names in debug output
16e424b80Lennart OchelAdd test for ticket:4382
9b4cb3b64Lennart OchelImplement missing case for SUB_SCALAR_ARRAY
5124b80a0Lennart OchelFix add_alloc_scalar_real_array
9b947e8b7Adeel AsgharRemoved zoom & pan buttons. Zoom is default. Panning is done by pressing the control key.
767d9c614alash325Remove traceability graph view from perspective tab
380187988Volker Waurichfix reference file
1f4e88e38Volker Waurichadd clock test for c and cpp
b6a6ab801Volker Waurichexpected output for time event changes
3f31abbf0Volker Waurichcompute time events during runtime instead of precalculation (cpp)
e3b3d756cLennart OchelAdd number of linear/non-linear/mixed systems to debug output
064433e8fLennart OchelAdd number of linear/non-linear/mixed systems to debug output
7450f9a14ptaeuberExpected output
3b5a5eaddptaeuberShow warning if parameter is overwritten with small value or zero
e69beac41Lennart OchelAdd test cases for ticket:4359
eb3bda4ddAdeel AsgharUpdate according to OMPlot interface.
3ad0767e1Willi Braunremove old unneeded code for symbolic jacobian
8567e6464Adeel Asgharticket:4309 Round the coordinates values. Show the line and column number when in text view.
1936e9de4Lennart OchelExpected output
78b18d88bLennart OchelRemove $_initialGuess(.)
495a97376Lennart OchelFix homotopy-based initialization
74f467891Lennart OchelAdjust generation of start-value equations
280c5ba72Lennart OchelUse start values as initial guess for nonlinear systems
f8a1c7ea7Adeel AsgharAccess the data arrays directly instead of creating local copies of them. Fixes ticket:4377
6f97c81edAdeel AsgharUpdate common
3c328b2cfAdeel AsgharMake the x and y arrays public. So that we don't create them every time we need to access them.
6e6f898e3Lennart OchelAccept lambda as independent variable in csv files
a1ddf900dAdeel AsgharDo not force redraw when undo/redo is used from Icon/Diagram view. Mark the model modified after undo/redo.
d7c851f01Adeel AsgharRevert "Do not force redraw when undo/redo is used from Icon/Diagram view."
263c70d9aAdeel AsgharDo not force redraw when undo/redo is used from Icon/Diagram view. Mark the model modified after undo/redo.
b6860be9bAdeel AsgharUpdated README.md with coding style.
f681e38fcAdeel Asgharticket:4376 Do not clear the text view undo stack.
4548444fbLennart OchelDon't generate unnecessary start value equations
e12183de6ptaeuberAdd tests and update expected output
e36b947c7ptaeuberUse nominal value to define threshold for param division
f0e989f15Adeel AsgharDynamically arrange the interface points for sub-models.
5351a6eb8Worschech Niklas (DC/ENE22)updated 3rdparty
b78943f0cLennart OchelRemove unused templates
4ba7588dcLennart OchelRemove obsolete start value call cases
9216d5bcfLennart OchelExpected output
bca32a313Lennart OchelAdapt handling of start-values
fbffa36faLennart OchelImprove some debug dumps of package Differentiate
3b1b0cc79hkielResolved merge conflict.
ee70bdde3hkielsome reformatting
3e8278793hkieluse svg images for the drawing primitives icons
671dd86eahkielproperly add texts
690e832fdhkielremoved superfluous CustomDialog class
fcd29af75hkielmake SketchText editable again also make it deleteable and some code clean up
60d673bdehkielfix memory leaks
18ecb5599hkielClean up OMSketch buttons
3914aa71dLennart OchelExpected output
c0606aaf4Volker Waurichfix cpp codegen
85e1ec8dfLennart OchelAdapt index reduction to new representation of start values
03e06df29Lennart OchelFix initialization of start attributes
803f52cd0Lennart OchelCleaning up
9ded69971ptaeuberUse tearingStrictness flag
d379a34dcptaeuberAdd config flag tearingStrictness
71a39a1f5hkielSpell fix
e6c418104hkielSpell fix
a47d7c77dhkielSpell fix
6bbadc531hkielSpell fix
7007a3f80Adeel Asgharticket:4345 Move the scroll bars to top position.
13fc9557eAdrian PopLink ModelicaStandardTables with ModelicaIO and ModelicaMatIO - we need this to be able to update ModelicaExternalC
6de95cabbLennart OchelAdd fully specified initial conditions to JuliansBib.mos
ebd8f5e68Adeel Asgharticket:4357 Don't allow spaces in component name.
766386528Lennart Ochel[NF] Deactivate three tests for now
4470d56f0Lennart Ochel[NF] Fix test FuncOverloadMulti
c1847e268Lennart Ochel[NF] Activate new test case
7e8436ef9Lennart Ochel[NF] Check if binding type does match component type
84fadec4dAdrian Popfix library order for ModelicaStandardTables on Windows - this order should work for MSL 3.2.1, 3.2.2 and trunk
a4c9d93d4Adeel Asgharticket:3295 Add the "Close All Windows" and "Close All Windows But This" to system menu.
038bf1aa8Adeel AsgharCall the undo/redo stack when document undo/redo is called if needed.
90da68cbfAdeel Asgharticket:4334 & 4344 Call the document undo/redo if its available. Preserve the connection annotation before applying the transformation.
dbe587124alash325added Ctrl+C functionality
cabda3bfdalash325give commit message default value for qt 4
43ceab933alash325fix Qt 4 build
bb605cd13adrpoadd test for Clock parameter evaluation update tests to agree with the flattening
0130f958eadrporevert code from c77eae8d2283a15e140c3289e9ebc5f0ae84a179 - we need to constant evaluate the parameters of Clock!
ac7e1a7ccadrpoupdate tests due to lib update
bd902b2ddalash325Clean up traceability push dialog
1dfef38efalash325Send traceability information automatically without users interaction support traceability graph view
75a9b6ed9Adeel Asgharticket:4334 & 4344 Allow undo/redo in text view.
742ae2514Adeel AsgharFix compilation for gcc 6.3
0785449dbqichenghuaFixed error with commit 75c04c436d443a147f3f6a11451a74221a4b1e95
75c04c436qichenghuamuted nonlinear solver nox
ca4d5b0d4ptaeuberRevert "Add tests for WFC and update expected output"
33db78452ptaeuberRevert "Improve module wrapFunctionCalls"
0f5c07d2dAdeel AsgharFix visualization crash when stl find is not found.
4984d9d02Martin SjölundAvoid empty autoconf statements
d351e7a29ptaeuberAdd tests for WFC and update expected output
a919ef478ptaeuberImprove module wrapFunctionCalls
52cd6addfqichenghuaextended error message in Cvode in case of too many events in small time interval.
4712b7a5dqichenghuaSet algloop to high values instead when otherwise errors were thrown.
2659444bcAdeel AsgharReturn boolean from deleteOrUpdateComponentFromElementitems when its successful.
63a779abbAdeel Asgharticket:4342 Fixed updating protected components
f159b7618Lennart OchelSimplify polymorphic types of function mapAllValue
d628e4c65Willi Braunfix codegeneration for records
59a2173e2Niklas 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
bbc63677cRobert BraunUpdated composite model visualization XML for unit support.
ece1d8be2Robert BraunAdded 3D visualization of composite model interfaces
d8df3ca31Adeel Asgharticket:4349 Take smaller steps for zooming. Also set the minimum zoom to readable size.
32ed136c0Adeel Asgharticket:4343 Open the class when enter key is pressed.
bfe5797aeAdeel Asgharticket:4338 Check for the annotation error in its own section.
5393bf185Per ÖstlundUpdated for loop tests for new inst.
6deba45e6Per ÖstlundNFInst improvements.
bd64d3992Robert BraunFixed check for non-existing attributes when updating composite model connection.
fa024b2f7Robert BraunRemoved unused parameters in composite models depending on interface type.
4d1d53ee3Lennart OchelExpected output
d74861a09Lennart OchelFix attributes of state derivatives
84fa51418Lennart OchelImprove indentation of the generated *_init.xml file
621f1b683Lennart OchelFix comments of state derivatives
d79a3548cAdeel Asgharticket:4322 Unfold the block if line is commented out.
f67d29e5cPer ÖstlundUpdate String scodeinst tests.
1f69fcc34Per ÖstlundFix overload of String in new inst.
0f52fc6c6Niklas Worschechfix pdp file copy
bff59069cNiklas Worschechfix for release build with VS 2015 of cpp runtime
a50285d32Adeel Asgharticket:4327 Added option to clear the message browser.
423dc4427Lennart Ochel[NF] Activate new test case
b93e15a5cLennart OchelConstant evaluate fixed attributes
ff0d8147fAdeel Asgharticket:4331 Close the polygon with angle from end point to start point.
15883dd1cLennart OchelClean up NFUnitCheck
0a2f14a5dAdeel AsgharAdapt to the naming scheme.
e4e392f7cSebastian PinnauCreate QTranslator instances on heap (fixes #4311)
5c437fc84Adeel AsgharAdded zooming actions to editor context menu. Moved PlainTextEdit out of BaseEditor so we can get rid of some redundant code.
8eda82d5fAdeel Asgharticket:4325 Enable Preserve User's GUI Customizations by default.
a14eb1024Danny MoeschUpdate submodule '3rdParty' again
3f98c16fbDanny MoeschUpdate submodule '3rdParty' concerning the added NOX solver
2ecdd1dd7Danny MoeschRegard operating system specific directories
1cb1bf873Danny MoeschAdd Nox building in makefiles
2b02a6020Mahder GebremedhinUpdate tests for NFFrontEnd function changes.
62fa9b30cMahder GebremedhinNFFrontEnd function and typing improvements
0ed34dc3eMahder GebremedhinNFFrontEnd function updates.
bfc2e252dLennart OchelFix module unitChecking (ticket:4306)
fbe98a659Adeel Asgharticket:4319 Call the icon update inside loadDiagramView.
552bf5390Adeel Asgharticket:4319 Update the libraries browser icon when connectors are loaded.
49979e2d7hkielAdd shortcut to evalAll
fba26f79cAdeel Asgharticket:4303 Handle the saveSelector attribute of Dialog annotation.
09b537bd5Adeel AsgharUse multi-sampling for smoother 3D visualization.
984eeea8cAdeel AsgharUpdated tests for getComponentAnnotations.
8d690cf15Adeel AsgharDo not use a default value.
a8fcac32dAdeel Asgharticket:4303 Handle the loadSelector attribute of Dialog annotation.
027b95bdaAdeel Asgharticket:4314 Close windows by ESC key.
ec908e4e5Adrian PopFix windows msvc build
45dd27cb6Per ÖstlundUpdated for equation scodeinst tests.
cfa55d770Per ÖstlundImproved support for for loop equations in NFInst.
1e13743c2Per ÖstlundAdded some for loop test for scodeinst
4d0d14fa7Per ÖstlundInitial support for for loops in NFInst
4124ebe83Adrian PopFix windows builds - update 3rdParty to one that knows how to find lapack for sundials
15992776fLennart OchelAdd missing cases to unit checking
44b8b42e5Adeel Asgharticket:4310 Ignore the whitespace at the end.
dbe3b3f14hkielAdd UTF8 inputenc to latex preamble
bfc0be772Per ÖstlundAdd test for invalid use of _.
343d155ebPer ÖstlundFix InstUtil.findUnboundVariableUse for _
d2975328bAdeel AsgharHide the 3D Viewer when switching to plotting perspective.
feadabe4bAdeel Asgharticket:4305 The Esc key should trigger "Fix error(s) manually".
d5b7bc2faMartin SjölundSimplify of asub where the subscript is a range
2091a0314Martin SjölundUse the OM-compiled Sundials for C and C++ runtime
2b1d2403dPer ÖstlundAdd more nfinst tests for builtin operators.
c7fe8a234Per ÖstlundSome small NFInst improvements.
e10293f71Lennart OchelAdd handling of initial terminate to c runtime
8064d3a89Lennart OchelFix classification of initial equations
079d78d72Adrian Popadd front-end test for ticket:4304 - update all tests affected
b8fe1840cAdrian 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
9e033a100Jan ŠilarPDEModelica bugfix and minor changes
02e5c4a51Jan ŠilarPDEModelica bug fix
3e1d79679Jan ŠilarPDEModelica ghost cell rename
e7ae049c8Jan ŠilarPDEModelica -- left boundary x value
f8b26335fJan Šilarsecond order pder
aea3ec9c8Jan ŠilarPDEModelica -- ghost cells
346153703Jan ŠilarPDEModelica - ghost cells hopefully finished
52646f206Jan ŠilarPDEModelica - GhostCells
a0d00d881Jan ŠilarPDEModelica Ghost Cells not finished -- serching for fields in pder to be extended by ghost cells
c4c02c1d4Jan ŠilarPDEModelica -- minor refactoring
c46dc8897Volker Waurichadd test for when in algorithms
69b294ba0Volker Waurichfix for when in algorithms
385b2dda0Adeel AsgharPreserve the order of shapes during the undo redo operations.
6d6eda660Adrian Popadd test for unqualified imports
62633fb16Adrian PopNF: implement partial support for unqualified imports
9bca22796Lennart OchelAdd test for ticket:4301
d981c30a4Lennart OchelNew feature: detect steady state
c511daedfPer ÖstlundUpdated nfinst function tests.
4c362d1ecPer ÖstlundImproved function handling in NFInst.
d60e3c18bAdeel AsgharHandle the nested der variables.
f30ef946dLennart OchelAdd test cases for constant evaluation
2a857f12dLennart OchelAdd more functionality for constant evaluation
9f923be66Lennart OchelNew module to simplify expressions
34c440b7aAdeel Asgharticket:4291 Don't use string buffer for xml data.
69763e4b5Adeel Asgharticket:4296 Parse the connections properly. Updated getNthConnection to scripting interface.
0f43e81dcAdeel AsgharUpdated getNthConnection tests since it is moved to ModelicaBuiltin.mo.
8777f9a1dAdeel Asgharticket:3680 & 4296 Look for connect equation within for loop equation. Moved getNthConnection to ModelicaBuiltin.mo.
6e6be50e0Willi Braunupdate testcase output
8f1fd569fWilli Braunupdate module sortEqnsandVars
dbe862f7cAdeel AsgharProperly apply the FillPattern.Sphere on polygons.
a2c3963ceAdeel Asgharticket:4295 Handle __Dymola_checkBox annotation.
4f66de934ptaeuberOnly reassign start value if it has been overwritten
ae9b4cff0Adeel AsgharSet a default value.
2d2b491c9Adeel Asgharticket:4295 checkBox instead of checkbox. Also consider __Dymola_checkBox.
43c6d443dMartin SjölundAdd a few stackoverflow checks to the backend
f79568b89Adeel AsgharFixed arrays for OMEdit logs.
94c1c9be9Adeel AsgharFixed typename & strings for OMEdit logs
81fb79a6cvwaurichdoc for more 3d features
d130cee20qichenghuaFixed issue with finding KLU library
c39a8f694Adeel AsgharDraw the open arrow for ArrowOpen & ArrowHalf.
9d93410e0Niklas Worschechfix in Kinsol of cpp runtime for sundials 2.7
6c47c81d5Adrian Poptests for ticket:4276
c4ab68428Adrian Popfixes for ticket:4276 - allow write to parameter(fixed=false) in initial algorithm
f4e679c96wibraunadded jacobian timings to linear and non-linear solver
62f76330fAdeel AsgharMake sure we only create ThreeDViewer when needed.
0db7959d4wibraunadd jacobian timings to LOG_STATS
65ae78fbdhkielfix small memory leaks
bb69d0d9dAdeel Asgharticket:4252 Do not create an object of ThreeDViewer by default. Only create it when user really use it.
afb17e255Niklas Worschechfix for visual studio 2015
c4d4d2e7cNiklas Worschechbuild suitesparse for visual studio with cpp runtime build
1c430c653Adeel AsgharCreate checkbox if choices(checkbox=true) annotation is used.
ab4a065a9Adeel AsgharFix text size for tlm interface points.
439ebb2ecAdeel Asgharticket:4287 Handle the choices checkbox annotation.
4452edec8ptaeuberExpected output
e76f5774cptaeuberDo not create a new cse variable for record=call
b1a493aa8Adrian Popfix ticket:4292, handle DAE.REDUCTION also
64ce9d911Per ÖstlundPartial implementation of functions for NFInst.
7cf48f892Adeel Asgharticket:4287 Look for choices checkbox annotation.
19ecd863fadeas31Fix Qt4 builds
b0ebfd44fLennart OchelFix output type of simulate
7a0af3810hkielfix output type of sortStrings remove unused variable
57b34d578hkielfix uninitialized variables
2345a735avwaurichfix mirrored texture for pipecylinder
9b521e443vwaurichadd removeTexture action
e27938920vwaurichsmall fixes for advanced 3d features
c4683357bvwaurichsmaller icon files
c32dbb5dfvwaurichadvanced visualization features
60127a82bAdeel Asgharticket:4256 Handle the case when text width is zero.
9a4c7b16dAdeel Asgharticket:4283 Make the proposed text selected.
9c11e02deAdrian Popadd tests for fixes to ticket:4258 - update also the existing tests
717262704Adrian Popfix for ticket:4258 - create more unique scopes when there are redeclares for derived classes
a20669bd4Arunkumar PalanisamyUpdate EnhancedOMpython documentation
a5c5270bcRüdiger FrankeFix use of new LinearSolver for FMI export
d30bd1ea5Rüdiger FrankeFix scaling of Jacobian of new LinearSolver
5570fe32cRüdiger FrankeEnhance logging of new LinearSolver (cf. logging of former Newton)
490c35c72Rüdiger FrankeFix whitespaces for new Cpp LinearSolver
0f722ad17qichenghuafixed issue that occured if evaluating the algloop at the initial guess throws a division by zero error and added homotopy solver
2dc101e8aAdeel AsgharDon't construct QFileInfo with empty file name.
83fb494e2Adeel AsgharCopy the qualified path instead of name.
dd5df5c18Adrian Popproper flag for the NF test
b5e3711bdAdrian Popactivate one more NF test
7b1952017Adeel AsgharDraw the inherited connectors properly e.g., ControlBus.
d3844f390Adeel Asgharticket:4196 Convert the drawing unit to pixels.
cf592af23Adeel Asgharticket:3964 Handle the home key. Move the cursor to the start of the line from where the text starts. Skip the trailing spaces.
b6f72c5bbAdeel Asgharticket:4282 Show/hide re-simulate toolbar along with Variables Browser.
5cf3ade12Per ÖstlundUpdate test cases due to error message changes.
4ad960fa9Per ÖstlundError message pedantry.
110331f8dhkielAdd keyboard shortcuts Ctrl+1..9 for the first 9 windows add val() to commands.xml
2702730e2Adeel Asgharticket:3964 code folding for MetaModelica editor.
2c4425cbcAdrian 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)
1096f0547Adeel AsgharFixed compilation of runtime.
5ccc2d57aLennart OchelUpdate expected output
6e54ca1b9Lennart OchelReplace alias variables within external objects
4b89b3ce6Lennart OchelSupport external object constructors depend on variables
a44f363a4Martin SjölundAdd -d=gen to mmdev scripts
5aeafb19bMartin SjölundRefactor the File module
a06724a4bMartin SjölundOnly find files in the current directory
ca74ffb6cMartin SjölundExpected output after relaxing constructor checks
f0ca662d1Martin SjölundFrontend: Do not evaluate external object inputs
7f0c9aaaeAdeel Asgharticket:4263 Show/hide toolbars based on perspective.
440ac703bAdeel Asgharticket:3414 Allow zoom in & out in text view from toolbar, keys and mouse.
cd6205444Bernhard ThieleAdded test case for state machines
40f70ce8aPer ÖstlundFix extends modifier issue in NFInst.
057661f71Adrian 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
13853a5bcadrpoupdate tests after lib update
314ff91aeBernhard ThieleAdded FIXME comment for a state reset issue
4e6c9ec21alash325Fixed #4275
7961f859eadrpofix ModelicaBuiltin.mo interface until fixes to ticket:3539 are ready
21efd61faAdeel AsgharUpdated OMEdit documentation.
bab1d1fb0Adrian Popadapt OMCproxy after changes to OMC API buildModelFMU
e9c313711Adeel AsgharMerge branch 'master' of https://openmodelica.org/git-readonly/OMEdit
a6d0a9429Adeel AsgharFix the code folding indicators for MAC
cbe5244adBernhard ThieleAdded state machine test for entering by reset
a6f54ce7aBernhard ThieleState machine bug fix for state reset
c48cb77f1Adeel AsgharSet OMEdit locale to C so that we get dot as decimal separator instead of comma.
e0f90f251Adeel AsgharMake sure splash screen messages are always shown. Even on MAC OSX.
081cef963Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
15f740b01alash325trace import model description xml
3adf0d066alash325Support FMU export trace Allow users to store their user name and email
15bf1aadeAdeel AsgharSome documentation for OMEditApplication class.
d2a0ff436Adeel Asgharticket:4164 Reimplement event function to handle QFileOpenEvent at startup
a4c967cafPer ÖstlundUpdated new inst tests.
3532cb45aPer ÖstlundNFInst improvements.
9f7a31de3Adeel AsgharFix builds.
36812d462Adeel Asgharticket:4164 Subclass QApplication to handle QFileOpenEvent for OSX.
fc47277a0Lennart OchelAdd support for firstTick to c runtime
e814eb15balash325Fixed hard coded If the file is not open show error message If the traceability information is inclomplete show the message
a3afbd689Adeel Asgharticket:4217 Fixed the documentation browser pixel size issue.
a6f937811Adeel AsgharCheck for null pointer.
c0f41e019Adeel Asgharticket:4264 Added a hint for multi-line text.
2770f776bAdeel Asgharticket:4267 Added progress bar and message to crash report.
e517de389Adeel AsgharOnly use backtrace command once.
c3ebc92adadeas31Write the gdb backtrace in a file
e4071b5c2Martin SjölundMake getClassnamesInElts not stack overflow
23b3f865fadrpofix Qt4 compilation
c0242d95cadrpofix Linux compilation - fix cases in include - fix slots declaration
dc933bbd3alash325Get the IP address and the port to query traceability information from the settings
8699d17c0alash325Remove/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
65bfe93c4alash325Squashed commit of the Tracability branch:
4af9b08e4Mahder GebremedhinNFFrontEnd improvments
df58d37a6Lennart OchelAdd test case for ticket:4271
63678038eLennart OchelDon't apply removeSimpleEquations to clocked partitions
d7842b5f3Martin SjölundAdd type of thesis
a26ef7883Martin SjölundFix "and and" in references
3d7d9615fMartin SjölundExpected output after MSL 3.2.2 patches changed
fdacb6b38Martin SjölundSort the FindFiles.log in a nicer way
f22b02c18Martin SjölundFor icons, if failing, partially evaluate the icon
54840e06aMartin SjölundHandle comparison of empty expressions
03dd6d2c8Martin SjölundFix uninitialized variable in Lookup
4127b1fbfMartin SjölundAdd testcase for icon we now display correctly
fec4a09a3Martin SjölundWhen in graphics expression mode, allow failures
edd491393Martin SjölundHandle limit on shell expansion
d34cb2ed3Adeel Asgharticket:4262 Adapted to new output of translateModelFMU and translateModelXML.
db6f0524aAdrian PopNF better class extends: replace base class
96072a00eLennart OchelMake translateModelFMU return the name of the FMU
33e26aac8Lennart OchelMake translateModelXML return the name of the xml file
55eb281c5Lennart OchelMake translateModelFMU return the name of the FMU
078fe45e3Adeel 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.
ae41f14edAdeel AsgharMissing file from last commit.
3ab01a449Martin SjölundFix equation indexes for clocked equations
f06f9c6c5Martin SjölundFix array indexing check
2a86f292eAdrian Popcheck array length before trying indexing
08e82bc49Adeel AsgharKill all references of meta model.
89d53b4c6Adeel AsgharUpdated composite model images.
35eb70454Martin SjölundReplace UTF-8 fi ligature in source
3fca3deb4Adeel AsgharMark the strings for translation.
24a7ac7d2vwaurichpicking, transparency, invisibility for 3dviewer with shift+right click
ed7a5af4cMartin SjölundRemove some error-messages when viewing icons
e53eddf42Martin SjölundCreate array of correct size
ef660b6bfMartin SjölundExpected output for builtin changes
c77eae8d2Martin SjölundImplement more operators in ModelicaBuiltin.mo
6220ea871Adeel AsgharUpdated MetaModel to CompositeModel
2cc9a7f3eAdeel AsgharUpdated MetaModel to CompositeModel.
51b04fdb8Martin SjölundExpected output
06e3ebd85Martin SjölundAdd an internal flag for graphics mode
fd915469aMartin SjölundDo not ignore errors in icons
3f636cdbfPer ÖstlundChange getCommandLineOptions failure mode.
7e4049f66Martin SjölundAdd test for illegal graphics
57cdce571Martin SjölundIgnore illegal inputs to records (for icons)
bc3e37af9Per ÖstlundUpdate getCommandLineOptions test.
17cecc36cPer ÖstlundChange getCommandLineOptions to return an array.
481b7fa9fMartin SjölundUpdated testcases for polymorphic builtins
674967bcaMartin SjölundChanges to ModelicaBuiltin
17ce82244ptaeuberExpected output
e4c31ead3ptaeuberSet fixed attribute in globalKnownVars for ...
00ae877a0Adrian Poptest for ticket:4248
d9d4df52aAdrian Popfixes for ticket:4248 - properly revert flag Flags.CHECK_MODEL to the previous state
c37dd42f7Adeel AsgharUpdate the camera matrix when we clear the view.
a9dc7452bPer ÖstlundAdded tests for getCommandLineOptions.
ccdf5e924Per ÖstlundAdded new API call getCommandLineOptions.
4f0f9768eAdeel Asgharticket:4257 Don't force the jacobian option unless user explicitly sets it.
015e9da42Adeel 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.
ba8f12ebeMartin SjölundHandle double matrix when strings are expected
418a7cd1dAdeel AsgharClear the ThreeDViewer when there is no active sub window.
d2bbe7a2cWilli Braunfix return value solver step(ticket:4257)
5f78c3883Adrian Popupdate testsuite after library update
582c1ef9cMartin SjölundReturn the strdup result
f688b5d83Adrian Popadd a pointer to the class in the NFExpression.CALL
bca6e00cbMartin SjölundAdd test for loadResource at run-time
b1b90d8e9Martin SjölundCreate arrays of strings correctly in C89
a36d08f4fqichenghuaadded scaling and adapted tolerance in case of failure for nonlinear solver Nox
dc42c6b7fAdeel Asgharticket:4251 Block signals before showing documentation widget.
cafab4319Willi Braunfix initial guess of irksco on first step
0c832dae7Adeel AsgharCall loadString with merge true for folder structure packages.
a5bc99b45arun3688add enhancedOMPython features
79d3e3254Adrian 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
8ce7212e9Adrian 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
964a432c9Willi Braunadded tests for irksco solver
0ebf1ec80kbalzereitadded new solver irksco
873d569cbkbalzereitadded tests for symbolic inline solver
0dbd1e971kbalzereitadded improved symbolical inline solver
487d1cb62Willi Braunadded testcase for simflag -imprkLS
69c53b3e1Willi Braunadd -impRKLS flag with current iterative solving strategy
5c5a35f0barun3688Update DrModelica Exercices with Peters changes
c55d31017Rüdiger FrankeFurther append underscores to Modelica names
46db73735Robert BraunFixed redo/undo for submodel parameters in composite models.
b21943355Robert BraunAdded support for submodel parameters in composite models
815cea322Lennart OchelRemove some dummy strings
257ddee16Lennart OchelFix solver descriptions (#1446)
125ba9f29Willi Braunremove unused tests
9d2e519e8Willi Braunupdate test to new name
c0c96357aWilli Braunticket:4246 reorder solver flags and reword solver description
379fe790eRobert BraunFixes to camera position and updating of 3D viewer
b609f85e0Per ÖstlundNFInst prefixing improvements.
901e6ae47Willi Braunupdate testsuite for imprungekutta
9c988b682Willi Braunintegrate implicit runge-kutta and lobatto
0014f95a1Willi Braunticket:4237 fix partition index in jacobians
4ffbdb438Per ÖstlundFix NFInst lookup of inherited names.
355fed4acLennart OchelTest some state machines with Cpp runtime for now
799f65900Lennart OchelExpected output
ff80ea0f5Lennart OchelDon't apply removeSimpleEquations to clocked partitions
5f0ad9841Lennart OchelSplit synchronous features into pre and post phase
2099c8be1Rüdiger FrankeMore append underscores to Modelica names
fd5058e6bWilli Braunfixing ticket:4237: Support of clockPartitions in jacobians
aac242c1bRüdiger FrankeAdapt nameClashTest to improved treatment of Modelica names
576ecd35cRüdiger FrankeAppend underscore to names in Cpp functions
7f069602aPer ÖstlundUpdated scodeinst tests.
b1aac58fdPer ÖstlundNFInst improvements.
7a939dcf1Rüdiger FrankeAdd test for clashes with reserved names
b4a66a288Rüdiger FrankeMore add underscore to variable names in Cpp runtime
4d45d7ac9Rüdiger FrankeAdd clockIndex to Jacobians for clocked partitions, ticket:4237
85fb2b9echkielupdate translations
8c966717dAdeel AsgharFix builds without OSG.
175a65b6fAdrian 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
fdff91a3cAdeel AsgharCopy omniORB dlls from the correct target.
610eb709cAdrian Popfix interactive Corba crash - guard SystemImpl__directoryExists for NULL string - guard CorbaImpl__initialize agains NULL corbaObjectReferenceFilePath
aef389893Rüdiger FrankeAppend underscore to variable names in Cpp runtime
0b5f0dda2Rüdiger FrankeFix log category of linear solver
354a8d1acAdeel Asgharticket:4234 Added a menu item to toggle between tab and sub window view.
d4d7d13d7Adeel AsgharMerge branch 'adeas31-3dviewer'
1ebe19816Adeel AsgharUpdate the model text after fetching the interface points.
3bd67d90aAdeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
be0ab4e03Bernhard ThieleNF partial support for synchronous operators
81844647fWilli Braunimprove and fix several simulation option descriptions
645a6be7fAdrian 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
4bf74df03Adeel Asgharticket:4233 Consider the column start and end indexes of the class.
1267b2c07Adeel Asgharticket:4231 Only update the value of the variable when updating the existing curve.
0ec2a2137Martin SjölundRan the refactoring script
ef1458eeeMartin SjölundOnly print we remove variables actually removed
2defa716eLennart OchelExpected output
86c322678Lennart OchelCatch inf and nan in divisions
3b40c1c84Martin SjölundRemove unused imports
06fb1c2edhkieloptimize tailrecursive into leaner for loop
3c1004b8dMartin SjölundCache typeviews in Susan
a2f652c0bRüdiger FrankeAdapt clockedTest for solver method ImplicitTrapezoid
343b86855Rüdiger FrankeAdd solver method ImplicitTrapezoid
551133687Adeel AsgharUpdate the 3dviewer on each operation.
a8cd99080Rüdiger FrankeInline integration initializes clocked continuous states
d32ecbb30Rüdiger FrankeDelay derivatives of clocked states for ExplicitEuler
5834c727aAdeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
c2c1f6091Per ÖstlundUpdate scodeinst enum tests.
dce7606b1Per ÖstlundInitial enumeration support in NFInst.
49dc8a6c0Martin SjölundRemove all remaining DAE.TypeSource
1ca1591bbMartin SjölundRemove TypeSource for T_COMPLEX
8f183e2f0Lennart OchelExpected output
94b2cb3e1Lennart OchelAdd all built-in intrinsic operators with function syntax
d82857104Martin SjölundRemove TypeSource from UT/Code/function pointer
c427c9c27Martin SjölundAdd test for ticket:4112
595797128Martin SjölundExpected output PR 1405
366200058Martin SjölundRemove TypeSource from functions
8e9e7fd08Lennart OchelFix --plotAll
376bb8fb9Adrian Popupdates to NFFrontEnd - implement toString for expressions - implement toString for types - add CAST expression - handle Type.FUNCTION better
27d51f2e5Adeel AsgharOnly call showDocumentation for Modelica classes.
8f610cf36Lennart OchelAdd interactive mode to select filename
01ecb31c6Adeel AsgharHighlight the selected sub-model in the 3D Viewer.
a3eb94b14Lennart OchelExit on error
9ec2ada20Lennart OchelRemove redundant help statements
20360a01aAdeel AsgharClear the 3D Viewer Browser when we don't have any visualization.
a63371439Lennart OchelDump the flags in alphabetical order
507cdb313Per ÖstlundNFInst improvements.
3b8760114Per ÖstlundReactivate some scodeinst tests.
fac34e17fPer ÖstlundNFInst improvements.
d767990dfLennart OchelAdd support for constants to expContains
d58aa6996Martin SjölundRemove TypeSource from more types
6e57b9f82Martin SjölundExpected output after tracking less information
b444d8e8cMartin SjölundStrip DAE.TypeSource from some DAE.Type
67c5d4532Lennart OchelFix ticket:4228
0ca376fbdLennart OchelAssume the filename to load if none is specified
062523e40hkieltranslate a few more strings
4b46f22a5Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
b0d9e659bRobert BraunFixed wrong file extension
b0209e478Robert BraunMade sure composite models are always saved without dots in submodel names.
0befdd8ffRobert BraunAdded composite model startup scripts for some more external tools.
d7d530da8vwaurichadd more resolveLoops tests
399ee4122Martin SjölundAdd an is_utf8 implementation
b7ec83fecMartin SjölundInclude
c18b63421Rüdiger FrankeAdd test for ticket:4224
1d06167c0Rüdiger FrankeAdd integer() to CommonSubExpression.isSkipCase, ticket:4224
22f0d9b88Rüdiger FrankeSupport linear systems in clocked partitions
15bcdab7eLennart OchelDon't return success for unimplemented functions
1f4d4e0f1Lennart OchelImprove logging of homotopy-based initialization
ac296bacePer ÖstlundUpdate scodeinst tests.
20fbe26b5Per ÖstlundNFInst changes
801d0f7faLennart OchelFix some typos
9cc34f424Lennart OchelRemove wrong cross reference
28d7a3ec1Martin SjölundAdd FMU before you run it
4af10ea95Martin SjölundKeep the generated log
a0ae22ecdMartin SjölundCheck the FMU XML for source/ARM
585feed41Martin SjölundAdd missing files for ARM/source
d0079f60eMartin SjölundFMI website calls "source" FMUs "c-code"
aab7efccdMartin SjölundFix expected filename of _ref.opt
b143f56aeLennart OchelAdd test nlssMaxDensity.mos
bc85cc1ceLennart OchelAdd test nlssMinSize.mos
c80769b25Lennart OchelFix c runtime command line options (#1383)
800e4b384Adeel AsgharCheck for the null pointer.
4c5e1a725Martin SjölundCan't copy files that don't exist
289fa10daAdeel AsgharFix Qt4 builds. Make moc happy by creating the same class from two different files.
2a58330a3Martin SjölundSave the options file for the FMI testing
4fe59c4abMartin SjölundFollow FMI 2.0 schema (no empty output section)
03778b0b3Martin SjölundCopy ReadMe-file to the directory structure
1a4bb2a57Martin SjölundFix for OSX64 FMU generation
6ed4cfdbdLennart OchelDon't use default matching arguments within postOptimizeDAE
489c3e9adMartin SjölundNew special testsuite testing
b894ea2c8Lennart OchelNew index reduction method "none"
0c828c123Lennart OchelFix new runtime flags (#1383)
b0da1de61Willi Braunfix row jac norm sum
8788348c0Willireset BackendDAE after replace simplifid expressions for lambda=0
0ed97dad8Williadded -nlssMaxDensity and -nlssMinSize simulation flags
9ef6922aaLennart OchelExpected output
e66beaed5Lennart OchelAdd index reduction to optdaedump output
3b5135a9eLennart OchelSimplify match/matchcontinue pattern
1754fe34evwaurichresolveNodes_cutNodes applies DFS
0ee4ed0baAdeel Asgharticket:4218 Don't convert modifiers to string.
733fc0ad3Martin SjölundMake linear systems not depend on nonlinear
eac1e7701Adeel AsgharMinor fixes. Source code documentation and code cleanup.
e4b0f04fbAdeel 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.
e54043af6Robert BraunMade it possible to fetch interface data for a single external model
21f7de22evwaurichreworked resolveLoops
04cd79277qichenghuafixed issue with c runtime due to usage of compressed sparse column/row matrix format
0625e7242qichenghuaadded Sparse Solver Klu
6f8bb1496Martin SjölundFix code generation where `&` is used on an rvalue
d5f9643dcMartin SjölundReturn error value when FMU compilation fails
a317639ebptaeuberMinor changes
3a026ed7avwaurichexpected output
c1e932ba9vwaurichupdate resolveLoops test
c1159bc1cvwaurichsmall fix for resolveLoops + error messages
5eb3a5e96Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
f11690d1eAdeel AsgharRemoved debugging messages. Indentation. Use tr to mark the strings for translation.
82dba2189Adeel AsgharRead the position & angle321 attributes of the sub-models.
37eea69b7Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
3d9d102b8Adeel AsgharMerge branch 'robbr48-typed_interfaces'
14f2ab131Adeel AsgharMerge branch 'typed_interfaces' of https://github.com/robbr48/OMEdit into robbr48-typed_interfaces
7f45e890cLennart OchelExpected output
a6ef39968Lennart OchelAvoid nested try/matchcontinue clauses
d82121dbcLennart OchelClean up index reduction
946bc4e02vwaurichupdate result file
67f0594b7vwaurichupdate tests for resolveLoops
ab539288evwaurichactivate resolveLoops backend module
72c7018baAdeel Asgharticket:4215 Allow making connections from the connectors under some shape/component.
5d4e26e87Adeel AsgharShow an error message if model_info.json file is not found. Show the source when opening TransformationsWidget.
6700d3eb8Willi Braunadd jac row sum as debug output
c067dd331Adeel Asgharticket:4215 Only use transformation values when no iconTransformation value is available.
055e13df2Robert BraunRemoved unnecessary function calls. Fixed error in causality check.
43afe7f84Robert BraunRemoved no longer used icons.
cd1f1c3d8Robert BraunMerge branch 'typed_interfaces' of https://github.com/robbr48/OMEdit into typed_interfaces
089a78b7eAdeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
350ea6904Robert BraunSquashed commit of the following:
0177dac47Martin SjölundGuard GC initialization
b93871bc1Martin SjölundInitialize GC before Main.init
a7bf0d78bRobert BraunAdded support for typed interfaces in composite models.
89f201cffRobert BraunMerge branch 'master' of https://github.com/OpenModelica/OMEdit
c0b745edaRobert BraunMerge branch 'master' of https://github.com/OpenModelica/OMEdit
15a59b077Per ÖstlundAdded tests for #3535.
669113dccPer ÖstlundFix for #3535.
eae1de199Willi Braunuse sparsePattern.nnz instead of the extended
3d3007829Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a49d9f5aeAdeel AsgharUse the File* instead of QFile & QTextStream. Flush all streams when opening the CrashReportDialog so we get full logs.
860bb9184Per ÖstlundPartial fix for bug3535.
2749b1714qichenghuafix ticket:4213, added scaling of linear systems back again
1b73ef9acMartin SjölundIgnore binary files
a6c5fbc28Robert BraunMerge
4a3d23830Martin SjölundFix bug when author names have digits in them
40f96b87aqichenghuacleaned up LinearSolver and DgesvSolver. Also fixed minor errors.
a558ce28fqichenghuaRenamed getSystemMatrix, getSystemSparseMatrix and getRHS in ILinearAlgloop.h to getAMatrix, getSparseAMatrix and getb.
1932b80f2Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
a70aefe48Martin SjölundRemove unused function
23f4cf88cWilli Braunfix colprts for sparse matrixes: ida and kinsol
ba209b702Martin SjölundDo not link pthreads statically in ARM FMUs
5e1589ad4Martin SjölundMake ParModelica String variables an error
bbc489cd2Willi Braunfix identity tmp sparse matrix for ida solver
de1767f0cMartin SjölundAdd MIC article
12d09da2evwaurichfix QVariant type
12cc9eb2aptaeuberExpected output
4d49ee576ptaeuberRemove unused and superfluous BackendDAE.VAR.bindValue
ed61035c7Rüdiger FrankeRemove obsolete separate initialization of external objects
5e4878f6cRüdiger FrankeInitialize external objects with parameters in Cpp runtime
8899379f7Rüdiger FrankeRevert "[workaround] Disable sorting of external objects for cpp runtime"
3a5527e78Adeel AsgharBuild the solver combo-box using the enumeration.
9cbbca630Rüdiger FrankeRemove special treatment of string return args, ticket:3446
ad316fd53Martin SjölundTest for binding/variable multi-source type error
dba9dd8f5Martin SjölundAdd SourceInfo to typed modifiers
ef8bd25c8Adeel AsgharAvoid crashing OMEdit when visual xml file is not found. Some other minor changes.
398fc367bvwaurichFMUSettingsDialog is a QDialog
66eb20b62vwaurichadd parent to FMUsettingsDialog
d38e1f62dvwaurichuse gridlayout, rename to FMUSettingsDialog, inherit QDialog
5b8b502b2vwaurichrenaming in FMU-setting dialog
f026f3d5avwaurichsettings dialog for fmu-based visualization
92c7f2f73Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
87791ed75Adeel Asgharticket:4204 Look for the parameter value in the parameter containing class not in the parameter class.
a84805429Adeel Asgharticket:4204 Don't insert the default font name.
e34760100Matthis ThoradeUpdate ompython.rst
5523709edAdeel AsgharFixed the image files selection.
7e6f4d2bePer ÖstlundUpdate testcases.
6730d6f6cPer ÖstlundFix extends handling in NFInst.
585372424Lennart OchelAdd test for ticket:3446
1bf65f3a3Lennart Ochel[workaround] Disable sorting of external objects for cpp runtime
cde3ffc4dLennart OchelClean up code generation
df2b1c7b2Lennart OchelInitialize external objects together with parameters
178a28436Adrian Popadd test for ticket:4209
d2c938f97Adrian Popfix ticket:4209, suppress wrong error messages
1240784e2Adrian Popuse memset instead of non-standard bzero
6eb0fce4bvwaurichmove 3dvisualization doc to omedit doc + more info about 3d view
50c21a3dcvwaurichchange visualization screenshot
11887a5e2vwaurichdocumentation about view manipulation
7054a8cf5Adeel Asgharticket:4204 Show the inherited text annotation. Use compare instead of contains.
c639862bejhagupdated expected output
e3ba94badjhagwrapFunctionCalls is activated and add configFlag --wfcAdvanced to skip more than default cases
e7c76f7ddRüdiger FrankeIntroduce subactive evaluation mode for clocked equations
ee09ab4b8Rüdiger FrankeEnable synchronous DID.mos and disable synch.mos, ticket:4168
d7af44718Rüdiger FrankeAdd test for clocked partition with algebraic loop
b6f31a287Rüdiger FrankeAdapt test to new solver method ExplicitEuler
d316ab24aRüdiger FrankeAdd synchronous solver method ExplicitEuler, besides ImplicitEuler
c2a8668faRüdiger FrankeGenerate code for algebraic loops in clocked partitions
94bbd2306vwaurichtest for evalFunc, dont evaluate when Inline=false
82570014fvwaurichdont evaluate functions with multipleDim arrays and Inline=false
25bd058ebptaeuberExpected output
bff7053b1ptaeuberAdd warning for parameters with no binding
5b3abe411ptaeuberExpected Output
97e737edaptaeuberImprove Dynamic Tearing
1ca860be4Adeel AsgharAdjust the geometries if LineAnnotation is connection type. Assert if index is out of bound. Don't show connection properties dialog while creating connection.
0159c0b35Adeel AsgharWrite co-simulation result file with just initial data.
6fe10d0a7Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
0642e414aAdeel AsgharUse foreach when auto saving the classes.
79b168d49Adeel AsgharFix builds without OSG support.
5a4232c73Adeel AsgharGet rid of QOpenGLContext::swapBuffers() warning.
801e73acdAdeel Asgharticket:4199 Show the Qt::WaitCursor when translating the model.
6dca91bc1Adeel AsgharFix the Windows fallback backtrace implementation.
bce2ab286adeas31Use GDB backtrace but use existing backtrace as fallback
8b00b7422Adeel Asgharticket:4197 Print backtraces from all threads.
bce55d41bAdeel AsgharChange the way stdout & stderr files are read.
b2d0c750aAdeel AsgharShow the 3dviewer when metamodel is opened. Create all animation actions in base class.
15a75e08cAdeel AsgharRemoved the unnecessary include.
c431370d5hkieldo not move closed cells
f2b1e1b96hkielfix 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
312cd0208Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
3affbfbc6Adeel AsgharDon't add shorcut to simulation action.
7c611be0badrpoadd QAction include
0f985b2a9Adeel AsgharUse the override keyword. Include the Visualizer header file.
8f6fbc6b4Adeel AsgharMerge branch 'adeas31-3dviewer'
dd5cb095aAdeel AsgharAdapt the code to the master. Added new class ThreeDViewer.
8e16482f2Adeel AsgharMerge remote-tracking branch 'origin/master' into 3dviewer
058097eaaadrpofix the compilation of OMEdit for qt4
a4247ce98Adeel AsgharSet different camera views depending on file types.
8b8668557Adeel AsgharRemoved unused perspective icons. Added the documentation editor icons back.
aa32cc20fRobert BraunAdded cleanup and comments.
774de7944Robert BraunRemoved most perspectives in animation and added two camera rotation buttons instead.
acdc74202Robert BraunSome comments and code cleanup.
ef3a48f80Robert BraunAdded more viewing angles for the animation camera.
1759e5b81Robert BraunCorrected colors for animation inertial system.
127dcf2baAdeel AsgharHandle the case when there is any error running the simulation process.
f6d36f5ecMartin SjölundFix letter Å escape
830a02761Adeel AsgharStarted work on 3d viewer. Added a new dock widget. Make an abstract animation window.
53615d36aRobert BraunMerge branch 'master' of https://github.com/OpenModelica/OMEdit
1089fb91aRobert BraunAdded cleanup and comments.
56dc44828Martin SjölundAdd some sanity checks for threads
6fc8fd09dRobert BraunMerge branch 'robbr48-master'
509fbc453Robert BraunMerged with master
4f5f4d95fRobert BraunRemoved most perspectives in animation and added two camera rotation buttons instead.
fdc41236eMartin SjölundAdd an entry for latex templates not sorting Å
468d99e89Adrian Popfix SystemImpl__directoryExists for Windows, cannot end in (forward) slash
fc06c2d59Adrian Popfix OMNotebook version on Windows
529e848b1Adrian Popfix include file case
a86c50fc5Adeel Asgharticket:4188 Fixed a minor issue with connection creation.
d53fe054dAdeel Asgharticket:4186 Handle illegal class name.
15710a3c2Adrian Popfix Makefile
3c48d0f4cAdeel AsgharMerge branch 'master' into master
46085afbbAdeel AsgharUse QAction instead of QToolButton.
e10346fb0Adeel AsgharDo not use QIODevice::Text when writing file. Removed the extra arguments from queryCommandState & queryCommandValue.
c93c60349Adeel AsgharAllow creating link and unlinking it.
0be5dc203Adeel AsgharAdded indentation, bullet lists & numbered lists formatting.
0770b88bfAdeel AsgharAllow block formats and text font.
3f37fd0bdAdeel AsgharAllow alignment of text.
f8fd5149fAdeel AsgharMissing icons from last commit.
6994e0e33Adeel AsgharAllow text & background color formatting. Use QToolbar instead of QStatusbar. Use document.execCommand to apply formatting. Use document.queryCommandState to get the command value.
d59cd5008Adeel AsgharAllow strikethrough, subscript & superscript formatting.
e0a689244Adeel AsgharUpdate the html editor when html source is changed.
7431598bfAdeel AsgharAllow bold, italic & underline formatting on the text.
6dd14bd1eAdeel Asgharticket:4067 Use QWebView as WYSIWYG editor.
fd4a2e456Martin SjölundAdd Eurosim 2016 paper
39401d8eeMartin SjölundAdd A Portable Debugger for Algorithmic Modelica Code
25da43997hkielcreate Application/ path before copy on macOS
a0a5b1988hkielcreate Application/ path before copy on macOS
ab97b73b7hkielcreate Application/ path before copy on macOS
f820c1595Robert BraunSome comments and code cleanup.
ed5407033Robert BraunAdded more viewing angles for the animation camera.
558fab013Martin Sjölund[Susan] Remove unused imports from generated code
4b750e74fhkielfix path to OMNotebookHelp.onb on OS X
6b8c59555Martin SjölundAdd note about pkg-config
e1918e819Adrian Popthis is really ridiculous
5042c645fAdrian Popfix ticket:4125, use mmc_(u|s)int_t instead of long!
484baa862Adrian Popfix Windows compilation, generate omc_config.h
3f1dccbacqichenghuaAdded first version of nonlinear solver Nox. cannot be compilated at the moment, because Trilinos is not part of 3rdParty yet.
f98c10fc7hkielFix windows makefile such that OMNotebook is built again
ca147d71cAdrian Pophandle if expressions
8ac8faf6cAdrian Popmore changes to new frontend - change the scope of the extends modifiers to be able to lookup them - minor typing fixes
5fed05388Adrian 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
778e564d0Adrian Popuse execstat for new front-end phases
73f37044fAdrian 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
bd4996353Adrian Popfix ticket:4190 allow arrays components in when conditions
6757b5356Adrian Popfix ticket:4190 allow arrays components in when conditions
26d9240a0Adrian Popcreate the directory during docs target
8b0bf11b7Adrian Poponly display the error when failtrace is activated
21bd84fa5Adrian 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
9cb4af35dAdrian Popfix tests after the -d=gen flag is deactivated by default
8b58dcc5aAdrian Popadd a JSON serializer for any MetaModelica data
9d5437f85hkielallow recursive evaluation of cells before only 4 levels were processed cleaned up code updated translations
40df40dd7hkielmove OMNotebookHelp.onb out of DrModelica directory
423c1a8edhkielupdate german translation
35769069chkielDo not use translated text to identify objects
a900579cahkielDo not translate keyboard short cuts update translation files update section numbering when moving cells
5dcefeb44hkielupdate Help document latexcells were missing for one
c7905b99bRobert BraunCorrected colors for animation inertial system.
07f0252d1Martin SjölundAdd ISSE paper
108284871Martin SjölundFix case of the latest publications
823536e49Adrian Popsome updates to OMDev readme
9fabde55bMartin SjölundCopy entire array when a dimension is unknown
4a890b897Martin SjölundUpdate tests for -d=nogen being the default
334f2f622Martin SjölundChange the default of -d=gen to false
cefa7f5ceMartin SjölundStop using deprecated + for OMC flags
298a39660Martin SjölundRefactor SimCode.mo for bootstrapping tarball
7311f9cccMartin SjölundDo not allow paths like A..B.C (typo in grammar)
d234d6071Adrian Popfixes for ticket:4183, copy the needed dlls inside FMU
1ff9520e7hkielfix cases where tranlated text is compared to non-translated
f4846858ahkielapply setMenuRole for the About menu items add my email address to about window
7d51e862bhkielfix loosing translation
95dc78d12hkielmake OMNotebook UI translatable create german translation
0af374d1bAdeel AsgharCheck for settings before applying it.
2a345f62aAdeel Asgharticket:4177 Remember the check state of copy proprieties to icon layer.
3de88f010Adeel Asgharticket:4178 Update the text binding when reference shape is changed.
8b76c5142Adeel AsgharFixed the crashes because of dangling Component pointers.
ee053f037Martin SjölundUpdate gitattributes
04ae07af6Martin SjölundAdded testcase for splitting generated code
c3e6c1b0eWilli BraunRevert "generate sparsityPattern for EQUATIONSYSTEM without rewrite equations"
ffd20b2daMartin SjölundExpected output for changing unparsing
3a09a12c2Martin SjölundAdd newline after annotation in AST dump - list()
d1572e3d0Niklas Worschechdeactivated sort of jacobian in SimCodeUtil
cab8786aaNiklas 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
3e1f3605cNiklas Worschechremoved also umfpack folder
f2e44a714Niklas Worschechremoved umfpack test correctly
d60d7e659Martin SjölundRemoves tabs, use algorithm section
358e3d7c4Niklas Worschechdeactivated umpfack solver and corresponding test, using klu instead
fdb6f8fcbhkielfix some warnings
a617ea79cPer ÖstlundNFInst clean up.
917aacc9cWilli Braunremove debug output from testcases
c97894711Willi Braunsuppress debug output of max tearing size
d1d09a165Willi Braunadded LOG_SOLVER_V
c79181877Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
0bc5dab6dAdeel AsgharUse the negative angles instead of multiplying the matrix with minus.
1de059644hkielsupply custom Info.plist for OMEdit connects ".mo" files to OMEdit on OS x
a74d17933hkieladd missing keyword override
4737c560cWilli Braunadded daeMode problem7 (records testcase)
ab3e53f81Willi Braunfix daeMode for records fucntions
b6789acf3Willi Braunadded debug flag to disable coloring
0f5d188abWilli Braungenerate sparsityPattern for EQUATIONSYSTEM without rewrite equations
31e6d94d3Adeel Asgharticket:4175 Check for null pointer.
648ebcb20Adeel Asgharticket:4175 Remove the unexpected integer formatter.
33f3c335fAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a3df36520Adeel Asgharticket:4175 Start the tcp server from the main thread.
cc7fdac27Martin SjölundUse CXXFLAGS instead of CFLAGS
db4398141Martin SjölundUpdate common.git
9fcae81e3Martin SjölundAdd OMCompiler prefix if there is no REVISION file
c0e07c609Martin SjölundFix duplicate project names in crash dialog
db79fa717Martin SjölundPass the PACKAGE_NAME to semver.sh
68920ea8eAdrian Popupdate the buildings2csv script
6f62e74c7Per ÖstlundFix bootstrapping tests.
8c0a15615Per ÖstlundNFInst improvements.
56e466c58hkielprocess events during startup to catch FileOpen event prevents DrModelica to open up
71a78d024hkielsome 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
926c35e44Adrian Popupdate common
ce0dd877bAdrian Popsome small updates to OMEdit - unify Windows / Linux version handling - update the contributors list using the git log
9ba9c3d97Adrian 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
051f9ea23Martin SjölundHandle race condition in launchParallelTasks
4041222e8Martin SjölundUpdate CXXFLAGS in a better way
29e5dffadhkielShow help text in statusTip for command completion do not do command completion in LaTeX cells
e2c90aecdMartin SjölundFixes from static error checker
01d94035fMartin SjölundAdd the build system to the crash dialog
75245d0f8Martin SjölundSome fixes from static analysis
a21855eb9hkielEnhance appearance of OMNotebook make treeview dpi-aware make LaTeX images transparent shorten latex image resource name
f86d92dc1Martin SjölundSome fixes from the static analysis
21c9c6decMartin SjölundAdd a default message in crash reports
4fc6fb7d7Adrian Popminor performance enhancement for OMC API
7e9c752ceWilli Braunfix printSparseStructure
a5282288aWilli Braunimprove debug prints for daeMode
0ab52c897Peter FritzsonCompleted support for checking Unary operators in checkUnaryOperation.
67fd99755Peter FritzsonNF typing and typechecking of unary operators
f25b1b598Adrian Popattempt to make the windows compilation more robust
2395ff7ffAdrian Popfix annex conversion script
a7e1b49fbMahder GebremedhinTyping updates for new Front-end
0d56452a0Willi Braunfix printSpasityPattern for daeMode
3f5a3c0edMartin SjölundRemove sundials on make clean
0514fbef7Adrian Poptry to run mkbuilddirs before anything else
8e2082b94Martin SjölundIgnore linker errors when checking osgQt
f5162837dAdrian Popimprovements to function handling - handle some of the builtin functions - handle named arguments - check argument type, variability, etc
f9f842ff0hkielwhen exporting to PDF, redirect .onb links to respective .pdf fix DrModelica stray CR symbols ( ) remove debugging fprintf call
d59b49625Martin SjölundDo not add a uses-annotation to the own library
cfb8e3b4bMartin SjölundGuard against NULL pointer
fc47cd54dMartin SjölundExpected output (is a warning, not an error)
c7e8c027fMartin SjölundDo not fail for a warning
e952f3dd4Martin SjölundAdd test for when not initial()
de28a2253Martin SjölundPerform type-checking on when conditions
4a4bd52caAdrian Poppartial support for handling functions
ee3843157Per ÖstlundUpdated nfinst test cases.
da294f810Per ÖstlundNFInst improvements.
974e2ad5bAdrian Popdocs depends on mkbuilddirs
6c8d8e35dAdrian Pop-use $MAKE instead of make
7c099633cAdeel AsgharCheck if file is relative.
a0aa3a814Adeel Asgharticket:4164 Open files at start up on OSX.
8c4133092Lennart OchelFix dummy attributes
0fed15a30Adeel Asgharticket:4162 Enable the Re-simulation toolbar buttons when they are valid.
43fd21c39Henning KielMerge pull request #9 from hkiel/export_pdf
c71d5f303hkielExport Notebook as PDF
9b4c1fe10Lennart OchelFix dummy real attributes
6b50eb6b6Per ÖstlundAdded testcase EnumFuncIf.
9da1640afPer ÖstlundAdded new flag condenseArrays
763e6051carun3688frontend unitchecking testcases
bfd468003arun3688FrontEnd unitchecking
30ec27531Adeel Asgharticket:4156 Find a proper base zoom factor for documentation browser.
6e46b93b5Adeel Asgharticket:4156 Do not set maximum height. Use the layout stretch and alignment.
c395f7d16Adeel AsgharSkip the log messages received as a result of pending breakpoints.
b947d01b2Adeel AsgharUse the GDB path defined in settings unless user specify something.
9fb1bc8eeHenning KielMerge pull request #63 from hkiel/omedit_spellfix_de
f17048081Per ÖstlundFix compilation without sundials/kinsol support.
1a6da6c0dhkielSpell fix and some more german translations
5b7362b4cAdrian Popadd all Codegen*.mo to .gitignore
c9f07ae18Adeel Asgharticket:4156 Get rid of about us image. Added a simple about dialog with required information.
cdab4c829Adeel Asgharticket:4156 Do not set icon size for QToolButton.
21099cd52Adeel AsgharMake format and indentation settings take layout space.
0ee5536faAdeel AsgharAdded support for generateVerificationScenarios API.
debe19c08Martin SjölundInitial commit for embedded C code generator
6edbc337dMartin SjölundUpdate expected output for new failure
5a1555084Martin SjölundUpdate expected output for OMCompiler PR:1034
8dcb4435dMartin SjölundUse AvlSetInt instead of lists for inc. matrix
dc675db2fWilli Braunticket:4159 fix some flag descriptions
871e08ca2Martin SjölundAdd requirements tests
fdfc4244bLena Buffonisupport for verification scenario generation from requirement models
dc6a62bbcAdeel AsgharAdded a test for getClassNames includeConstants.
f727803aaMartin SjölundPatch bootstrapping tarball
561c2f95cAdeel Asgharticket:4152 Added includeConstants argument to getClassNames API. If true then the API will also return the constants of the class along with classes.
aaff7c6efAdeel AsgharRespect the case-sensitive operating systems
9db63a724Adeel AsgharMerge pull request #62 from adeas31/packageOrder
5ee52d30eAdeel AsgharMerge pull request #61 from vwaurich/dxf
e824f3766Adeel Asgharticket:4152 Use getClassNames API with includeConstants true to get the correct package.order file.
238ea3c74vwaurichfix tabs, fix normals, fix colors for dxf
1df8a4a52Willi Braunadded kinsol/klu solver support with sparsity
ff3d39d28Willi Braungenerate always SparsePattern for non-linear algebraic loops
e77320228vwaurichan own basic dxf file reader
af8cd3e3fMartin Sjölundv1.12 development
a06a95d47Martin SjölundStart v1.12 development branch
f97e7f013Martin SjölundIgnore tracreleases file
ecceebd66adrpomake sure we don't have a old version number when no git present
6e7e01427Adeel Asgharminor fix.
7c4d49a03Per ÖstlundTest case for qualified cref in eq for nfinst.
2ccad20e2Per ÖstlundFix lookup of qualified crefs in nfinst.
e1efb57dcadrpoisXMLTCP is defined only if NO_INTERACTIVE_DEPENDENCY is undefined
466e9054cAdeel AsgharShow the tlm co-simulation output widget.
3ee365e69Niklas Worschechuse boost 1.59 if Visual Studio 2013 is used
837a84968Adeel AsgharConvert all caps models to all lower-case component name.
640b434dbMartin SjölundAdd testcase for ticket:4153
daab8bb4bMartin SjölundAllow multiple class annotations in diff algorithm
b0c9b4375Rüdiger FrankeAdapt log levels to OMEdit, ticket:4048
dfe7b6fc8Adeel Asgharticket:4048 Use black color for debug messages.
ce441e184hudsonMerge remote-tracking branch 'origin/master' into pullrequest
c9166ece2Adeel AsgharUse the new log format xmltcp. Fixes ticket:4048.
407fc9c9bAdrian Poplink generated executable with with wsock32 and ws2_32
a8258d47bMartin SjölundFMUs cannot set logFormat
8dec8301dAdeel AsgharUse str to clear the stream instead of clear. Make sure we count the opening of tags.
cfb2366b5Martin SjölundAdd logFormat=xmltcp
14a1a1e74Martin SjölundCheck NULL pointer
7bf56647cRüdiger FrankeAdapt OMEdit test to support for log-port
e02bbf266Rüdiger FrankeImplement logging of simulation status
ad7adca9dRüdiger FrankeUnify treatment of Logger instance
d9f30dc8bRüdiger FrankeImplement logging of simulation status
01ca4a37eRüdiger FrankeUnify treatment of Logger instance
d0b059794Martin SjölundUpdate common
6205bffc4Martin SjölundUpdate common
9ab760bb9Martin SjölundUpdate common
be0978fa3Martin SjölundUpdate common
747145757hkielfix qmake.sh on darwin
f41694703Martin SjölundCheck for NULL pointer
04a34277fMartin SjölundDisable qmake default optimization flags
6b059e07eadrpofix windows builds add libs wsock32 ws2_32
ffae961dcAdeel Asgharticket:4067 Fixes the issue with quotes. Allow users to edit __OpenModelica_infoHeader as well.
6f4354a8fRüdiger FrankeExpected result
3a460b5f0Rüdiger FrankeAdd xmltcp logger to Cpp runtime, ticket:4048
712e12e55Willi Braunadd try-catch execption if initialSolverData fails
0c85d9a67Willi Braunadd exception for ida solver if no sparsity available
93e212efdAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
820fa362cAdeel Asgharticket:4067 Added a HTMLEditor for editing the documentation.
b3690d826Martin SjölundDo not include OSG if it was disabled by autoconf
95e5e65f3Willi Braunimprove symbolic jacobian generation
42a36d050Henning KielMerge pull request #59 from hkiel/fix_osx_locale
6202e56dehkielFix compilation error on OS X Fixes: main.cpp:262:13: error: use of undeclared identifier 'LC_NUMERIC' setlocale(LC_NUMERIC, "C");
dcfd6aa71Per ÖstlundAdded and reactivated new inst test cases.
e4cfc38aaPer ÖstlundNew instantiation improvements.
7bba37e0fAdeel AsgharFix Qt4 build.
154add01cAdeel AsgharGet rid of MainWindow.h from some files.
d7fc7be80Per ÖstlundGenerate less empty structures in absyn2SCode.
7032c24e6Adeel Asgharticket:4145 Make sure transformational debugger is window is shown.
2d943e02fadeas31Another try to fix Qt 4 build.
f326a4abeAdeel AsgharFixed compilation for Qt4.
07c61dcd9Adeel AsgharUse filter instead of search.
60beb68ecMahder GebremedhinType checking updates for the new fron-end
b91a3a1fcAdeel Asgharticket:2960 Defer calling the getComponents API. Speeds up browsing the items in Libraries Browser.
b781dc9d5Adeel AsgharAdd 32/64 bit version.
5c53f53d2Adeel AsgharMerge pull request #56 from vwaurich/coffee
035d20864Adeel AsgharAdd 32/64 bit to OMEdit version.
cdbc31880Adeel AsgharMerge pull request #58 from adeas31/optim
96058a8c3Adeel AsgharMake the OMEdit compilation faster. Moved around the headers. MainWindow is singleton and is access via MainWindow::instance()
ef666abbePer ÖstlundReactivate scodeinst/mod11 test.
bd46362efPer ÖstlundFix the check for final modification.
43b4bb6a0Per ÖstlundReactivate duplicate mod test for new inst.
dc38639c4Per ÖstlundBetter error for duplicate mods in new inst.
2c7afbd07vwaurichfix signalArrows in visualization
b0d17837aPer ÖstlundReactivated some testcases for new inst.
e68f0a0edPer ÖstlundNew instantiation improvements.
c7bd235ceMartin SjölundExpected output for upstream MSL fixes
592cec8b7vwaurichdont evaluate functions with unknown type on lhs
e11567af8ptaeuberFix vararrayList
63b77e731vwaurichdont add A-Vars of statesets to BackendDAE
f8dc2395fvwaurichproper visual xml name construction
555ce77f0Martin SjölundMake test utils able to clean more generated files
36ece8b95Martin SjölundUpdates for upstream library changes
a34343166Adrian Popsome fixes to modelDescription.xml import
fdec2bcb9Willi Braunimprove sparsePattern dump
9c53a045bAdeel AsgharOnly update the changed item instead of invalidating and updating the whole view.
9220e9e02Adeel AsgharMerge pull request #28 from arun3688/master
81be08cb8arun3688journal paper updates
797a4ef71alash325Better naming for imported modelDescription XML
33b3b8e0fAdeel Asgharticket:4144 Use anyString to print the Integer values.
a5073bb31Alachew MengistMerge pull request #57 from alash325/importXml
b3e955ca3alash325Import FMU modelDescription xml
c5bf1173cAdeel AsgharMerge pull request #55 from lochel/tolerance
4eca2ca5dAdeel AsgharWrite the visual xml file for meta-models.
fffa3f063ptaeuberAdd test for hideResult evaluation
901d152b7ptaeuberUse qualified component names in hideResult attribute
3ca15dd01Adeel AsgharAllow users to specify the geometry files from the GUI.
128f21dacPer ÖstlundReactivate more NFInst tests.
350333d62Per ÖstlundNFInst fixes.
545b9125cPer ÖstlundReactivate new inst tests.
adf0f0d49Per ÖstlundFix broken stuff from previous new inst change.
2d9ba573cvwaurichfix pipe-shape and xml file name assembly
ccaec3f25Adeel AsgharEscape the dot character.
84f0aab5dAdeel Asgharticket:4078 Do not sort the record members.
ff7711662Martin SjölundChange OpenGL test to a linking test
a4e708851Rüdiger FrankeCorrect logging for FMUs and IDA
b6a7a6d69Rüdiger FrankeLog errors during initialization and asserts
f2e948cbeRüdiger FrankeGive log categories full names
c26746fb4Rüdiger FrankeAdd debug log for event conditions
a556edebeRüdiger FrankeConnect Cpp Logger to FMI2 callback function
edbd85c1aRüdiger FrankeLet Newton not scale Jacobian columns
47e18462fRüdiger FrankeSuppress duplicate error message if simulation fails
066543650Rüdiger FrankeAlways do at least one Newton step
2349aedb7Adeel Asgharticket:4078 Quote the string values.
e4d06b918Adeel Asgharticket:4078 Select the frame with single click or with mouse up & down.
8bcaf99c0Lennart OchelUse 1e-6 as default tolerance value
b906ae8e8Adeel Asgharticket:4078 Go to the actual line number after opening the file.
faf638a82Adeel Asgharupdate submodule.
66a404eb4Adeel Asgharupdate submodule.
f5281618dAdeel Asgharupdate submodule.
ba319245dAdeel Asgharticket:4132 Added pathStripSamePrefix function for addComponent API. Makes the path relative to class.
ee596526fAdeel Asgharticket:4132 Always send the full path. addComponent API makes the path relative.
7f31e3155Rüdiger FrankeLet Newton scale Jacobians of linear systems as well
863c7b71aRüdiger FrankeLet Newton solver catch errors from analytic Jacobian
3821a19a8Rüdiger FrankeReduce code nesting in Newton solver
7d6aaa01cRüdiger FrankeScale Newton solver with nominal values
450b5bea1Rüdiger FrankeIncrease accuracy of Newton solver
f4d1b5a5aRüdiger FrankeReactivate analytic Jacobian for Newton solver
965594a85Adeel 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.
54ab0e4edMartin SjölundDo not crash when reading a parameter
66a60fc28Adeel AsgharMerge pull request #54 from vwaurich/FMU2animation
153b56ca1Adeel AsgharUse different timers for updating scene and rendering frame.
581db7c28vwaurichfree fmu in destructor
f7938841dAdeel AsgharChanged the speed textbox to editable combobox. Use MessagesWidget for errors instead of cout. Disable some warnings.
205399a72Adeel AsgharMerge pull request #53 from vwaurich/FMU2animation
fc2a60329Martin SjölundCheck for broken OpenGL headers
1fccf2c31Martin SjölundAccess QT_INSTALL_HEADERS in autoconf
90c956c7dvwaurichadded FMI 2 animation support
40b6e79b5Rüdiger FrankeActivate Kinsol overflow test to avoid endless iterations
77ccba7f6Adeel AsgharFixed reading of csv file for animation.
1d320bd8eAdeel AsgharPut the command in commands list.
fdac34ca5Martin SjölundAdd workaround for trusty ARM builds
45442e0b4Adeel Asgharticket:4078 Check if the program to debug exists. Show the log-stream-output. Moved the text cursor movement code to Utilities::insertText.
2cc5196e1Adeel AsgharMerge pull request #52 from vwaurich/stl
4c36a6ab3vwaurichconsider lengthDirection for stl animation
1b514e3f3Martin SjölundSimplify counting number of real variables
395f379f6Martin SjölundInclude MainWindow first
ad91fb190ptaeuberExpected output
d487be4fdptaeuberAlso simplify DAE.NOT() wout type
8b157e53fHenning KielMerge pull request #8 from hkiel/math_latex
bf7b44386hkieluse math packages as default larger font size (12pt)
a50dbe10eMartin SjölundUpdates to source-code FMUs
efd9b1f67Rüdiger FrankeCheck for FMUType, ticket:4130
844621f31Rüdiger FrankeMake internal copy of instance name, ticket:4130
3ea131296Martin SjölundAdd test for ticket:4110
d1a64527dMartin SjölundHandle the type specifier being lost in the diff
f1305a462Adeel AsgharOpen the AnimationWindow if visual xml file is created for meta-model.
254c72ac3Martin SjölundInclude MainWindow first
cb6ed1924Adeel AsgharUse name instead of name structure for meta-models.
91a2bb438ptaeuberAdd spline interpolation also to ModelicaTables
f95c55c9dAdeel AsgharFree the mat reader.
6080ee737Martin SjölundAdd test to makefile
c985fbe31Martin SjölundAdd test for ticket:4110
9c32ee8c0Martin SjölundHandle whitespace in single tree diffs better
6fb589f2cvwaurichtest for visualization results
39d920f4avwaurichset hideResult to false for visualization vars
ea443c094Martin SjölundFix compilation
4e7e8b6a8Martin SjölundAdd diff test for moving connections
e0cca96a4Martin SjölundHandle multiple connection points being changed
163abeae8Martin SjölundInclude MainWindow.h at the top of the files
3464745fcSebastian PinnauCompile OMShell with C++11, ticket:3990
87a6e8b2bSebastian PinnauCompile OMNotebook with C++11, ticket:3990
736a94383Rüdiger FrankeRemove obsolete function
49cb49cbeLennart OchelSimplify some auxiliary function implementations
ae83d42bbMartin SjölundInclude MainWindow at top of ModelWidgetContainer
d0f1e8fefMartin SjölundMove around includes for OSG before Qt
cca794cd9Rüdiger FrankeAdd test for RefArray, ticket:4093
aab9128e4Rüdiger FrankeMake test matrix non-square
291db471eRüdiger FrankeAvoid removal of DIDtuple test during each run
0a3b00f2bAdeel AsgharMerge pull request #51 from spinnau/fix_compile
5f031ab4bAdeel AsgharMerge pull request #50 from rfranke/revert
54b3c26c5Sebastian PinnauAdd missing include "Utilities.h" for MdiArea class
9174ea306Rüdiger FrankeRevert "Fix states in Variables Browser"
f44f9c509Rüdiger FrankeSmall optimization to RefArray code generation
9298f3ac1Adeel AsgharSwitched the positions of step-over and step-into buttons.
1ee8c832bRüdiger FrankeRewrite SimCodeUtil.getUnrolledArrayIndex in procedural style
e65760222Rüdiger FrankeUnifiy storage order of RefArray, ticket:4093, ticket:4072
74b8f7b0cAdeel AsgharFree the csv reader when the AnimationWindow is closed.
93e1990b2Adeel AsgharFixed compilation.
9e20f41d5vwaurichAdd test for MDD
7b7a3d9bfMartin SjölundInclude OSG headers before OSG since they conflict
7359ea2c9Niklas WorschechFix for division during internalization in cpp runtime
96f16777fNiklas Worschechadded Modelica Randaom to cpp runtime build
d4c60ec6cAdeel AsgharMissing files from last merge.
3773a4facAdeel AsgharAdded the missing header include.
65264a9d8Adeel AsgharMerge pull request #48 from OpenModelica/VisualizerCSV
e2917fec4Adeel AsgharFixed merge conflicts. Conflicts: OMEdit/OMEditGUI/Animation/Shapes.h OMEdit/OMEditGUI/Animation/Visualizer.h OMEdit/OMEditGUI/Animation/VisualizerMAT.h OMEdit/OMEditGUI/OMEditGUI.pro
95bc48164Lennart OchelOnly mark states as changeable if the start attribute is constant
0a6f4eaa4Adeel AsgharCheck file:// alongwith modelica://
20fdf80f5Martin SjölundAdd test for comments moving around
db9157bbcMartin SjölundHandle comments moving around
9e0b74054Martin SjölundMove some includes, tabs to spaces
93bd45ea5Mahder Gebremedhin- Escape quoted idents in aliases in _init.xml
98461c47avwaurichfix FMU string-type start attributes
a3b03f07dRüdiger FrankeComplete fix for 3dim RefArray, ticket:4093
73f7fca97Rüdiger FrankeAdd error if daeExpCall finds no match
9d2afbbc4Willi Braunexpected output
3cd68ac53Willi Braunmove findZeroCrossings to a postOptModule
1081354d0Per ÖstlundRedesigned NFInst to eliminate InstanceTree.
bc49d1dcbvwaurichadd warning for external alias
1731292fcvwaurichadded case in external alias detection
ef930f34fMartin SjölundHandle compilation without OpenSceneGraph
960c5a683Adeel AsgharOnly show the animation window for mat files.
8898d5233Adrian Popadd test for ticket:4124
0c7a532a0Adrian Popfix ticket:4124
e3e1ababeWilli Braunupdate test
786193c16Willi Braunimprove dynamic state selection
e5b2e5ef7ptaeuberAdd test for hide result evaluation
70c742284ptaeuberReplace evaluated parameters in hideResult
174499f2dAdeel AsgharCSV based 3d visualizer.
13ca3e56bAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
78b64bf86Adeel AsgharRemove the file extension for display name. Use the name instead of classname.
481083a2bMartin SjölundCheck for OpenSceneGraph at configure time
f8860f9a0Lennart OchelRemove superfluous whitespace from generated xml file
8747e2fe2Lennart OchelRemove superfluous whitespace from generated xml file
ea606a1b8vwaurichfix 3dim array for cpp
a327d6606Lennart OchelRemove attribute useStart from model_init.xml
f2641d78aLennart OchelRemove attribute useStart from model_init.xml
369fd73a5Rüdiger FrankeExploit structured logging for Newton solver
b33fa8f02Rüdiger FrankeMark constantly failing test failing
5a8bf93d9Rüdiger FrankeExpected output for XML logging
a94610ae0Rüdiger FrankeExploit structured logging for LOG_INIT and LOG_STATS
7c61be0eaRüdiger FrankeUnify command line names of log settings
f00158381Rüdiger FrankeImplement XML logger for Cpp runtime in OMEdit
9100a8268Adeel AsgharMerge pull request #47 from rfranke/simtool
ebbc16a71Rüdiger FrankeIntroduce new Check Toolbar, in addition to Simulation Toolbar
1e1690487Rüdiger FrankeOnly initialize variabes with start value from init.xml
c2fc6e684Rüdiger FrankeFurther extend DIDtuple test, ticket:4093
c60d86d4fRüdiger FrankeAdditionally check for array element, ticket:4093
a6d2b0f35Rüdiger FrankeExtend DIDtuple test with a matrix, ticket: 4093
4a3540b4dRüdiger FrankeSIMVAR's numArrayElement is not sufficient, ticket:4093
cb438f2b6Adeel Asgharticket:3712 Print the OMNotebook plots.
c655395efRüdiger FrankeRobustify elabBuiltinDynamicSelect, ticket:3675
76cba8f16Rüdiger FrankeFix cpp codegen for array assignment in when, ticket:4093
f6b146dd7Henning KielMerge pull request #6 from hkiel/OSX_latex
510bd1837hkielAlso add /Library/TeX/texbin to PATH on OS X.
8a078499eAdeel AsgharPut the animation window in a frame to get a boxed rectangle around it.
9e3b20b44Adeel AsgharInvalidate the model so that Variables Browser is updated.
a1c062ca6Adeel AsgharCheck if we really have PlotWindow to avoid unusual crashes.
643fba693Rüdiger FrankeAdd test for DynamicSelect, ticket:3675
3840dead7Rüdiger FrankeEnhance elabBuiltinDynamicSelect for visible, ticket:3675
6ab411cbfAdeel AsgharMerge pull request #46 from rfranke/dynvis
1b125314aRüdiger FrankeDynamicSelect for visible with false default value
14b6e85a4Rüdiger FrankeImplement DynamicSelect for visible, ticket:3675
024573ebcWilli Braunadd further deltaX option for the solvers
5c6c19f25Willi BraunRevert "add xml root element for logFormat=xml"
183b510d5vwaurichRemove tab from visualxml tpl
82c4ecda8vwaurichTake an arbitrary alias for externalObjects if unsure
745621ea7vwaurichFix visXMl for file-shapeTypes since new parameter stuff made things different
c98026b27Willi Braunadd xml root element for logFormat=xml
73de30028vwaurichtest for algorithm counting
c237c1882vwaurichalways expand records when counting algos
ae27c2b0fvwaurichDont expand algorithm when counting the size after removeSimpleEquations
7def99eacRüdiger FrankeEnhance elabBuiltinDynamicSelect for texts, ticket:3675
f9c1597b7Adeel AsgharMerge pull request #45 from rfranke/dyntext
9ac844298Rüdiger FrankeFix states in Variables Browser
9ffc699ceRüdiger FrankeImplement DynamicSelect for text annotations
a0dc0013cRüdiger FrankeAdd VariablesTreeItem::getValue
6345c52cbRüdiger FrankeOverride protected with HideResult annotation, ticket:4089
71c889225Adeel Asgharticket:4095 Handle parameters of inherited components.
cfb4594afvwaurichadd test for tuple assignments in whenoperator for cpp
158091865vwaurichfix cpp codegen for tuple assignments in whenOperators
c12584a56Adeel Asgharticket:4091 Check if object is 0.
755ceb79aAdeel AsgharMake SimulationDialog remember its geometry. Moved the VerticalScrollArea class to Utilities.
3fd4d4ffdLennart OchelFix generation of parameter equations
3f78d75f0Adeel AsgharMerge pull request #43 from vwaurich/view
ef5f530caLennart OchelRevert "Expected output"
c8df1c548Lennart OchelRevert "rewrite simplifyComplexFunction"
8feaea880Lennart OchelRevert "fixed PR 1148"
2722e764cLennart OchelRevert "improved array dump"
b2f7540d3Lennart OchelRevert "workaround for array=f()"
0eb4175c3Adeel AsgharMerge pull request #42 from rfranke/issues
150de4910Martin SjölundFix for clang OpenMP flags not working with g++
5515de8b0Martin SjölundAdd support for clang (3.7+) OpenMP
f335090fbAdeel AsgharBetter tooltip. Missing files from last commit.
ffd8bcce9Adeel Asgharticket:2166, 2696 & 3879. Show the value of the curve on the mouse hover. Highlight the closest data point with a marker.
3b4062801Rüdiger FrankeExpected output, ticket:4089
295a04075Rüdiger FrankeRead all values from init.xml, ticket:4089
c58bee3b9Rüdiger FrankeEmit protected variables with HideResult=false, ticket:4089
6d02154baRüdiger FrankeAccept -alarm and -abortSlowSimulation for nightly tests
599e0f68dRüdiger FrankeFilter protected and hidden in Cpp runtime, ticket:4089
32dfa07c2Rüdiger FrankeReplace tabs with spaces in XmlPropertyReader, ticket:4089
f992d1998Willi Braunlet linearize also run in numerical mode
af557139cWilli Braunadjust linearization test to numerical linearize
20ab77ad7vwaurichX-Y perspective as default, remove home view
3775ade2fvwaurichsmall cleanup
60e12868evwaurichfunction to get linker library paths with extra case for Winmm
94fced8faRüdiger FrankeNeed -emit_protected to check protected vars
bef320ce3Rüdiger FrankeThe 1 matters (see Filter parameter results)
cbb742b51Rüdiger FrankeFilter parameter results, ticket:3925, ticket:4029
1692f27c8vwaurichBackendDAE.ASSIGN can hold tuples on lhs
ead44e767Rüdiger FrankeTreat previous like der variables
dd59e5404Rüdiger FrankeOnly filter public variables with HideResult, ticket:4089
7d9bfdcdcRüdiger FrankeLookup units recursively
885d49734Rüdiger FrankeAdd vertical scrollbar to General tab of Simulation dialog
77bf4cba2Rüdiger FrankeHideResult defaults to protected, ticket:4089
339c74938vrugeworkaround for array=f()
c3733b363vrugeimproved array dump
893adb73fvrugefixed PR 1148
1a1a32a85Martin SjölundFix order of clocked equations
f9018bb81Niklas Worschechfix in cpp runtime for msvc 2013
05d565c39Adeel AsgharMerge pull request #40 from rfranke/t4084
68f9aae48vrugerewrite simplifyComplexFunction
db2ea6bdcvrugeExpected output
f627ad4d5ptaeuberSuit testsuite to new parameter handling
d75f648c0ptaeuberCorrect handling of parameters
202ad9496Rüdiger FrankeBetter short display of enumeration values, ticket:4084
6af603de2Rüdiger FrankeShorten display string of enumeration values, ticket:4084
c2ed655aaMartin SjölundChanges to FMI autoconf, more debugging messages
154368232Adeel AsgharMerge pull request #38 from rfranke/t4081
6e2a856d6Rüdiger FrankeAdd modified displayUnit to unit selector, ticket:4081
53b732f53Rüdiger FrankeConvertUnits, ticket:4081
af76f8a7aRüdiger FrankeExtend test of convertUnits, ticket:4081
5d9af8447Willi Braunadd deltaX flag and pass it to the linearization
02e5b6734Adeel AsgharMerge pull request #37 from vwaurich/master
16aad1bcdAdeel AsgharUpdated the screenshots.
bdfb2daf3vwaurichbetter handling of animation files
819079b95Adeel AsgharAdded screenshots and user's guide for the visualization.
620a9dfb7Willi Braunreview lineraize code
d6aaecae7Adeel AsgharUpdated according to new options of Options Dialog.
362b74d28Adeel AsgharUpdated according to new options of Simulation Dialog.
b304032e7Martin SjölundProduce error-messages when linearize fails
92846a43avwaurichremove unused function
f97e44537Martin SjölundAvlSet instead of HashSet for structural params
687b256bfMartin SjölundAdd new package to sources
1ccc53d70vwaurichuse CevalScript.getFullPathFromUri to get animation file paths
f45d03b38vwaurichget absolute paths of resource files which are used for animation
88b6260b5Martin SjölundStructural parameters as HashSet instead of Table
d605fc7e5Adeel Asgharticket:4081 Only skip the Record sub modifiers.
c9b1bad1fAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
e923b7ac7Adeel AsgharOptions for keeping the variables browser shown in Modeling perspective.
ef48413fcMartin SjölundUpdate submodule
0a2edd8b1Martin SjölundUpdate submodule
3b858fb94Martin SjölundUpdate submodule
acfbd683fMartin SjölundUpdate submodule
b895c9a00Martin SjölundFix for OSX quoting
62ed4267eAdeel AsgharMerge pull request #36 from rfranke/varsvis
f907e83f7Martin SjölundCompile OMPlot with C++11
8fc919db6Rüdiger FrankeFinally disable new Crane test. Now it really fails on Hudson.
a2293fc28Rüdiger FrankeRevert previous commit and add missing file
dd0051005Rüdiger FrankeRemove test with strange Hudson "Result xml-file not found"
cd03de0c2Rüdiger FrankeExtend tests for calculatedParameter, ticket:4027
eae52ab31Rüdiger FrankeRemove Cpp code generation for initialization of alias vars
d7838200aRüdiger FrankeAdapt Cpp code to increased use of calculatedParameter, ticket:4027
55548c186Per ÖstlundImproved prefixing in NFInst.
7efbde0d4Martin SjölundOnly run SMFlatten if the model uses SMs
c9f67a820Martin SjölundTabs to spaces
1e06cf25dMartin SjölundUpdate submodule
2d8ab4a86Martin SjölundUpdate submodule
1125cc612Martin SjölundUpdate submodule
45ed06284Martin SjölundUpdate submodule
99788c650Martin SjölundHandle qmake -qt4
60ac290a0Martin SjölundUpdate submodule
5d045ad8bMartin SjölundUpdate submodule
d5b4317d3Martin SjölundUpdate submodule
e9fc8d326Martin SjölundUpdate submodule
3b1089fafMartin SjölundWe need to substitute LRELEASE like before
aa41743cdMartin SjölundUpdate common submodule
aeabd2e17Martin SjölundUpdate common submodule
2db886384Martin SjölundUpdate common submodule
14dd3dd75Martin SjölundFix detection of Qt5 for qjson
5ede8caaeMartin SjölundFix logic for qjson Qt4/Qt5
c7d60273cMartin SjölundImprove detection of lrelease
2249704ceRüdiger FrankeExtend MatrixIO tests with negative aliases
ae2c9c56dRüdiger FrankeRevert "Expected output" -- a bug was introduced!
c8b206d6fRüdiger FrankeCorrect numbers of variables, ticket:4072
8b1f74ec9Rüdiger FrankeFix multi-dimensional arrays in Cpp init.xml, ticket:4072
8637cad4fMartin SjölundRemove references to Modelica3D
3a34ba911Martin SjölundRemove references to Modelica3D
db80ad11bRüdiger FrankePartly revert "Move adding of tempVars into model info"
748db33c7Rüdiger FrankeShow Variables Browser in Modeling Perspective per default
30c4b4cd2hudsonUpdating 3rdParty
9447a8c56Adrian 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
7886e2e7aRüdiger FrankeAdd tests for ticket:4072 (array storage order)
4f6ee12c7Rüdiger FrankeFix array storage order in FMI export, ticket:4072
7c9473027Rüdiger FrankeKeep Variables Browser if shown in Modeling Perspective
d314f5cd7Niklas Worschechadded ModelicaIO and zlib to cpp runtime build
52f9e6f13Adeel AsgharMerge pull request #35 from rfranke/none
b022bb45aRüdiger FrankeDon't pass platform "none" to buildModelFMU, ticket:4070
75849b001Rüdiger FrankeSave FMI platform setting None, ticket:4070
892dc5ad9Rüdiger FrankeMark inputs changeable
d95bf9970Per ÖstlundDon't dump the flat model in silent mode.
520810b58Adeel AsgharTicket:3626 Show parameter records instead of bindings.
bdb177c3fAdeel AsgharAdded new API getComponentModifierValues. Returns the submodifiers. Moved getComponentModifierValue to ModelicaBuiltin.mo
f32443cdfAdeel AsgharExpected output for getComponentModifierValue. Added getComponentModifierValues call.
69d8e82a6Martin SjölundStart splitting large C-files into smaller ones
2c0eb7fb4Adeel Asgharticket:4070 Fixed Options dialog pages order. Removed the unused AnimationPage class.
043a7563cPer ÖstlundFix for a few compiler warnings.
b11d246c9Martin SjölundLink with expat when not bootstrapping
1a5a648efPer ÖstlundQuick hack to fix some NFInst issues.
2af5ad19eAdeel AsgharOnly call convertUnit when units are different.
6324199e5Martin SjölundLink against fewer libraries when bootstrapping
cba2c4a0dRüdiger FrankeAdd attributes to init.xml file of Cpp runtime, ticket:4069
2f98348cfWilli Braunadd functionAlgebraic to callStatistics
e4abcb5f8Adeel 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.
e502e3358ptaeuberAlso dump iteration variable names in tearing dump
0c4be26f5Martin SjölundHPCOM is not needed for bootstrapping
fd9c3f042Adeel AsgharMerge pull request #34 from rfranke/vars
e2728465bMartin SjölundDo not link expat with omc
d7ea0d885Martin SjölundUse override instead of rewriting the XML-file
e52e2f988Rüdiger FrankeFix use of scale factor in unit conversion, ticket:4031
8efee44b4Rüdiger FrankeUse unit as default display unit in variables browser
0d23c4d35Adeel AsgharOnly override paint event of plot window.
4f2beb766Adeel Asgharticket:3984 Added a tooltip for legend item with name and filename.
1fad4d36dRüdiger FrankeHide Unit column of Variables Browser
9a9d061d4Rüdiger FrankeRestrict unit selector of variables browser and use displayUnit
4c97d58c7Rüdiger FrankeExpected output, ticket:4031
a03d35a96rfrankeRestrict unit selector to displayUnit and internal unit, ticket:4031 (#33)
5609fed3aRüdiger FrankeAdd support for Imperial units, ticket:4031
038e71cb4Rüdiger FrankeAdd missing derived units, ticket:4031
561b96766Rüdiger FrankeRemove derived units with standard prefixed, ticket:4031
0901cc3c6Rüdiger FrankeAdd derived unit deg
b5b49b0f3ptaeuberUse Ceval.ceval to evaluate ...
1234c1e32ptaeuberRemove removed flag
0382fe813vwaurichbetter external object detection
f063a54f9Adeel Asgharticket:4031 Correctly read the unit value from derived classes.
0cba0030bAdeel Asgharticket:4031 Added kV & mV derived units.
9e417e138vwaurichexternal alias handling
a4f724f74Martin SjölundSimpler check if running the testsuite
b87805e99arun3688update DrModelica exercises
c5383bb88Lennart OchelFix wrong escape sequence
bea3e6f2eadrpoadd test for ticket:4062
bb86695f0adrpofix for ticket:4062 - put external objects inside the connection sets
0e6d68f92Willi Braunnonlinear homotopy solver with lapack
08ea75e3bvwaurichreplace parameters in external objects, extend simCodeDebugDump
489670a23Adeel Asgharticket:4043 Only add the version and uses annotation to the top level class.
1a0ccb374Adeel AsgharFixed the issue with over sizing of MainWindow. Give the AnimationWindow a title.
db1919123vwaurichdo not link some external library resources (user32, pthread, X11)
c687a7749ptaeuberFix BackendVarTransform.replaceExp
8163c351cptaeuberUse -output-flag instead of val-function
a6e40958bPer ÖstlundNew instantiation update.
a7103daadPer Östlund- Disable all scodeinst tests for now.
ea2bf103eadrpofix windows build
f03616c74vrugeloop -> memcpy
aaeec2c4avrugeadded explicit rungekutta with step size control of order 4
eb2053453vrugeadded test for rungekutta_ssc
9206e660bAdeel AsgharUse QLineEdit instead of QTextEdit. Mark the strings for translation.
d0e37f8c0Adeel AsgharReverse the mouse wheel zooming.
6ec4f43b4Adeel AsgharAutomatically launch the animation window.
6759feda5alash325- added wrongly deleted line
f9cfd8077alash325Added importFMUModelDescription API
77d8742bdAdeel AsgharMake animation part of simulation process. Some other minor fixes.
6241795caAdeel AsgharMerge pull request #32 from vwaurich/animation2
6f77ba39cAdeel AsgharMerge branch 'animation2' of https://github.com/vwaurich/OMEdit into animation2
b2c7ceaacMartin SjölundFix for Qt5/Ubuntu compilation on OSG 3.2
5a8e45aeaadeas31Fixed compiling for Qt4
c507399f2Adeel AsgharFixed internal osgQt for Windows.
d04327ebdvwaurich- fix typo
8483368d2vwaurich- svg icons instead of png
dcb43b858vwaurich- internal osg qt by sjoelund and fix for win
78fa9a55fmflehmigAdd Qt libraries to Makefile for Linux
0da784ffemflehmigFix compiling under Linux
c8fb556b6mflehmigFix bug: File name has a typo
d565dacd9vwaurich- normals for the pipes
74314e0ccvwaurich- removed asDrawable()
532e545b7vwaurich- jump to time functionality
e84ba2bcbvwaurich- fix size of time label, typo
4901b8045vwaurich- brighter backgroundcolor
b22a37982vwaurich- fix time label, slider, added speedUp setting
ac14b02ddAdeel AsgharMinor fixes. Do not comment out MainWindow::storePlotWindowsStateAndGeometry().
763017532Adeel AsgharLink with release/debug dlls of OSG.
d846306e9vwaurich- default dir for openAnimationFile
b2f547d0aAdeel AsgharOnly enable the toolbar buttons when we have the visualizer. Otherwise the applications crashes.
740de29cbAdeel AsgharGet the toolbar icon size from settings so that is configurable. Renamed from AnimationWindowContainer to AnimationWindow.
e0dad8afdAdeel AsgharMake viewer the central widget.
6bea23073Adeel AsgharNo need to set a dummy scene data. We can have an empty view.
c4fc525f3vwaurich- reduce size of animation toolbar, better default size of view
a6aa2a697vwaurich- fix time slider
256dfe6c8vwaurich- set window title for animations
cb04267caAdeel AsgharFixed some warnings.
135dffbf0Adeel Asgharread_matlab4.h already included via util.
091639830Adeel AsgharLink with 64-bit libs of OSG.
f03fd1f7bvwaurich- comments and coding style
a144be8edvwaurich- added a spring, yeah
09c29209cvwaurich- some nice perspective actions
cf7c9582fvwaurich- added simulate with visualization button
87eb7b07evwaurich- forgotten ressource
531b4cb1fvwaurich- remove the old tabbed animation stuff
03c48b28dvwaurich- plot and animation share an mdi
fa40827c3vwaurich- at least something works now
f88e6e710vwaurich- hide animation window when switching perspective
abed1a277vwaurich- fix updateTimer
610825c6dvwaurich- add own shape type for pipes
394cc912bvwaurich- separate VisualizerMAT class
a751c1aaavwaurich- add icons, remove old animation buttons
43b721753vwaurich- make an animation toolbar
535913bc3vwaurich- add an animation toolbar
527c264ddvwaurich- somehow integrated the viewer in the animationwidget
a0bb68feevwaurich- got the animation in the view
0d3f33194vwaurich- compile a lot of stuff
361ec4065vwaurich- get a proper viewer
90e7bae08vwaurich- get osgviewer and widgets
795f67330vwaurich- compile with osg
8b0822172vwaurich- animation window
21e45aea9Adeel AsgharRevert "Merged OSG 3D visualization done by Volker."
3a67afd18Adeel AsgharMerged OSG 3D visualization done by Volker.
64c43c258vwaurichadd error if file name is too long
020ac7f72Lennart OchelAdd test case for ticket:4061
9c0570369Lennart OchelUpdate expected output
27e278312Lennart OchelCatch unbalanced models
be9dc574dWilli Braunadd test for ticket:3999 and fix expected output
895a1e127Willi Brauntry to fix ticket:3999
f83f56870Martin SjölundFix for Qt5/Ubuntu compilation on OSG 3.2
629181837adeas31fix last commit
e80e2097badeas31fix compiling for Qt4
f1516019cAdeel AsgharFixed internal osgQt for Windows.
ebbfe52fcAdeel AsgharFixed printing the output of manager and monitor.
a4b17ce3bAdeel AsgharAvoid extra QFile objects.
f0e007bb7vwaurich- fix typo
ba0860b0bvwaurich- svg icons instead of png
aadd604bfLennart OchelHighlight that the unit checking module is still experimental
e4eee95efLennart OchelFix unit checking for products
1dd8804f9Adeel Asgharticket:4042 Show error message for conflicting variables names.
9906a4d9eptaeuberExpected output for smaller init tearingsets
99952ed7dptaeuberGenerate smaller initialization tearing sets
01ec73d53vwaurich- added test
3bc1550ceAdeel AsgharReverted the previous commit. Start the manager first.
f86f65663ptaeuberAdd parameter tests
0fd534d73vwaurich- internal osg qt by sjoelund and fix for win
8a0ec7d41Lennart OchelDo not use + for OM flags
61f5e0357Lennart OchelDo not use + for OM flags
62c88ea11adrpo- update test
257c15ba5Adrian Popfix for ticket:4051 (#27)
21cb762ceLennart OchelFix broken cross reference (#26)
9a6e38792ptaeuberExpected output
b8604ac36ptaeuberFix marking structural parameters final
a1b3acbb8vwaurichMerge remote-tracking branch 'origin/master' into master-loc
b1f3e5fcaadrpoadd test for ticket:3979
4f0d76106adrpofix for ticket:3979
baba16ac3adrpofix import of QSetttings for qt4
715277176Adeel AsgharStart the monitor before manager.
b6bd36beaAdeel Asgharticket:4047 Fixed updating of icon transformation.
78f34eaf3vwaurichMerge pull request #1 from mflehmig/animation2
c6b9df15cAdeel Asgharticket:4045 Allow users to specify dragged component name.
3a786a3demflehmigAdd Qt libraries to Makefile for Linux
d04ae4ba8mflehmigFix compiling under Linux
81e061135mflehmigFix bug: File name has a typo
fbaa0708bAdeel Asgharticket:4042 Avoid crash.
f4df9cc23vwaurichMerge remote-tracking branch 'origin/master' into master-loc
6304dfa64Adeel AsgharPass +locale as argument to omc_Main_init.
1df99c389Adeel AsgharPass +locale as argument to omc_Main_init.
f0f37a347Adeel AsgharAdded zero as default timePoint.
7c98eac54Adeel AsgharUpdated the initialization warning text. Also marked it for translation.
9d732f599Adeel AsgharSet +d=initialization by default.
b85aba4adAdeel AsgharRead the language from OMEdit settings file.
d5d4c0d82Adeel AsgharUpdated tests with new initialization warning text.
735a63374Lennart OchelFix initialization problems containing
25249c864Lennart OchelFix initialization problems containing
3aded1427Adeel AsgharMake ExactStep false as default and an optional attribute.
b2c63fa2dAdeel AsgharClear the generated files before each new tlm co-simulation.
37a0f7263Adeel AsgharKeep the tlm co-simulation window inside main OMEdit window.
9ca647d89Adeel AsgharRespect the order of arguments.
bf88e3f1cptaeuberExpected output
4434dd5c8ptaeuberProvide information about which solver is used
7da13ef06vwaurich- normals for the pipes
4e3de4417vwaurich- removed asDrawable()
bf23a9affvwaurich- jump to time functionality
372119f67Lennart OchelFix typo in documentation of isExperiment(..)
d3e63e2f0vwaurich- fix size of time label, typo
b7cced8f8vwaurich- brighter backgroundcolor
d2dfa3eb3Adeel AsgharMerge branch 'animation2' of https://github.com/vwaurich/OMEdit into animation2
54c5148f9Adeel AsgharMinor fixes. Do not comment out MainWindow::storePlotWindowsStateAndGeometry().
4793ccf7avwaurich- fix time label, slider, added speedUp setting
549addfb6Adeel AsgharLink with release/debug dlls of OSG.
19a274288Martin SjölundCompile OMEdit with C++11
1e1497aeevwaurich- default dir for openAnimationFile
fee9b9cb7Adeel AsgharOnly enable the toolbar buttons when we have the visualizer. Otherwise the applications crashes.
7baf6dec4Adeel AsgharGet the toolbar icon size from settings so that is configurable. Renamed from AnimationWindowContainer to AnimationWindow.
0e2ab0f23Adeel AsgharMake viewer the central widget.
9854949aaAdeel AsgharNo need to set a dummy scene data. We can have an empty view.
721b825eevwaurich- reduce size of animation toolbar, better default size of view
9a5118636vwaurich- fix time slider
0f3aec9afvwaurich- set window title for animations
195aed3e9Adeel AsgharFixed some warnings.
8a369066cAdeel Asgharread_matlab4.h already included via util.
175f71c0dAdeel AsgharProper linking for 32 or 64 bit.
130745f8cAdeel AsgharLink with 64-bit libs of OSG.
2afbff6cearun3688change insert link color to blue, update copyrights information
057cc5880vwaurich- comments and coding style
7f9de4877Adeel AsgharAllow renaming the MetaModel name.
83c663168Lennart OchelAdd available options of runtime flag -iim
9945189fdLennart OchelRemove obsolete flag from description
fe7fc5fbcAdeel Asgharticket:4039 Use monospaced font for text and system font for html.
7ed1ea59dAdeel Asgharticket:4039 Handle the text documentation.
6d333d424Lennart OchelRemove useless condition
5ac721899ptaeuberSome code optimizations in Tearing.mo
07e45ab11Martin SjölundFixes for ticket:4007
997caa118vwaurich- added a spring, yeah
3423a6eceMartin SjölundDetect tuples used as expressions
bbba6594bAdeel Asgharticket:3964 Single & multi-line commenting for MetaModelica.
c3f1889b4Adeel AsgharOnly show the qualified name for LibraryTreeItem::Modelica in model switcher dialog.
eb6ad8249Adeel AsgharOpen the file when enter is pressed.
ca88dda54vwaurich- some nice perspective actions
0e613776fvwaurich- added simulate with visualization button
24e90f463vwaurich- forgotten ressource
d4d7396e2vwaurich- remove the old tabbed animation stuff
c7395d747vwaurich- plot and animation share an mdi
c47ebfd39vwaurich- at least something works now
04e3776a5Adeel Asgharticket:4008 For now just display all parameters as enabled.
ea8dd8585Adeel Asgharticket:4026 Use the inherited class coordinate system if class doesn't have one.
0cd7cf572vwaurich- hide animation window when switching perspective
8ecc3f01dvwaurich- fix updateTimer
0a7ab0541vwaurich- add own shape type for pipes
863a98b95vwaurich- fix visualization attribute extra
ff6923694Adeel Asgharticket:4023 Fixed the GDB path issue.
9f36c1c25Willi Braunfix daeMode testsuite
55589c8fevwaurich- generate visual.xml with +d=visxml only
7496b2113Willi Braunadd dae tests to the testsuite
9f51354a3Willi Braunfix dae residual varKind for code generation
5d7be40ecvwaurich- get source info for Flags.VISUAL_XML
8c6ebff92Adeel AsgharBetter implementation for add/update/delete transition APIs.
e820854cevwaurich- separate VisualizerMAT class
dab8d02d5vwaurich- add icons, remove old animation buttons
8707392bavwaurich- make an animation toolbar
e5a6e459cvwaurich- add an animation toolbar
a543be3dfRüdiger FrankeAdd new function signatures to ArrayOperations.h
2665e73abvwaurich- somehow integrated the viewer in the animationwidget
f1fb176a8vwaurich- got the animation in the view
7ce61b897Rüdiger FrankeImplement DIV_ARR and ADD_ARRAY_SCALAR in Cpp runtime
8627235eevwaurich- compile a lot of stuff
7f9210425vwaurich- get a proper viewer
424839247Adeel AsgharUpdated the transitions test.
0b58b4218Adeel AsgharAdded updateTransition API.
aa4034be8Adeel AsgharCall the transition tests.
ed06e0510Adeel AsgharFixed implementation of addTransition and deleteTransition.
f9561bb5avwaurich- get osgviewer and widgets
b1db32975vwaurich- compile with osg
425e27964Adeel AsgharTest for transitions APIs.
543574810Adeel AsgharAdded deleteTransition API.
dbbcff9b3Per ÖstlundFix for ticket:4028.
f12e83be5Per Östlund- Added testcase for ticket 4028.
c10ebe7cevwaurich- animation window
af701af0evwaurich- animation tab (reverted from commit d67f06b7e02204937bf4b447f8f2b0ab7994cad3)
d67f06b7evwaurich- animation tab
0735a9d83Adeel AsgharAdded new API addTransition.
974a19ccdvwaurich- compute timeevents for tEnd
fcc0b47dcvwaurich- deactivate analytic jac for nls in cpp Newton solver
ef5ae2c5fAdeel AsgharMerge pull request #30 from robbr48/master
05d7215d2vwaurich- deactivate test for now
a1fe86503vwaurich- cpp synchronous implementation back to time events
b0fc13197Robert BraunRemoved accidentally commited debug output.
5fc6629d5Robert BraunReduced tolerances for fuzzyCompare function.
cd3785d41ptaeuberSome minor SimCode Optimization
ad304529bptaeuberExpected Output
338dd80e0ptaeuberPrefer iteration variables with start value
779a2068aptaeuberFix Dynamic Tearing for initialization
bcf29cceaptaeuberAllow Dynamic Tearing for initialization
b11d53d01ptaeuberExpected output
5fed8c18cptaeuberImprove userDefinedTearing
db1de5b4aNiklas Worschechfix for hpcom
4deb51bc0Niklas Worschechintegrated DAE mode in cpp runtime
af142edfcAdeel Asgharticket:4013 Update the display name within inherited classes.
810d7e20bvwaurich- activate synchronous test with total model
9453b64e2vwaurich- added synchronous test, update clockedEventTest
efdd08a27vwaurich- update clockedEventTest
d0a57cdf3vwaurich- fix booleanclock handling, use subpartidx for clockinit
4ec62d0f2vwaurich- fix for hpcom
69e0f34f4vwaurich- added test for partlintorn systems
8c6cf4513vwaurich- remove debug output
aeb57109dvwaurich- fix partlintorn system
41f85a50bvwaurichReactivated reverted clock adaptions
793899e50vrugeadded test for ticket:3997
5a18bd5dfvrugefixed set subscripts in inline:
c5749a669vrugerecursion -> loop
2d4224045vrugeadded new modul
c49987f11vrugeadded tests for force inline function in Loop
95c8653eavrugemake test more stable
b7af71c57vrugeimproved modul order
145cac248vwaurich- copy missing dlls in omdev_extra_dlls to fix FMUs
8775cffb0Martin SjölundTest for default external call with arrays
75fffde41Martin SjölundHandle default external calls with array arguments
c709213ebMartin SjölundOnly store direction of external variables
e9986145eMartin SjölundGenerate unique UUID if libuuid is present
3e8f747cdAdrian Popfix windows build (#29)
a4c1eab6dMartin SjölundsetDocumentationAnnotation now escapes strings
ce1ebbf66Martin SjölundCompile with QT5
9ff03e5bdMartin SjölundCompile with QT5
9ccbe2073Martin SjölundUpdate to compile with QT5
45325bdd5Martin SjölundCompile with QT5 when available
364b7ddc3Martin SjölundAllow configure to detect QT5
96951b49eMartin SjölundUse an AVL Tree to make adding new ZCs faster
560200ba9Martin SjölundExpected output
4877c8d29Martin SjölundAdd Expression.compare for sorting expressions
04832d54eptaeuberUpdate parameterTest
295b0a4c6ptaeuberAdd flag to control function-binding evaluation
06257ffc9Martin SjölundAdd built-in function valueCompare
6cead398dptaeuberAdd missing else
221647993Lennart OchelHandle error stage ERROR_EVENTHANDLING
96282dd9dptaeuberSome optimizations to evaluateFunctions_updateStatement
413773574Patrick TäuberAdd model to test parameter evaluation
2d38e9a69Martin SjölundEncapsulate the ZeroCrossings set type
09ae6c980Adeel AsgharAdded test for getTransitions API.
9d126613eAdeel AsgharAdded getTransitions API.
a968496d0Martin SjölundDo not pass around numRelations
68b634096Martin SjölundMerge only 0 or 1 zero-crossings
a25dc00fbDietmar WinklerAvoid characters in file names that are illegal in Windows
1cb219fc4Martin SjölundUse DoubleEndedList for zero-crossings internally
c06dade98Martin SjölundFix type variables of metarecords
3c02f6ac9Adeel AsgharUpdated tests for getClassInformation output.
51623041aAdeel AsgharRead the __Dymola_state annotation.
25e9e2c5cMartin SjölundExpected output for #1016
52f0eb751Martin SjölundImproved performance of SimCode zero-crossings
fde847bd8hkielsome 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
6f92e41feptaeuberMinor changes to EvaluateParameter
1a9bdf264Willi Braunadded DAE_RESIDUAL_VAR as varKind
1127a0fb2Willi Braunadded ida-solver stopTime ticket:3991
5f3633932Willi Braunmake array variable for DAEres in DAEmode
7569344aeWilli Braunexpected output of OMCompiler PR#1014
f60e155b7Martin SjölundFix equation system partitioning performance
1464a0db7hkielsome minor list optimizations
340520453Martin SjölundFindZeroCrossings - avoid bad listAppend
590fe402cMartin SjölundUse DoubleEndedList for FindZeroCrossings
63127526fMartin SjölundAvoid matchcontinue in FindZeroCrossings
112b0bc99Martin SjölundRemove matchcontinue from FindZeroCrossings
76f47caa0Martin SjölundAvoid matchcontinue in FindZeroCrossings
185f006e9Martin SjölundAvoid matchcontinue in FindZeroCrossings
e00a7e6a9Willi Braunenable daeMode tests
3d6008688Williadd further daeMode option
f2eb970b1Willi Braundo not use extrapolation for to big steps
3b50b4856Willi Braunadjust output of tests
920695025Martin SjölundChange order in mergeZeroCrossings
4638cca5eLennart OchelNew debug flag "partitionInitialization"
dec4b30d8hkielsome minor optimizations
a6abbd9b3Adeel Asgharticket:3982 Preserve format of text copied from instantiate model window.
612047bf0Adeel Asgharticket:3987 Clear contents of search field by clicking ESC key.
3fd876702Willi Braunfix typos ticket:3983
48f93f0e2hkielsome minor optimizations to Backend
c6520af83Adeel AsgharMeasure the correct time of API calls.
14f32804dAdeel AsgharOnly create dialogs when they are really needed.
c05343bcdadrpoupdate test after fixing ticket:3980
5725c2bb5adrpofix ticket:3980
3e83c1818Willi Braunfix ticket:3983
58e841c22vwaurich- added cpp synchronous coverage tests for windows
7b072a740hkieluse list comprehension
c84c17910hkielslightly improve performance of getComponentAnnotations() ticket:3679 do better scanning through lists
638acf922Lennart OchelDon't evaluate alg. loops once before start of simulation
63ce1c70eadrpoupdate tests after ThermoSysPro changes
c1cac0c13Adrian Popfix ticket:3973
96924a5d0Lennart OchelAdd missing TRACE_POP statement
6cb06d842Lennart OchelMinor optimizations to EvaluateParameter.mo
8ab6b8a40Lennart OchelRemove superfluous variables
e8766a796Williadd testcase for ida solver
cbd9cd37fWilli Braunadd noEqudistant step flags for ida solver
cf561f73eWilli Braunfix event handling of ida solver
c268564beWilli Braunfix debug trace
8257389dbhkielGC.free() some temporary arrays
2ce167a64adrposmall 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
4de915140Adrian Popfix ticket:3868 add --large-address-aware when linking OMEdit (#28)
499d340a3Rüdiger FrankeSupport startInterval of event clocks, ticket:3272
a5b5466a5hudsonUpdating 3rdParty
be46866e0hudsonUpdating 3rdParty
99ef1e340hudsonMerge branch 'master' of https://openmodelica.org/git-readonly/OMCompiler
3fe711d40hudsonUpdating 3rdParty
86dd3e98fAdeel AsgharChanged Algorithmic Debugging to Debugging.
56794bf8bAdeel AsgharProperly set CRLF line ending.
d63325375Rüdiger FrankeExpected output
60b9239ccRüdiger FrankeRemove optional argument from interval() and firstTick()
2a93be594Rüdiger FrankeRemove fixed start values for discrete states (MCP-0024)
4cd90269fRüdiger FrankeImplement firstTick operator (MCP-0024)
70198be03hkielfix some warnings from static code analysis
bf3ee768cWilli Braunadd daeMode tests to testsuite
dcf9748d9Willi Braunadd ida daeMode flag to suppress alg. vars
96ee4981cWilli Braunadded more solving options from ida as sim flags
84d574197Willi Braunadded flag to suppress algebraic vars from error test (daeMode)
e740f2d70Willi Braunadd relative tolerance to alg variables in daeMode
a25d3fd79Niklas WorschechRevert "fix for clock ticks at end time in cpp runtime"
44eb33272Adeel AsgharRemove the status bar message in case of error.
b5fe97021Adeel Asgharticket:3970 Include the components of the base classes in exported images.
19e56e3d5Adeel Asgharticket:3958 Make OMCLogger enabled by default.
611bc0f32Adeel Asgharticket:3969 Show correct line numbers for errors.
611ddae12adrpoadd test for ticket:3974
df84bca0badrpofix ticket:3974
913b58d46Niklas WorschechRevert "Adapted clock handling in cpp runtime"
db26f9ec6Adeel AsgharUse QRegExp to find tags instead of using QWebPage. QWebPage is slow and very much resource hungry.
54a345038Adeel AsgharC/C++ Editor instead of C Editor.
2d080d4c7Adeel AsgharImproved the performance by not setting the QTextCursor again and again.
f34d8aac8Niklas Worschechactivated clockedTest in cpp tests again
f67918e1eNiklas Worschechfix for clock ticks at end time in cpp runtime
7d89d89eeadrpodisble test until we find the issue
25d4cfc12Niklas Worschechtemporary deactivated clockTest from cpp runtime tests
ddf5050a5Niklas WorschechAdapted clock handling in cpp runtime
3829472a2adrposmall memory optimizations
fcde532ecWillitry to fix daeMode for complex equations
ce355312bhkielfix some issues from static code analysis ticket:3954
8cddbef21Adeel AsgharAllow user to handle loading of OpenModelica library.
f3deab8a4Bernhard ThieleAdded graphical state machine examples
8b88d8ec4Adeel AsgharMerge pull request #27 from adeas31/MetaModelica
082b079feAdeel AsgharFix build.
b572deff9Adeel AsgharMerge pull request #26 from adeas31/MetaModelica
db87fd035Adeel AsgharRenaming file/folder.
a08c6ff64Adeel AsgharAllow creating files & folders.
a38e0f0b4Lennart OchelExtract variables also from clocked partitions
c4ba4ab86Lennart OchelSmall improvements to module wrapFunctionCalls
31aeef333Lennart OchelSimplify RemoveSimpleEquations.handleSets
bbbf7501bAdeel AsgharAdded support for deleting files.
532bec868Henning Kielfix CodegenC for dynamic tearing (#1)
18caa8b2fMartin SjölundWrite equations directly to file
aef117e92Adeel AsgharOnly use anyString for String types. This change also makes the debugger faster since we are not calling anyString on all types.
2c515a61fAdeel AsgharImproved the loading/unloading of files.
64d176d1fLennart OchelMove prototype to _model.h
0e098204eWilli Braunfix ticket:3913
4936316fcMartin SjölundRemove some unused function calls
c45baaf65adrpoupdate tests ticket:3960
d59e2f8deadrpofix ticket:3960
caeecf590Adeel AsgharAllow adding breakpoints on MetaModelica files. Removed unused property TreeWithBranches.
447096dc7Lennart OchelFix implicit function declaration
8bbb70aebRüdiger FrankeFix discrete state indices for FMI export
064f241d4Adeel AsgharAllow opening directory structure. Support for MetaModelica & C files. Syntax Highlighting of MetaModelica & C Files.
3589cd8dbLennart OchelNew test cases for module wrapFunctionCalls
b10d9209fLennart OchelUpdate expected output
eba465406Lennart OchelNew implementation of module wrapFunctionCalls
1af79cf99Lennart OchelUpdate expected output
0f1524280Lennart OchelImprove ExpandableArray
a1a540891Martin SjölundRan the refactoring script to remove unused code
8f881c3deAdeel AsgharRemoved the DebuggerMainWindow class and add debugger perspective with dock widgets.
7e1286ce1hudsonUpdating 3rdParty
f45c1dd2aadrpoFixes 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)
f5d4c269dhkielfix some abnormalities from static code check ticket:3954
bb33335a6Willi Braunimprove some simulation option descriptions
76b1b286aWilliupdate non-linear system code
870028088Willigeneralized nonLinearSystemData generation
0a9c9b502Willi Braungenerealize staticData generation
e9351e097hkielOS X: run otool on libzlib.dylib
68ed95517Willi Braunclean up nonlinear systems: remove unsed field
201f9d350Willi Braunimprove codegeneration for non-linear systems
7fda7d4d2vrugeCosmetic changes for DynOptimization
63527ec43vrugemake create dynamic optimization problem as modul
99918a094vrugeExpected output
43294bc3cNiklas Worschechfix in fmu 1.0 export and cpp runtime for ambiguous symbols for shared_ptr
912301a4dNiklas Worschechfix for algloop variable attributes assignment in cpp Template/CodegenCpp.tpl
7a7247f57Rüdiger FrankeLink Cpp FMUs all static under Windows
4eaf6a37fadrpoadd needed libs to FMUs on windows, ticket:3946
2dbc14b1eWilli Braunfix nominal values for daeMode
d08a25108Rüdiger FrankeClean up comments and indentation
8987eb249Rüdiger FrankeRefine treatment of clocked start values to fix ticket:3770
c135f75f0Lennart OchelUnit test for expandable array
6a480c870Lennart OchelNew generic type ExpandableArray
e867d82b1Rüdiger FrankeRemove unnecessary Sundials include directories
86e2894c2Rüdiger FrankeMove Sundials paths to Sundials section (ticket:3933)
dd39b9fb5Willi Braunadjust nominal usage in daeMode for alg variables
9e077feb8Willi Braunadd initial step size flag to ida solver
aede0ba17Adeel AsgharSet () for flags with no values.
0868b1df1Adeel Asgharticket:3488 Support ignoreSimulationFlagsAnnotation flag.
c40d6c471Adeel Asgharticket:3488 Added ignoreSimulationFlagsAnnotation flag.
06da5383bAdeel Asgharticket:3488 Write the __OpenModelica_simulationFlags annotation based on the settings used in SimulationDialog Read the __OpenModelica_simulationFlags and apply it them to simulation.
0a6dd266cRüdiger FrankeAttempt to fix ticket:3948 for Windows build
1a9e96d52adrpofix ticket3947, change SID to SIDTest to avoid name conflicts
5a887dbe9Niklas Worschechfix for typo in cmakefile
1dd553e34Niklas Worschechadded status message for sundials libraries
21c5d5fb1Niklas Worschechfix for #3933
0fe727959vwaurich- functions to debug Index Reduction
24669b25fadrpofix ticket:3942 - use -std=c++11 for Windows - add -lz -lhdf5 libs to linking, needed for Modelica tables
38e81d67eptaeuberAdd flag to emit solver steps to the result file
81b676597Lennart OchelImprove error message
55a76f72bptaeuberUse config flag for total tearing
dc14e0f3bptaeuberMake total tearing a config flag to specify SCCs
ec6bb2383adrpoticket:3092, activate OMC_NO_GC_MAPPING only on FMI or minimal runtime
22f7bdfabBernhard ThieleAdded another test case to Modelica_Synchronous
c7a21ff6eadrpomore fixes ticket:3902
193fe4e98adrpoadd test for ticket:3902
1aab55e6dadrpoomc_ua depends on boehm-gc target, ticket:3902
3f4962fd2adrpoParModelica depends on boehm-gc, ticket:3902
28420a1f6adrposmall changes to the memory allocation interface, ticket:3902
0fd4096c5Martin SjölundDo not use + for OM flags
ad52d2780adrpoFix ticket:3941 disable tests Modelica_Synchronous.WorkInProgress.*
5ad2b537eBernhard ThieleAdded Modelica_Synchronous test cases
944192f39Lennart OchelDon't share memory between different variable arrays
c44afbc08ptaeuberUse --maxSizeLinearTearing=0 instead of --disableLinearTearing
70349b591ptaeuberMake redundant --disableLinearTearing deprecated
ace8794c3Patrick TäuberPerformance fix of instantiation of syst in loop
b526c9b9dRüdiger FrankeRemove wrong error for clocked continuous exps
36621703eRüdiger FrankeUpgrade clockedTest with continuous-time equations
369a2c9c3Rüdiger FrankeRevert 963ed3cf89 for clockedTest
cde23afceRüdiger FrankeUse start values at first clock tick (ticket:3770)
d7950503aRüdiger FrankeExpected output (ticket:3770)
9e139b9c2adrpomore fixes to svg generation
008b9516fAdeel AsgharMerge pull request #25 from arun3688/parametersensitivity
07d574279Adeel Asgharmodelicacolors.xml is not used anymore. Use same colors as were defined in modelicacolors.xml.
99916cf0darun3688Update with Peter correction
c07f33dc5Adeel Asgharticket:3929 Killed the crap syntax highlighter thread. Added QSyntaxHighlighter.
3446e63c1Lennart OchelAdd test for 'localKnownVars'
28405d807vwaurich- fix order of subpartition clocks
d7170093aptaeuberExpected output
d19242a2eptaeuberNew approach to handle known vars
bcab6f6c0vrugeadded test for inline function
998331701Adeel AsgharUse 1 for record type.
b85235d99Adeel AsgharFixed the debugger. Use the --thread & --frame argument with each command.
6665a46abadrposupport baselining tests in parallel
b7f586196Willi Braundon't show alias warning by default
215f2b4c9Willi Braunhide alias warnings behind AliasDump flag
f65263f47Martin SjölundUpdate now broken test needing CREF_ITER working
240213bccMartin SjölundDo not generate #define for variables
cea271efcWilli Braunremove not used extrapolation code
bc03c8e96adrpouse --alarm=900 for all tests to avoid hangs
1d03f6339adrpoadd support for --alarm on command line ticket:3928
5a28893b9ptaeuberDetect JAC_CONSTANT() as linear component
ec4c1c72eWilli Braunadd testcase for ticket:3926
59c64aca0Willi Braunadd some exeption handling for torn linear systems
77c753bf8Martin SjölundExpected output
087bdd2e3Martin SjölundMake reinit message output a readable cref
05eb8b9a6Martin SjölundFix name of vars in linear model
927c5e90fPer ÖstlundscodeInst -> newInst flag update.
a3a1e9a93Per ÖstlundRenamed scodeInst debug flag to newInst.
4de17a3b3Per ÖstlundUpdated LoadCompilerSources to new inst changes.
f0a3a7ccdPer ÖstlundReorganized source files for new instantiation.
9e030f2b3Per ÖstlundMore scodeinst test updates.
f1fe18eb3Per ÖstlundUpdated scodeinst tests.
cbc956152Per ÖstlundAdded component attributes to new instantiation.
5184da392Per ÖstlundNew instantiation improvements.
03471e2f4arun3688ticket:3488 testscript for getting vendorannotation modifer names and values
c3bcdbbf4arun3688ticket:3488 added new API functions for vendorannotation
9e87f6de7Martin SjölundFix SVG generation
887637acaMartin SjölundPut each library into its own history folder
bde3ea631adrpofix rtest for windows
8f2e742afWilli Braunadjust test to to current implementation
0e7fa5342Willi Braunfix Makefile
bf97bdcd1Willifix sparse pattern for daeMode
7ef887367Willi Braunadjust code generation for daeMode
397dd8236Willi Braunimprove daeMode implementation
30d4a89caWilliadd sparse pattern for daeMode
28bc0aa84wibrauninitial documentation for sensitivities (#23)
eacfc6b20Lennart OchelMove the actual unit parsing to Unit.mo
c7fe6415dMartin SjölundHandle writing empty files
f47e48bdcMartin SjölundDo not create HT of size 0
689ff409bMartin SjölundUse BaseHashTable for the SimCode HT
3e9b0e836hkieluse less memory when operating on units
17df9f3c3Lennart OchelClean up unit check module
bbf3498b5Per ÖstlundUpdate more scodeinst tests.
1e5da4b63Per ÖstlundAdded some proper error messages to NFLookup.
d816a47fdPer ÖstlundMore new instantiation modifier stuff.
a65845ac3Adeel AsgharFixed the index for parenthesis matching.
82eeffe30hkielfix BackendDAETransform.eqnAssignmentNonScalar()
bc7611906Adeel Asgharticket:3924 Do not add extra line breaks.
9b0163de6Adeel AsgharHandle the integer inside record.
120a9e2bbadrpoActivate multiple FMU instances per process ticket:3820
ec70f3341hkielfix memory leaks in C runtime
4c94fc01chkielfix some issues from static analysis
5f4fb2323adrpoupdate tests after fixes to ticket:3989
72f98cf7aadrpoFixes for ticket:3898 do not output empty InitialUnknowns element
7570c6b94Martin SjölundDo not use pre-processor for array variables
a98f42433Per ÖstlundUpdate scodeinst test cases.
2aa49359fPer ÖstlundModifier improvements in new instantiation.
98cfe9be3ptaeuberExpected Output
57990bab9Patrick TäuberRename squared 2-norms
737e02469Patrick TäuberChange input tol of Newton solver to 2-norm
7b5e81b4eLennart OchelUse always the unit representation that was defined first
4383a9c11Lennart OchelDon't override empty unit information with dummy value
22d2ccb31Lennart OchelCalculate unit information for state derivatives
7271c6f71Per ÖstlundNFInst improvements.
c04f1a00dLennart OchelCalculate unit information for state derivatives
012b28298adrpofix windows external annotation for omcruntime library
f79cce437Per ÖstlundImplement derived class modifiers in NFInst.
4a27b0912hkielshorter C code for non-guarded list comprehensions
029864fe4hkielallocate using mmc_alloc_words_atomic where no pointer is stored.
d02a3753ehkielpreserve some more tuples
3507862d0Per ÖstlundPropagate modifiers for structured components.
e5130b443Adeel AsgharAdded instructions on how to make connection. Updated OMEdit options.
f1904b88fPer ÖstlundClean up some new instantiation modules.
9b994a03cAdeel AsgharUse same border as QLineEdit for QPlainTextEdit.
06b1abefcMartin SjölundDo not use preprocessor to generate sample() code
4e18fb90cPer ÖstlundReplace old new instantiation with new new instantiation.
736e098dfAdeel AsgharMerge pull request #25 from OpenModelica/annotations
afdff3c96Adeel AsgharFixed annotation folding for quotes and comment blocks. If user moves inside the hidden block then unfold automatically.
58bbbff88Lennart OchelFix LOG_STATS (ticket:3922)
3b73d02d2adrpoadapt rtest to windows msys2
a52420cf9Martin SjölundSkip calling unnecessary tmpTick
c79b8cac0ptaeuberImprove total tearing algorithm
975701dcaptaeuberExpected output
f098371bcMartin SjölundDo not use preprocessor for attributes
04496accfhkielremove function getAliasContinue()
109dc98dchkieldo not thread two lists, just to unthread them again
d665b64a4ptaeuberAdd flag to change the tolerances for newton solver
329215b5bAdeel AsgharMerge branch 'annotations' of https://github.com/OpenModelica/OMEdit into annotations
cd9be3440Adeel Asgharticket:2233 Implemented code folding. Folds the annotation spread over multiple lines.
44588cc91adrpouse alarm to kill the test if infinite
c5b68a938adrpofix GenerateDoc.mos
f10487d15hkielsome minor optimizations - match -> matchcontinue - simplified some functions
8f16329a0vwaurich- dump a graphic blt-matrix in a html file via +d=bltmatrixdump
f0d46d564Williseperate coloring from generateSparsePattern
934911a35Adrian Popfix interface for getDocumentationAnnotation (#24)
871ab7c35jhagupdated expected output
73a73b023jhagfixed wrapFunctionCalls (see:ticket:3102 ticket:3910)
50dade940Martin SjölundPrefer omc libs over system libs
9b040a612adrpoadd tests for ticket:3916
016c25e5eMartin SjölundDo not look for otool lines containing :
0e88db868hkieluse listEmpty() instead of listLength()==0
c628fac31hkielfix PR #837
67e058835adrpofix for ticket:3914
a5a02e3dcadrpotest for ticket:3914
ff7351840Martin SjölundCheck all dylib files for improper linking
542abe936hkieloptimize List.sort() a bit more
5a7efaddchudsonUpdating 3rdParty
12b13360ehkielfix ticket:3897 - run install_name_tool on the libraries (also for libsundials_idas.0.dylib)
7f5cbc768adrpofix infinite loop on windows
141d59741hudsonUpdating 3rdParty
e9739870dvrugedon't add noEvent twice
60be6c452vrugematchcontinue -> match
605cd5728vrugefixed inline-anno interpretation
008b751edWilli Braunfix modelicaStringToCStr for "'"
e713fe26fhkielintroduce 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);
389ec43c3hkielfix ticket:3897 - run install_name_tool on the libraries
b3a16671bMartin SjölundRun install_name_tool on the libraries
bf0d98351adrpoadapt test to work on windows also
e7dc97954adrpoproperly set FMI_PLATFORM for FMIL library
3ba065e44Willi Braunadd module to calculate sensivities matrix
61b9e243cWilli Braunadd tests for sensitivities analysis
ade6473daRüdiger FrankeUse old C++ ABI for cross compilation of FMUs
833bce927hkieltry to fix ticket:3897 and ticket:3900
c9c2dad35Willi Braunfix initialize SolverData control flow
8f3825c5dhkielavoid List.intRange in conjunction with for loops
a055cc9d6ptaeuberAdd ThermoPower models with expected output
f1fc67506ptaeuberfix ticket:3192
faf5f04fcAdeel AsgharDraw QStyle::PE_IndicatorBranch for folding.
24034b984Adeel AsgharCreate space for folding in the line number area.
17c031c27adrpoupdates to ticket:3857
ac9052a4cadrpoupdates to ticket:3857
04080aeb8hkielremove some matchcontinue
7e7eec7advwaurich- add case in dumpStateorder
9873878efPatrick TäuberReset strong component index
518da8db3Adeel Asgharticket:3488 Added support for --ignoreCommandLineOptionsAnnotation flag.
9d8edb68eWilli Braunfix ticket:3846
9c5ab12beAdeel Asgharticket:3488 Added a flag --ignoreCommandLineOptionsAnnotation
f292fdea0Willi Braunadd test for ticket:3846
e1161ae32Adeel Asgharticket:3488 Allow setting __OpenModelica_commandLineOptions annotation from GUI.
e652a2004Adeel Asgharbackup the originals flags. Reset the flags after translation.
28c405d4dAdeel Asgharticket:3488 Read the __OpenModelica_commandLineOptions annotation and apply it.
018590eb3vwaurich- fix dumpComp2 for empty Jac
d692b4c30vwaurich- final try for Transformer.mo
938a17927Martin SjölundDo not use cp -u
4d5ce50f1Martin SjölundPass more linker flags to sundials cmake
28621f171ptaeuberRename flag advanceTearing in allowImpossibleAssignments
d1716435fptaeuberRename flag advanceTearing in allowImpossibleAssignments
b86e6f772Bernhard ThieleAdapted state machine tests for default clock
8f2844293Bernhard ThieleDeactivated state machine when-equations hack
bff2761d3adrporevert changes
14328ef6dptaeuberImproved user defined tearing
ef47d9564ptaeuberAdd test for user defined tearing of Algorithms
63cb7fe71Willi Brauntry to fix OSX build
d1560083aAdeel Asgharquote path.
6792db5d8adrpoupdate the OMDev readme
8e182ba39Adeel AsgharOMDEV links.
0a278ea46Adeel AsgharUpdated compile instructions to new msys.
6038450d2Adeel AsgharUpdated compile instructions to new msys.
3a113064cAdeel AsgharUpdated compile instructions to new msys.
ef7be4c87Adeel Asgharcompile from top level.
4cc72c6eaAdeel AsgharUpdated compile instructions to new msys.
eb0e11005hkielavoid a few more tuples
a11618424hkielavoid unnecessary tuple creation
b8aed2c07hkielmisc optimizations use guards avoid memory allocations
86ca95e2fhkieluse guard to avoid some MMC_THROW_INTERNAL
243042d0dhkieldo not recreate Option<>
19d7c975fhkieladd List.mapFold* varaiants with more InOut arguments needed to be able to avoid tuples in some places
09c5a1c61Martin SjölundMake it easier to override FMU CPPFLAGS
83443129bAdeel AsgharMore updated instructions.
900ac5211Adeel AsgharFormat instructions.
35aa7d177Adeel AsgharUpdated install instructions for OMC.
b832f3e50vwaurich- fix RemoveSimpleEquations, added comments
17d90a7b0Adeel AsgharUpdate common submodule.
d9e86db25Adeel AsgharUpdate common submodule.
17a3d11a0ptaeuberAdd test for user defined tearing
891e7e11fptaeuberIntroduce userDefinedTearing
0cd621f1dadrpotest for ticket:3857
d0a958974adrpofix for ticket:3857
0aaf81a7dNiklas Worschechreverted clock modifications in C template
3a0012b94Niklas Worschechrevertet clock modifications in cpp template, cpp runtime and SimCode
e3488b62dNiklas Worschechdeactivated new clock tests to commit reverted clock changes
a921a716fvwaurich- expected output
8792366b2vwaurich- expected output, deactivate cse where dae is checked
3a8051481vwaurich- shorten Paths CSE-option
9475de651Adeel AsgharMerge branch 'annotations' of https://github.com/OpenModelica/OMEdit into annotations
be4f6924eAdeel AsgharDraw QStyle::PE_IndicatorBranch for folding.
7e798ee4dMartin SjölundDo lookup of varInfo directly
8bcbed025hudsonUpdating 3rdParty
51d6b8e03adrpofix ticket:3892
ee55e3fbeNiklas Worschechreactivated two clock tests
096b08d8eAdeel AsgharCreate space for folding in the line number area.
bff7de77fAdeel Asgharticket:3884 Apply the default prefixes to Component.
18dd83044Martin SjölundCalculate index including offset in SimCode
feca22102Adeel AsgharUpdate common submodule
c81d99c04Adeel AsgharUpdate common submodule.
fdfccbe5eadrpofix windows build
0306552ceLennart OchelDon't copy unit information from state to state derivative
9e00f4abbLennart OchelEnable test for ticket:3888
3912e00efjhagticket:3888 - add new example
f5b5cee03jhagfixed ticket:3888
617816f7aLennart OchelFix trailing whitespaces (#291)
30d6c0793Lennart OchelMake unitChecking the first pre-optimization module again
7fb0a2173adrpoadd extra Modelica_Synchronous tests
d25a5a17aWilli Braunadd tests for ida linear solver
fe2bb79d0Willi Braunadd more linear solver for ida integrator
a2b889d65Adeel Asgharticket:2250 Allow converting units from the plotting view.
070e01358Adeel AsgharHandle update of x-axis values. Store time unit.
4e3f6b286vwaurich- added synchronous test for cpp runtime
4189bbde5vwaurich- dont interrupt clock-event assignment in cpp runtime
201283f94vwaurich-expected output
243b35440vwaurich- extended debug dump for synchronous
6ed3a5436vrugeimplementation 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)
5e9854ebcWilli Braunbuild sundials with klu interface
1418a487dAdeel Asgharticket:2250 Added unit & description for time variable.
88cb5218bAdeel AsgharCreate space for folding in the line number area.
0be790c7bjhagupdated expected output
57cb40521jhagwrapFunctionCalls is disabled
4931a92a3Martin SjölundRemove tabs, pre-commit removes tabs
0b04a780dMartin SjölundMake pre-commit hook remove tabs as well
31e33d4d3adrpoupdate mingw makefiles so no cygwin like OMDEV path is needed
e960186feadrpoupdate mingw makefiles so no cygwin like OMDEV path is needed
dd1927fc6Adeel AsgharUse the same parent object instead of finding it every time.
6ceece72fAdeel AsgharBetter writing of elapsed time to keep the file size normal.
02615afc3Adeel AsgharWrite total time OMC API calls have taken.
63a287984Martin SjölundMove adding of tempVars into model info
ab8d9bafcMartin SjölundExpected output
71913acachkieladjust function call parameters of Expression.simplifyList()
72ef546a1hkielsimplified and optimized some functions in Expression.mo amd ExpressionSimplify.mo
0b6403ea4Adeel AsgharMerge pull request #5 from lochel/chemicalreactions
08d12cbd4Lennart OchelFix some typos in chemicalreactions.onb
bef411cb3Adeel 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.
d8a8af9cbAdeel AsgharMissing file from last commit.
260d882ecAdeel AsgharFixed test according to updated derived unit.
58a891528Adeel Asgharticket:2250 Added time derived units. Fixed a typo.
153a2985eAdeel AsgharRemoved references of _info.xml
ed7c85c1fjhagupdated expected output
688abe8c3jhagactivate wrapFunctionCalls by default
109fbac51Martin SjölundAlso fail when giving bad a lapack config
7c597ec8bWilli Braunadd daeMode support for ida and dassl solver
b9640d000Willi Braunadd code generation for DAE mode
75b496ebdWilli Brauninitial implementation of daeMode integration
e5178828aWilli Braunadd testcases for daeMode
eb5f8557dAdeel AsgharAdded reset button to figaro process path.
6a64b9d57Dietmar WinklerGet rid of deprecation warnings
825af5155adrpodo not copy the wrong lib over the correct one
b077bcb55Adeel AsgharMerge pull request #3 from lochel/translation-de
0b733017bLennart OchelFix German translation
af97876e9hudsonUpdating 3rdParty
4d6000161Niklas WorschechMerge branch 'mychanges' of https://github.com/niklwors/OMCompiler into mychanges
7ee20e661Niklas Worschechfix for initialize clock conditions in cpp runtime, #3872
e2726c6c7adrpospeedup prefix handling for outer ticket:3817
2acba86dfadrpofix for ticket:3817
982cf9421hkielfix for ticket:3863 avoid stack overflow
ee21b31f8adrpotest for ticket:3817
993db0829hudsonMerge remote-tracking branch 'origin/master' into pullrequest
963ed3cf8Niklas Worschechtemporary deactivated two cpp clock tests. Will be activated with next commit again
4f37b928fNiklas WorschechMerge branch 'master' into clocks
fde84cd58Niklas Worschechmerged submoduls
5dd8d5a44Martin SjölundOutput keys in sorted order
39abc94c3Martin SjölundAdd LEAF node for AVL trees
41411a73fMartin SjölundExpected output (now sorted)
bad8c829dBernhard ThieleFirst steps towards continuous-time state machines
c57105d47Worschech Niklas (DC/ENE22)fix for event clocks in cpp template
fd06aab7aLena Buffonikilled whitespaces
d2d99737aLena BuffoniFixed issue with hierarchical class list
8d790c311Lena BuffoniMerge branch 'master' of https://openmodelica.org/git-readonly/OMCompiler
cc2300403hkielremove warning on OSX
1dc4adc9cRüdiger FrankeFormatting and compile time static_cast in getAMatrixCode
15ff3002eRüdiger FrankeLet Newton solver exploit symbolic Jacobians
6221caea4Martin SjölundFix stack overflow in splitConnectEquationsExpandable
00d230677Adeel Asgharfix simulation flags format for sphinz.
c350b9bd2Adeel AsgharQt clients and python targets are moved to top level make file
9e106125bptaeuberExpected Output
15841df77ptaeuberRemove redundant debug dump
8bd6359d2Lennart OchelDump more information for state sets
e92eda0c8Lennart OchelFix initialization of dynamic state selection
981faaad0Lennart OchelFix initialization of dynamic state selection
c6e84de98Martin SjölundFix memory profiler
18210f47cjhagupdate LOG_DSS dump
c29d45426adrpocopy the libomopcua.dll into the bin folder
3bd7ac2fdMartin SjölundUse dumpExp instead of printExpStr in templates
8053bc5b6ptaeuberExpected Output
f07d8948bptaeuberFix order
4d8f6c528jensdoFix sleep duration for rt sync on windows
86399e474Martin SjölundReplace CREF with ComponentPrefix in ElementSource
077a6e61cLena Buffonirem whitespaces
459a36263Lena Buffonihierarchy fixed in FigaroExport
a93af6526Martin SjölundExpected output (no more info.xml)
30c4dbdfdLena Buffonirem whitespaces
ee87e1e52Lena Buffonihierarchy fixed in FigaroExport
b3b929984Martin SjölundFix for PowerSystems
ad78c4418adrpoattempt to fix ticket:3805
aab60103eMartin SjölundDo not keep --no-undefined during the whole config
90bfcfbd8Martin SjölundNo memory profiling on interface.mo-files
25cc4ea0bMartin SjölundMake special case for BackendVariable.getVarSingle
a4a6b3ad7Martin SjölundConstruct CREF after checking HT is not empty
e44c8ffe2Martin SjölundMake a special case for derived classes
3ef1dfaf0Martin SjölundExpected output
c932d4e71Martin SjölundLink lpsolve55 in compiler runtime
2e137d960vrugeBackendDAECreate: removed inline for alg
eb7652c7aadrpoextend BuildModelRecursive.mos to accept extraSimFlags
7733e05e0Niklas Worschechfix for dim zerofuncs
d523f1377Martin SjölundDo not compile sim files when bootstrapping
c76b40baeadrpofix ticket:3783 - add flag keepRedeclares to removeComponentModifiers and removeExtendsModifiers set to false by default
053c7fd7badrpoupdate tests due to MLS 3.2.2 bump
45c0cb2d6Martin SjölundAllow cross-compiling bootstrapping without ipopt
c138b2b2aNiklas WorschechMerge branch 'master' into clocks
43d1b0b95adrpofix for ticket:3783
131a47261adrpotest for ticket:3783
e04b3b70dniklworsMerge pull request #1 from vwaurich/synchronous
d5d018738Martin SjölundCache operator overloading
f198b827evrugeRemoveSimpleEquations: remove force inline
836ca3fa9Martin SjölundUse env.var OPENMODELICAHOME when bootstrapping
6a1618d0badrpoAdd test for ticket:3649
e74ce8c4fadrpoFix for ticket:3649 - split the connection set
452f8bea8Rüdiger FrankeUpdate msl32_cpp tests
463ca8e05Martin SjölundHandle fixAlgorithm traversal using referenceEq
f0613dd20Rüdiger FrankeUse default C++ ABI, assuming Boost is doing this as well
2f6120e6bAdeel Asgharticket:3852 Allow saving simulation settings without doing simulation.
fbedcab0bMartin SjölundUse referenceEq more for InstExtends/Absyn
ccb265a43Martin SjölundMake a more minimal FGraph structure
4dcb44d8aMartin SjölundSpecial cases for lookup/fq idents
a8650dcc4Adeel AsgharDon't make changeStdStreamBuffer silent command.
6f9e018b1Rüdiger FrankeSmall cleanup to Newton solver (std::copy)
0d4c57c99Rüdiger FrankeEnhance Newton solver with line search
65a2e8255vrugeExpected output
e6905275cvrugemove inline from BackendCreate to modul (normalInlineFunction) - issues with complex function - remove force inline don't work (e.g. for ThermoPower, Mdedia.TwoPhaseWate)
4fd107d41Martin SjölundExpected output
3b52462deMartin SjölundAvoid printExpStr in SimCode
7ea26e0e6hkielreduce memory usage
a6a90f461Adeel AsgharUse -gdb-set instead of set* commands. Fixed some warnings.
49db8e64aMartin SjölundExpected output
9c532799aMartin SjölundDo not use part of list except when debugging
22db45900Martin SjölundAvoid creating cref to lookup an ident
70dd92aaeMartin SjölundCreate symbolic Jacobian faster
d6544d1e8Martin SjölundMemory optimizations
2aca7e47aMartin SjölundReduce memory consumption
2ac963a7fadrpofix windows builds after runtime changes
0c33ef363Martin SjölundMemory-saving performance changes
6c69cf0c0Martin SjölundUpdate to latest common
726533484Martin SjölundFix compilation on OSX
9b56b3c36jensdoFix name of OPC UA aliases, pt 2
222a84763Martin SjölundMake Compiler/runtime shared to avoid C++ issues
db25f7e54Martin SjölundMake OMEdit use rpath-link to ease linking
2fe814f59Martin SjölundUse rpath-link to make linking easier
d9f7f91e2Martin SjölundAdd support to hot-swap function impl at run-time
5fd8e2394Lennart OchelFix generated code of algorithm when clauses
a2599ba26Martin SjölundFix for relocatable functions
766fa6aedMartin SjölundUse stat to check existance of file
668e38982Martin SjölundRelocatable function fix
4ed2f2bdaMartin SjölundRemove some unused external C code
cfcd347bdRüdiger FrankeRemove duplicate creation of crefToSimVarHT
bd7263ee9Rüdiger FrankeRemove mixedArrayVars from Cpp code and SimVars
dfe6fa6d2Adeel AsgharUse QProcess::processId() for Qt version 5. Only use QProcess::pid() for Qt version 4.
44087ac16Martin SjölundAdd CXXFLAGS to some libraries
b85a431c2Martin SjölundConfigure ANTLR with CXX
829e658c1Lennart OchelUse unique mapping for linearized variable names
48bdc062cjhagupdate the output of the numerical linearization
1ebb16447Lennart OchelUse unique mapping for linearized variable names
a99087251adrpofix OMEdit compilation on Linux
08b243e7bRüdiger FrankeIntroduce names for states and derivatives
8bf71c6dcMartin SjölundIncrease the maximum number of threads for codegen
05cfc469dRüdiger FrankeDelay construction of external objects
109e29977Adeel AsgharAdded killProcessTreeWindows function to kill the child processes properly.
89306dec2hkielfix coding style else then -> else remove unused variables
25f59e353Lennart OchelUpdate expected output
a98c32268vwaurich-fix synchronous for variable intervals in cpp-runtime -separate clocked equations
149c9c68aMartin SjölundLoad File.mo
50cddbb45Martin SjölundRemove some unused buffers
eadffd4e4Martin SjölundSupport for writing Susan text directly to file
50d4e83acMartin SjölundLoad File.mo as well
9076ed156Rüdiger FrankeMove ModelicaUtilities.h to main include directory
e7cbe783dRüdiger FrankeLink model specific extra libs with msvc as well
12f928e94Rüdiger FrankeDisable default clock for FMI export
8cf1a8faeRüdiger FrankeLink Modelica utils and extra libs to Cpp FMUs
58a87b7f2Martin SjölundAvoid buffers when generating constant literals
dd4ad7747Willi Braungeneralize convertResidualsIntoSolvedEquations
dcd125845Adeel AsgharUse correct path delimiter for Linux.
7068c8121Niklas Worschechfix for boost includes added 3rdparty/boost for msvc and gcc
08d59fb40Niklas Worschechfix for boost includes added 3rdparty/boost for msvc and gcc
3dc8b59a0hkielremove List.appendNoCopy() and replace calls to it by listAppend()
af50f2d4aAdeel AsgharUpdated the function name to more appropriate one.
bfd963847Adeel AsgharCall reDrawModelWidget after updating the xml document.
925566254Per ÖstlundFix for ticket:3842.
178d0c35cPer ÖstlundAdded test for PR 718.
f35a0e242Per ÖstlundClean up DAEUtil.splitElements.
89c4bb600Jan ŠilarPDEModelica in AbsynDump
82f543fdeMartin SjölundFix name of OPC UA aliases
b550ed1afMartin SjölundImplement support for relocatable functions
9939891b3Martin SjölundAlways traverse down non-literal array expressions
7251626eaMartin SjölundHandle literal array expressions better
661329bf9Martin SjölundTraverse record bindings when traversing functions
62b81fe06Rüdiger FrankeAdd DIM_EXP to code generation for reduction expression
4168774f2Alachew MengistFix spaces so that options can be listed down properly
7ce091856Martin SjölundWrite the rest of init.xml as file
903eab315Alachew MengistOptimized PNG files to reduce the size
a9c53de84Adeel Asgharticket:3841 Get a proper bounding rectangle for exporting image.
cc7a3c978Adeel AsgharUse pressure as quantity name
9c0d4845fMartin SjölundFaster stringAppend of 6 strings
47597700dAdeel AsgharAdded derived unit bar.
a1c9bae84Martin SjölundRevert to old InstCache (baf1866)
6517ed8e7Martin SjölundSerialize init.xml directly to file
efb215b31Adeel AsgharFallback to base unit if conversion fails. Show the error message if we are unable to convert to display unit.
47b45e56cAdeel AsgharMark the error strings for translation.
eb41be77bAdeel AsgharFixed the undo feature for alignInterface function.
b623cc22fPer ÖstlundImprove DAE.traverseDAE*
a17aa0ec9Martin SjölundOnly display RT warnings if RT is enabled
a35737a6chkielUse array instead of tuple to count variables
2399ea093hkielSmall optimisations to SimCodeUtil
82c3f1bbbRüdiger FrankeForce evaluation of structural solverMethod
de2ea494badrpodelete unused files
81787f3efadrpoANSI C needed for stupid compilers
26d5e8fc8Cory RuppMemory leak fixes for sparse solvers. See ticket:3548
1c8d556d1Willi Braunadd more tests for klu and linear sparse solver
588d564e4Rüdiger FrankeAlways link Cpp FMUs with static gcc libs
3344b5241Rüdiger FrankeKeep more call parameters to external objects
271abb1eeMartin SjölundTry to cache the keys of the InstCache
8dbf39e59Martin SjölundAvoid some memory allocations
edbea3027Adeel AsgharMerge pull request #24 from robbr48/my_omedit_branch
a42d9165dMartin SjölundTweak inst cache hashing
129e0d71eRobert BraunAdded undo function for alignInterface function.
a9e8be5dcAlachew MengistFix file not readable issues
baf1866fdMartin SjölundUse a new key for InstCache
17e7ea8d0Adeel AsgharReturn from fetch interface data thread.
cf8d91fbcAdeel AsgharRemove the associated graphical objects when we remove interfaces.
e008b58a7Per ÖstlundFix DAEUtil.addDaeFunction.
7007bf4b1Martin SjölundChange DAE.FunctionTree to the new AvlTree
78e299ce7Per ÖstlundUpdate test for PR 695.
66ec24b0bAdeel AsgharGraphically mark the interface as aligned or not aligned.
8d2f7ad48Adeel AsgharInvoke align interfaces via context menu.
f1cfd57c6Willi Braunadd first ida testcases
2b381915aWilli Braunadded runtime ida integrator solver
390188e28Martin SjölundUse referenceEq for more InstExtends traversals
0c3a76eb1Lennart OchelAdd new flag to set maximum number of bisection iterations
3a64133c5Martin SjölundFix some InstExtends referenceEq
717310b83Martin SjölundFix sphinx warnings
ec5320e0eMartin SjölundWrite common datatypes directly to file
1d08c394eRüdiger FrankeKeep multi-dimensional array parameters, ticket:3363
30d85487bRüdiger FrankeSmall fix
4832d7a40Rüdiger FrankeAdd default clock period to C runtime, ticket:3752
0182b277eRüdiger FrankeKeep arrays of free parameters, ticket 3363
1e8523c78Adeel AsgharMerge pull request #23 from robbr48/my_omedit_branch
c96d87a57Rüdiger FrankeExpected output
a204f67ddMartin SjölundBetter listMaxInt
d341b73bfRüdiger FrankeLess aggressive fix to ticket:3363
a10e5cd14Martin SjölundSpecial case for list intersection
3c59a78f9Rüdiger FrankePartly revert test update in a9f3edc
6698c0320Alachew Mengist-TLM based co-simulation users guide (#18)
2e5579a91Martin SjölundRevert disabling backend CevalFunction
e64e95fb2Martin SjölundRe-enable backendKeepEnv
0a1303a82Adeel AsgharReturn from function
a7a4dbee4Rüdiger FrankeSupport parametrization of external objects, fixing ticket:3363
3c02320e3Rüdiger FrankeCall destructors of external objects from Cpp runtime
a9f3edc27Rüdiger FrankeUpdate tests after fix to ticket:3363
1ba0f8ab1Martin SjölundSend initial env to backend
098036e9bMartin SjölundExpected output / disabling backend CevalFunction
4dbbfd4e5Rüdiger FrankeMore precise fix to ticket:3752
900bb2289Rüdiger FrankeAdd default clock period to fix ticket:3752
5d188489bMartin SjölundSet -d=nogen in the backend to avoid dynload
a41106b0cMartin SjölundExpected output from -d=-gen in the backend
85f4a3866Martin SjölundRefactoring EvaluateParameter
84c62fcccRüdiger FrankeEvaluate structural Clock arguments (fix ticket:3717)
6a704ad0aMartin SjölundLet execStat keep track of heap free/total size
312e5a451Martin SjölundAdd debug flag reportSerializedSize
86e3c048dhkielreduce memory usage
d8837658dWilli Braunrevert unwanted change to debug flag
12b9c58c7Martin SjölundChanges to ElementSource
25dbe82c6Per ÖstlundFix for ticket:3825.
9890dea06Martin SjölundExpected output / less type info by default
6e3121a41Rüdiger FrankeSkip min/max for derivatives (work around ticket:3832)
f11f59c20Willi Braunfixing ticket:3786
67be45a61Willi Braunchange expected output
7e220a214arun3688update student master thesis (#17)
7d416a0d2Adeel Asghardocumentation & formatting.
08c9f972fAdeel AsgharClean up. Removed Qt::WindowTitleHint flag because it disables the dialog close button in Qt5. Deleted unused resources.
6dbd8bc75Robert BraunMade missing interfaces removed by fetch function.
aef3c2c3dRobert BraunReverted previous commit.
8909e6f84Robert BraunReverted previous commit.
12997634bMartin SjölundRemove varkind from DAE.RECORD_CONSTRUCTOR
027b44e24ptaeuberAdd compiler flag to skip tearing for specified components
4e15aa80bAdeel AsgharUse currentText instead of ItemData.
276fe7613ptaeuberExpected Output
0d11bbe98ptaeuberIntroduce indexing of strong components
fc4de9ec8Martin SjölundTry to free data to collect front-end garbage
fd246e86fAdeel AsgharSet OMBUILDDIR properly.
c77151bc9Robert BraunMerge branch 'master' of https://openmodelica.org/git-readonly/OMEdit into my_omedit_branch
2d4e99c2aAdeel Asgharticket:3827 Adapt to updated jacobian flag.
f86be8dfdRobert BraunCorrected fuzzyEqual function for alignment.
b31953106Robert BraunMade sure old interfaces are removed before fetching new ones.
1f4723effniklworsMerge branch 'master' into clocks
3d9e04705Robert BraunChanged wrong attribute name XML element.
dec85325dMartin SjölundConsume less memory traversing expandDer
0a4dff1d7Robert BraunMerge branch 'master' of https://openmodelica.org/git-readonly/OMEdit into my_omedit_branch
ad9aa799aMartin SjölundGet a better default size for SimCode hashset
98c1ed01cPer ÖstlundImprove instantiation caching.
b1a1225dcRüdiger FrankeImprove stop test and logging of Newton solver
0b9b09941Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
fcbacb97aAdeel AsgharCheck if interfaces are aligned or not. Fixed fetch interface data.
bce1c10f5Robert BraunAdded default position and rotation in alignment function.
f90b5128dMartin SjölundFix typo extern extern
5e460b678Adeel AsgharMerge pull request #22 from robbr48/my_omedit_branch
b0f602615Martin SjölundFix problems with errorext bootstrapping linking
2c7da6d0cMartin SjölundFix bottleneck for create model info
2f0b65034Robert BraunFixed bug in fetch interface function.
c3cf1e923Martin SjölundImprove extractVarsFromList
f6051a17fvwaurich- caching of evaluated functions
8f6676e7cAdeel AsgharFixed dragging of external models.
058fd5a91Rüdiger FrankeAdd variable attributes to Newton solver
8f17d04ccMartin SjölundMake error messages consume less memory
17d76a045hkielFix compilation when not using SUNDIALS
9c5b9e708Rüdiger FrankeAdd new attributes to IAlgLoop
583180ae4Adeel Asgharcopy PDEModelicaBuiltin.mo to builddir_lib
000a65f4aRüdiger FrankeMake more variable attributes available in alg loops
2894deef3Martin SjölundDo not allocate memory to traverse prefix
96898a5deWilli Braungeneralize and move dasslJacobian flag
ab9b88d99Willi Braunajusted change
c84ef0656Adeel Asgharticket:3819 Fixed display of text.
c3b216c3fAdeel Asgharsome updates for Qt5.
e44d63b88Martin SjölundReplace HT with AvlSet in InstExtends
df3f1c944Willi Braunextends solver stats for all solver
dcfab7d83Adeel AsgharMerge pull request #21 from robbr48/master
e8fbdf632Rüdiger FrankeImprove stop and error tests of Newton solver
41d4cef69hkielavoid copying tuples recursion -> loop (BackendVariable.getVarLst)
7d8f15f2cptaeuberIntroduce runtime flags for using sparse solvers
fda31e08aptaeuberIntroduce flag to skip tearing for huge systems
325d842c0Rüdiger FrankeWhitespaces Newton solver
cf3ceac0aadrpomake sure we have attribute defined before we use it
f06d16645Robert BraunFixed wrong index in rotation vector function.
116983850adrpoupdate 3rdParty
fd0af6a15Martin SjölundAdd Avl sets in addition to trees
adc47eb0aMartin SjölundAdd AvlSet
be289f9d7adrpofix windows build
e3d969737Adeel Asgharavoid some more warnings.
b791c331dAdeel AsgharRemoved unused OMC parser.
3c287819cAdeel AsgharFixed the view grid lines. Fixed some warnings.
86230f2f4Adeel AsgharAvoid some warnings.
17bf815c4Rüdiger FrankeSmall cleanup
9027e889dhkielavoid intermediate lists instead use: List.fold(List.map()) -> List.applyAndFold() List.map(List.map()) -> List.mapMap() listReverse(List.mapFlat()) -> List.mapFlatReverse()
6a1e39bcdhkielrecursion -> loop
6c0fc0ddaptaeuberAdd missing comma to log-option
2e4164cbcPer ÖstlundUpdate tests for PR 648.
b500b8450Per ÖstlundMove conditional component info to environment.
d89da7c60Martin SjölundKeep track of more memory allocations
25e182c06alash325-Set default values for metaModel connection attributes
8287b0b0dMartin SjölundDo some cref compare without printing to string
2e200222dMartin SjölundExpected output
c15031068adrpoupdate 3rdParty in OMCompiler
70d6f0e22Martin SjölundUse OMC allocation in more places over GC
a2943a8aeMartin SjölundOptimize crefStr slightly
e841e30dcadrponeeded defines for Linux
817c91616adrpofix ifdefs in omc_config.h
5e18b0523adrpoadapt to msys2 mingw32/mingw64 - ticket:2578
8866309c3Adrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
12c0b5ac0Adrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
b02b7fb6eAdrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
c463e0ab3Adrian Popadapt to msys2 mingw32/mingw64 - ticket:2578
b7a25b3f4Martin SjölundUse OMC allocation functions instead of libgc
68465ab6aMartin SjölundFix compilation
536387b30Martin SjölundProfile memory allocations for strings
4f671af01Martin SjölundDo not use listReverse in append_reverse
b4f223efaMartin SjölundHandle listReverse of 1 element as a special case
18c51d6ecMartin SjölundMove functions into new package ElementSource
492b0ccbeMartin SjölundDo not allocate operations if the flag is unset
4aac19f73Martin SjölundExpected output
5f5544408Martin SjölundReduce the maximum codegen threads to 2
098911466Lennart Ochelupdate module wrapFunctionCalls
0aff3d1e5jhagwrapFunctionCalls: avoid simple equations
7100384feMartin SjölundWorkaround for bugs with hash tables
f49dbc4a8Martin SjölundFix referenceEq for traverseExpBottomUp reduction
cd37dee62Martin SjölundUse a single shared HashTable for Inline.mo
8bddad557vrugeclean up
a2edcfd4cvruge- move some variable-function to BackenVariable - function for further development
17340edfavrugeimproved simplifyComplexFunction
d7ed464b2Martin SjölundInline: do assertion before memory allocation
d42016bd8vrugeimproved isContinuousIntegration for expressionSolve
a0ee81bccRüdiger FrankeUse VarKind JAC_VAR for Jacobian SimVars
948feba7fRüdiger FrankeIntroduce VarKind SEED_VAR for SimVars
aea896ce3Martin SjölundUse implode_reverse in PrefixUtil
98214dcfeMartin SjölundUse referenceEq in more places in InstExtends
2ddae7133Martin SjölundEnable code generation in parallel
3ad7933b3vrugeimproved solveSimpleEquation
28678f068Martin SjölundUse constant lookup for more operators
34d31de30Martin SjölundUse constant lookup for more operators
e26c7b244Rüdiger FrankeDeactivate optimized matrix assign
718667496Rüdiger FrankeAdd seed variables to SIMVARS
3e08e7a79vrugeExpected output
cbe900299vrugeadded max_iter=100 for runExReduceDrumBoiler.mos
392b6e647vrugeExpressionSolve: added rule for solve if-expression inside continuous integration
49bc0cb34hkielpreserve some more tuples
22754cb9dMartin SjölundUse constant lookup for operatorsBinary, etc
18bb4e8a2Martin SjölundDo not generate function code for constants
45d32fb95Adeel AsgharProperly preserve the bom
141c87f0dPer ÖstlundCleanup ConnectUtil.
5ed2c5ed4Martin SjölundDetect cardinality being used
29c50811bMartin SjölundExpected output
c914d20d4Martin SjölundReduce memory used by state machines
d00a5127aMartin SjölundSome changes for C90
d069b6557Martin SjölundExpected output after changing connection order
bb3bd55bdAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
d8c46e379Adeel AsgharDo not use interface as variable. Already defined in basetyps.h in MinGW.
ddb7de212Adeel AsgharDo not interface as variable. Already defined in basetyps.h in MinGW.
26abcb978Adeel AsgharMerge pull request #19 from robbr48/master
82e78ebd5Martin SjölundReduce memory allocations for ConnectUtil
fbf65b8cfAdeel AsgharFixes #3807 and #3808. Added line ending and bom settings.
b31332c07Martin SjölundAdd new dependency
13e54206fMartin SjölundChange to prepend instead of append
29cba5b3eRobert BraunRemoved some debug output.
528c590c7Robert BraunReverted accidentally commited debug output.
7368537b2Robert BraunFurther improved alignment code for meta models.
e5d70b8c4Martin SjölundRemove redundant size Integer from HashTable
ed64d14f6Martin SjölundUpdated use of delete function
79764127eRobert BraunRe-wrote getRotationMatrix function in MetaModelEditor.
0148cc500Willi Braunexpected output
7eb2bd0d2Willi Braunimprove sortEqnsVars module
ae0b17482Robert BraunReplaced "to" with "->" in align interface dialog.
342c8d332Robert BraunImproved alignment feature for meta models.
1aec67d1dhkielpreserve more tuples
19712133aLennart OchelImprove description of module wrapFunctionCalls
27234f653adrpo- windows fix for ticket:3809
a78d6b339vrugeuse System.tmpTickIndex as counter
e6b7f7d3evrugeExpected output
e0b38d17ehkielremove tuple decompostion-recomposition
4da6f5b06ptaeuberSolve assigned variables in when-equation in the equation
55d9dc4b6ptaeuberUpdate events makefile
ae2268058hkielOptimize some operations on lists
971d7f1d9Martin SjölundDo not reset matching on no change
09afcd140Martin SjölundFix stack overflow in traversal
29cc490f3hkielreplace List.flatten(listReverse(l)) by List.flattenReverse(l)
2eb7120c0Lennart OchelAdd libomopcua.dll to .gitignore file
186a5298fLennart OchelDo not reset matching on no change
e57ec5c74hkielFix SimulationRuntime/c for OSX
8d51784eeRüdiger FrankeRevert "Access iterators locally in alg loops as well"
3b38cab64Martin SjölundFix for unassigned variable in function
c864d3fb9Rüdiger FrankeExtend functionPointerTest
536d88e04Rüdiger FrankeCreate closure for functions without args
a37f8baceRüdiger FrankeAccess iterators locally in alg loops as well
bbbc6bc03Martin SjölundFix code for Sphinx 1.4
c794db8a4Martin SjölundUpdate for latest Sphinx (1.4)
630a9d05dptaeuberPrototype for total tearing
8cc8b1e03ptaeuberAdd tests for total tearing
7d676ef9fLennart OchelImprove documentation of some flags
be7814713crupp2Added numeric tests for all test cases
202229ec7crupp2Test case for numerical linearization
789f9965ccrupp2implement numerical linearization
9b9a15960Adeel AsgharRemove the unnecessary assert.
858eed0fdAdeel AsgharMerge pull request #17 from robbr48/master
f806cd87aAdeel AsgharGraphical representation for interface points. Fixed several issues with connection attributes dialog.
2ecd6baa8Robert BraunImproved align interfaces dialog for meta models.
f1c557c84Per ÖstlundDecrease default instantiation cache size.
cedd89a12Martin SjölundChange order of listAppend
1e32d47b6Per ÖstlundDisable removing of duplicate equations.
de87d6117Per ÖstlundUpdate tests for #599.
16226ebe6Per ÖstlundAdd new instCacheSize flag.
3dc2a248fvrugeslight improvement (ticket:3801)
992c9244fMartin SjölundRemove unused code
5ad8e78a7Rüdiger FrankeAttempt to fix msvc build after 9a0cbdb
5e8c11b19adrpo- fix ticket:3801
76e6efa9eadrpo- revert previous commit
c81d1df46adrpo- attempt to fix ticket:3801
6eefa07bdMartin SjölundRecord sorting/state selection in execstat
9feeed444Rüdiger FrankeTweak F77 call args
9a0cbdb5cRüdiger FrankeImplement identity function
3702bb9bdMartin SjölundDo not use Option in FGraph.openScope
7f405eff6Martin SjölundDo not allocate same Absyn.CREF when traversing
9a6f2aa2bvrugedon't inline inside solveSimpleEquation (performance issues after inline)
50ebc1fe6Martin SjölundFix scalability of matching
f98a3b2a6Martin SjölundDo not allocate tables for DSS using uode
e07680e1dMartin SjölundDo not compile dlopen for FMUs
b6f2d8ba1Martin SjölundChange set representation for BackendVarTransform
32dfc3108Rüdiger FrankeExtend ArraySlice test
cbd4fc8f7Rüdiger FrankeAnother fix for ArraySlice with dim = 1 vs. whole dim
bb4bdc297Rüdiger FrankeRevert "Fix ArraySlice for dim reduction if size(dim) is 1"
86ce9fb10vrugeExpected output
07f662d2bvrugesort EqnsAndVars for sparse solver. After https://github.com/OpenModelica/OMCompiler/pull/584 lis-test will failed without sort.
630d4b677vrugesimplify ASUB for binarays
89a5ee4e3Martin SjölundAppend in the fast order
19a90883cMartin SjölundLoad DoubleEndedList
9fef384bcMartin SjölundImprove performance of traversals
acf466e4cMartin SjölundImprove performance of traversals
668df2e03Rüdiger FrankeExtend ArraySlice test
fdacf597aRüdiger FrankeSupport external function that returns a string array
c74ac6c47Rüdiger FrankeFix ModelicaAllocateString to consider null terminator
d4f46815aRüdiger FrankeFix ArraySlice for dim reduction if size(dim) is 1
84a39dc5aRüdiger FrankeLet ModelicaFormatError format the message
86d4eee6eRüdiger FrankeFix compilation errors for ModelicaTest.Utilities
fe83e7addRüdiger FrankeAdd first test for ArraySlice
1fe4ff25cRüdiger FrankeSupport ArraySlice with negative step
872a3a5e1Adeel AsgharFixes #3797. Show class name as tab title instead of class path. The class path is shown in the header of the window.
d0a3c75e4Adeel AsgharIndentation
373069e91Adeel AsgharAdded button for calling MetaModelEditor::alignInterfaces function. Added AlignInterfacesDialog class. SVG icons for simulation parameters and align interfaces.
37fcc39adRüdiger FrankeSpecify StopTime = 0 for some tests
e9bb3a161Rüdiger FrankeSkip actual simulation if no time span specified
5aae6d2ddRüdiger FrankeClean up duplicate and unused templates
7514136b1Rüdiger FrankeImprove indentation of Cpp array code
bfe5eb20bRüdiger FrankeDirectly call Slice constructor for slice expressions
0af318b75Rüdiger FrankeAttempt to fix the reverted ArraySlice issue
ce2f88168Rüdiger FrankeRevert "fixed bug which lead to wrong cat_array behaviour for ArraySlice"
17bd66e98vrugeRevert "Expected output"
5f32cac6fvrugeRevert "solveSimplEquation change order"
c9dc40fedvrugeExpected output
a53faabc9vrugereduce implicit inlining
29b239edfvrugeExpected output
6387b4356vrugeFix for #3791 don't force inline function with annotation(Inline=false), trust modeler
b84340bb2Rüdiger FrankeImplement vector conversion for dynamic arrays
9f902c3f6vrugeadded rule for derive DAE.RECORD
41a0601eevrugerecursion -> loop
b4d4a97a5vrugeadded rule for derive SCONST
8d5d64f21Adeel AsgharFixes #3793 Call loadString with the new text of the class before creating the LibraryTreeItem.
7b8142a69Rüdiger FrankeFix for #3782
a18a01644Rüdiger FrankeAdd test for #3794
9d2b906f3Rüdiger FrankeKeep top level input / output of connector arrays (#3794)
cbd8a4222Lennart OchelUnbox modelica_string
65736d134Martin SjölundPerform list filtering in the fast order
9cffa0503Martin SjölundFix stack overflow
e0629d983Adeel AsgharFixes #3796. Added help buttons for compiler & simulation flags.
44a9f5944Martin SjölundReduce hashtable bucket size
4c591e7f4Martin SjölundSpend less memory trying to build a queue
1e4a45875Martin SjölundMove creating of list
a7cea92a2Willi Braunfix function description
ffd22493dLennart OchelMaximum number of event iterations
365c3ff55Lennart OchelUpdate expected output
9b7aa44deMartin SjölundAdd functionality to record all mmc_alloc_words
ffcb0f705Martin SjölundDo not compile embedded server for source FMU
58e0b643bAdeel AsgharFixes #3787. Add OMEdit version in Linux. Put the About OMEdit text in scroll area to avoid overlapping labels.
f839bcffaAdeel AsgharTests for getDerivedUnits
b472093c8Adeel AsgharMore derived units. We need more derived units to fill convert unit drop down.
4388d1f9bAdeel AsgharDivide with scale factor instead of multiplying.
d61017938Martin SjölundAdd test for #3763
7bdf7375dLennart OchelAdd markdown flavour to README file
95e3a3bedMartin SjölundAvoid some memory allocations in tearing
655c8b399Martin SjölundExpected output
b4c41d710Rüdiger FrankeMove creation of boost symlinks to CMakeLists.txt
fc98a162bAdeel AsgharFix build.
ae8e74158Adeel AsgharReasonable size for default component text.
5a75cb511Adeel AsgharFixes #2250. Added support for DisplayUnit and unit conversion for parameter input. The plot data is now based on the display unit.
b657a9f2eAdeel AsgharStore display unit.
f6f9906efMartin SjölundAdd a removeVerySimpleEquations pre-opt module
8fc40e641Lennart OchelRemove redundant function dumpTypeStr
fbd279761Lennart OchelFix a typo
72574824cLennart OchelSimplify generated code of algorithm when clauses
f2e9b23a6Martin SjölundSource FMUs do not need embedded servers
0f08ea6e4Lennart OchelSimplify implementations of math functions
a56dd5571Lennart OchelFix indentation
3f8822a5dMartin SjölundFix scalability for Tearing.selectCausalVars
2f31423a9Martin SjölundAvoid memory allocation in traversals
02cbe35adWilli Braundump error messages only with failtrace for traverseBackendDAEExpsEqnsWithUpdate
80ab59a65Willi Braunfix debug dump of time
15e8be768Lennart OchelDon't replace operator mod in findZeroCrossings
0636301dbAdeel AsgharMerge pull request #15 from robbr48/master
1fbe837d1Martin SjölundFix stack overflow in SCodeDump
5e63e23c4Martin SjölundMoved execStat to its own Util package
22b78a94cRobert BraunAdded an alignment function for meta models.
01f0b65afadrpo- add open62541* to ignore list
bceaafe5cadrpo- fix the opc_ua build on msvc
6b6f863c7adrpo- fix the opc_ua build on mingw
a2fcd1e4dadrpo- fix opc_ua on GCC
0424117ebMartin SjölundExperimental support for OPC UA embedded server
2d44ae9bcMartin SjölundPartially restore the old OPC branch
7a512b5f6Rüdiger FrankeAutomate symlinks to boost includes (#3760)
b99bfbd17vrugetry to fixe compilier warning
05d473af3Adeel AsgharAdded API getDerivedUnits
f4265f817ptaeuberExpected Output
b98debe16ptaeuberOnly dump info for casual set if DT is activated
c3889ed06Willi Brauntry to improve solveLinearSystem
bceba9dd8Willi Braunexpected output
51b50a21aAdeel AsgharMerge pull request #14 from rfranke/glob
029e82ef5niklworsMerge branch 'master' into clocks
de2cd141fMartin SjölundAdd script to analyze library logs using execstat
5791e855eMartin SjölundUse execstat for all tested libraries
2a6385e7cRüdiger FrankeUse glob pattern to find cross compilers
0502333d7Rüdiger FrankeInstall cross compiled libs in target path
92a48a53dRüdiger FrankeLink target dependent version of OMCppDgesv lib
91ea31c87Adeel AsgharAdded ExternalObject in isBuiltinType check.
4bcfe5edaAdeel AsgharMake static as default linkage instead of dynamic.
c2f86a4e6Adeel AsgharMerge pull request #13 from rfranke/triplet
58e563b21Adeel AsgharAdapt to new output format of getExtendsModifierValue & getDerivedClassModifierValue.
5654b30acRüdiger FrankeCover clang as well
d9929f368Ruediger Frankestrip compiler from platform name
c3dcba652Per ÖstlundFix for #3773.
f996e2699Adeel AsgharUpdated the dynamic & static radio buttons to a drop down.
50f75829aPer ÖstlundUpdate tests.
7ef55637dAdeel AsgharFixes #3784. Only read start value when showStartAttribute is set.
f71b9780dvrugesolveSimplEquation change order
622fa17bevrugeExpected output
230aa3eb9Per ÖstlundCode cleanup.
cd9245366Adeel AsgharFixes #3775. Support multi-platform FMUs.
b5698132dvwaurich- fix FMU valueReferences for non-consecutive array-variables
8ee7b3f5dPer ÖstlundUpdate tests for #3773 fix.
84e82edd3Per ÖstlundFix for bug3773.
5d60737a5vwaurich- fix static gcc lib linking issue for g++ 4.4
dd0c8bd4dvrugeimproved ExpressionSolve
34e4a4c0dLennart OchelClean up some runtime calls
d2f3af8ceAdeel AsgharFixes #3784. Allow dots and underscores in component modifiers.
708659720ptaeuberNew data type for inner equations of tearing set
6bd48ef39adrpo- properly comment out the print as \n expands on two lines
ad1689a92vrugeimproved solveSimpleEquations
01b9dd9b6Lennart OchelRemove prototypes of not existing functions
94f82573bvwaurich- remove maxDer info from SimCode.Modelinfo
1eacb93feptaeuberExpected Output
0c0fc1a6cMartin SjölundDo not print the variable filter
e022be4d4vrugeadded cases for getNumJacEntries
473cb9ca3vrugeactived solveSimpleEquations for simulation
7f3301c3avrugeExpected output
c6caa77a8Rüdiger FrankeClean up expTypeArray templates
0c3dbc0d7Rüdiger FrankeAdd support for arrays of arrays
35181b8ffMartin SjölundExpected output
6b8ad0f99Martin SjölundFix scaling of getHighestDerivation
b9f7f012fMartin SjölundTranslate to iterative Tpl.mo
67f1d6b76Martin SjölundImprove tail recursion
5fc71003dMartin SjölundPrevent stack overflow in graph colouring
f5d2be9b3Martin SjölundImprove scaling of collapseIndependentBlocks
88cdf8efeRüdiger FrankeGenerate static OMCFactory for all targets
0a629c718Martin SjölundKeep all release notes in one place
0d191498eMartin SjölundGenerate documentation for all releases
2c2f53c0ahkieluse append_reverse
8793d2307Rüdiger FrankeUse OMCFactory dll with msvc
dc190dc6aRüdiger FrankeExport OMCFactory for dll linkage (#3760)
65c36697cRüdiger FrankeRevert "Revert "Remove static link dependencies of dynamic runtime""
5c0486058adrpo- fix libraries in ModelicaLibraryConfig_msvc.inc.in
c34119919adrpo- fix order of libraries in CMakeLists.txt - fix libraries in ModelicaLibraryConfig_msvc.inc.in
c27405c8cadrpo- fix cpp runtime build on msvc
95e9b4641Rüdiger FrankeImplement cross compilation for Cpp FMUs (#3760)
b94386515Adeel AsgharUse the same name as parent for the extended component.
bd77ae1c3Adeel AsgharAdd QSpacerItem when there is no unit.
4bb6e51b8Adeel AsgharDo not throw the error message to stderr.
17dabfb37Adeel AsgharPartial unit conversion support. The work is not done yet so for now unit combo box is disabled.
555843c8aRüdiger FrankeLink FMUs with static gcc libs under Windows
869581584Adeel AsgharAdded a call which will fail.
73f0312fcvwaurich- fix valueReferences for FMU export cpp runtime
17b662bcfAdeel AsgharFixed convertUnits interface. Added a fail case for convertUnits.
da98e25ddhkielrecursion -> loop
25bbd967aalash325-Change naming conventions and setDisabled(true) for name and model file
d1a01aaaaalash325-Disable submodel names for metamodel connection dialog
0fd4258bfRüdiger FrankeCreate precompiled header for dynamic build only (#3760)
c200a484fRüdiger FrankeFirst windows fix for previous commit
d48d574b0Rüdiger FrankeConfigure cross compilation of Cpp runtime (#3760)
cac732a7fAdeel AsgharSimulation Parameter Sweep example.
e741ddf6bMartin SjölundCreate a new bootstrapping tarball
c0502a573Adeel AsgharUpdated OpenModelica Scripting Commands.
ecb8eb58dAdeel AsgharUpdate the xml document when user manually edit text. save & simulate is not needed.
608ffbb49Martin SjölundAdd support for input output variables
a3b1abdc2alash325-Push the change on the stack iff the user has changed the simulation parameters
fedeb7c54Rüdiger FrankeFix type name for subtype of basic
f162d5108hkielrecursion -> loop
3fc9ebdb1hkielRemove dumping of graph in production code
45f577960alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
ae32d089aalash325- Allow to graphically update the simulation parameters for metamodel - Support for undo and redo for metamodel simulation parameters
87f2ac125vrugeExpected Output
30f3e8b1cRüdiger FrankeAvoid overwrite error on mv (#3670)
a801b41e5Rüdiger FrankeRevert "Remove static link dependencies of dynamic runtime"
0e205e221Niklas Worschechreverted 1a7228c340febb755d92899b8e75aff032f43ebb
df9f30256vrugesemiLinear as inline function: see https://trac.openmodelica.org/OpenModelica/ticket/3765#comment:7
87f4bb3e1vrugeDIVISION_SIM map again inline function - see https://trac.openmodelica.org/OpenModelica/ticket/3765#comment:7
fced1932aMartin SjölundCheck for failed model structure
c285c832aAdeel AsgharCross reference editing MSL.
10fe64951hkielrecursion -> loop
0fe22a278hkielarray optimizsations new function Array.createIntRange()
4b8bae15cAdeel AsgharHints for loading editable MSL.
b08a82304Martin SjölundHandle Python2+3, add natsort to dependencies
cbbdff1f5Martin SjölundPull release notes from trac instead of manual mirroring
80dcee464Rüdiger FrankeAttempt to fix Windows build (#3760)
1a7228c34Niklas Worschechfix for initialization of the clock variables
b0a5479d8Rüdiger FrankeRemove static link dependencies of dynamic runtime
05ca4d21eRüdiger FrankeSmall fix to previous commit
fea7a0a35Rüdiger FrankeBrake up dynamic and static build of Cpp runtime (#3760)
91127f132Per ÖstlundFix listAppend usage to get rid of some warnings.
6cc344eaeAdeel AsgharAvoid making too many changeDirectory calls.
a5957dc51Per ÖstlundFix push_list_back on empty DoubleEndedList.
6ca8c1c0cAdeel AsgharFixes #3766. Added more sanity checks. Move whole connection when both start and end components are selected.
eeff847b6Niklas Worschechchanged clock handling with state events
1ec631302Adeel AsgharFixes #2220, #2347 & #2416. Disable/enable the auto save timer based on focusInEvent/focusOutEvent of editor.
19e827021Adeel AsgharFixes #3027. Allow exporting plotted variables to CSV file.
67f87dc83vrugeadded case for 3765
d0f6b479cvrugefixed semiLinear - see #3765
c6a2ce1f1Adeel AsgharRenamed TLMCoSimulationExperimentSettingDialog to MetaModelSimulationParamsDialog. Moved the update simulation params context menu to ModelWidget.
6c723ab0bRüdiger FrankeFix generation of Cpp start value accessors
aca17d25eAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
2805502aaAdeel AsgharFixes #3032. Adjust position based on the coordinate system of the component.
46515af0aunknownchanged results output at start time if events occured
4c4b39f73Rüdiger FrankeAdd test for #3763
0bcc79ae3hkielImplement and use List.listArrayReverse() as a short cut for listArray(listReverse(lst))
6d761ce5eMartin SjölundFix appending variables in correct order
2b6054f54hkielload List.mo expected output
6da40e1adalash325-A preliminary dialog to modify CoSimulation settings
b629d9d40Rüdiger FrankeRemove unused include directories
93f2bfc8aRüdiger FrankeAvoid compiler flag for standard /usr/include
12879a046Rüdiger FrankeFix capitalization of windows include
1aa261249Rüdiger FrankeExploit CMAKE_POSITION_INDEPENDENT_CODE in Cpp runtime
1be79369cvrugeDynamic Optimization: improved naming
a668b8a95vrugeExpected Output
cf3a4160dLennart OchelRemove useless line of code
624779821Adeel AsgharFixes #2274 & #2845. Update Libraries browser when user modifies the text.
2c2c5e934Adeel AsgharDynamically create the list of simulation logging flags.
4385f6edbAdeel AsgharFixes #3753. use correct simulation logging flag option.
757fe5fc3Niklas Worschechfix for save pre variables
1296d76cdAdeel AsgharRemoved save and save as context menu items from metamodel.
facc2565fptaeuberDynamic Tearing Full Prototype
dc69a1433alash325- Add Save and Save as context menu to the metamodel
556307db0ptaeuberExpected Output
b929db620Adeel AsgharFixed the crash while saving metamodels.
bf26a2275Lennart Ochelchange differentiation rule for the homotopy operator
4a5facf6dalash325-Save as for meta-model to make a copy of the file in a different folder or make a copy with a different name
6b7b84857Rüdiger FrankeInclude std::thread only if configured (#3760)
7864f66efalash325- Save as for meta models
4b6af895dAdeel AsgharWe can load multiple meta models at once.
36a52a84dAdeel AsgharBetter naming convention for metamodels and TLM.
04f142bfcAdeel AsgharAdd default annotation for Connections without annotations.
272310418hudsonMerge remote-tracking branch 'origin/master' into pullrequest
a7681ee0fNiklas Worschechexpected output
f2cb75d41Adeel Asgharformatting & indentation.
960ad2f27Adeel Asghartag v1.9.5-dev
af457aa9fMartin SjölundHandle lost information for MetaModelica record
6d86372efNiklas Worschechfix for save call in cpp template
ffd8b12c2Rüdiger FrankeAdd test for #3758
a4a5d3314Martin SjölundRe-enable FinalTests.mos
83309e54bRüdiger FrankeUse const qualifier in declarations of external functions
a4ad037f4Rüdiger FrankeFix passing of Cpp array inputs to external functions (#3758)
d88a3ea5cadrpo- switch version to 1.9.5-dev
8d7b6f839Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
de6aef561Niklas Worschechfix for parallel cpp runtime windows tests
584736214Lennart OchelUpdate example cseTestCall1
b8d40edfeLennart OchelUpdate example cseTestCall3
e8c9162f6Adeel AsgharFixed loadPreviousViewType function.
5ccf9cba5adrpofix 1.9.4 version and date
a1f3866e5Adeel AsgharStore connections without annotations.
276c639f8jhagUpdate wrapFunctionCall tests
ade17f417Adeel AsgharHandle delete undo of submodels.
7f5d6fb44Adeel AsgharUpdated the list of contributors 2015.
d5769e298Adeel AsgharStore the update SubModelAttributes to undo stack.
6f118e9d7Martin SjölundAdd Adrian's generic AvlTree to the backend
8f0669447Martin SjölundImplement cevalBuiltinSum
b11455126Martin SjölundAllow if instead of guard in the grammar
0e2f188d5Martin SjölundHandle bootstrapping DoubleEndedList.mo
30945393fMartin SjölundAdd a double-ended list implementation
7e8eeef24Martin SjölundAdd support for type variables in uniontypes
f523ebc34Martin SjölundExpected output
54c7cf6feAdeel AsgharFixed updateSubModelParameters.
afa6bc71dAdeel AsgharStore attributes of submodel inside ComponentInfo of Component.
6fb638a6fAdeel AsgharFixed loading metamodels.
22263b6cbhkieluse list comprehensions inline small helper functions
db37146e7Rüdiger FrankeFix context of function Cpp calls (#3742)
19160685bvrugeBackendDAEUtil.tryToSolveOrDerive: guard vs. zero --> zero no dependence --> UNSOLVABLE
80b17a190hkielClean up some code avoid warning about incorrect use of listAppend recursion -> loop listReverseInPlace where possible
cd42b44a5Martin SjölundUpdated expected results for uniontype typevars
d763c7707Adeel Asgharfilter out non-modelica items by checking flag showOnlyModelica.
609a89d38Adeel AsgharFixed loading of metamodels.
0cdcd6a6cbernhard ThieleSM workaround removed for Cpp runtime
3e54f2ac7Rüdiger FrankeImprove error messages of SynchronousFeatures
494857e2aRüdiger FrankeRemove duplicate traversal for clocked states
e2f045ad8Rüdiger FrankeFix VarKind of previous after commit 69f1837
1845ffa32Rüdiger FrankeProper treatment of clocked states (#3741)
69109754dRüdiger FrankeRevert "Attempt to fix #3741"
c8f269f64Rüdiger FrankeExpected output for fix #3741
8236a0d33hkieldo not use listAppend to prepend one element
12ddb6a9aRüdiger FrankeAttempt to fix #3741
f31e10e45Martin SjölundMM: Multiple algorithm sections without warning
0e016dc23bernhard ThieleFix array elements #3651
99fe3bde4Rüdiger FrankeKeep order of clocked partitions for regression tests
2cb99bfaeRüdiger FrankeExtend and update synchronous tests
4d11cc6c5Rüdiger FrankeInitial implementation of clocked continuous equations
89ded3c0ahkielremove superfluos check for failure it already failed in the first case
b8f53b08dhkielfix two compiler warnings in parser
6739ebe81Rüdiger Franketest an integer clock with sample time < 1s
b388aff69adrpo- cast to double so that 1/10 doesn't become zero
a391fa93aMartin SjölundUse isPresent() to disable some allocations
c09a16c13Adeel AsgharFixes #3746. Added GUI interface to manage uses annotation.
dd679111eAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
3a8a1e775Adeel AsgharFixes #3746. Add uses annotation for the package.
bcd948c9eMartin SjölundAdd basic memory profiling to execstat
e89ea248fMartin SjölundAdd tests for isPresent()
cfa27e9dfMartin SjölundAdd implementation of isPresent()
150bb05f2Adeel AsgharMore output from getClassInformation.
86e35faeaAdeel AsgharUpdated tests for getClassInformation
8abe1ff40hkieltry to reduce memory usage - use listReverseInPlace where possible - remove some recursions and matchcontinue
2eb86cde9Martin SjölundUpdated the Japanese translation
cc074b4b1Rüdiger FrankeImprove error message if resolveClock fails
cd90f74d3Adeel AsgharFixes #3744. Avoid adding NaN to extent.
f8a8026c3Martin SjölundFix zlib for OSX nighly
224e2c4cbMartin SjölundWorkaround for Java8
32655e344Martin SjölundLinux instructions
b308dafc7adrpo- fix front-end parts of #3503
0eaf54c1badrpoattempt to fix Linux build
06d03b4abadrpoupdate 3rdParty to fix windows build
0d2d54de0Adeel AsgharMerge pull request #16 from dietmarw/patch-1
7b7e082ceDietmar WinklerFixing one white space
cb0bf922dDietmar WinklerImprove the documentation on infoHeader annotation
bf13bed92Adeel AsgharPrint plot command interface instead of maintaining options.
19af68be8Adeel AsgharUpdated plot command options.
5f9027bc8Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
b56d468c6Adeel AsgharIndentation.
fa8b0d281Martin SjölundMetaModelica has more bits available
de9392fabAdeel AsgharDebugging.mo is in the test models now.
9e5ee311bAdeel AsgharRemoved Debugging.mo as is now part of OMCompiler/Examples.
64554e12fAdeel AsgharAdded Debugging.mo to examples.
1afd8509aAdeel AsgharFixed getComponentModifierNames call.
6bd7fa79cAdeel AsgharDocumentation about __OpenModelica_infoHeader.
ef88044c4hkielput cascaded listAppend in optimal order
f0f455beahkieloptimize some list operations matchcontinue -> match
3a40ea362Martin SjölundUpdate external C-sources for MSL 3.2.2
6830f82dcAdeel AsgharFixes #3723. Only return true if absolute file path exists.
1d8aec65fWilli Braunfix functionTree propogation for system homotopy0
b61d80438Willi Braunexpected output for fix #3738
dc5bdff68Willi Braunbetter fix for #3738
540ad848fRüdiger FrankeFix FMI 2.0 dependenciesKind
90c58b388Rüdiger FrankeFix FMI 2.0 dependencies
d9a9c881aRüdiger FrankeAdapt to fixed FMI 2.0 dependenciesKind
5a4fa9e49Rüdiger Frankeadapt to fixed FMI 2.0 dependencies
6e9b4f9faWilli Brauntry to fix #3738
77ddf9ef0Martin SjölundFix some ordering of listAppend in SimCodeUtil
840e9cc22Martin SjölundFix expected output
b1364f4feAdeel AsgharFixes #3737. Update ComponentInfo when makeClassNameRelative is used.
fc73d033bMartin SjölundChange order of some listAppend calls
7e7852d9cMartin SjölundRemove FMI1 log-message
7f65a75baWilli Braunremove unnecessery variables merge
f19d3870dWilli Braunremove unnecessary array list transformation
38f41651fAdeel AsgharInclude OpenModelica in version string.
458b0ec8dAdeel AsgharAdd OMEdit to version.
00e96acedMartin SjölundChange order of listAppend in BackendDAEUtil
66b357241Martin SjölundExpected output after MSL 3.2.1 update
5161a931cMartin SjölundNotify the user about listAppend in wrong order
0a0d48085Martin SjölundImplement Dangerous.listSetRest
23bb6ec07Rüdiger FrankeFix 3a7d119 for arbitrary tree traversal order
e4f94d662Martin SjölundAdd support for MA Impure annotation
8d2d2ec52Adeel AsgharUse the correct object.
769e528bbRüdiger Frankeobtain grand parent from previously stored parent
3a7d119beRüdiger Frankeimplement backward propagation of clock conversions
a06417423bernhard ThieleFixed reference files #3730
62c0c8681Adeel AsgharFixes #3558. Fixed the text orientation for flipping & rotation. Added shortcuts for flipping.
dbf171042Martin SjölundUse a FIFO instead of slow listAppend
811419692Per ÖstlundFix segfault in InstSection.unroll.
3f4477c82Martin SjölundFix code generation for add-array-scalar
d65644efcMartin SjölundOptimize max({arr})->max(arr) instead of arr
678bb3b93Adeel AsgharAdd OMEdit git hash in omeditcommunication.log file.
26ec49ed0Martin SjölundHandle expandExpression for unary
a1a01c3e6Martin SjölundInitialize variable to zero
d18942554Adeel AsgharUpdate README.md
5b8d06046Adeel AsgharMore README.md updates.
0368771f6Adeel AsgharUpdated README.md
712ee8ff8Adeel AsgharChinese nls by Wenhui Li. Removed tsrelease.bat since its done as part of makefile. Added the README.md.
77fc81550Adeel AsgharFixes #3731. Don't create empty Icon & Diagram annotations when creating a class.
46bef23a4Adeel AsgharIgnore version.h file.
0bb9e15c6Martin SjölundImplement vector() code generation
56b075f43Adeel AsgharAdded OMEdit git hash to about dialog.
c64c048ddMartin SjölundOSX fix for new MSL tables
22a157966Adeel AsgharFixes #1900. Added support for expandable connectors.
5cd19d946Martin SjölundAllow modifications for addClassAnnotation API
5e8f396b9Martin SjölundUnparse {a for a in as} correctly
6a5118991Martin SjölundExpected output after fixing reduction unparsing
cd48e7db8Rüdiger FrankeSupport multiple integer base clocks
cf999be71Willi Braunimprove extractVarFromVar
f140ab410Willi Braunimprove BackendVariable.mo further
d6b5549e1Willi Braunadded isVarAlg function
5458fb549Martin SjölundHandle poorly unparsed strings
5fd29e600Martin SjölundHandle StandardTables depends by dynamic linking
32cb4c174Rüdiger Frankeimplement event clock in Cpp runtime
af1d80f93Rüdiger Frankeadd test for event clock
5d5c631bavrugeadded debuge dump for loops
ca1480a06hkielremove some matchcontinue
f5881f25evrugerecursion -> loop -small optimization
da2393550Martin SjölundFix for new MSL patch
3a8f02ad7vrugefixed compiler warning
2d6fcff9avrugeremove matchcontinue for some functions
35e5ffaf4vrugeaddEquation: remove matchcontinue
bf2f7a71eMartin SjölundAdd `-d=noevalfunc` for slow test in PR #462
e5a26e43fhkielrescursion -> loop
a3605edd5Martin SjölundAdd ModelicaMatIO for MSL 3.2.1
9adc7f5d9Adeel AsgharFix builds.
e4cafbc9cMartin SjölundNew ModelicaExternalC
608efb71dAdeel AsgharFixes #3728. Convert the modelica:// used in link tag.
33e9c6a03Martin SjölundAdd testcase for tables diff
bd3e67c9fMartin SjölundFix a bug that lost tokens in the diff algorithm
01159f93dAdeel AsgharAdded context-menu to documentation view.
c69800476Adeel AsgharUse omc pretty-printing when diffModelicaFileListings() fails.
1db86bdbeAdeel AsgharUpdate class text when duplicating another class in it.
f2a1299a1Per ÖstlundUpdate copyClass test.
8e32ac5ecPer ÖstlundFix for #3722.
d6904afc1Adeel 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.
01fdb3eb6Martin SjölundReject invalid polymorphic function call
6dd504563Martin SjölundAdd testcase for OM ticket #2974
457cabf7dMartin SjölundConstant variable names as constant patterns
bd38afd29Martin SjölundAdd test for OM ticket #3005
8b8930dabMartin SjölundPartially evaluated functions depend on modules
064eb9e3fJan ŠilarPDEModelica bugfix
1a69278e2Jan ŠilarPDEModelica boundary extrapolation
bd4430075Lennart OchelAdd rule to differentiate homotopy
c8ee0c316Lennart OchelUpdated expected output
594af1432Adeel AsgharThe nested class will be deleted by loadString. So only call deleteClass for classes that actually exists.
aabf41668Adeel AsgharOnly use loadString merge true for package.mo
6eaf3baacadrpofix MatlabTranslator build
6a0b046edAdeel AsgharFixes #3719. Enable save as functionality.
6b59e87daadrpoattempt to fix MatlabTranslator build
c6988d4a6Adeel AsgharFixes #3311. Fixed loading __OpenModelica_infoHeader scripts.
8125c69ceLennart OchelRemove dead cases and cleanup
b559b1dd6Lennart OchelFix expansion of array expressions
a61daefb4Willi Braunfix for #3381
58588dbcaAdeel AsgharFixes #3714. Disable dragging components onto diagram layer of a package.
495935005Martin SjölundRemove duplicate definition
9472f39f5Martin SjölundAdd check for duplicate definitions
fa412ec6dMartin SjölundSusan: Do not assign the same variable twice
f13e19fb6Martin SjölundAdd check for duplicate definitions
0b12aa5a5hkieluse 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.
4ddb2fed9Willi Braunadded cruntime LOG flag
fc9c9bb10Willi Braunfix for #3685
b5355620eWilli Braunadded testcase for #3701
d541c90aaWilli Braunfix #3701
74b00c433Adeel AsgharRemoved tidy as is not needed.
41e95e965Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
8eeaa192eAdeel AsgharFixes #3311. Read the __OpenModelica_infoHeader annotation and use it in nested classes.
0211a1a22Adeel AsgharUpdated tests to new output of getDocumnentationAnnotation.
da4204cf0Adeel AsgharFixes #3311. Read __OpenModelica_infoHeader annotation.
31cf00685Lennart OchelAdd tests from ticket 3707
2f8ef7015Lennart OchelAdd test for OpenModelica/OMCompiler#425
cb732fc28Lennart OchelRestrict domain of definition of exponential function
ec986c0acAdeel AsgharMerge commit '19c42f3695c96c174fa890341650f7fe8dd863b4' as 'tidy'
19c42f369Adeel AsgharSquashed 'tidy/' content from commit 8c13d27
472d00ec0hkielrecursive -> loop
a64582dfbPer ÖstlundFix for #3577.
691f38d25Per ÖstlundAdded test for copyClass.
c93aec78bMartin SjölundDo not optimize guarded patterns to switch
23dd7a9c2vwaurich- fix HPCOMScheduler
aab9e4ad8Willi Braunadded testcase for #3500
3542223e3jhagModified array case in record handling
a59c82496Martin SjölundFix stack overflow
4bed8a964Martin SjölundFix stack overflow
9dd37a1cfMartin SjölundUpdate translation files
86267ae3bLennart OchelDon't wrap functions within if expressions
265024d6cRüdiger Frankefix to yesterday's commit c06017c
1dd9fc3aeAdeel AsgharFixes #3708. Call prepareGeometryChange to avoid unnecessary paint events.
9106a0c96Adeel AsgharFixes #3708. Call prepareGeometryChange to avoid unnecessary paint events.
c06017c0dRüdiger Frankecheck for equal base clocks
3cd6f318fLennart OchelFix CRLF issue for override files
14d87350dLennart OchelFix typos
08f36deeeMartin SjölundFix stack overflow
7153a59d3Adeel AsgharCheck for what kind of FMUs we can export.
0f42ad7d1Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a560950aaAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
73250dfa2Adeel AsgharFixes #3706. Don't check components because we should not display class as missing one of components class is missing.
f5e50d0f5Adeel AsgharFixes #3706. Don't check components because we should not display class as missing one of components class is missing.
c4d4b4a60Martin SjölundFix stack overflow
0054a876eMartin SjölundHandle comments in uniontypes with single record
816f4747aMartin SjölundDiffAlgorithm now depends on List.mo
4d60525aeMartin SjölundIntroduce List.append_reverse
15d130fa8Martin SjölundFix stack overflow
b5de146dfMartin SjölundMerge pull request #13 from dietmarw/patch-1
cf410c91fMartin SjölundMerge pull request #14 from dietmarw/patch-2
d319ad9f3Martin SjölundUpdate the copyright year and add space in front
fbdd5396aMartin SjölundUpdate Japanese translation files
e533fb890Martin SjölundUpdate Japanese translation files
812a38e75Rüdiger Frankeguard against synchronous models without variables
96ebbdd3fRüdiger Frankeadapt +d=dumpSynchronous to expected output
837ff6d53Rüdiger Frankeremove new debug output from +d=dumpSynchronous
c0d037260Rüdiger FrankeAdapt test to moved Clock declaration
2c5439f29Rüdiger FrankeImprove clock propagation in synchronous models
c37fa36a0Rüdiger FrankeMove Clocks from ModelStructure to TypeDefinitions
2a62fa69eAdeel AsgharEnhancements for #3690. Calculate "Number of Intervals" and "Interval" automatically. Enable/disable fields depending on the option selected.
49aab94cfAdeel AsgharEnhancements for #3690. Calculate "Number of Intervals" and "Interval" automatically. Enable/disable fields depending on the option selected.
e797eabd5Adeel AsgharFixes #3702. When user has changed the class name then update LibraryTreeItem.
0dba74001Adeel AsgharFixes #3702. When user has changed the class name then update LibraryTreeItem.
8768d11f8vrugebuild don't fail without git
696628d2bDietmar WinklerSync the documentation with UI changes
a7a58185cDietmar WinklerTypo of inkscape corrected.
49dc36a42Rüdiger Frankework on clock sub- and supersampling
54e3041c3Rüdiger Frankefix clock sub- and supersampling in Cpp runtime
68b2e962avrugeskipped intialation for some tests after structure breaker in https://github.com/OpenModelica/OMCompiler/pull/199
4d534f721Lennart OchelAdd more trace statements
b3692d069Lennart OchelClean up code generation
55cb6490aadrpofix frontend performance degradation #3697
c5333e1c2Adeel AsgharFixes #3698. Don't try to merge AST just replace it.
53f6bfcf3Adeel AsgharFixes #3698. Don't try to merge AST just replace it.
ab3521fa2Adeel AsgharOnly set the text when it is really new.
e722f8384Adeel AsgharOnly set the text when it is really new.
690d2f9b5Adeel AsgharFixes #3607. Print message when checkModel & instantiateModel are successful.
86b03206cAdeel AsgharFixes #3607. Print message when checkModel & instantiateModel are successful.
b7defb44cAdeel AsgharFixes #3690. Added interval in the simulation dialog.
886a78e7aAdeel AsgharFixes #3690. Added interval in the simulation dialog.
b63cdc0deAdeel AsgharFixes #3683. Update connections when component is deleted.
af41062c4Adeel AsgharFixes #3683. Update connections when component is deleted.
63d57dd2cLennart OchelHandle roots of negative values
56626b0f9adrpoa bit of improvement for #3668
98c810c50adrpofix Matlab translator after changes to Absyn
916248f58Willi Braunexpected output
78ba5299eWilli Braunreview simplify usage in symbolic jacobians
880ef3cd7Martin SjölundSome runtime fixes for VS2013
1adf486dcmhartungfixed bug which lead to wrong cat_array behaviour for ArraySlice
ecf792f37jhagdon't wrap "sign"-calls
01caff945Willi Braunadded differentiation rule for built-in sum call
5a950a9daWilli Braunfix #3684
7e414c9fdWilli Braunfix #3687
82097c796Willi Braunadded test for #3687 and minor adjustment
13d3e9d7dRüdiger Frankeadd test for #3656 (sign of alias)
dc7da8cafhkielmatchcontinue -> match
d41fb9780hkielUse filterOnTrue instead of filter
3cd16cc1ahkielrecursive -> loop list optimizations
dd6bae1f3adrpofix for #3688 and #3641
31eaa49f1hkieloptimize isConst*Work* removes need for boolean input argument optimize list operations
18edd82bfbernhard ThieleDumping state machines to streams
e8a1b5cc5Per ÖstlundFix for #3662.
325267489vrugemake equationList2 tail recursive
325841021vrugemake some traverseExpsOfExpList_WithStop tail recursive
3e097e84eAdeel AsgharFixes #3683. Update the component name in connections list when renameComponentInClass is used.
538f96a5fAdeel AsgharFixes #3683. Update the component name in connections list when renameComponentInClass is used.
4492ef73evrugemake equationNthSize1 tail recursive
fdebf7118vrugeequationNth1: removed matchcontinue
bc07b6905vrugemake traverseExpsOfExpList tail recursive
a38fd9aeevrugemake traverseExpsOfEquationListList_WithStop tail recursive
ffa3db066vrugemake traverseExpsOfEquationList_WithStop tail recursive
a2301d8a2vrugemake listEquation1 tail recursive
792f93ca7hkielfix stack overflow make functions Ceval.ceval and Types.matchTypeList use loops instead of recursion
a2d3cf252vwaurichRSE-fix
5f792d289Willifix #3668
4605adc52Adeel AsgharFixes #3686. Center on the CoOrdinateSystem properly.
f66ffa786Adeel AsgharFixes #3686. Center on the CoOrdinateSystem properly.
c343375daWilli Braunimproving analytic jacobian flags
758919984adrpoupdate .gitignore
729c8f13eAdeel AsgharFixes #3376. Added a command prompt for windows.
7d939b57aAdeel AsgharFixes #3376. Added a command prompt for windows.
68966ebbdPer ÖstlundImprove performance of getComponents API.
ddccaeb94Willi Braunimproved flags for symbolic jacobians
9c9d72e61Martin SjölundSet LC_NUMERIC to C locale
03b0c4c4eMartin SjölundAdd boxvar function for boolString
a555ec0ddMartin SjölundHandle boxed arguments to String()
daf875123Martin SjölundDo not install OMEdit files
824acedabAdeel AsgharFixes #3376. Added a batch file for command prompt.
cb540a921Martin SjölundAdd test for #3653
19362e064vrugemake jacobianConstant tail recursive
ff665c9e9Martin SjölundFixes to compile with Visual Studio 2010
45c776f13Per ÖstlundUpdated getComponents test.
1ab7b4735Per ÖstlundChanged behaviour of getComponents API.
1088cbd2bWilli Braunadded debug flag to disbale jacobian calculation for SCC analysis
2ab6a8c39Martin SjölundFix code generation for VS2010
b530b72e4Adeel AsgharUse the OMCInterface instead of sendCommand.
9db6ce66bAdeel AsgharUse the OMCInterface instead of sendCommand.
1d662e35cMartin SjölundCheck for NULL
7639b9b6eAdeel AsgharRemove RCS-id from header files.
c3b6e6d27Adeel AsgharRemove RCS-id from header files.
edeb32092Martin SjölundRemove RCS-id from source files
66abb9459Adeel AsgharRemove RCS-id from source files.
41ba9cd2dAdeel AsgharRemove RCS-id from source files.
95b7fcd7dAdeel AsgharUse isSimulationAllowed for updateBindings.
4aec6561eAdeel AsgharUse isSimulationAllowed for updateBindings.
272277c0cbernhard ThieleAdded internal flag DEFAULT_CLOCK_PERIOD
443a05959Per ÖstlundMerge remote-tracking branch 'origin' into perffix
b95e6ebd0Per ÖstlundPerformance fixes.
a2c7ddf0cLennart OchelMake execstat dump each step in a single line.
980f862aevwaurich- adapt Makefile for parameter tests
f4a666a09vwaurich- added tests for parameter-related functions
70ce925f7Martin SjölundUse correct bootstrapping header during stage 1
d422fe7acMartin SjölundAdd missing includes
4498938a3Adeel AsgharFixes #3673. Added button for infer bindings.
8dacf8d0cAdeel AsgharFixes #3673. Added button for infer bindings.
ae613bd0fAdeel AsgharMerge pull request #10 from rfranke/win
81114bafdAdeel AsgharMerge pull request #10 from rfranke/win
9189aa950Ruediger Frankeattempt to fix Cpp under Windows when using gcc
bcf2cbc88Ruediger Frankeattempt to fix Cpp under Windows when using gcc
8eaf1888fAdeel AsgharFixes #3630 Don't use diffModelicaFileListings when user manually edits in text view.
104cbca7bAdeel AsgharFixes #3630 Don't use diffModelicaFileListings when user manually edits in text view.
56e3dffcfhkielconvert some matchcontinue to match
9415bfe3ahkielconvert some matchcontinue to match
6cd879ff8hkieluse correct return code
b88ce87d3hkieluse match instead of matchcontinue modify pushRedeclareIntoExtends3() to make it tail recursive -> saves time and stack
3433e8319Martin SjölundFixes for bootstrapping PDEModelica
85b39a0d0Jan ŠilarAbsyn.EQ_EQUALS splitted into EQ_EQUALS and EQ_PDE.
82b0921b7Jan ŠilarisField attribute / API function
a2da0ef53Jan Šilarfield equations without pder() include also boundary nodes
154579c01Jan ŠilarPDEModelica -- extrapolation on boundary
9c6611271Jan ŠilarBugfix
f7fe0d905Jan ŠilarPDEModelica -- flag in grammar
0ca507a92Jan ŠilarPDEModelica pdemodelica_enabled()
186d4012fJan ŠilarPDEModelica flag
9a9dd8ae4Jan ŠilarFixing previous rebase.
7b107b25eJan ŠilarFlag --PDE removed.
554b2a608Jan ŠilarPDEModelica fag and new built-in file
c1ec6d8fdJan Šilarfixed bad rebase merge
084a83663Jan ŠilarPDE
a384029e5Jan ŠilarPDE extension - regions
dae025210Jan ŠilarPDE modelica. Some model error checks.
187c57b08Jan ŠilarPDE extension
692fa0f95Jan ŠilarDiscretization of PDE equations.
aed8fab21Jan ŠilarMoving code around.
61c812f85Jan ŠilarSeveral changes in PDE extension
f0da417daJan ŠilarWork towards discretization of PDEs
4d0cbd81fJan ŠilarReturning (field,domain) tuple list from elabField() upto instClassdef2.
12a5593b9Jan ŠilarOption domainOpt; added to SCode.EQ_EQUALS. Subsequent changes.
bf029a092Jan Šilarfixing code due to added domainOpt to Absyn.EQ_EQUALS
6defd95fbJan Šilarstarting indomain implementation
9090acd56Jan Šilareach prefix is added to every modifier in fields
71d9e6a06Jan Šilarelaborate function now replaces field variables with arrays
1ab796528Jan ŠilarelabField function - converts field into array. Not finished yet.
01c0933bbJan Šilarstarted writing function elabField
8d3896689Jan ŠilarAll changes from PDE branch from svn in one commit.
748d6d576adrpofix windows build
801d11818Per ÖstlundGeneric AVL tree improvements.
e0b0d22a6Martin SjölundChanges for bootstrapping header
0c39bf621Lena Buffoniupdate requirement bindings
f45a8b27aPer ÖstlundFix for #3669.
90f5395c1Per ÖstlundUpdate tests for #3669 fix.
6ad8595a6vwaurich- update warnings
25835a55avwaurich- update warnings for changes in evaluateParameters
5018d9065vwaurich- dont evaluate start values for parameters if there is a bindExp
0a4684b83Martin SjölundFix OSX configuration (broken LAPACK)
cf5d61e49Martin SjölundUpdate 3rdParty
9c9e4d16bAdeel AsgharMake C the default target language
edc0f947dAdeel AsgharMake C the default target language
c9780327cMartin SjölundAdd testcase for #3619
0214b3af3Martin SjölundHandle empty within for Modelica diff
9bf760883adrpodo not use time in functions used in coverage testing
18e70bd94Adeel AsgharFixes #3670. Set Target Compiler and Target Language flags.
a129b0f55Adeel AsgharFixes #3670. Set Target Compiler and Target Language flags.
1204474f5Adeel AsgharUpdated OMEdit settings documentation.
187f9a023Per ÖstlundAdd and update tests for #3666 fix.
47ae7d2d7Per ÖstlundFix for #3666.
55eb18e02Adeel AsgharAdded a settings option to enable/disable preserve indentation
0ab2c2ff0Adeel AsgharAdded a settings option to enable/disable preserve indentation
1a62d7857Martin SjölundHandle addition of comments in Modelica diff
26a4f6533Martin SjölundTestcase for #3658
56525d325Henning KielMerge pull request #1 from hkiel/omshell_settings_fontsize
ed1011a82hkielstore font size in settings file
bebdc503fHenning KielMerge pull request #3 from hkiel/fix_static_analysis
c5bad3ecdhkielfix some warnings from static analyzer
edcdfe58fAdeel AsgharFixes #3667. Added keyboard shortcuts for ordering classes.
db0641febAdeel AsgharFixes #3667. Added keyboard shortcuts for ordering classes.
12b265360Adeel AsgharRemove superfluous "OpenModelica"
bab2c73b3Adeel AsgharRemove superfluous "OpenModelica"
4f02c1718Adeel AsgharFixes #3670. Order target language. Added `OpenModelica` for `getVersion()` output.
07353d6f6Adeel AsgharMerge pull request #9 from dietmarw/about
d0a3f39c4Adeel AsgharMerge pull request #9 from dietmarw/about
240ce9eb8vrugematchcontinue -> match
86500a355Rüdiger FrankeRemove obsolete OMCppSystem_FMU_static
323ca8b4bDietmar WinklerRemove superfluous "OpenModelica"
f26076a31Dietmar WinklerRemove superfluous "OpenModelica"
4b119ea34Adeel AsgharFixes #3665. Allow html display and clickable links for class comment.
e3b00ab97Adeel AsgharFixes #3665. Allow html display and clickable links for class comment.
72c174a34Martin SjölundAdd test for #3616
6d7b09352Martin SjölundDo not include rtclock in FMU (#3616)
1b64dc04bMartin SjölundFix #3616 - stringAppend missing in FMU
5fcced980vrugeimproved debuge for optimization
fc1c55df8Rüdiger Frankefix use of dgesv for Cpp FMI export
71c196d77Adeel AsgharFixes #3663. Renamed View Class to Open Class.
5f95f7e78Adeel AsgharFixes #3663. Renamed View Class to Open Class.
616b34754Adeel AsgharFixes #3665. Added component comment to the tooltip.
7cd899bfeAdeel AsgharFixes #3665. Added component comment to the tooltip.
83d888592Adeel AsgharFixes #3665. Added the component class description to parameters dialog.
03537212bAdeel AsgharFixes #3665. Added the component class description to parameters dialog.
57ce66b7eAdeel AsgharRemove unnecessary colon.
5f9214690Adeel AsgharRemove unnecessary colon.
73392453aMartin SjölundChanges to compile with VS2010 express
2c85e5f40Rüdiger Frankeadd solver libs to Cpp FMUs compiled with msvc
6f7b438f5Rüdiger Frankefix Cpp FMU name if compiled with msvc
8d53fa933Lennart OchelFix #3644
d9e7af7b5Martin SjölundAdd a sanity check to the Modelica diff tool
521a5df00Martin SjölundFixes for ticket 3642
7b84e4140Martin SjölundAdd testcase for ticket 3642
5ccaa402eMartin SjölundAdd test for UTF8 diffs
4915f47a9Martin SjölundRenamed radau1 and lobatto2 solvers
fb06e8095Martin SjölundRename solvers
9056eb25bvrugesome fixes from static analysis
63ec07723Per ÖstlundFix for #3528.
5047212d5Per ÖstlundTest case for #3528.
08f0eec4ePer ÖstlundFix for #3608.
fdfe925aaPer ÖstlundTestcase for #3608 fix.
a5d0c6951Willi Braunfix #3659. - accidental removed an exception for inlining while differentiate
a8ef4b2c8Rüdiger FrankeRename hpcom init file
12039e236Rüdiger FrankeRename Cpp simulation init file for OMEdit
002aeac2ehkieldirect assignment of s in String(s)
24fc4a1eahkieloptimize String(s) just return the string
3e1c6c447hkielruntime code for String(s)
9aeedf519hkielfix clang analyzer warning
dcc0ed6a4hkielconvert some matchcontinue to match makes some functions tail recursive
fea7aeee9Martin SjölundRun lupdate
dc3bf3ff3Martin SjölundRun lupdate
7af6b5108Martin SjölundDisable profiling report
d93659377Adeel AsgharShow the description of solvers when user mouse over the solver drop down.
1ebc13b53Adeel AsgharShow the description of solvers when user mouse over the solver drop down.
905b903ecMartin SjölundRename explicit trapezoidal rule to Heun (RK2)
9c5976303Martin SjölundAdd support for the trapezoidal method (RK2)
d89bde8c9Martin SjölundDo not stringAppend if either side is empty
379c4c55dvrugefixed csvInput
e254a60c8vrugeadded test for sort input-names in csvInput
530076c5cvrugecsvInput: input order by name
993bd3a11hkielchange some matchcontinue to match
e2d5aa8c3Lena BuffoniBindings for requirement modeling support
0a88cd5fbMartin SjölundDisable indentation-preserving unparsing
ee4e7b686Martin SjölundDisable indentation-preserving unparsing
58962877cLennart OchelModify getAvailableLibraries
25cfcd61cLennart OchelUpdate .gitignore file
506ea9206Lennart OchelRecover original cse index logic
387689b13Lennart OchelReset cse indices for each back end run
333813aaaLennart OchelRecover original cse index logic
52c001d29Lennart OchelReset cse indices for each back end run
996828154Willi Braunactivate wrapFunctionCall for jacobians
ba87c6558Willi Braunremove error messages from convertResidualsIntoSolvedEquations
c81dc9f53Willi Braunactive symbolic jacobain for loops without functions
4b7f96a84Willi Braunfurther improvments for differentiation
658b92799Willi Braun# This is a combination of 3 commits. # The first commit's message is: fix function differentiation
3ccd90a97Willi Braunfixing differentiation of Records
813dba79fWilli Braunexpected output due to changes differentiation module
3e4c81ab5Willi Braunexpected output
83a73cf74Adeel AsgharFixes #3654. Show default icon for components without icon annotation.
91bfead8aAdeel AsgharFixes #3654. Show default icon for components without icon annotation.
49bf67a4eWilli Braunuse global index in wrapfunctionCall module - This allows the usage of the modlue at different stages of the compile process
3029c6409Lennart OchelFix Windows makefile
f1fe098c4Adeel AsgharFixes #3648. Fixed spelling mistake.
5b2f674b9Adeel AsgharFixes #3648. Fixed spelling mistake.
80346cc6fAdeel AsgharMerge pull request #7 from dietmarw/fixSpelling
1d3fada47Adeel AsgharMerge pull request #7 from dietmarw/fixSpelling
7c38b4cf2Dietmar WinklerFix common spelling mistakes.
9bd43603cDietmar WinklerFix common spelling mistakes.
152dfb16cvrugeadded flag: csvInput - use libcsv.lib for external input
10e85bd73hkielconvert matchcontinue to match
b1d0c1d50Per ÖstlundFix for #3577.
767d90822Martin SjölundMake source FMU smaller (minimal files for dgesv)
51ca6a500vrugeimproved heuristic
783a9b022hkielconvert some matchcontinue to match leads to some tail-recursive functions
06265e072vrugematchcontinue->match
9a49346edMartin SjölundMerge pull request #6 from dietmarw/master
aa1e1403eMartin SjölundMerge pull request #6 from dietmarw/master
58a18cf97Dietmar WinklerImprove message string to correct English. (translation files)
497aa173bDietmar WinklerImprove message string to correct English. (translation files)
104520f80vrugeterms heuristic: don't distinguish der(x) from $DERAliasx
b7eda9c2eWilli Braunfix function fixAliasVarsCausal2
d7423a835Willi Braunexpected output
de5898cdbvrugeadded first heuristic for sorting terms (optional)
e44d932a4Dietmar WinklerImprove message string to correct English. (main file)
320640b4eDietmar WinklerImprove message string to correct English. (main file)
072f8e984Martin SjölundFix stack overflow in removeStateDerInfo
b1fb7f98chkielget rid of some matchcontinue statements
b04455e08hkielmake two functions tail recursive
986df9cf9Adeel AsgharFixes #3607. Reset messages before checking, instantiation & simulation.
e5e5bfeb9Adeel AsgharFixes #3607. Reset messages before checking, instantiation & simulation.
05b12e14cAdeel AsgharFixes 3620. Allow deleting classes through del key.
46e85354fAdeel AsgharFixes 3620. Allow deleting classes through del key.
c89f8ab1fMartin SjölundFix stack overflow
675b7d6fbMartin SjölundHandle CRLF in the lexer
f614495f1Martin SjölundstringGet should return unsigned integers (0-255)
e1abbec30Adeel AsgharFixed #3604. Send the name change request into the depths recursively.
e627988d1Adeel AsgharFixed #3604. Send the name change request into the depths recursively.
f105a55bePer ÖstlundFix for #3640.
ba656e8f8hkielFix order of equations in json file (removed-initial must go directly after initial)
86010c6a3Adeel AsgharFixes #3585. Fixed creating class within a package.
7cb181539Adeel AsgharFixes #3585. Fixed creating class within a package.
6feda1537Adeel AsgharRussian translations by Andrey Lavrentyev
3ec2c1dc4Adeel AsgharRussian translations by Andrey Lavrentyev
47db7d2baWilli Braunfix accedently commited logic
a2e0a2ce3Willi Brauncleanup of symbolic jacobian of algebraic loops
3e079bc58Willi Braunpreparations to activate NLSanalyticJacobians
3c8a7d4cfWilli Braunfix discrete differentiation of statements
90105a6d5Willi Braunupdates testsuite to expected output
8c9025a2cPer ÖstlundFix for #3633.
0af2de16fPer ÖstlundAdded test case for #3633.
9f7f95eeeMartin SjölundAdd input index to M_init.xml file
ff6909b74vwaurich-fix visxml for constant systems
2fde1e424Willi Braunfix function BackendDump.jacobianTypeStr
84d4b50aevwaurich- rk12 singlerate solver
949f860a1adrpo- update tests after library bump
e7d99a181bernhard ThieleTest cases #3560
5f116bd02bernhard ThieleModelica_Synchronous testing #3560
112f6d93dbernhard ThieleConvenience scripts for #3560
1492e9b65vwaurich- proper order of states for multiratepartitioning, some rk12 enhancements
49f69c6a2Henning KielMerge pull request #1 from hkiel/multi_parametric
c53b4708fbernhard ThieleModelica_Synchronous testing #3560
d33c6994aLennart OchelTest case for #3631
b9b870d65Lennart OchelHandle empty unit strings
caf519c7bhkielallow to plot many graphs in one plotParametric
67773353fMartin SjölundInstall the new project files for FMI
b27cca871vwaurich- fix cpp tests
fd65350e1vwaurich- multirate rk12 solver for cpp runtime
f701c4657vwaurich- task graph based multirate partitioning
71918c7famflehmigClean up in HPCOM module.
2d3865240Martin SjölundAdded testcase for #3588
dc2d3ef04Martin SjölundAdd a simple Modelica diff based on tree parsing
3c6096c5cmflehmigCleanup with respect to documentation in hpcom
a646bc72fmflehmigAdded support for dgesv to cpp runtime
cbd807d3amflehmigAdded support for dgesv to cpp runtime
f90d6e457mflehmigAdded support for dgesv to cpp runtime
49412430cmflehmig- Added dgesv to makefile, compile it into static library
fda958183Martin SjölundFix order of components in updateComponent() API
f27d9835bMartin SjölundPreserve order when updating component
71c220705Martin SjölundDo not use nested functions in AC_TRY_LINK (#3621)
8430f76d7Adeel AsgharFixed crash when adding DynamicPipe to model.
42f4538d5Adeel AsgharFixed crash when adding DynamicPipe to model.
69ff31b44vwaurich- hpcom clean up
5e38c0c78Per ÖstlundImplemented a persistent array type.
2eac1964fPer ÖstlundTests for BasePVector.
80e3e04fdvrugesimplify2: improved sorting of constants
8418b8879vrugeexpected output
f7bf9871bvwaurich- matchcontinue in resolveLoops
a6c7cb26avrugesimplify2: improved sort of constants
fdea70f00vrugeexpected output
dd2007d56vrugeimproved simplifyAddMakeMul
ed4729083vrugeimproved simplifyMulJoinFactorsFind
d7e00325eLennart OchelAdd c run-time flag –ignoreHideResult
0872025d4Lennart OchelAdd support for HideResult annotation
8fd278b90Lennart OchelAdd c run-time flag –ignoreHideResult
386cb9857Lennart OchelAdd support for HideResult annotation
1abd25536Lennart OchelFix potential memory overrun for large models
5e91d0f71vrugeimproved simplifyAddJoinTerms
ecd1bc603Lennart OchelFix memory overrun inside nonlinearSolverHomotopy.c
e8c89b5d2vrugeimproved simplifyMulMakePow
5088b2df7hkieloptimize some functions
8000c936fLennart OchelMake use of aux function equivtypes
3e5359659Lennart OchelDon't treat T_UNKNOWN as clock type
a14668695vwaurich- fix countOperations
bcd44efbbvwaurich- update taskgraph
eb50a09a8Lennart OchelConsider that sample may have just one argument
9297bf090Lennart OchelFix handling of elsewhen stmts in traverseDAEEquationsStmts
486515601Martin SjölundTry to detect LAPACK/BLAS better
59c32f17bMartin SjölundBump 3rdParty for ModelicaExternalC
786049c95vrugesimplify2: - split global simplification in add/sub, mul/div and others - use only one global simplification in each split
a971be105vrugeexpected output
f8c1de550Lennart OchelRemoved some unused variables
6677136a0Henning KielMerge pull request #5 from hkiel/omedit_documentation_zoom
309db7756Henning KielMerge pull request #5 from hkiel/omedit_documentation_zoom
75f92d697hkielImplement zoom in DocumentationView with ctrl+scroll reset zoom to factor 1 with control+doubleClick
d939ff7f4hkielImplement zoom in DocumentationView with ctrl+scroll reset zoom to factor 1 with control+doubleClick
2d0bc6b61Lennart OchelMangle arguments of record constructors
49e67ac64Niklas Worschechfix for inverse algorithm in cpp tempplate
ecbede07eNiklas Worschechfix for get simdata in cpp tempalte and vxworks target
8e6d4fbf7Lennart OchelUpdate dumpSimCode
51597ed54Willi Braunfix incidenceRow for WILD() on left side
b2d40b309vrugematchcontinue -> match
5fc27a124Henning KielMerge pull request #2 from hkiel/fix-latexcell
881d9f61dPer ÖstlundFix for #3594.
e10801e51hkielautomatically surround latex cell content with standard tex preamble fix latex path on OSX
a647eac6aLennart OchelReplace deprecated post-optimization flags
e70366d00Lennart OchelHandle deprecated post-optimization flags
d45a2b20aLennart OchelReplace deprecated pre-optimization flags
6c8bc92f0Lennart OchelHandle deprecated pre-optimization flags
8759c8469vrugeimrpoved simplifyMulJoinFactors
5432a80a5vrugeexpected output
49a533c03vrugeimproved simplifyBinarySortConstantsMul
a75e3e8cbvrugeadded testcase
d87d488f1vrugeimproved simplifyBinaryAddConstants
5c5b56b72vrugeremove simplify in merge min/max-values
65a2e7c4cAdeel AsgharAdded new settings flags.
058d1c90aMarcus WaltherUMFPACK temporary disabled to fix Windows Nightly Build
e4fdb95bcMarcus WaltherFixed issue with old GCC
e964d2d22Adeel AsgharUpdated OMEdit screens and some documentation
ea08c41e5Martin SjölundUpdate 3rdParty sources
231fda98eMarcus WaltherAdded spaces between template brackets
f5aa01340Martin SjölundFix code generation for String(enum)
9b84eda78Marcus WaltherFixed build issue with Cpp runtime
2ee015c42Adeel AsgharDon't match parentheses within comments and quotes sections. This default behavior can be changed in settings.
cd548494aAdeel AsgharDon't match parentheses within comments and quotes sections. This default behavior can be changed in settings.
1abab71cfAdeel AsgharFix saving of debug configurations.
8a501c852Adeel AsgharFix saving of debug configurations.
95d751393Adeel AsgharCheck correct extents.
bfc16f8c0Adeel AsgharCheck correct extents.
527538713Martin SjölundFix hyperlink
5fcf1c892Willi Braunadded some more significant execstate statements
3b738ef4bAdeel AsgharUpdated the classes if needed before saving them.
61a0dc837Adeel AsgharUpdated the classes if needed before saving them.
322d28dc8vrugesimplifyBinarySortConstants: don't sort terms if we don't have constants term
c3cf2aca5vwaurich- for-loop in IndexReduction.collectVarEqns
eba5efed3Marcus WaltherParallelized DASSL added to C++ Simulation Runtime
7e7a75baaMartin SjölundUse the index from the correct set
87f37338eMartin SjölundFix scaling issues for initialization
5f3520e5cvwaurich- for-loop in SymbolicJacobian.jacobianNonlinear
ca2207e92vwaurich- for loop in replaceDifferentiatedEqns
69680af0bvwaurich- update tests
e677cacc6vwaurich- changed BackendDAE.ConstraintEquations to array type
0d7e11b73Adeel AsgharAlways draw the connectors on top.
b4d8ad0f2Adeel AsgharAlways draw the connectors on top.
3608886ffAdeel AsgharMake sure group image is displayed.
514838526Adeel AsgharMake sure group image is displayed.
9035f8d23Adeel AsgharList the parameters based on 3 conditons, 1. Has a parameter prefix 2. Has a start/fixed binding 3. Has dialog annotation
b9e092edeAdeel AsgharList the parameters based on 3 conditons, 1. Has a parameter prefix 2. Has a start/fixed binding 3. Has dialog annotation
45ad04c27Martin SjölundAppend in the fast order
008cd7973Per ÖstlundAdd tests for BaseVector.
8b75192a3Per ÖstlundImproved BaseVector.
67ce850b1vrugeexpressionSolve: - improved expand - improved rule for simplify - improved termination criterion
2ad55506dvwaurich- output empty list in differentiateEqnsLst when failing
1ed5a0bbcAdeel AsgharAdded a missing semi-colon.
04984bac3Adeel AsgharAdded a missing semi-colon.
b09bb10f5vwaurich- rewritten IndexReduction.differentiateEqnsLst()
cb6f347fcAdeel Asghar#2391. Create a default initialization section to use.
fd0cb66c3Adeel Asghar#2391. Create a default initialization section to use.
37ad4ee40Per ÖstlundAdded arrayUpdateNoBoundsChecking.
c1535b89eMartin SjölundMerge pull request #11 from arun3688/master
0d71e99f3Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
a601894e1Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
e9398421cAdeel AsgharEnhanced the array connection dialog to allow connecting if root component is also array.
61830aee3Adeel AsgharEnhanced the array connection dialog to allow connecting if root component is also array.
0cc904c6fMartin SjölundUpdate common submodule
94263d023Martin SjölundUpdate common submodule
82962b55cPer ÖstlundFix redeclare issue with generic types.
9d7b02937Per ÖstlundUpdated test case.
78323c6f4Adeel Asghar#3447. Added path for msvc simulation executables.
4ef774e1cAdeel Asghar#3447. Added path for msvc simulation executables.
74e55a9d3arun3688phd, conference and journal paper updates
571d5be63Adeel AsgharFixes #3580. Start component name could be an array.
ad6ae676bAdeel AsgharFixes #3580. Start component name could be an array.
cce1788f2Niklas Worschechfix for inverse algorithm in cpp template
5a4b3a7b6Per ÖstlundImplemented more generic datatypes.
375fb6dddMartin SjölundFix cc warning about missing include
2c6c80c92Adeel AsgharFix compilation of Modelica models on Linux.
671e1ea0fAdeel AsgharFix compilation of Modelica models on Linux.
e25537915perostMerge pull request #4 from perost/variantfix
8cb8939dfperostMerge pull request #4 from perost/variantfix
a222524ccPer ÖstlundFix compilation issue.
b55fb35bePer ÖstlundFix compilation issue.
cd8c3a1cePer ÖstlundFix for #3581.
fd27ba175Per ÖstlundAdded test for #3581.
006079ed6Adeel AsgharUse the correct CoordinateSystem for Component boundingRect.
8c855965dAdeel AsgharUse the correct CoordinateSystem for Component boundingRect.
24159a740Adeel AsgharAlways add CoOrdinateSystem values if they are different from default.
479c5c936Adeel AsgharAlways add CoOrdinateSystem values if they are different from default.
610197235Adeel AsgharFix for #3425. Keep the indentation while copying.
c9ad9e90aAdeel AsgharFix for #3425. Keep the indentation while copying.
a619ca61dAdeel AsgharFix builds.
b0aa632afAdeel AsgharFix builds.
3b8eab5cfAdeel AsgharReduce the height of simulation messages.
5cb84bc37Adeel AsgharReduce the height of simulation messages.
cc21feb16Adeel AsgharFix for #3404. Menu options to open working directory and terminal.
c43a7c5b8Adeel AsgharFix for #3404. Menu options to open working directory and terminal.
cef0c57b4Martin SjölundUpdate URL of the repository
1a9a853f0Marcus Walther- fixed Intel TBB code generation - fixed serial code generation of HPCOM
80fb4da71Adeel AsgharFix for #3576. Allow exporting different types of FMUs.
405ec944bAdeel AsgharFix for #3576. Allow exporting different types of FMUs.
f87a8a870Adeel AsgharMerge pull request #3 from adeas31/indentation
53f5b7bf9Adeel AsgharMerge pull request #3 from adeas31/indentation
857526d9dAdeel AsgharMerge branch 'indentation' of https://github.com/adeas31/OMEdit into indentation
d19f45a96Adeel AsgharMerge branch 'indentation' of https://github.com/adeas31/OMEdit into indentation
f23338041Adeel AsgharMerge remote-tracking branch 'origin/master' into indentation
957cbf7ebAdeel AsgharMerge remote-tracking branch 'origin/master' into indentation
c734e1324Adeel AsgharResolved merge conflicts.
9be7215e0Adeel AsgharResolved merge conflicts.
352422181Marcus Walther- added the new output_type to the list of default runtime parameters (cpp-runtime) - removed some unused code
df90683deMarcus Walther- removed task sorting, because the openMP-runtime seems to use junks of sections for each thread
5028097f9Marcus Walther- changed the tail recursive MCP-algorithms to while-loops --> this will prevent stack overflows for large models
f3e37daddAdeel AsgharFixed some issues with reloading of components. Added undo/redo to toolbar.
1a141ac7bAdeel AsgharFixed some issues with reloading of components. Added undo/redo to toolbar.
794659cbfAdeel AsgharAllow updating class contents manually via text view.
84c9a4368Adeel AsgharAllow updating class contents manually via text view.
10ac684dcNiklas Worschechfix for query output results in cpp runtime
7f3814bd1Martin SjölundOptimize warnAboutVars2 for memory consumption
5524bc4c5Martin SjölundRemove duplicate entry
e258fc9faMartin SjölundAdd Modelica'2015 paper
97a8ab0d1Adeel AsgharPush in the missing file from last commit.
0aef16576Adeel AsgharPush in the missing file from last commit.
0eb80181cadrpo- update OMCProxy due to changes in API for #3417
b1c9a9ea1adrpo- update OMCProxy due to changes in API for #3417
3539b9b78adrpo- test for bug #3417
45515a61fadrpo- fix for feature #3417
e25231febAdeel AsgharFix for #3447. Allow compiling with other targets.
3af330536Adeel AsgharFix for #3447. Allow compiling with other targets.
fee3aec5cAdeel AsgharAdded some additional arguments to compile.bat so OMEdit can use it.
063ca3e1eMartin SjölundMake functions tail-recursive
56d197339Niklas Worschechfix for external string arrays in cpp template
712e46e6fNiklas Worschechadded output format parameter to simulation start script of cpp runtime
7ff4d7e04alash325-Editing of external model parameters -Editable start command so user can specify any command they wanted
3afe9263ealash325-Editing of external model parameters -Editable start command so user can specify any command they wanted
e09f9bc9bAdeel AsgharFix for #3472. Set environment variables for compilation process same as in compile.bat
956351845Adeel AsgharFix for #3472. Set environment variables for compilation process same as in compile.bat
1894748e4Adeel AsgharAdded support for moveClassToTop & moveClassToBottom.
9464eb6a5Adeel AsgharAdded support for moveClassToTop & moveClassToBottom.
efb4e4de4Adeel AsgharFix for #3425. Retain the text formatting for cut and copy.
b3fe5dd0dAdeel AsgharFix for #3425. Retain the text formatting for cut and copy.
86dce0feawibraunadjust DATA object in C runtime DATA
c74f2d05ePer ÖstlundTest moveClassToTop and moveClassToBottom.
7eeeca2a1Per ÖstlundFix for #3552.
1568d7ad1Adeel AsgharFixed array connections.
b7f9f09e2Adeel AsgharFixed array connections.
c8c490f1aAdeel AsgharMinor fixes for extends modifiers, matching parentheses colors etc.
88fe112bcAdeel AsgharMinor fixes for extends modifiers, matching parentheses colors etc.
0581f1eb2Niklas Worschechfix for handle time events in cpp runtime
372837d0bMarcus Walther- hpcom level and levelfix scheduler will now schedule the largest tasks first
ff60f2999Niklas Worschechfix for change output format in cpp runtime
67b941c70Martin SjölundUse arrayGet for random access instead of listGet
0324f52b3vwaurich- adapted makefile for tests
7f9496ff5vwaurich- added evalAllParams and evalOutputsOnly test
2c0784f0fAdeel AsgharHighlight matching and mismatching parentheses, braces and brackets.
d4ef42c6bAdeel AsgharHighlight matching and mismatching parentheses, braces and brackets.
3fbda191cAdeel AsgharBasic highlight matching parentheses
ed3f50736Adeel AsgharBasic highlight matching parentheses
7a8c72268vrugefixed and simplify allTermsForCref - remove recursion - split terms
cc113b2c4Adeel AsgharHandle the case when modelica text is updated manually by user for single class single file.
662b251ffAdeel AsgharHandle the case when modelica text is updated manually by user for single class single file.
59192a427vrugeExpressionSolve: reduce expansion of multiplications
074418866jhagUpdate expected output
f81f8c6bbLennart OchelNew optimization module to wrap function calls
150aaf362Niklas Worschechfix for PrecompiledHeader and msvc build in cpp runtime
9638dc4c0Martin SjölundPrint size of DAE for sorting and matching
6ceb89f1bLennart OchelGenerate additional initialization system for lambda=0
690c78b8aMartin SjölundArchive the generated artifact
712abe4f3Martin SjölundAllow inheritance when bootstrapping
ddbca6318Adeel AsgharAdded moveClass API support.
a1a7b1310Adeel AsgharAdded moveClass API support.
d064c0a60Adeel AsgharOnly fetch the Component modifier when needed.
56d23ebd6Adeel AsgharOnly fetch the Component modifier when needed.
f26330ab1Adeel AsgharFixed unparseArrays.
72a077626Adeel AsgharFixed unparseArrays.
99d9c6fa4Adeel AsgharAlways load OpenModelica.
02b8340a3Adeel AsgharAlways load OpenModelica.
23fa53a24Adeel AsgharOnly get the extends modifiers when they are needed.
b4f4dc762Adeel AsgharOnly get the extends modifiers when they are needed.
62fb7c856Adeel AsgharFix crashing while opening parameters window.
b71733356Adeel AsgharFix crashing while opening parameters window.
5dc02435aAdeel AsgharFetch the component modifiers only once.
9f0aa25c1Adeel AsgharFetch the component modifiers only once.
36b9fbe04Marcus 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)
fe43efbabNiklas 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
cfb2a0ca2Adeel AsgharMore speed up for OMEdit. Only read the from class file if really needed.
44801e5ccAdeel AsgharMore speed up for OMEdit. Only read the from class file if really needed.
6c675e6eavwaurich- getValueReference works with row major order for cpp fmus
292fdcad7adrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b6c970ae3adrpo- fix windows build
d5935a59cAdeel AsgharRemoved unnecessary debugging code.
a82dcec71Adeel AsgharRemoved unnecessary debugging code.
da7ee2328Per ÖstlundAdd test for moveClass, #3552.
b7b42318dPer ÖstlundFix for #3552.
65f402e4dadrpo- fix windows build
2d700ff8cAdeel AsgharUpdated getClassInformation to get more information for OMEdit.
786a8ee59Adeel AsgharMore tests updated for new getClassInformation.
e52315178Adeel AsgharRemoved isProtectedClass and getNamedAnnotation(DocumentationClass) since its part of getClassInformation now.
b84ec72eaAdeel AsgharRemoved isProtectedClass and getNamedAnnotation(DocumentationClass) since its part of getClassInformation now.
3bfc949e6Rüdiger Frankeremove boost_system lib from FMU generated with msvc in release mode
d3ff7c45fAdeel AsgharUpdated getClassInformation tests to new output.
2663366d4Marcus 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
52316c3acAdeel AsgharOnly load the Diagram components and connections when really needed.
ac53ae4f7Adeel AsgharOnly load the Diagram components and connections when really needed.
55f458442Martin SjölundRead operations before checking how many they are
ef9582edaMartin SjölundRead operations before checking how many they are
885c632bbLennart OchelRevert "reduce ExpressionSimplify-Calls inside solve(.)"
0d78a38d3Niklas Worschechchanged msvc build, latest visual studio version is used if no verion is set with VSVERSION flag
8da891b06Adeel AsgharCorrectly set the save contents type when opening a class.
1978c95b0Adeel AsgharCorrectly set the save contents type when opening a class.
f74641faeAdeel AsgharStore the extends modifiers and component modifiers.
734e3dff5Adeel AsgharStore the extends modifiers and component modifiers.
dedd5085evwaurich- reverse lists in getUnrolledArrayIndex
72f90e7c7vwaurich- fix for SimCodeUtil.getUnrolledArrayIndex()
b6e2cd2cdMartin SjölundRename Plot.h to OMPlot.h
0e588f9d3Martin SjölundRename Plot.h to OMPlot.h
928d504e8Martin SjölundRename Plot.h to OMPlot.h
38700a58bFederico BergeroTest for bug #2588
fe5253496Federico BergeroDump empty arrays {} as fill(0,0)
945d45049fbergeroGenerating modelica output in the flat DAE dump
6c58add6fvrugeDIVISION_SIM improved check, using old logic
9f2a0ec31Marcus Walther- removed trailing whitspaces
66c68d258Marcus Walther- removed empty lines at the end of files
b9f455efeMarcus Walther- fixed HPCOM measure time functionality
d8fb05717Marcus Walther- some simple cleanups
9d31ebc8fMarcus Walther- fixed Linux build issues
701427880Niklas Worschechfix for cpp runtime release build
ee4f5b62aMarcus Walther- disabled boost threads in MSVC release mode
f0b4fd3d7Niklas Worschechadded flag to mingw make files to change Visual Studio version VSVERSION=[2010,2012,2013,2015] default is 2010
3df11ecebWilli Braunexpected output
e144c6d60Willi Brauncleanup and revise dassl code
da87f6adeMartin SjölundFix OSX paths for new suitesparse dependencies
c2dcf1015Lennart OchelUpdate expected output after library bump
507faa449vrugerunExReduceDrumBoiler: improved initial guess
0a36f1f63vrugeexpected output
bad389217vrugesimplifyAllExpressions: - don't use simplify use simplify1 - see: https://trac.openmodelica.org/OpenModelica/ticket/2647
a59b7ee8dMartin SjölundThe exe extension on OSX is not .app
7458c241aPer ÖstlundFix for #3460.
670fd9409Per ÖstlundAdded test for getComponents API.
d16243970RuedKamp-USE_CPP_03 is not defined under VxWorks although not using C++11
328cdad88RuedKamp-removed OMDEV Variable from VxWorks makefile
c78005012RuedKamp-some minor changes
4d3c856c5Adeel AsgharWhen a class is loaded/unloaded then load/unload the component respectively.
eb5d903d0Adeel AsgharWhen a class is loaded/unloaded then load/unload the component respectively.
998b08289Adeel AsgharWhen a class is loaded/unloaded. Update the non-existing component.
e214316d5Adeel AsgharWhen a class is loaded/unloaded. Update the non-existing component.
d237bc50eMartin SjölundMinor performance fixes for Absyn.traverseExp
302a8b578Per ÖstlundAdd tests for addClassAnnotation API.
13854c1c0Per ÖstlundFix for #3574.
6e15581e1Adeel AsgharUpdated the SaveChangesDialog to new structure.
9f6aaedceAdeel AsgharUpdated the SaveChangesDialog to new structure.
6b0a63de5Adeel AsgharWhen a new shape/component is added then update the connections associated to them.
9d4d80b15Adeel AsgharWhen a new shape/component is added then update the connections associated to them.
2b1abe885RuedKamp-fixed functionblock generation
e09f1554fRuedKamp-changed defines for sparse solver
83b998c75RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
56e4a7de9Adeel AsgharWhen a new shape/component is added then update the inherited components.
36c5736f5Adeel AsgharWhen a new shape/component is added then update the inherited components.
5fac6e1b8Adeel AsgharAvoid making calls to OMC. Minor speed up.
6176eae6eAdeel AsgharAvoid making calls to OMC. Minor speed up.
a5b060172Willi Braunfix minor issue in dassl.c and clean up
5d87fbd5fAdeel AsgharDo not show unload/delete option for nested system libraries.
d5b12e286Adeel AsgharDo not show unload/delete option for nested system libraries.
b1a575ac9Adeel AsgharUpdate the Component when new component/shape is added to actual class.
33a1a06b5Adeel AsgharUpdate the Component when new component/shape is added to actual class.
ad626e112Marcus Walther- added cpp-runtime flags to Windows-Makefile
f2cca5abeMarcus Walther- removed spaces in Modelica.cpp
51b0039a7Marcus Walther- Documentation updates
e982636c8Adeel AsgharFixed searching of connector component.
b4d99f5b0Adeel AsgharFixed searching of connector component.
7a131d669Martin SjölundRewrote Absyn.pathString
487eea181vwaurich- fix for evalOutputOnly
4564e1cd3vwaurich- changed dumpSimCode implementation
199d4cd49Lennart OchelRevert "Hack for ticket 3544"
dbb674db7Marcus Walther- changed the flag "USE_CPP_ELEVEN" to "USE_CPP_03" to be compatible with further standards
fb2973748Niklas Worschechre-added accidentally removed assert warning
3035e11eaAdeel 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.
9ec201645Adeel 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.
57d05fd10Willi Braunadding context depending extrapolation
cf4291409Willi Braun - deactive ThermoSysPro test for now - change to expected solution for dynamic tearing
920eedf11Marcus Walther- increased memory for precompiled headers (MSVC)
fb0cb7385Lennart OchelHack for ticket 3544
e090d3da5hudsonMerge remote-tracking branch 'origin/master' into pullrequest
e1afc3d0eNiklas Worschechreverted 2d6e1a7d26ee397d9295368aec0f9450d9db1e23
5ea6c4203Per ÖstlundCleanup DAE.Mod.REDECL.
7fcf026a6Niklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
301120615Niklas Worschechrevert 2d6e1a7d26ee397d9295368aec0f9450d9db1e23 in cpp template
6d1160c77Niklas Worschechfix for external string in cpp template
609f8a7d5Niklas Worschechadded assert warnings in cpp template
e1aa8b032RuedKamp-xml file generation for functionsblock
63cd39e46vwaurich- fix for evaluateOutputOnly
f2902c071RuedKamp-improved xml FunctionBlock generation
78bf14849RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b33dd2e31RuedKamp-improved xml FunctionBlock generation
2d6e1a7d2Niklas Worschechfix for external string in cpp template
9da56998fNiklas Worschechadded assert warnings in cpp template
d110f644cPer ÖstlundFix for #2964.
c7b7e74d4vwaurich- replace evalAllParams-implementation - dump bipartite graphs for sccs after backend
4b930ae6bvrugeExpressionSolve: matchcontinue in match
afa3ac41fvrugeExpressionSolve: matchcontinue in match
0071e6809vrugeExpressionSolve: using guard
79c8b96a4vrugeimproved SolveSimpleEquation using (for loops, reduce number of operation)
bd00240bcvrugereduce ExpressionSimplify-Calls inside solve(.)
16b1a424dvrugeExpressionSolve: matchcontinue in match
a6891f398Lennart OchelFix performance issue of module inlineWhenForInitialization
7550912d4vruge- improved stop criteria in ExpressionSolve.solve - reduce simplify-calls in ExpressionSolve.solve2 - fixed start value for iterration var in simplifyComplexFunction
ee25428c0RuedKamp-removed one environmental variable required in VxWorks makefile
c672f553eRuedKamp-copy some headers required for VxWorks build
75acf015cRüdiger Frankeremove $(OMHOME) substitution for nmake
85c4f53f1Martin SjölundAdd tail recursion for Expression.makeMatrix
ced7bfa9eRuedKamp-add export for VxWorks makefile
18c0050a2RuedKamp-fixed some VxWorks error -adapted VxWorks makefile
50f43eb64RuedKamp-xml file generation for functionsblock
65da0bc77RuedKamp-fixed some VxWorks error -adapted VxWorks makefile
e480d238bRuedKamp-xml file generation for functionsblock
415e95d41Per ÖstlundFix for #2964.
b1531402fPer ÖstlundAdd test for #2964.
936fccdcbvwaurich- replace evalAllParams-implementation - dump bipartite graphs for sccs after backend
29c46641cvrugeExpressionSolve: matchcontinue in match
f2b7cd2e2vrugeExpressionSolve: matchcontinue in match
d3176fd2fvrugeExpressionSolve: using guard
ef0a109abAdeel AsgharFixed deleting of shapes/components. Unselect the shapes so that they don't next signal next time. New Component creation structure.
82e2d5681Adeel AsgharFixed deleting of shapes/components. Unselect the shapes so that they don't next signal next time. New Component creation structure.
997e51408vrugeimproved SolveSimpleEquation using (for loops, reduce number of operation)
4b79bb8devrugereduce ExpressionSimplify-Calls inside solve(.)
4756935ccvrugeExpressionSolve: matchcontinue in match
c45436a1fLennart OchelFix performance issue of module inlineWhenForInitialization
199855a7fvruge- improved stop criteria in ExpressionSolve.solve - reduce simplify-calls in ExpressionSolve.solve2 - fixed start value for iterration var in simplifyComplexFunction
4647aa6acRuedKamp-removed one environmental variable required in VxWorks makefile
c0cc940b6RuedKamp-copy some headers required for VxWorks build
c462bedbbRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
db7e3316eRuedKamp-removed one environmental variable required in VxWorks makefile
420c34b8aRuedKamp-copy some headers required for VxWorks build
5a65e9df3Rüdiger Frankeremove $(OMHOME) substitution for nmake
ffbc45f22Adeel AsgharAdded new command line option --Debug=[true|false]. Draws widgets helpful for development.
c67f1b882Adeel AsgharAdded new command line option --Debug=[true|false]. Draws widgets helpful for development.
352fa2afdMartin SjölundAdd tail recursion for Expression.makeMatrix
da9489d3aAdeel AsgharAdded save total option in context menu. Updated saveTotalSCode to saveTotalModel. Enable shapes menu bar only for modeling perspective.
af9efb0a0Adeel AsgharAdded save total option in context menu. Updated saveTotalSCode to saveTotalModel. Enable shapes menu bar only for modeling perspective.
37f75383aRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
eb3c09a90RuedKamp-add export for VxWorks makefile
6ea6563d4Adeel AsgharUpdated the code to re-use TreeSearchFilters class.
a1687e45eAdeel AsgharUpdated the code to re-use TreeSearchFilters class.
847989d29Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMPlot
47b15cfbaAdeel AsgharRemove the space between x and y-axis.
071107013RuedKamp-fixed some VxWorks error -adapted VxWorks makefile
851aaca7cRuedKamp-xml file generation for functionsblock
2e3087223RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
62a6e0657RuedKamp-fixed some VxWorks error -adapted VxWorks makefile
446a0903bunknownfix for daeExpReduction in cpp template
64a0568e9Niklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
e344cf704unknownfix for daeExpReduction in cpp template
13983f6a9Martin SjölundAlways compile with ipopt
61b75ffd2Adeel AsgharAdded tool-tip for all columns of Variables Browser.
36083c2ecAdeel AsgharAdded tool-tip for all columns of Variables Browser.
bb77c7f5cAdeel AsgharFixes #3471. Show the variable description in the tooltip.
1d15d3b6fAdeel AsgharFixes #3471. Show the variable description in the tooltip.
44ea7bedaLennart OchelRemove short type declarations
e430545a2Lennart OchelRemove unused imports
6d3102dd8Adeel Asgharclean up
7a4172378Adeel Asgharclean up
0761c31e4Adeel AsgharFixed creating connection for inherited components.
1653cbb9fAdeel AsgharFixed creating connection for inherited components.
d700365c2Lennart OchelRenamed --forceRecommendedOrdering to --defaultOptModulesOrdering
3fe15e264Martin SjölundDo CONFIG_OS in autoconf
80f16ca9cMartin SjölundRun without OPENMODELICAHOME on Windows
7b269d16cLennart OchelAdd special cases to enable/disable additional opt modules
9f852892cMartin SjölundAdd configure option --with-msys=msys-root
11653b52cadrpo- small optimizations - use memcpy instead of for loop - do not copy the hashtable if not needed
e0d2d02a2Rüdiger Frankere-add Jacobian variable refs if +d=gendebugsymbols
d2ceb48d1adrpo- small optimization
91f3526d1Per ÖstlundFix for #2959.
4f8d315cfPer ÖstlundUpdated tests.
43df7a65eRüdiger Frankerefinements to Cpp FMU makefiles for win32
5fb2fc51eRüdiger Frankeupdate Makefile for Cpp FMI export using msvc
52a439f43Rüdiger Frankereplace Jacobian variable refs and initializers with defines
f20146ebdRüdiger Frankeskip Jacobian::get* code if there are no equations
bebe6ccfbAdeel AsgharRename unloaded class from folder structure package as class.bak-mo Added save option in the library browser context menu.
3c0e3612fAdeel AsgharRename unloaded class from folder structure package as class.bak-mo Added save option in the library browser context menu.
005343bd0Lennart OchelClean up default initOptModules
310762731Lennart OchelClean up default initOptModules
0d17a04bbAdeel AsgharAllow undo/redo for CoOrdinateSystem changes.
3e065deacAdeel AsgharAllow undo/redo for CoOrdinateSystem changes.
40390de26Willi Braunadded density information to backenddaeinfo of liner torn systems
de871a548Willi Braunupdate tests to addional output of backenddaeinfo
be9687440Martin SjölundCan now cross-compile a working omc from Linux
f19ece7b8Martin SjölundFixes to compile using msys2 on Linux
342374cd0arun3688push MatLabTranslator to Testsuite/special
4f43fa197Lennart OchelFix handling of symbolic Jacobians
f75088c5eLennart OchelClean up default postOptModules
9f095c631Lennart OchelClean up default postOptModules
3dcd46132Lennart OchelClean up default preOptModules
72230edf4Lennart OchelClean up default preOptModules
8597f421bRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
cda5d97ddRuedKamp-xml file generation for functionsblock
fff2ee553Willi Braun - added new linear solver klu from suitespase
2b53c2b45Willi Braun - fix 3rdParty
9defa27a0Adeel AsgharDon't create CoOrdinateSystem object on heap.
afa12d0f3Adeel AsgharDon't create CoOrdinateSystem object on heap.
9cc917225Adeel AsgharAdd class annotation only if values are different from default.
276e3d90eAdeel AsgharAdd class annotation only if values are different from default.
e54dc5e96Willi Braunadded testcase for klu solver
33012b07fNiklas Worschechfix for typo in define alias string variable in cpp Template/CodegenCpp.tpl
3a3e682e0Niklas Worschechfix for typo in define alias string variable in cpp Template/CodegenCpp.tpl
4a66b7a7fLennart OchelRemove newUnitChecking config flag
50deea622Lennart OchelRemove newUnitChecking config flag
44a6be4a6Lennart OchelFix *OptModules+ flags
ca73a56b2Lennart OchelRearrange optimization modules for symbolic Jacobians
635cc5dafLennart OchelRearrange optimization modules for symbolic Jacobians
db5c94a1dLennart OchelDump dae type to pre-opt module heading
43143af01Lennart OchelAdd config flags to enable/disable certain optimization modules
c5e16b001Lennart OchelImproved warnings/errors
ca7e4474cLennart OchelAllow not-recommended module ordering in modelEquationsUC
8a170eceeLennart OchelDump dae type to pre-opt module heading
cc923c7dbLennart OchelForce recommended pre-/post-/init-opt module ordering
2f665719bvrugeRevert "expected output"
27e482212vrugeRevert "attempt: extends getFunctionInputsOutputBody for Array-Types"
511edc7e1vrugeRevert "workaround for [https://trac.openmodelica.org/OpenModelica/ticket/3531 #3531]"
aff0026edRüdiger Frankeremove DOS line endings
1ba1aac92adrpo- attempt to fix windows build again
0e0b9116cRüdiger Frankefix least size of static vectors and return value
1da7404e8Martin SjölundSome updates for mingw cross-compilation
e904fa3bcAdeel AsgharFixed error messages link for files.
150309c94Adeel AsgharFixed error messages link for files.
7eecbb8e5Martin SjölundMerge pull request #10 from niklwors/master
513d3f56fNiklas Worschechfix for cpp runtime documentation build on windows
54098fff7Martin SjölundSkip darwin32 tests as we do not have dyld32
ccc46e3cdMartin SjölundTest darwin64 using the darling suite
36cabeec8adrpo- fix Windows build, for now C FMUs are broken
8847a737bRüdiger Frankeupdate discrete-time FMU test (#3549)
f401b3201vrugeworkaround for [https://trac.openmodelica.org/OpenModelica/ticket/3531 #3531] - added option inline function with array type (defaulte= false) - option will be irnored insidedynamicStateSelection
a3c21e75bAdeel AsgharDo not allow folder structure saving within one file package.
5e79ae1ecAdeel AsgharDo not allow folder structure saving within one file package.
1c737e182Martin SjölundTry harder to preserve whitespace
037163fe5Martin SjölundAdd testcase for #3551
310713516Adeel AsgharAdded support for moving classes to top/bottom.
c819912b7Adeel AsgharAdded support for moving classes to top/bottom.
952e5a4e2Adeel AsgharCompleted the GUI support for moving classes up/down.
61ee755b5Adeel AsgharCompleted the GUI support for moving classes up/down.
589568ea9Martin SjölundChecks setSourceFile+listFile combination
ab2a526e1Martin SjölundUse the INFO from the CLASS when updating program
4a7f1fdf0Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
303fad4a2Martin SjölundThe test needs to specify me_cs as FMU type
644209a0fMartin SjölundHandle older file command output
ea546267cLennart OchelAdd replace rules for clock expressions
e44ed5c81Lennart OchelAdd test case from ticket 2673
a1668c7f4Lennart OchelUpdate expected output
0c5e2df00Lennart OchelReplace matching algorithm that is used by fixInitialSystem
6b587c18bLennart OchelUpdate WasteWater test after library bump
d465e4875Lennart OchelReplace matching algorithm that is used by fixInitialSystem
1a9e8ce56Martin SjölundHandle older file output
e8b427597Adeel AsgharInitial support and structure for moving classes within packages.
d774f4566Adeel AsgharInitial support and structure for moving classes within packages.
a8c7fb8bcAdeel AsgharSave the folder structure.
b0638605eAdeel AsgharSave the folder structure.
df1b7a4d0adrpo- update test after library dump
186cf1507Niklas Worschechfix for external C functions an string arrays in cpp runtime
460260f95Martin SjölundMake 2.0 ME FMI the default
b14997c53Martin SjölundCompile MinGW FMUs with static libgcc
c578a6be3Martin SjölundFMU export changes
e89eaf5aeMartin SjölundUse autoconf in the source-code FMUs
3ea4de363Martin SjölundRemoved FMI 1.0 test that was actually a 2.0 test
fe6e5a4b4Martin SjölundUpdate for new API
19fe9a112Martin SjölundSpecify version="1.0" when testing FMI 1.0
d77c3cff4Martin SjölundMake colorNodePartitions tail-recursive
1a8f583a2Martin SjölundAdd a test for export+simulation of an FMU
a9225b77fRuedKamp-fixed simObjects also for VxWorks
ae2c20039RuedKamp-fixed simObjects also for VxWorks
1858edc35RuedKamp-enable sparse solver only for vxworks
4be732e6fRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9ef7f9061RuedKamp-fixed simObjects also for VxWorks
f2791803fRuedKamp-fixed simObjects also for VxWorks
0320fe7c7Mahder Gebremedhin+ Fix handling of complex equations so that we won't generate unecessary nonlinear systems.
b612c7ac3RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e6a9a5dc5RuedKamp-enable sparse solver only for vxworks
b635a28ddLennart OchelFix mat file import for parameters
2af9d1652Lennart OchelFix start values for algebraic states
a14041dd0Lennart OchelFix analysis of over-determined systems
1f77ff2a5Lennart OchelFix start value dependent initial equations
c68cd06cdLennart OchelFix start values for algebraic states
ed3971e29Lennart OchelActivate tests for tickets 2830 and 3536
105514cfcLennart OchelUpdate expected output
51aa59015Lennart OchelAdd test for ticket 3536
51fcae41cLennart OchelMake module detectJacobianSparsePattern dispensable
90fe820ceRüdiger Frankeremove NULL to please gcc 4.4 and boost
36d2ed8a6Lennart OchelFix modelEquationsUC
ecc4f6103Lennart OchelStore all optimization modules in only one list
6880ebb4dLennart OchelMerge interface for pre/post-optimization modules
13a7f096bNiklas Worschechremoved PreVariables class from cpp runtime
168aff96dRüdiger Frankeremove unnecessary dependencies from exported FMUs
291f55df5Mahder Gebremedhin+ Fixed handling of complex residual equations. We expand all complex residuals to simple residuals now.
07834a6b4Adeel AsgharFix auto expand issue when unloading a class.
67f64ec75Adeel AsgharFix auto expand issue when unloading a class.
031124626Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b7a55c71cNiklas Worschechfix for fmu instantiation in cpp runtime
46659c28ePer ÖstlundUpdate tests.
bf9ac8204Per ÖstlundFix for Buildings.
9bfe18f51Rüdiger Frankefix quotes
91906e76aRüdiger Frankefix quotes
5e2e086ccLennart OchelFix type information of temporary variables
604f9170cRüdiger Frankesimplify XML output for clocks according to FCP-001
def3cd092Rüdiger Frankeadapt test to simplified FMI XML format for clocks
c2668175fadrpo- add first prototype of FMI for Co-simulation - fix a typo in dassl.h
4ed9a22daAdeel AsgharWhen a class is loaded/unloaded then component is not updated.
74be569e0Adeel AsgharWhen a class is loaded/unloaded then component is not updated.
3598a1f69Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
1e2fbd796Niklas WorschechMoved write output classes of cpp runtime in DataExchange lib
11fb0e937Martin SjölundFix for C89
11412fe22Adeel AsgharPush the experiment annotation modifications to the undo stack
eb7c06520Adeel AsgharPush the experiment annotation modifications to the undo stack
d7f85b385Per ÖstlundAdded testcase for #3506.
fb6950e12Per ÖstlundFix for Buildings library, #3506:
beccd0c5dMartin SjölundAdd test for #3518
011a685f7Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
1034be47aMartin SjölundUse equivTypes function instead of equality
592a3fb80Per ÖstlundFix ExternalLibraryFunction on some platforms.
b9f61e955Martin SjölundDisable LOG_LS in test
760f38be9Adeel AsgharUndo/redo for Component parameters modifications.
e9d3ec406Adeel AsgharUndo/redo for Component parameters modifications.
728d95da3Adeel AsgharAdded new API `removeComponentModifiers` and `removeExtendsModifiers`
eca30949fAdeel AsgharTests for `removeComponentModifiers` and `removeExtendsModifiers`
fefe856a6Martin SjölundFix OSX stack base on Mavericks
a498326c4RuedKamp-fixed typo
d9734be4cRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ce4ab8c7aRuedKamp-fixed typo
c9447a6c2Martin SjölundFix for old C standards in FMU Jacobians
d51186c4dMartin SjölundAdd test for getDefinitions
82c2619f6Martin SjölundAdd test for builtin classes
1aea30b1eMartin SjölundMore error-checking for BouncingBall
acb946eacMartin SjölundFixes bug in lookup of builtin classes
4d8edfa31RuedKamp-add factory for vxworks
80a400297Rüdiger Frankeupdate test for sub clocks
1edd09e59Rüdiger Frankeextend Cpp runtime with sub clocks
ceca57ec4Rüdiger Frankeextend FMI export with sub clocks
bcbf094b0Adrian PopMerge pull request #132 from lochel/modelicaML
5a995db73Lennart OchelAdd fully specified initial conditions to modelicaML tests
693d9cff9Rüdiger Frankeskip FMI initial and start attributes for alias variables
2490aa1ecRüdiger Frankedisable elimination of alias references for C FMI export
161ad391fRüdiger Frankeimplement direct memory access in Cpp FMI 2.0
5e6d738f1Rüdiger Frankeenable direct memory access with FMI value references
c79035785Adeel AsgharHandle Component modifiers when we do duplicate.
e3aeef9bcAdeel AsgharHandle Component modifiers when we do duplicate.
0d33c3b2dLennart OchelRemove redundant deep copy
2823f5ae0Adeel AsgharFixes #3158 Fixed the Component Parameters window issues.
c993482c9Adeel AsgharFixes #3158 Fixed the Component Parameters window issues.
f4a51e221RuedKamp-removed unused variable, which caused an runtime error with msvc
8ac628715vwaurich- add comSubExp test
f1c1c9698Rüdiger Frankeintroduce isFMIVersion10 check for old versions
525b6daa7Rüdiger Frankedeclare usage of boost::numeric::ublas explicitly
d172abda4vwaurich- introduce alias eqs and no alias vars in CSE
55eb14d2dvwaurich- update test
9ecf276b5vwaurich- add cse test
080a0a730vwaurich- disableComSubExp for tests
30a76f91bRüdiger Frankeremove two unused libs from Cpp FMU build
2db28127dAdrian PopMerge pull request #126 from gossen/ticket-3520
4acff37ebAdrian PopMerge pull request #241 from gossen/ticket-3520
712c8c356Rüdiger Frankeremove unused SimData and FactoryExport from FMU
db830e586Lennart OchelAdd description of flag newUnitChecking
3d8d346b6Lennart OchelRename function insertUnitinEquation
fe7b58c76Lennart OchelSuppress some warnings
7c390101eLennart OchelImprove error message
c1d6eb48bLennart OchelClean up indentation
4adb15880vwaurich- disableComSubExp in tearing test
0ac9894f5fbergeroRemoving white space
ece74d036fbergeroCorrect checking of range for derivatives
e71335cadfbergero* 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).
afc37d0e1Rüdiger Frankereplace hash tables for pre SimVars with offsets
398dd5535Paul ScottFixed alias default and initial equation sub expression tag
dd7ca6ed4vrugeattempt: extends getFunctionInputsOutputBody for Array-Types
cb29956a1vrugeexpected output
101b6b243Rüdiger Frankesmall fix to delay buffers
7c86a6a8eRüdiger Frankeuse std::deque for delay buffers (#3522)
d96c19826vwaurich- fix getNoDerivativePosition
8f2cd7e7bvwaurich- fix for modified Pantelides
57cecad86Martin SjölundFMUs need to contain the info.json data
c5120f3davwaurich- handle empty systems in CSE
7c8823774Adeel AsgharOnly track the Component attributes if they really changed.
7a4ef8387Adeel AsgharOnly track the Component attributes if they really changed.
0f589ef15Martin SjölundInclude dgesv in static source FMU external code
7c902c1deMarcus Walther- fixed FMU start value behaviour
90cc19cdfMarcus Walther- start values are now correctly set for exported FMU 1.0 ModelExchange
acac6c324Marcus Walther- fixed expected output of FMU C++ test
33b29ef19Rüdiger Frankefix integer once more
02c1d40beRüdiger Frankereplace lexical_cast with to_string (#3522)
4ef6094f7Marcus Walther- fixed some typos in ModelicaTest-makefile
3976439aeWilli Braunexpected output
4ca8547d0Willi Braun - fixed noEquidistant mode
ca92c9c2cWilli Braun - added test-case for noEquidistant mode
e15a57ad8Willi Braun - fix noEquidistantGrid mode of dassl
a2254ab48Rüdiger Frankeuse C++11 builtin range based for loop (#3522)
bd1887eccAdeel AsgharFix loading the non-existing classes.
9f25f50c5Adeel AsgharFix loading the non-existing classes.
ab0bfa6a0Adeel AsgharTrack connections updates.
8a958872dAdeel AsgharTrack connections updates.
27e6c5612Rüdiger Frankeuse std::hash to obtain thread number with C++11
608360da2Rüdiger Frankeuse C++11 std::unordered_map and set (#3522)
475a176a0Adeel AsgharCall setReloadNeeded for non-existing classes. So we can load them when opened.
311fcb445Adeel AsgharCall setReloadNeeded for non-existing classes. So we can load them when opened.
64ec735f4Rüdiger Frankereplace boost list_of with C++11 builtins (#3522)
a698deb6cAdeel AsgharUpdate the inherited class icon when protected component is changed in base class.
dfff11598Adeel AsgharUpdate the inherited class icon when protected component is changed in base class.
dace8a83fAdeel AsgharUpdate the inherited class icon when a new shape is added to base class.
d22cc6fdbAdeel AsgharUpdate the inherited class icon when a new shape is added to base class.
2a0c52937Lennart OchelFix replacements for NORETCALL in when equations
069f34ed1Lennart OchelFix replacements for NORETCALL in when equations
93d872f3eMartin SjölundRemove readline dependency from OMCompiler
ab452a354Rüdiger Frankefix usage of trunc
bc3311a9cadrpofix msvc build
0e98e6b35Adeel AsgharSome fixes when duplicating components of built-in types.
e2bbf6750Adeel AsgharSome fixes when duplicating components of built-in types.
88c7f2f9cAdeel AsgharUpdate Component instances when new shapes are added to the class.
2176a3c6cAdeel AsgharUpdate Component instances when new shapes are added to the class.
034af4bf2Adeel AsgharUpdate the Component display name when we do undo/redo.
6b87f1e5bAdeel AsgharUpdate the Component display name when we do undo/redo.
739d20cc5Adeel AsgharFix when connector component is set to protected we should hide it from icon view.
4bf2273b0Adeel AsgharFix when connector component is set to protected we should hide it from icon view.
0425c8f4dRüdiger Frankeintroduce namespace omcpp for more C++11 (#3522)
5da3ed26bvrugeextended the case tuple() = tuple in simplfyComplexFunction for array types in lhs/rhs
5c33b207bvruge Inline.inlineCall and forceInlineCall return DAE.TUPLE for more than a single assignment statement
71959bcd6Adeel AsgharAllow undo/redo when duplicating Components/Shapes.
e9f54669fAdeel AsgharAllow undo/redo when duplicating Components/Shapes.
4f32f34e0vrugeexpected output
bfdc85ca1vrugeadded testcase for inlineCalls with tuple
111757f3aRüdiger Frankere-add a used boost include
730289784Rüdiger Frankealign using boost::get with usage of tuple (#3522)
0b4c12507Rüdiger Frankereplace using namespace std with std::abs (#3522)
014017110Rüdiger Frankeremove unused boost includes and usings (#3522)
d5a818318Willi Braunimproved extrapolation of non-linear initial guess
243f70d9cWilli Braun - expected output
b04f8ee79Rüdiger Frankemove FMU solver factory include to solver creation
2d5f225a6Adeel AsgharAllow undo/redo for component attributes.
e322df094Adeel AsgharAllow undo/redo for component attributes.
f65e38389Adeel AsgharUpdate component comment when component contains dimensions.
7f4c0010eadrporemove deleted files from cmake makefiles to please the msvc build
82c9ab7ddMartin SjölundRemove the dependency on expat from FMUs
a5e016e84Martin SjölundCheck that we do not revert 3rdParty by accident
5bcd7ee53Rüdiger Frankemove solver creation to specific Cpp FMU system
4bf245a65vwaurich- fix for simjacCSRToCSC
b0724337bhudsonMerge remote-tracking branch 'origin/master' into pullrequest
08c5320eaNiklas Worschechfix for csv output in cpp runtime
45a75069cvwaurich-added indexReductionTest,remove warnings in craneFMUTest
03f5aaf5fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
eb0ffdd7fvwaurich- fix tests for pantelides change
b5101ef99vwaurich- activate modified pantelides
56d9b006cvwaurich- get smaller MSSS for pantelides
d56f65a56Adeel AsgharAllow to undo/redo component transformation changes.
54b69c45fAdeel AsgharAllow to undo/redo component transformation changes.
e929940c3Martin SjölundMerge pull request #9 from arun3688/master
29ef347b3Rüdiger Frankeuse C++11 to_string for numeric values (#3522)
52fdcec45Adeel AsgharFix creation of Text & Bitmap shape for undo stack.
843654d22Adeel AsgharFix creation of Text & Bitmap shape for undo stack.
8907348a7Marcus Walther- simple fix for array slices - typo fixes for array operations
57d7bf378Niklas Worschechsimplified inheritance structure for Modelica system in cpp template
5b15507c7Niklas Worschechsimplified inheritance structure for Modelica system in cpp template
3c5fbea49Rüdiger Franketypo in previous commit
49a44084aAdeel AsgharAdd class annotation for new classes.
963a24ba9Adeel AsgharAdd class annotation for new classes.
981224e6fAdeel AsgharRemoved the updateClassAnnotation signal.
1652fb898Adeel AsgharRemoved the updateClassAnnotation signal.
3746b035aRüdiger Frankeextend Cpp tests with negated boolean alias
f5433093dRüdiger Frankefix new WriteOutputVar for boolean aliases (#3524)
33ae1ea7aRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
49554e71cRuedKamp-fixed error with boost::minmax for c++11 in msvc
cc068045eMarcus Walther- fixed windows build
b99d59c5dRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
85dda17c7Rüdiger Frankere-add boost lib to FMI export prior to C++11
abf63499aRüdiger Frankeremove unused FactoryExport from FMU
732bcca67Adeel AsgharHandle component double click for built in types like Real, Integer etc.
eded7e0bcAdeel AsgharHandle component double click for built in types like Real, Integer etc.
80cb3a472Adeel AsgharAllow to undo/redo the changes done via UpdateShapeProperties dialog.
dff98d355Adeel AsgharAllow to undo/redo the changes done via UpdateShapeProperties dialog.
6d1f0254cRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a51c28ce3Willi Braun - fix symbolic jacobian generation in dynamic state selection
ab4c77139Rüdiger Frankemove xml parser include to XmlPropertyReader
4eede182aRüdiger Frankeuse C++11 minmax_element (#3522)
cfc7caf9dLennart OchelClean up match pattern
3b89fb746Rüdiger Frankeremove duplicate includes from FactoryConfig.h
9ea2fe6f0Rüdiger Frankecompletely remove boost libs from FMI export
8beab334fRüdiger FrankeLocalize use of boost filesystem and program_options (#3522)
8d2f20e82Martin SjölundFMU support for OSX, which does not support cp -u
1bb207d00Martin SjölundReduce stack space
57c8c57a2Martin SjölundCheck for qmake in configure instead of make
300f04e8aRüdiger Frankeremove dummy LoadLibrary from static Cpp runtime
164eabbfeAdeel AsgharTrack the shapes duplication operation in undo stack.
bd5ec90e6Adeel AsgharTrack the shapes duplication operation in undo stack.
d4e918097Adeel AsgharMore better undo/redo functionality for shapes.
37ccf1713Adeel AsgharMore better undo/redo functionality for shapes.
ea09fa1ecMartin SjölundUse va_copy when re-using a va_list
c7fdce2cdMarcus Walther- cpp runtime logger is now enabled on windows systems
3e69c93f3Martin SjölundBump for latest qmake.m4
946bc40d3Martin SjölundBump for latest qmake.m4
c3551f1e1Martin SjölundBump for latest qmake.m4
fbc7bf24cMartin SjölundBump for latest qmake.m4
159e5dd3eMartin SjölundCheck for empty qmake command
c535ec797Martin SjölundLook for env.vars QTDIR/QMAKE/LRELEASE
657b5ca09RuedKamp-added FactoryExport for VxWorks
6166cfd5bRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
83daf1ecbRuedKamp-added FactoryExport for VxWorks
b2c8ddd11Rüdiger Frankeremove boost_filesystem and boost_program_options from FMU (#3522)
d462a6905Rüdiger Frankemove Logger call from generated code to FMUWrapper
5ad900c62Rüdiger Frankeremove unused XmlPropertyReader from FMU build (#3522)
860b46370hudsonMerge remote-tracking branch 'origin/master' into pullrequest
19bd533d8Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
5a22ed334Niklas Worschechrestored fix for hard coded start values in cpp template
56438a091hudsonMerge remote-tracking branch 'origin/master' into pullrequest
8c2f3ec73RuedKamp-removed klu includes
fe751df68Martin SjölundInit Boehm GC (necessary for OSX)
aa32aa856RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
308b0b104Niklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
9576b5665Marcus Walther- fixed windows build
4ca01e493Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6544142faRüdiger Frankefix StaticOMCFactory after previous commit
e7c2e15d6Rüdiger Frankeseparate out static solver factories (#3522)
63842aa66Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a818bbdcdAdeel AsgharUse one command class to update component instead of three.
a380fc016Adeel AsgharUse one command class to update component instead of three.
c5ef284c9Adeel AsgharInstead of creating three commands classes use one class for shapes change undo/redo.
8e598407fAdeel AsgharInstead of creating three commands classes use one class for shapes change undo/redo.
0e6945e0badrpoupdate tests after library bump
a13a6c9a9Adeel AsgharClear the selection when doing undo/redo.
09052a0d3Adeel AsgharClear the selection when doing undo/redo.
b9ed433b1Adeel AsgharUndo for shapes and components movement either by mouse or keyboard.
72c5a36faAdeel AsgharUndo for shapes and components movement either by mouse or keyboard.
a6932e46dRüdiger Frankeremove remaining use of boost::multi_array (#3522)
1362549a7RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
472750f41bernhard ThieleAdded plot commands for clocked models
96a1c7828Per ÖstlundFix inst of Annex60 (and maybe Buildings).
863971a45Per ÖstlundUpdated tests.
7bd5b8cdeRuedKamp-added Broyden's method
11d211cc7RuedKamp-added Broyden's method
8ee84dfcfRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3f4cc57edNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
137767a3dvwaurich- restructured and extended graph dump of bipartite graphs
b3b75c192Adeel AsgharAllow undo of deleted connections.
1a75a6d50Adeel AsgharAllow undo of deleted connections.
1ebf92014RuedKamp-fixed typo
08df195dcRuedKamp-fixed typo
c12fd20b2RuedKamp-fixed typo
a1cfadd5dRuedKamp-some changes for vxworks
085c2c7dcRuedKamp-added Broyden
a027236a2RuedKamp-added Broyden
31050196eRuedKamp-added Broyden method
948a483ccRuedKamp-reverted original newton method
d17b30006RuedKamp-removed klu
bdd216d0fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
3a9ccebcbRuedKamp-reverted
3ad22ddf8RuedKamp-actually nothing changed
e64c91371RuedKamp-added broyden solver
22f67d2a0RuedKamp-added using boost::dynamic_pointer_cast;
f4f5eb031Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0c1e4fb1dRüdiger Frankeextend FMI2 Cpp interface with clock interval
9c388fa76Rüdiger Frankerevert Cpp Newton solver to version f23c4961
ca011af86Adeel AsgharOnly perform certain key actions when some items are selected.
7396fb72cAdeel AsgharOnly perform certain key actions when some items are selected.
3844b740bgossenAllow to instantiate inherited classes
88d0d6f21gossenAllow to not throw error if qualified class hasn't found in Absyn.Program
b5af9a451Adeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
8637b078eAdeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
4256e2a3dgossenAdd test case for inherited class instantiation
af5050170gossenRemove unused arguments from function Interactive.getClassesInClass
96d6e28cbgossenIn function CevalScript.loadModel replace recursive call with List functions
8505a24a1Rüdiger Frankefix getClockInterval for integer clocks
f62e535c5Rüdiger Frankeremove $PRE replacements that don't apply
b1f63b615Rüdiger Frankeuse nice names for $PRE and $CLKPRE in C and Cpp runtimes
29d30bf0cRüdiger Frankeadapt test to changed order of variable attributes
463e40ecbRüdiger Frankechange order of clocked variable attributes
d8a275309Rüdiger Frankeadapt test and add a clocked output
172319594Rüdiger Frankerename test as it covers more than the bug
b71ca8a52Rüdiger Frankemark clocked variables discrete
f1a843359Rüdiger Frankemake clockIndex optional instead of 0
092dd2f0aRüdiger Frankeadapt test to nicer $CLKPRE name
4002cbdf5Rüdiger Frankereplace $PRE and $CLKPRE with nicer names (cf. $DER)
fc6c659c8Rüdiger Frankeremove obsolete workaround
308ffab2fNiklas Worschechfix for uninitialized xmlreader and hardcoded start values in cpp template
89c5e8ce9Niklas WorschechMerge branch 'master' of https://github.com/niklwors/OMCompiler
524ce1147Marcus 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
fbb823380Rüdiger Frankepopulate clockIndex to FMI 2 modelDescription.xml
8bd5f278dRüdiger Frankeupdate test with clockIndex in FMI 2 modelDescription.xml
3792fac23Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3a9e48eebLennart OchelAdd support for interval operator to c runtime
38d9d5e57Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d248f480aNiklas Worschechmove WriteOutputVar class from MatFileWriter to Writer removed unnecessary typedef's
569c0bef3Lennart OchelRemove outdated QSS implementation
8cbbb3794Lennart OchelRemove outdated QSS implementation
cc63c1f24Marcus Walther- fixed std::shared_ptr and boost::shared_ptr mixing - fixed undefined reference to return value in WriteOutputVar
ea3f6705dPer ÖstlundAdded test for redeclare attribute propagation.
e1a4c64d5Per ÖstlundFix for attribute propagation with redeclares.
f9ed55d4bMarcus Walther- added some more array operations to c++ runtime - fixed some issues with array slices
b3391fe1cNiklas Worschechfix in intialization routine, if variable is a negated alias
e26b2abc4Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
8b038f734Lennart OchelMove TestSolve18.mos to FAILINGTESTFILES
f03e18c71Lennart OchelAdd getErrorString calls
4877229c7Lennart OchelSplit TestSolve.mos
3c084f674Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f34585c80Rüdiger FrankegetClockInterval returns 0.0 instead of 1.0 if unknown
ef387e7ebRüdiger Frankeuse implementation of SES_IFEQUATION from C for Cpp
5b5b55ef9Adeel AsgharDisable show grid lines button for system libraries.
62889e67eAdeel AsgharDisable show grid lines button for system libraries.
bda691132Adeel AsgharCreate an inherited connection when we create a new connection in the base class.
8e5582884Adeel AsgharCreate an inherited connection when we create a new connection in the base class.
797bbe7d0Adeel AsgharDraw and allow connection from Expandable Connector.
38b8092a3Adeel AsgharDraw and allow connection from Expandable Connector.
52537d55dAdeel AsgharBetter background colors for views.
3520e6d70Adeel AsgharBetter background colors for views.
648e1a4a6Adeel AsgharConvert angle 360 to 0.
8c650564fAdeel AsgharConvert angle 360 to 0.
17c1031b5Adeel AsgharAdded default placement annotation for components that doesn't have one.
1bee49b3dAdeel AsgharAdded default placement annotation for components that doesn't have one.
68309ab43Rüdiger Frankeadd test for FMI export with clocks
51ba47061Rüdiger Frankeadd basic clocks to FMI modelDescription.xml
9c1b72872fbergeroTest for the experimental FMU for QSS and Multirate
994c93384Lennart OchelMerge remote-tracking branch 'fbergero/fmu-experimental' into merge-fmu-experimental
809c928caAdeel AsgharUndo for shapes rotation.
eb8a4c36dAdeel AsgharUndo for shapes rotation.
17c6d8242Lennart OchelFix some typos (#236)
1e22e0965Per ÖstlundAdd new flag --useLocalDirection.
91f79f8b5Willi Braunadded debug flags for differentation
cb8e34138Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
2a6e75635Niklas Worschechfix for negated Alias Vars in write output routine
22a42a4b2mahge+ Fix #2933. Fix type informations for nested array reductions
a7c657ca6Adeel AsgharUndo for component rotation.
b037ac08eAdeel AsgharUndo for component rotation.
db371fa84Willi Braun - use functionTree from initDAE further for simDAE
998686a7aWilli Braunadded testcase for non-linear system with a function involed.
cde0a70f1Lennart OchelTry to fix floating point exception
ad77454e2Lennart OchelRevised substitutePartitionOpExps and substClock
46923d215Lennart OchelRevised function substituteParitionOpExps
0d1a7a82fLennart OchelCleaned up SynchronousFeatures.mo
5630b3281arun3688setCommandLineOptions("+std=3.3") for few clocked Synchronous model
244b2a270Lennart OchelAdd more TRACE instructions
6bec45880Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
176b40070Lennart OchelAdd missing TRACE instructions
748021d46Lennart OchelFix indentation
d9a51334cbernhard ThieleTests from Synchronous lib
47f4c8482Rüdiger Frankeadd test for different types of clocked variables
18ff445e4Rüdiger Franketest interval() without argument
b297e3a0eRüdiger Frankecleanup creation of non-clocked variables
d404391e2Rüdiger Frankesupport clocked states of any base type
c7257cc6dadrpomore fixes to #3503, fix clock substitution
d6113efb3Rüdiger Frankeextend clockedTest
55125bf2cRüdiger Frankeimplement interval operator in Cpp runtime
c1357acebRüdiger Frankefix initialization of clocked variables (#3497)
3e6f284f6adrpofix more typos
8447b1bd0vwaurich- store crefs for protected variables in visual.xml
4a71f04cfAdeel AsgharRemoved unused constructors of the shapes.
f91caeeb3Adeel AsgharRemoved unused constructors of the shapes.
a13d66f79Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
337077065Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
213ddae55adrpofix typo in function names
f0d262f92Adeel AsgharMark the model modified when component is removed. Properly check if Icon view has annotation or not.
de1c1ff0dAdeel AsgharMark the model modified when component is removed. Properly check if Icon view has annotation or not.
a777e7904Adeel AsgharFixed the saving of single file packages.
bf11a775dAdeel AsgharFixed the saving of single file packages.
96486005efbergeroMerge with master
9608520fdLennart OchelUse module "Error" instead of print for errors
cea00ab48Lennart OchelAdd more helpful error message
488d79601arun3688Added Clocked Synchronous models to Notebook and some more new models
1eff681c3Federico BergeroMerge pull request #1 from OpenModelica/master
93652648eadrpomore fixes for #3503, handle shiftSample arguments better
ae1a72c73adrpomore fixes for #3503 - fix subSample, superSample argument checking - fix to allow Clock to be used as a connector
e78c79d90Lennart OchelUse constant emptyInputData
0b7d5fb78Lennart OchelSimplified record DIFFINPUTDATA
7e6ad026aWilli Braun - fix diffInputData for zero differentiation
1501542c5adrpofix #3504, build with qt4 even if qt5 exists
7fd0367c6adrpofix #3504, build with qt4 even if qt5 exists
b85c207e8Willi Braun - update testcase and expected output
9079fd27fLennart OchelAdd missing brackets to cast expressions
2f0f007dbmahge- parenthesize expression is div()
eb0d20985Niklas Worschechfix for addContainerToWriteQueue
338fff9c0gossenAdd tests for #3492
bfa33db85gossenIn Lookup.lookupConnectorVar get inner/outer prefix for first ident
9ef520ebdLennart OchelFixed module simplifyComplexFunction
49a754df0gossenAdd tests for top level nested connectors
e02e8c96bgossenUse ConnectUtil.componentFaceType function for detecting top level variables
c43ea9289gossenReplace recursive call to CheckModel.countVarEqnSize function with List utility function
4b8cd7752adrpoadd test for #3503
c5ce437f2adrpofix for #3503, prefix clocks
3a9498464Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e88115af6fbergeroAdding dependencies for NL System RHS
0610df2e2adrpoadd the new files to the msvc cmake files
fb0df3440adrpofix windows build and source fmu test on gcc
fb7644bdfRüdiger Frankeattempt to fix #3502
5dfc9cdedRüdiger FrankeAbstract naming of previous variables
794b44452Rüdiger Frankeadapt whitespaces to existing tests
b0d49ab81Rüdiger FrankeExtend FMI2 export with DiscreteState
0a6d92e25Rüdiger FrankeIntroduce clocked state variables
e28a98faaadrpoupdate 3rdParty
23515467badrpofix windows build
6707ec85fRüdiger Frankeupdate clockedTest for #3498
5a5e52f3fRüdiger FrankeCpp update for initialization of clocked variables (#3497)
9e5b3b0d6Rüdiger Frankedistinguish clocked variables during initialization (#3497)
8d35fe6cfAdeel AsgharSave one file packages with correct indentation.
61693d935Adeel AsgharSave one file packages with correct indentation.
886ec2b17fbergeroIntroducing the GetSpecificDerivatives in the FMU and the corresponding debug flag
b570c96defbergeroMaking the function TR
c56af4b87Adeel AsgharDraw the class inherited connections.
a9cfc4011Adeel AsgharDraw the class inherited connections.
fae5a0ac1Adrian PopMerge pull request #229 from lochel/PlanarMechanics
7212ce4b9fbergeroMoving FMU Experimental outside QSS and into SimCodeUtil
2f9f8a732Lennart OchelFix missing brackets for rhs of division
4b5a98559Lennart OchelRemove useless line of code
74bab6970Lennart OchelFix dump of sparsity information
40d491555Adeel AsgharGet class connections. Allow undo/redo of connections.
003436e03Adeel AsgharGet class connections. Allow undo/redo of connections.
175945493fbergeroFirst working version of the FMU extension
460798947arun3688Update OMNotebook documentation with new features
8734a496evwaurich- rewritten ResolveLoops.partitionBipartiteGraph
1363820eaLennart OchelTry to fix #3482/#3498
8a1542ef5Adeel AsgharDo not modify argc & argv. Use setStyleSheet to apply the styles.
87d6a1fc4Adeel AsgharDo not modify argc & argv. Use setStyleSheet to apply the styles.
10f534150Per ÖstlundFix for #3479.
6b0a496f9Per ÖstlundUpdated test cases for #3479 fix.
96359f8d1Adeel 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.
828629a3dAdeel 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.
e90ff376darun3688improve the evaluation of latexcells, automatic hiding of latex source and height adjustments
2ed993a62Martin SjölundAllow generation of source-code FMUs
5a8f66512Martin SjölundTranslating FMU no longer keeps temporary files
4b6af1dbbMartin SjölundAdd debug message to WasteWater test when failing
314ff9437Martin SjölundAdd test for static source FMUs
4cdc91bcfLennart OchelImproved some error messages
a2c09a0d1mflehmig- Make clean will not remove Pyhton scripts.
2f59fc727mflehmig* Polished output.
27d324c1dmflehmig- Added Python scripts to execute msl-simulations in parallel and obtain statistics.
7bf48ba72mflehmig- Added some german translations of error and warning messages. - Small cleanup in flag description.
62eff2321adrpoupdate 3rdParty submodule
4dfa16d8badrporemove tabs
09dea2614adrpofix msvc build, ansi C and cmake files
eda1836bfRüdiger Frankeimplement clocks in Cpp FMI2 interface
b021f4a3dRüdiger Frankeadd clock accessors to Cpp model
92cf27fa4Martin SjölundUpdate ModelicaExternalC for Noise library
8ed87db68adrpofix gcc build
630221753arun3688Update Main DrModelica.onb file date to latest
29aa22f27Lennart OchelRemoved unused variable
2602d04a9Lennart OchelSpeed up initialization
75feda9cfMartin SjölundChange simulation_input_xml from C++ to pure C
9620a35bdarun3688Update Notebook with new models and some fix to existing models
672f53e05Martin SjölundRemove one more C++ hashmap
ca9109b87Lennart OchelKeep also removed equations of empty eq systems
7c88a18b3Lennart OchelRevised implementation of analyzeInitialSystem
41c9ce335Lennart OchelUpdated expected output
a030088e5Martin SjölundChange implementation to fread instead of getline
f0f7bc97fadrpofix msvc issue
1c35b32d5adrporemove bad free
3ba85d73dadrporemove tabs
6f05b75f4adrpoattempt to fix the windows build
8ef827d58Adeel AsgharUpdate components when shapes are added/deleted.
0869ec590Adeel AsgharUpdate components when shapes are added/deleted.
4a406ed4bMartin SjölundIntroduce uthash to the XML reader
0283c7b7fMartin SjölundRemoved some C++ features from the XML reader
9e822e78cLennart OchelDecompose exectStat for initialization phase
42a54d3d1Marcus Walther- boost root is now only passed to cmake if it is set to something != ""
faad5bf51Lennart OchelGenerate code with less nested brackets
1aff8213aLennart OchelOmit some unnecessary parenthesis
9913bac06Lennart OchelGenerate c code with less nested brackets
482b658b2vwaurich- remove invalid comment section
18a82cf04vwaurich- clean up vectorization for trunk
38d648b46vwaurich- remove whitespaces
30db1e02fvwaurich- remove whitespaces
21d79d8f0Martin SjölundFix logic error for SystemImpl__removeDirectory
a81fa3029Adeel AsgharHandle the case when extends classes are unloaded/loaded.
36a2419f9Adeel AsgharHandle the case when extends classes are unloaded/loaded.
6f3767207Marcus Walther- fix for GCC 5
f317b8bccLennart OchelUpdate .gitignore file for java_interface
703263bdaAdeel AsgharFixes #2711. Better handling of class components.
e87b1f31fAdeel AsgharFixes #2711. Better handling of class components.
79cd7cacdMarcus Walther- try to fix OSX Cpp-Runtime Job
5fd45cfe4Lennart OchelDeactivate module constantLinearSystem
c220b5b49Lennart OchelDeactivate module constantLinearSystem
5119eb72bMarcus Walther- try to fix OSX Cpp-Runtime Job
88785c86eLennart OchelSimplified implementation of execStat
30fb32ef7Martin SjölundReduce the number of dependencies in FMUs
bf0097105Lennart OchelAdd mssing Jacobian types
e5e550e4bLennart OchelFixed definition of StrongComponent
a378a1ab9Marcus Walther- try to fix OSX Cpp-Runtime Job
bd6974813adrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
87c24d8e8adrpoupdate the relative path to Compiler directory
d43864509adrpoupdate tests after library bump
ea9b035f5RuedKamp-added initialization of pointers
d353fa6f2RuedKamp-changed cycletime for vxworks
a5e1cee0cRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9e3866dd1adrpofix windows build
5d714dc32RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ed9ce6f73Lennart OchelRemoved initial equations from simulation system
b1c655739Lennart OchelUpdated reference file
cad0e0769Lennart OchelUpdated expected output
c181c4a78RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6af90d936RuedKamp-added initialization of pointers
210bf97eeMarcus Walther- "using namespace::std" now depends on compiler
3a2054236Marcus Walther- resolved some warnings and namespace issues
919c27ee9Marcus Walther- resolved some boost namespcae problems - added c++11 option to autoconf
e81337e27Marcus Walther- moved property inclusion to modelica.h
2ea6a5abbMarcus Walther- fixed namespaces::std issues
d0cef12fcMarcus Walther- removed some empty lines
4d33f4770Marcus Walther-reorganized some includes
8c752627dMarcus 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
116b7c73fMartin SjölundMoved the location of java_interface
c6b7bfe37adrpoupdate tests after library bump
ea39a14a7Martin SjölundUpdate output for #3481
c71d1aedaMartin SjölundDo not override the user's --std choice
8c0b06e54Martin SjölundAllow the use of package.order
4eb160b41Rüdiger Frankeextend Cpp clockedTest
f9b879fccRüdiger Frankeevaluate Cpp events at final time as well
326a2f561Rüdiger Frankerefinements to Cpp synchronous support
b850c7cb1Ruediger Frankeadd test for Cpp synchronous support
732ac5dc5Ruediger Frankeremove virtual qualifier for hpcom
d547803f2arun3688Perform Cell copy and paste operation with regular Ctrl+c and Ctrl+v shortcuts
fffbbaf61Ruediger Frankeinitial version of Cpp synchronous support
1f2a731a4Lennart OchelTry to fix ticket 3477
c5706c47eLennart OchelAdded differentiation rule for start values
1fc1e83f5Lennart OchelActivate test case algorithms.mos
535508dedLennart OchelAdded test for ticket 3477
8c1ea11b9Lennart OchelUpdated expected output
c835a1d83Niklas Worschechfix for getfreeContainer in writer class
8049849bdNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
3fb3c9b12Niklas Worschechfix for merger error in cpp template
9aa4b65aeNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
19c8d3289Niklas Worschechchanged output method uses xml file to pass variables from simvars to output routine
7e1d02636Lennart OchelUpdated expected output
6b5d3a2c7Lennart OchelFilter const when conditions within shared object
88a65ee3aLennart OchelFilter constant when conditions
325e08e17bernhard ThieleAdded clocked DID test case
aca0480fbvwaurich- fix for evalAllParams
4164dacf2Marcus 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
4a58ffa05Marcus Walther- removed wrong brackets
2fa610a1eMarcus 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
4a959d095Marcus Walther- duplicated ModelicaLibraryConfig for gcc and msvc
ef8b4ae61Lennart OchelFixed ticket 2337
cf476661aLennart OchelAdded test for ticket 2337
a78d281e0Lennart OchelCleaned up Differentiate.mo
0fed4ef54Lennart OchelActivated test IfEquation5.mos
ad14fcb8ePer ÖstlundFix for #3473.
5eb0284dePer ÖstlundAdded test for #3473.
b384418abMarcus 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)
5e4b2b110Lennart OchelNew flag to dump functions
ee793f0c2RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b33dc5a5bRuedKamp-changed cycletime for vxworks
7ab0a6770arun3688Added functionality to copy and paste cells between Notebooks
ad4fdde8aLennart OchelAdded index reduction to optdaedump
0ed9bc8ebLennart OchelAdded index reduction to optdaedump
56804f255RuedKamp-fixed typo
95e653308RuedKamp-commented out klu
0b32c47f6RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e86e3e9c9RuedKamp-commented out sparse solver klu
dfdabf30eRuedKamp-changed settings for vxworks
e2767e6a4Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9c70b1b19Niklas Worschechfix for external C Array arguments data pointer
72fac42ecRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
76a8d190eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
bbce7feafLennart OchelAdapted optimization modules for Jacobians
b6f694400Lennart OchelAdapted optimization modules for Jacobians
2d2c6eec1Lennart OchelAdded new backend module "simplifyAllExpressions"
9db05a8c7RuedKamp-changed xml path for vxworks -added string to simVars for vxworks -changed default settings for vxworks
e7e6f99b7Lennart OchelAdded new backend module "simplifyAllExpressions"
4fc9dfb3bRuedKamp-removed some obsolete stuff
fcb03b16eRuedKamp-added define for Vxworks
9318f2082Marcus Walther- fix typo
d98c6e1f6Marcus Walther- forgot to rename mos-file and adapt makefile of cppruntime-test-folder
e257d8519Marcus Walther- test for hardcodedStartValues-Flag added
12df3f8eeMarcus 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
845393724Niklas Worschechfix for start index for array creation in cpp template
ffb919782Niklas Worschechfix for createArray in cpp template
f49a665baNiklas Worschechfix for start index for array creation in cpp template
e27fffeb0Lennart OchelExclude removeInitializationStuff from
e44b65be5Lennart OchelExclude removeInitializationStuff from
a59dc08e1Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
dc45f54a7Niklas Worschechfix for createArray in cpp template
b7dbd4a85Lennart OchelMoved some optimization modules
7e92f79f2Lennart OchelUpdated expected output
13c192592Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
bf51f0e44Lennart OchelUpdated expected output
01d3cd1d7Lennart OchelMark assertions that are triggered during initialization
805ce17e4Lennart OchelFixed ticket 2659
ea7b44a31Adeel AsgharDraw red cross for non existing inherited class.
aceace2eaAdeel AsgharDraw red cross for non existing inherited class.
0a122d16bbernhard ThieleAdded state machine tests
25b706826adrpo- update test after library bump
76217d26ebernhard ThieleFixed array dimension error
f9eb551ebbernhard ThieleAdded some missing start values
5dcc7b90ebernhard ThieleFixed expected SMMin.mos output
8d8549fdcLennart OchelAdded missing descriptions for opt. modules
707bc0b08Lennart OchelCleaned up BackendDAETransform
a99802877Per ÖstlundTest case for #3467.
0de2ae0c4Per ÖstlundFix for #3467.
0ad7abbd8Marcus 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)
dbd1ef431arun3688Display the output of latexcell to the top left position of the cell
d24e1ca32Marcus Walther- static linking test of cpp-runtime is now working correctly
ac0ef81b8Marcus Walther- removed $-sign from variable/parameter names in modelDescription of c++ runtime (FMU 1.0)
058d92ceaMarcus 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
e6cfb0d75Rüdiger Frankedisable erronous dimensioning of array (#3464)
166399837Adeel AsgharCopy the required binaries for FMU. Display information about state when fails.
107be737bRüdiger Frankefix version for FMI 1.0 test
9bc75fcf9Rüdiger Frankeadd a simple alternative test for Cpp FMI 1.0
555c09664Rüdiger Frankedisable Crane_FMU1_CPP test after second failed Hudson job
f71d5c453Rüdiger Frankeavoid duplicate definition of Cpp alias records
79502dd2eAdeel AsgharUpdated the icon in libraries browser when graphical object is updated.
2229db132Adeel AsgharUpdated the icon in libraries browser when graphical object is updated.
38c4ab8daAdeel AsgharBetter handling of inherited classes for graphical objects. Added undo/redo for adding & deleting graphical objects.
a8af171a4Adeel AsgharBetter handling of inherited classes for graphical objects. Added undo/redo for adding & deleting graphical objects.
a23d238e1Lennart OchelAdded missing options to potOptModules ...
bf8a3b993Lennart OchelAdded initOptModules to documentation
827c7a92dRuedKamp-added string Vars to simVars for VxWorks
75935f471Rüdiger Frankeredo yesterday's Array commits after merge 31041f6
381292290RuedKamp-fixed merge conflicts
80f4a6531RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e71411d00RuedKamp-some changes during intialization of linear algloops -some changes in default settings for vxworks
0ea0def39RuedKamp-changed to broyden's method
874901853RuedKamp-fixed typo in "newton"
d0b65ef84RuedKamp-added bool for initializiation
21527ac0aRuedKamp-added blas and lapack methods
615866779RuedKamp-added Newton Solver for Vxworks
9e4ed5c34Martin SjölundMerge pull request #1 from hkiel/change_menu_shortcut
852e3d0cbHenning Kielfix typo
fb0fbc0ccHenning Kielignore generated file
608f05bc4RuedKamp-added sparse solver
aa6c6fbecHenning KielUse CTRL+W to close window like in other OM apps
62659ebdaRuedKamp-changed to broyden and added sparse linear solver
cd20244e8RuedKamp-fixed bug with zero states
dc6ee4f05Per ÖstlundBootstrapping fix.
fe38b0d63arun3688Merge branch 'master' of https://github.com/OpenModelica/OMNotebook
476d43c79arun3688Hide Latex Source after evaluated, show only the output part
28fda15a2Niklas Worschechfix in cpp runtime for XmlPropertyReader and fmi export
31041f6ecNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
eeef9c426Niklas Worschechfix for build of shared DataExchange lib
71012083aLennart OchelFixed #2763
a15844da4Lennart OchelUpdated expected output
a2f905b9cRüdiger Frankereplace dynamic boost::multi_array with new/delete
483b18adcRüdiger Frankereplace static boost::array with built-in array
e19799fc6Marcus 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
442b07a6dNiklas Worschechfix for precompiled header for msvc cpp runtime
2ed0fcd7dNiklas Worschechfix for load ini xml file with msvc for cpp runtime
f8ebb31b4Niklas Worschechfix for precompiled header for msvc cpp runtime
2c02f6170Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
1a4a35798Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
967f532aaLennart OchelRemoved match statement from removeUnusedFunctions
fd981d3acLennart OchelUpdated expected output
b786010b4Lennart OchelAdded dae type information to post-opt ...
edba84e7abernhard ThieleAdded support for timeInState()
4597a3a5eAdeel AsgharHandle case when baseclass not defined.
63dc322eabernhard ThieleAdded test for timeInState()
8cbf8b358Rüdiger Frankedereference system from when equation in alg loop
a78d0d26fbernhard ThieleAdded test for ticksInState()
e785f3b5bbernhard ThieleAdd support for ticksInState() op
cd7c5dc18bernhard ThieleRenamed misleading function name
1dff76a87Rüdiger Frankecleanup Cpp daeExpBinary (#3458)
52d2ee509adrpoadd test for bug #3458
d78c1bfa8adrpofix for #3458, proper type in DAE.MUL_MATRIX_PRODUCT
94be67b29Rüdiger Frankeimplement Cpp cast_array
449f0a68aRüdiger Frankeadd at least one correct Cpp FMI2 test
d8285af80mahge- Minor explicit parmodelica fixes - consistent library naming - add cmake compilation
e37688990mahge- Fix parmodelica automatic parallelization - Fix function signatures - Consistent cost handling - Fix makefiles. Update CMake rules
8de5c5e6aMartin SjölundCheck hwloc exit status before using the data
3aff9343bLennart OchelReactivated Modelica.Elect...al.Examples.RAM.mos
ef0a90639Lennart OchelFixed removeUnusedFunctions
4175aafebLennart OchelUpdated expected output
c14ac3989Lennart OchelAdded config flag ...
ff5156b40Lennart OchelDeactivated some tests for now
38c41e4b5Lennart OchelUpdated expected output
56d186b60Lennart OchelSeparation of back end transformations...
523217eb6vwaurich- new +d=evalOutputOnly feature
00ba1c4e9Marcus Walther- removed unused parts of init.xml-file (cpp runtime)
e60adf46badrpoadd alarm to hpcom test as it cycles on mac
cb4482e53Martin SjölundAdd test for merging class annotations
d5feda678Martin SjölundMake the gettext targets start working again
b135ff80ctbeuFix typo in message
1eda356a7Martin SjölundWhen merging annotation, consider the order
3b35f139ebernhard ThieleLess intrusive wrap hack
e444b71eeMartin SjölundHandle delete+whitespace+add better
456e41343Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f27e16bc3Niklas Worschechfix for load ini xml file with msvc for cpp runtime
326bdaac6vwaurich- new evalAllParams implementation
65812fafeNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
83ee71a69bernhard ThieleActivated wrap-hack for SMs
b363a99f1bernhard ThieleAdded state machine tests
fb1fc20deRüdiger Frankeadd test for built-in math functions
a2fb46584Rüdiger Frankeresolve name clashes with built-in math functions
0ee109bdbvrugefixed 3437: - compare only optimization variables - added bounds for der(evaporator.V_v) - changed simulation falgs (init push, mu-strategy)
ed3833589Marcus Walther- added missing type (array of enumerations)
d4d3078c7Marcus Walther- updated expected output for c++ fmu simulations
2523b1becNiklas Worschechfix for logger dll export in cpp runtime
8717b8eefMarcus Walther- removed unused boost_export
f23c4961aMarcus 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"
631897c96Marcus Walther- hpcom levelfix scheduler is now available in combination with openmp
494b8d679Per ÖstlundFix for #3421.
de547c12fPer ÖstlundAdded test for #3421.
aff54d9dcMartin SjölundAdd testcase for #3422
555db1445Martin SjölundDo not allow 2D arrays in for loops
1ecd285b0Martin SjölundFix tail recursion (#3448)
260aeb544Martin SjölundFixes for stack overflow detection
f8a096918bernhard ThieleFixed non-working examples
27a774acePer ÖstlundAdded testcase for #3409.
ceb197503Per ÖstlundFix for #3409.
0e43de595adrpofix #3444 - show only real numbers with 4 decimal digits
d68413f83Marcus 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)
1322e7704adrpoadd 1.9.4 version
c7d467246Martin SjölundImprove the detection of current / previous release
1dae48da7adrpoadd 1.10.0 version
10fa907e2gossenFix test Enum5.mo
ce7f2a6b4gossenAdd test case for enumeration redeclaration
f7a9b467cgossenFix bug #3327
d2b11e658Martin SjölundAdd test for re-opened #3424
deca16e80Martin SjölundHandle only removals when merging text files
2ca32d44fMarcus Walther- fix typo
06ce3b8d3hkielFix system() call by continuing to wait if EINTR is received from child process
5a58cbb67Adeel AsgharMerge pull request #8 from adeas31/doc
ed5b948baAdeel AsgharAdded inkspace to build instructions.
00f8fa41fMartin SjölundMerge pull request #7 from adeas31/doc
c0827a48fAdeel AsgharCross reference Modelica3D picture.
34bc74298Adeel AsgharUse same number of characters.
f6b8134e5Adeel AsgharAdded Modelica3D image.
1159cd673Adeel 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.
e9553fb52arun3688Update image to current OMNotebook
68483a60bMartin SjölundIncorporated more of Peter's suggestions
158840895Rüdiger Frankeadapt test logs to fixed stream implementation
7c85c2ebbRüdiger Franketreat reductions to empty connection sets (#3430)
2735f4bb6Martin SjölundAdd release notes
7ceabdd4fMartin SjölundFix OSX paths
435e5419cMartin SjölundFix OSX paths
83ed62aaemahge- Check and exit if there are no valid OpenCL devices. - Fix makefile.
aab84ab0bMartin SjölundAdd 2015 contributors
a1c91e1afMartin SjölundUpdate based on Peter's comments
0f0f38602Adeel AsgharAdded test for `getInheritedClasses`.
5e4151e9dAdeel AsgharAdded new API `getInheritedClasses`. Returns the list of inherited classes. Better than using `getInheritanceCount` and `getNthInheritedClass`.
a243f9eb9mahge- Added testcases for parmodelica - tests are optionally enabled by passing -parmodexp to runtets.pl
11293e561adrporeactivate test after more fixes to #3430
e33279aa3adrpoMerge upstream changes
38b8a98c1adrpofix for ticket #3444
6f0b7a70fadrpomore fixes for #3430, handle both lists empty
4300bd200mahge - Fix inculde path for Intel OpenCL - Fix include directory for build - Disable extra timing outputs
d78c686c4Martin SjölundUse class info for inserted classes
d6e856868Martin SjölundAdd testcase for #3410
19b35e19eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
20a6b173cvwaurich- dont care about dummystates in plts
6fe518d79Per Östlund Fix for #3386:
b00b52fc6Per Östlund- Reactivate test case for #3386.
cdb08e09aAdeel AsgharFixes #3442 Also fixes the make clean. Use $(OMBUILDDIR).
7b9a6c997Martin SjölundHandle diffs better when there are only additions
8f12f4a74Martin SjölundAdd test for #3424
363235136vwaurich- make limit for plts configurable
5490591eaRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
385a51dffmflehmig- fixed newline bug
c2c3d4d46RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
299d7170dRuedKamp-some minor changes
faa225ba5Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
c5a5c8104adrpocopy recursive
c97eca9bcadrpoproper include directory for sundials
a1671c506adrpoadd more sundials dependecies so parallel make works
3a5180c43Niklas Worschechfix for missing FactoryExport include
14b86ba69Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c3cc02de7adrpocomment out the search for libsundials_arkode
6c80f5f36Niklas Worschechremoved sundials includes from FactoryPolicy from cpp runtime
77249d464adrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
865e87c23adrpocompile 3rdParty/sundials on Windows during build
9a1798243Niklas Worschechfix in cpp runtime isConsistent method
27d04a518Niklas Worschechfix in cpp template for wrong sparse pattern index
c4b6d782fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c54220502Niklas Worschechfix in cpp runtime isConsistent method
a5fb0ef4avwaurich- interrupt for-loop eval correctly
a54318fbevwaurich- interrupt eval forLoops if nothing is evaluated
52e1cc8fdvwaurich- constant call-types are not always evaluated
f252d1facvwaurich- remove Repl for const funcCalls
d1ecf33d5vwaurich- fix non-evaluatable for-loops
91fa0e7eevwaurich- fix plts,eval for-loops,eval params
1b40fefb7Martin SjölundMerge pull request #5 from MarcusWalther/master
b4300cf78Marcus Walther- simple description of event-handling added to documentation
477db3ca3Lennart OchelFixed implicit declaration of function debugDouble
cbdd59dd3Martin SjölundAdd stack overflow test
c4ec9b3b3Martin SjölundAdd Windows ifdef's for stack overflow
e1d541a8eMartin SjölundDependencies for array dimensions in functions
7f3007869Martin SjölundOnly guard against stack overflow in the topmost ceval call
3fd537559Martin SjölundAdd stack overflow checks without signal handlers
870ebf03dMartin SjölundTry to fix OSX install_name_tool path
90facdc42Martin SjölundTry to fix OSX install_name_tool path
d8ff3e0d6Martin SjölundTry to fix OSX install name path
8b93f29f4Lennart OchelFixed function createVars
badbf5c49Marcus Walther- updated expected output
7c20b57caMarcus Walther- preserved "=" if the argument was not replaced
ad902b027Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
355aa8225Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d115f8bceMarcus Walther- fixed leading "=" in result file if OMEdit is used - removed @CMAKE_C_FLAGS@ from config file
c242492f2Marcus 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"
44eef17e3Rüdiger Frankesmall cleanup of stream implementation
edeb2cbf4Rüdiger Frankedeactivate failing optimization tests (#3437)
b8ba104fdRüdiger Frankedeactivate failed tests (#3436)
1a782bb70RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d6f4cb02aRuedKamp-some changes for sparse matrices without lineartearing
2d87c7c67Marcus Walther- textupdates for flag- and mainpage (c++ simulation runtime documentation) - coding style added
32a85cdaeNiklas Worschechmerged common folder
050c0ba83Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3ba9138e9Niklas Worschechfix in cpp template for wrong sparse pattern index
a57605158Adeel 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.
28c978464Adeel 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.
ef238a630vwaurich- add SimCodeUtil.simJacCSRToCSC
7075c87e6Niklas Worschechfix for wrong ublas matrix indices removed not needed files
79df0142dNiklas Worschechfix for wrong ublas matrix indices removed not needed files
1213c368dmflehmig- Error message handling in Cpp Runtime, fixes ticket #3429; - Merged constructors of class ModelicaSimulationError into one.
591d54ef8Rüdiger Frankeextend MSL test to cover improvement with #3430
06f3ef530Rüdiger Frankeadapt tests to fix #3430
e18a45ae3Rüdiger Frankereduce inStream equations for zero flow (#3430)
7a8b275d9vwaurich- fix 4bba, fix setRecordTypes for tuples
04b827144vwaurich- remove debug output
e58a9beeavwaurich- remove 2nd preCalcStart
0da7c2bd4vwaurich- merge commit
fad9fe29bvwaurich- fix for EvaluateFunctions.getStatementLHS
b19dc5770vwaurich- enhance partFuncEval for initValues
15d68519bvwaurichsingle eval of knvars
2d51ecfa7vwaurich- evaluate funcCalls in start-values
c02695a25Lennart OchelModified flag 'with-txt'
6e76cee65Marcus Walther- changed the default buildtype for linux back to RelWithDebInfo
3b86f9eeearun3688added support for LatexCell, evaluate Latex scripts and display the output as an image if successful other report error message
890f7b4d1hudsonMerge remote-tracking branch 'origin/master' into pullrequest
8efdf5308Niklas Worschechfix for missing ModelicaUtilities include in cpp runtime
68b4a6027adrpoadapt code to agree with ANSI C for the msvc compiler
10c501bf8Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e9df6e761Niklas Worschechfix for cpp runtime release msvc build and msvc precompiled header
a481fe6a6mahge- 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).
e747152e2mahge- Fix #3335 and #3336 - Update assert defines - Fix boxed function issues for functions with parallel variables. - Fix arg types for parallel arguments
010b68623mahge- Fix #3334 - Update/fix code generation of parallel functions.
fec5e5b91mahge- 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).
17d8596bfmahge- Fix #3198. - modelica_string (void*) expected. Not const char*. No implicit conversion in C++.
2683a17cbmahge- ParModelica fixes. - Move global declarations to the source file.
911924aeavwaurich- update debugDumps
6c17d0c54vwaurich- remove debug output
e83657d8dvwaurich- new module evalAllParams
c1da48dd4Marcus Walther- updated the .gitignore file for the cpp-runtime documentation
584f70bd9Marcus Walther- Textupdate for cpp-runtime documentation
23ba9d047Marcus Walther- updated expected output
b6bb89dfaMarcus 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
214b46abfgossenSynchronous improvements
76858d6bagossenPrint error for clocked continuous systems
cdf4d6836gossenAdd support for Boolean clocks
43e12c93fgossenFix clock partitioning in encapsulateWhenConditions
60202fe1fgossenDump partitions info in BackendDump.printShared function
81dc5b007gossenEmit results before clock equations fired
da4018549gossenSave pre values for clocked variables
cbfc72333gossenFix typo
d9175e1d3gossen"previous" operator support in C simulation runtime
9fa1b91b2gossenSupport for previous operator in SimCode
e090c54aegossenClocked vars simcode translation changes
58bd3ab2dgossenImplement interval Clock support in C simulation runtime
9ca046fd4gossenImprove clock partitioning
96c79085agossenRemove duplicate function MMath.printNumber
3f8214dd8gossenExtract functions from prefixed_simulation function
d75a469ceadrpoupdate test after library bump
a0f09a7fbRüdiger FrankeTweak pass by reference in Cpp function closures
cd36c5559Rüdiger Frankeremove unspecific metatype from Cpp function closures
f33f67248Marcus Walther- fixed path to reference file
708894f28Marcus Walther- added a test for the OMEdit-flags to the cpp-runtime-testsuite
e9cd5237bMarcus 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
e8a399455mflehmig* Typos, Indention, Logging
ec7b8ac2ehkielignore generated files and dirs
d96bc5821hkielbump to current version
614402501Marcus Walther- fix for array allocation in hpcom profiling
3dc3315e4Marcus Walther- fixed wrong build type of cpp-runtime
4535b2641Marcus Walther- simple fix for hpcom profiling
d7e96410aMartin SjölundFix typo
cb5014a92adrpopropagate buildtype on Windows for bug #3426
afcd48c22adrpoadd the path to cpp libraries when simulating
4b4c2dc69adrpoadd the path to cpp libraries when simulating
a96b59affMarcus 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)
02bc3aa01Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f94d39ed4Niklas Worschechoptimized isConsistent in SystemDefaultImplementation
fcbfeb533Marcus Walther- fixed profiling in hpcom
a783b5ebdMarcus Walther- integer-function should now work according to modelica specification (cpp runtime)
e683e8bfcRüdiger FrankeQuick fix for div operator
f3d6c3a13Per ÖstlundDisabled test for #3386 for now, due to reverted fix.
e03b06539Per ÖstlundRevert fix for #3386, since it doesn't work correctly.
cf16403b0Niklas Worschechfix in cpp template for wrong StatArray dimension size added therefore a dimension check function in Expression.mo
1bdca5e78Niklas Worschechmerged OMCompiler/Common
6b681c466Niklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
fe6d8edd7Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f6a3cc1edNiklas Worschechfix in cpp template for wrong StatArray dimension size added therefore a dimension check function in Expression.mo
914bd5f1dAdeel AsgharCleanup and source code documentation.
f583d0935Adeel AsgharCleanup and source code documentation.
9138159eaMartin SjölundFix for return in try-block
166519912Martin SjölundAdd test for #3420 return in try-block
1cb608246Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9fb29423fAdeel AsgharFixed unloading of classes.
09dc0e688Adeel AsgharFixed unloading of classes.
0fb529aaaAdeel AsgharAllow expand/collapse all from LibraryBrowseDialog.
812c65e12Adeel AsgharAllow expand/collapse all from LibraryBrowseDialog.
04315ef92Adeel AsgharFixed opening of TLM/Text files.
0578ee29eAdeel AsgharFixed opening of TLM/Text files.
485c5f57bAdeel AsgharAdded a model/view structure for libraries browser. Better way to generate library icons.
6f93369c9Adeel AsgharAdded a model/view structure for libraries browser. Better way to generate library icons.
3f56facb7Niklas Worschechfix in cpp template for allocating Jacobian
076671c58Niklas Worschechmerged OMCompiler/Common
fc527e92cNiklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
52a9c9309Niklas Worschechfix in cpp template for allocating Jacobian
f70ec8bd7RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c30bade9fRuedKamp-updated VxWorks makefile -some experimental changes to improve sparseMatrices
6091fb2adNiklas Worschechexpected output for cpp tests
55f96633aNiklas Worschechfix merge conflicts cpp tests
e47e0611bNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
7203fe655Niklas Worschechexpected output for cpp tests
1981ce947Per ÖstlundSome List changes:
540a4646ePer ÖstlundChanged some unneccesary uses of List.find to List.selectFirst.
ccced530eMartin SjölundUse faster addressing of arrays
b0af03a40Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
b03469d57Rüdiger Frankeenhance test for function pointers with an array
395a4e727Rüdiger Frankeexploit type info available for function pointers
c3509db1aNiklas Worschechfix merge conflicts cpp tests
cce45c7c5Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
c11efa1f8Niklas Worschechexpected output for cpp tests
669dc8990Niklas Worschechmerged OMCompiler/Common
879063bafNiklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
0500ba250Niklas Worschechmerged OMCompiler/Common
fd5f8ea37Martin SjölundFix documentation target
336b14a65Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
605ae7545Niklas Worschechadded restoreOldValues and restoreNewValues to Algoop of cpp runtime to restore all alglopvalues during output routine
cb21b1cddRüdiger Frankeadd test for function inputs to functions
8c8613205Rüdiger Frankeimplement function inputs to functions
645e8eabaarun3688check graphcells for input and output cells and then perform the shifting operation
023bd8010vwaurich- function to dump simJac
e23617b86Per ÖstlundAdded test case for #3386.
629f329b8Per ÖstlundFix for #3386:
9e20c7d93vwaurich- make try/else around orderExtVars
108a8453fvwaurich- order external vars correctly
9c088a9adNiklas Worschechfix in Kinsol if perturbed system matrix, system evaluation was missing after system was solved
707946349Per ÖstlundFix for #3401:
1f60d7ef1Niklas Worschechexpected output for cpp tests
f075b8cfbNiklas Worschechexpected output for cpp tests
44ef6fe2dNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
075429196Niklas Worschechexpected output for cpp tests
73a2a8853hkielMerge pull request #1 from hkiel/ignorefiles
608abd4a9hkielMerge pull request #1 from hkiel/ignorefiles
c0bf1407cNiklas Worschechexpected output for cpp tests
19b3593bdhkielignore generated files
49c2bbeafhkielignore generated files
820257d96adrpoupdate .gitignore with new template file
da53bff3aadrpoupdate test after library bump
c1e929354Willi Braun - expected output
7a723b578Willi Braun - added testcase for reinit
a504a6249Willi Braun - fix elsewhen handling in BackendDAECreate
686f1b577Niklas Worschechexpected output for cpp test
8f9d0fbfcNiklas Worschechexpected output for cpp test
0f4a303eaNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
1654145f0Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f79d9636eNiklas Worschechadded initialization method for parameter equations to cpp system fix in Kinsol, function evaluation was missing after system was solved
a18384085Willi Braunexpected output
32ed7bfc9Willi Braunrevise isDiscretExp function for zero-crossings
45e4f5066Willi Braun- removed most stuff that deals with WHEN_CLAUSES
73d71fadaWilli Braun - expected output
e949cdd3aMarcus 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
92eaf4ad1Willi Braun -fix BackendInline.inlineWhenEq
afb23b09bWilli Braun - fix replaceWhenEquation
25ccddf12Martin SjölundRevert "disable failing C tests to get Cpp committed"
6e09a680dRüdiger Frankedisable failing C tests to get Cpp committed
5f8a13a0dRüdiger Frankeadd test for string handling
40f10917bRüdiger Frankefix recently added tests
98b6821bfRüdiger Frankechange import order for duplicates like crefStr
2d797bbfeRüdiger Frankeadapt Cpp terminate() to other runtimes
9e1a6c1efWilli Braunexpected output
005f9dc90Willi Braun replace WHEN_EQ with WHEN_STMTS
46442658aMartin SjölundRewrite using more recent language features
97de296ecMartin SjölundFix for GCC 5.x
c765b6951Adeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
8e6c142bcAdeel AsgharFixes #3408. Set the origin item to bottom so that the connectors located at center of the component can be used.
3396d2671Willi Braunexpected output
d7cac0c61Willi Braun- added testcase for removing when clauses
fed7fe571Willi Braunfix variable transform replacements
e965b64eaWilli Braunfix CPP-Runtime
8d63159d8Willi Braunfix XMLDump output
108b0bd5dWilli Braun - fixed Serialized model info
e7db13c22Willi Braunmore fixes to make when equation work again
88a5a6610Willi Braunadapt SimCode and Codegeneration
e351ab13eWilli Braunfixed module detectSparsePattern
69e92993cWilli Braunfixed module removeSimpleEquations
d09df9ffbWilli Braunfixed module encapsulateWhenConditions
d97b9f4ccWilli Braunfixed module clockPartitioning
f7635bb3fWilli Braun- push further new when equation record
ce9bdb5e1Willi Braunstarted to remove when clauses
07dceaca7Rüdiger Frankeadd test for tuple return with records
3a46e9d1bRüdiger Frankeadd treatment of tuple return with records
ce835a2c2Rüdiger Frankereduce max file size back to 684k in sanity check
8cf492e53Niklas Worschechfix in Ida, Ida did not stop if an error accrued in non linear solver
6fdcf3601Niklas Worschechremoved BOM in Kinsol
5cf2b90b9Niklas 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
3d953f062Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4906ef49eNiklas Worschechfix in Ida, Ida did not stop if an error accrued in non linear solver
3c9629485Adeel 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.
81ecb9fceAdeel 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.
6bcab709bRüdiger Frankeremove pragma once from main compilation files
c79c991ccNiklas Worschechsplitted cpp template file throw exception if Newton stops with error Kinsol always throws exception if Kinsol stops with error
fc2558adeNiklas Worschechremoved BOM in Kinsol
52249f276Niklas 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
ed2fbf807Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
03cb48d00Niklas Worschechsplitted cpp template file throw exception if Newton stops with error Kinsol always throws exception if Kinsol stops with error
44f0b9150Rüdiger Frankefix memory error in OMEdit options parser
23a483a99Marcus Walther- Metis-Scheduler is now working if n was set to 1
7f2317642Marcus Walther- Logger of cpp-runtime can now be disabled by passing an argument to cmake - removed a lot of logger output in FMUWrapper.h
85dbcb379Martin SjölundDo not use a macro called time
6f5626c10Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
2e3857088Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
49329bba5adrpoincrease max file size to 800k in sanity-check
ce556f370Martin SjölundFixes for listFile
7180491cdRüdiger Frankeenable pull request for CodegenCpp.tpl
50ff4c270Rüdiger Frankecherry pick initialization of record variables
9027f74abNiklas Worschechremoved BOM in Kinsol
68654dbd1Niklas 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
630c7beb5Niklas Worschechremoved BOM in Kinsol
d8f3d68deMartin SjölundAdd test for listFile+setSourceFile
573d09bb0Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
887bfa485Niklas 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
fd7495952adrpofix bug #3291 - set default values for record members in functions
0a5dcc786adrpoupdate tests due to fixing of bug #3291
9f28039feMarcus Walther- forgot new getter/setter in global settings for FMU 2.0 export
89f49e69dMartin SjölundMerge pull request #4 from rfranke/options
f0b6faea1Marcus Walther- fix for new sundials-version in cpp-runtime
b5906fa4aMarcus Walther- removed wrong enum forward-declaration - fix for new sundials-version in cpp-runtime
61b36136eMarcus Walther- function arguments for the !WITH_SUNDIALS functions are now up to date again
12f2912dcMarcus 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
3e376747bRüdiger Frankeimplement terminate() in Cpp runtime
5ccde2312Rüdiger Frankeuse explicit StatArray constructors and operator=
a892206efMartin SjölundMove threadData away from simulation data
2f482f2e6Rüdiger Frankesaveguard array copy operations against zero size
0ea812e17Willi Braunexpected output
3917c8111Willi Braun - add DIVISION replacement also for symbolic jacobians
1c2c80421Marcus Walther- removed debug output
21c6f3bd7Marcus Walther- _AMaxColors is now initialized with 0, to prevent access to uninitialized value from cvode
d093e95c0Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
d3a395374Marcus Walther- added some helper functions to extract data from objects (getCompsOfMatching and getSimVarMappingOfBackendMapping) - HPCOM is now able to handle models with NO_MATCHING()
ef2305460Rüdiger Frankerelax precautions for wrong uses of StatArray
19060fd4eRüdiger Frankerename Cpp command line arguments
ec7758a02Rüdiger Frankerename Cpp command line args
6ac54189cRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ec27dd855Marcus Walther- fixed a stack overflow in HPCOM
2d7e7249bRuedKamp-enabled test for real time with msvc
9819b5821Marcus 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
a0f0122e4Niklas Worschechfix in Array getData and getDataCopy for segmentation fault
a037dd847Niklas Worschechfix for missing include in FactoryExport of Kinsol
74d4e2f37Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c34f65cecNiklas Worschechfix for missing include in KinsolLapack of cpp runtime
28f13edcaMarcus Walther- fixed FMU generation if kinsol is used as non linear solver
2d652462aMarcus Walther- removed the old documentation stuff -> it's now part of the openmodelica-doc-project
e5cd1b4d1Niklas Worschechfix for missing kinsol_klu include in cpp runtime
6f0267d16Niklas Worschechadded missed files for cpp runtime
f4ba1f47dNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
de80e2bfcNiklas 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
9d5440016Rüdiger Frankefree memory of strings from external C functions
9352ce6a8Martin SjölundFix for OSX stack overflow check
fad22bf5cMarcus Walther- changed expected output
ca2d5343eMarcus 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
198ef8148Martin SjölundMerge pull request #3 from MarcusWalther/master
f9a05a162Rüdiger Frankefix treatment of outputs of external C functions
a05d7975cAdeel 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.
ce91f7c0cAdeel AsgharUpdate FMI tests to new xml structure. Move failing tests up.
c8ffe0bcbRüdiger Frankefurther Array refinements
0572a415eMartin SjölundUse the prefix for OPENMODELICAHOME
0777ed59aMartin SjölundUse the prefix for OPENMODELICAHOME
38d2767dfMarcus Walther- added changes to main makefile - removed a useless comment in CMakeLists
868a1c38bMarcus WaltherNewline added to mainpage
a324f3dd4Marcus WaltherNewline added to flags.dox
bdfc51a89Marcus WaltherNewline added to gitignore
2fe3abf25Marcus Walther- doxygen template added to documentation - cpp-runtime documentation added - .gitignore-file added
5ccb6bc03Martin SjölundUse the configure CXX, etc instead of defaults
d9283a504Martin SjölundUse the configure CXX, etc instead of defaults
d79a8d418Rüdiger Frankeadd test for LAPACK used by Modelica.Math.Matrices
e182aade2Rüdiger Frankeadapt processing of outputs to recent changes
e2b32ce8cRüdiger Frankere-add processing of outputs of external functions
c7ba372bbLennart OchelMinor changes to ./runtests.pl -with-txt
80fd0d620Marcus Walther- updated the gitignore file - README update for Windows build of cpp-runtime - removed the unused --with-cppruntime-args
673219333Marcus Walther- fixed some typos in configure - output directories for cpp-runtime libraries are now written into Makefile.env - changed README for cpp-runtime
078b80ae5Marcus Walther- fix for autoconf of cpp runtime
354f8a23cMarcus Walther- paramters for the cpp-runtime are now handled in configure instead of makefile
992f6e455Martin SjölundLibraries are not needed for omc-no-sim
dfda18a8eMartin SjölundFix typo
a2e78b0d4hudsonMerge remote-tracking branch 'origin/master' into pullrequest
799bcc330ptaeuber- fix bug in newton solver with fvec
3236596eaptaeuberintroduced dynamic tearing
6a414acb2Adeel AsgharFixed the system documentation link. Removed the link to old users guide.
9e4c1b2e8Adeel AsgharFixed the system documentation link. Removed the link to old users guide.
033aecd5bWilli Braunupdate tests, so that val() could get wrong result
e522fc2fcAdeel AsgharDo not create empty documentation folders.
08f747ba8Martin SjölundSkip the commit message sanity check
ce3000a0eAdeel AsgharFix #3380: Properly save the replaceable nested classes.
c183a88caAdeel AsgharFix #3380: Properly save the replaceable nested classes.
6443c248aRüdiger Frankefix implementation of delay operator
97378f5a8ptaeuberMerge branch 'master' into tearing
d2ac409a4Martin SjölundAdd hook for testing commit messages
ccdc6b74eMartin SjölundAdd hook for testing 50/72 style
befd0145cLennart OchelAdded new option –with-txt to runtests.pl
b6c518b28Martin SjölundImprove check for long commit messages
6b6457c83Lennart OchelRemoved unused inputs to get cleaner interfaces
e05e21a35Marcus 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
e022a1fdfLennart OchelMuted annoying test case properly
e427c5c10Lennart OchelRevised createFunctions
228800efcLennart OchelRemoved unused vars from createSimCode
2b4918037Lennart OchelMuted annoying test case
50e2ca643Martin SjölundHandle external string arrays better (fixes #3292)
3b6fb3868Martin SjölundEnable working testcase StringParameters (#3292)
8b6bf3859Rüdiger Frankefix assignment of pre values of Cpp arrays
738aa2c87ptaeuberMerge branch 'master' into tearing
213805560ptaeuber- revised dynamic tearing test model
c689bad04Martin SjölundPrevent stack overflow for differentiateExp
6670be24bRuedKamp-bug fix in RTEuler
1e10ce245Lennart OchelFixed regression in BioChem lib
b985f3cbeRüdiger Frankemake FMU Cpp compiler optimization flag configurable in local makefile
ff736de64Rüdiger FrankeLet operator= of StatArray copy data like previous StatRefArray
bee37e0faRüdiger FrankeFixes after first test round
1ffe2deb4Rüdiger Frankeadd runtime checks for proper use
3cf48567aRüdiger Frankefixes to previous commit
832c3beaaRüdiger Frankeextend StatArray to also work with external data
3027167a0Marcus Walther- added missing return value to default implementation of peer solver
42f521d79Martin SjölundPrint string list default values in Sphinx doc
16fa18465Marcus Walther- further fixes for HPCOM compare components
7d07b6b0aMartin SjölundAdd testcase for #3395
49ec8ae57Martin SjölundFixes #3395. Generate lhs crefs instead of rhs.
860b23c2aWilli Braunchange variability for fmi 1.0 back
49a6e7ecdWilli Braunfix attribute name for causality
e3641b8eaRuedKamp-some changes for vxworks
4a7ed5cb6RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
f4c643a1fRuedKamp-some changes for vxworks
59be82534Martin SjölundAdditional messages if files do not exist
722fdf9d4Willi Braun - added testcase for fmi parameters changes
6fd7783b9Marcus Walther- fixed MSVC build if openmp was not found
236b21bcfLennart OchelRemoved obsolete initial() testing
cebbe0416Martin SjölundFix #3380: Handle save() for short class definitions
4db7025b7Martin SjölundAdded test for ticket #3380
57a269ecfhudsonMerge remote-tracking branch 'origin/master' into pullrequest
72c5b339cMarcus Walther- fixed Intel TBB build with c++ simulation runtime - HPCOM Task-Graph validation should now work correctly
21ff51970Marcus Walther- peer-cmake should now work if no openmp was found on system
cc84d1c36Marcus Walther- peer-cmake should now work if no openmp was found on system
bd115c168Marcus Walther- removed some unused code, to stay below 684k and fix the sanity check
259fa727fMarcus 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
95c1f364aMarcus Walther- peer-cmake should now work if no openmp was found on system
bd201bdc4Marcus Walther- peer-cmake should now work if no openmp was found on system
4cd88de65Marcus Walther- removed some unused code, to stay below 684k and fix the sanity check
ef76cd6ecWilli Braunonly evaluate the model if something changed
57646056aMarcus 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
22adc2b33arun3688add codes for moving cells up and down and change the hierarchical order, #ticket 2303 added transparent images for the QActions
8d8255a30Lennart OchelUpdated fmi tests
177055d7aRuedKamp-added handling for singular matrices
927783ca5RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b4d1655beRuedKamp-commented out boost::math::isfinite for vxworks
fd6076ef3RuedKamp-commented out boost::math::isfinite for vxworks
e7091b642adrpo- fix conversion script for Annex lib to handle bad input
595dede2fadrpo- update tests after library bump
494d5cffbadrpo- check for None in conversion script
cc94341a9adrpo- print the file we convert
e43f7a00aNiklas Worschechfix in umfpack solver, only include umfpack.h if umfpack was found
ebe75f684unknownadded correct numeric bindings version
35e39f7b4Niklas Worschechadapted umfpack solver of cpp runtime on new Matrix interfaces
fbe1b9dd1Niklas Worschechremoved wrong version of numeric bindings
3bea64548Niklas Worschechfix in umfpack solver, only include umfpack.h if umfpack was found
91a2bb1e8Lennart OchelAdded default values for matching and index reduction
36c6ff771Lennart OchelAdded default values for "--preOptModules" and "--postOptModules" to help page
1577288a5unknownadded correct numeric bindings version
ec32bc2d8Adeel AsgharFixed copying of libqjson.
8a1191ed9Adeel AsgharFixed copying of libqjson.
3f974fc28Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
cbe21ee20Niklas Worschechadapted umfpack solver of cpp runtime on new Matrix interfaces
2c8a396e3Willi Braun - deactivate symbolic jacobian calculation for fmi2.0, since it's currently not used anyway.
aed449cceWilli Braunfix some debug output in symbolic jacobain
c96d99c83Willi Braunexpected output
54e8a066cAdeel AsgharRemoved duplicate copy commands.
6caa0d3eeAdeel AsgharRemoved duplicate copy commands.
826515e01Adeel AsgharAdded internet shortcut for OpenModelica users guide.
564af844cvwaurich- dont use artificial vars for prestartcalc
5d264adefadrpo- copy libqjson.dll from its new place to build/bin - more Qt5 adaptation - use the linking flags just for linking, not for compiling
6bc2bcd85adrpo- copy libqjson.dll from its new place to build/bin - more Qt5 adaptation - use the linking flags just for linking, not for compiling
3082af8b2Niklas Worschechremoved wrong version of numeric bindings
388d52b96gossenSynchronous features improvement
9bbf3adc2gossenReplace expr in Clock constructors to previous(expr)
3d21fe70dgossenAdd initial synchronous support to simcode and c-codegen
e93d69cb6gossenprevious operator should be marked as known and its variable should be a fixed
ad5f2bd2cgossenSome refactoring
f9f8aae8bvwaurich- fix countoperations for small nl-systems
6f2f71529Niklas Worschechfix in cpp template for getSystemMatrix method
c93a40471Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
4a391c0c4Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
8d089ff3aNiklas Worschechadded config flag to switch the matrix format in cpp runtime +matrixFormat=[dense,sparse]
e2e030f98Lennart OchelAdded missing vars to SimCode
e392b23c8Lennart OchelFixed duplicated content
ec93d42fcMarcus Walther- fixed windows build of cpp-runtime
5b0f74e34Marcus 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
cbe8e9dd5Marcus Walther- the number of event indicators should now be correct for c and c++ simulation runtime
b801d5c2cMarcus Walther- FMU 1.0 test is now working again, if a nls is part of the model
d9b26e6b6Marcus Walther- Kinsol can now be used for FMUs, by passing a parameter to cmake - added some logger output to the kinsol and newton solver
810476f8aLennart OchelRemoved obsolete cases in RemoveSimpleEquations
fa5acbcb2Marcus 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
cb8678ad5adrpo- give the full path to cmake
0cb1f1e41adrpo- give the full path to cmake
dfee2945eNiklas Worschechfix for memory leak in algloop system of cpp runtime
201b0726fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c61323c25adrpo- proper detection of mingw32 vs mingw64
924fa65b8Lennart OchelUpdated .gitignore file
5ff3cc0efNiklas 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
12822bc2bunknownupdated numeric bindings
b0fae1745Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4b9aeabacLennart OchelDon't print empty dimension list
af9687a1cNiklas 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
fd0d73bc4Lennart OchelDon't print empty dimensions list
c01559b85adrpo- fix OMEdit compilation
4a20efd9badrpo- fix OMEdit compilation
abed5f49aadrpo- adapt to Qt5 and mingw64 - updated qjson to latest from: https://github.com/flavio/qjson
7bab2d4a6adrpo- adapt to Qt5 and mingw64 - updated qjson to latest from: https://github.com/flavio/qjson
286efb130adrpo- fix typo in gcc linking flag
6521fc605adrpoMerge branch 'master' of https://openmodelica.org/git-readonly/OMNotebook
de17f815eadrpo- adapt to Qt5 and mingw64
b67297dadadrpo- update tests after library bump
8302b0ed6adrpo- adapt to Qt5 and mingw64
a49f7c1f4RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
15ba0155cRuedKamp-some changes for vxWorks
f9c741ae0unknownupdated numeric bindings
fff5d101fWilli Braun - fix alpha constant for damping. Fixes partially #3118.
4a52c46f6Willi Braun - fix debug output
af02e9568Willi Braun - expected output
d1656bbacWilli Braun - revise lambda debug output
6553e43bearun3688evalall cells in the document by pressing evalall button
65593bf21gossenSimCode refactoring
e7b195fb3Lennart OchelUpdated expected output
c30ebadd3bernhard ThieleNew Modelica state machine prototype
d4a6de419bernhard ThieleState machine tests adapted to OMCompiler#124
9ab2afa6farun3688added eval_all button image
e8d65ec9cvrugecosmetic changes
4d65de3a8vrugeadded tests for complex function
e3690021bvrugesome fixes for complex functions
769f1549aLennart OchelCleaned up test case 'EventTests.mos'
99a281dbcadrpo- use -Wl,--enable-auto-import instead of -enable-auto-import
32bc6830eLennart OchelRevised singularity check for linear systems
d383764ccLennart OchelSimplify test case "IfEquation3.mos"
c1cc253beadrpo- support both Qt 4.x and 5.x
b454d6132vwaurich- warning for singular systems instead error
fca1e8a4fvwaurich- continue Translation after SingularSystemCheck
f15f3a2aavwaurich- stupid fix for PrismaticConstraint
9a7e0fb79vwaurich- proper debug Matching in IndexReduktion (reverted from commit 1cd837980a2d5e2b708cc0181f0498713d5d912a)
847d50549vwaurich- proper debug Matching in IndexReduktion
9d38b64cevwaurich-expected output
056933452Per ÖstlundAdded tests for stream flow rate threshold, #3382.
ca563fcecPer ÖstlundFix for #3382.
ab4e34c95RuedKamp-changed evaluateAll in Cvode to evaluate evaluateODE
9573413a9RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4bc045b3cRuedKamp- added some brackets
cbb3297c9vwaurich- expected output
0db3df184vwaurich- continue Translation after SingularSystemCheck
c2ea9a5advwaurich- stupid fix for PrismaticConstraint
cc8f06f19vwaurich- evaluate ASUB-Calls partially (fix gravityAcc)
78d8b9ea0vwaurich- proper debug Matching in IndexReduktion (reverted from commit 1cd837980a2d5e2b708cc0181f0498713d5d912a)
d2e10c48fvwaurich- proper debug Matching in IndexReduktion
59cca54a3RuedKamp-commented out arkode
3dab5aa47RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a757ab529RuedKamp-commented out arkode in CMakeLists.txt
d4cb4a90bWilli Braun - expected output
26a008ac0RuedKamp-used anyedit
202492242Willi Braun - added test-case for implicit inline solver
6a5d5bd00kbalzereit - added step-sie control for symbolic inline solver
890bfba4eRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
639e64f40RuedKamp-changed std::vector to double * in AlgLoopDefaultImplementation
006502b58Lennart OchelStop pre/post-optimization on failure properly
51acd42cfLennart OchelUpdate expected output
2fcf8c139adrpo- ANSI C please to please the MSVC compiler :)
af61d763dLennart OchelCleaned up #116
f7b4037a2Willi Braun - fixed indentation
35e678266kbalzereit - collected commits for improving non-linear solver newton.
4a8e66836Willi Braun - add simulation flag -nlsInfo that generates csv files for every non-linear system for detailed analysis propose
8b345f03bLennart OchelFixed typos in flag descriptions
43ce403e5Adeel AsgharMerge pull request #2 from lochel/smarty-pants
6f1ae9ef1Lennart OchelTurn off smarty pants to display flags properly
74002730avwaurich- Errormessage in IndexReduktion
bff595515vwaurich- some ErrorMessages for IndexReduktion
ce246869eLennart OchelFixed nls dump for newton method
26ac8f36dadrpo- update after library bump
69cde813dvwaurichsingleThreadSchedule
37686b475vwaurichrevised partScheduler and reversed idxs in eventgraph
403163e08RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
98141da95RuedKamp-changes for vxworks
5838895b1RuedKamp-changes for vxworks
cd1ae8570adrpo- add the test to the Makefile
f9c6fadfdadrpo- add test for flags used in library coverage testing so that we don't break it
b25d1f38dadrpo- handle BackendDAE.NO_MATCHING inside BackendDAEUtil.getStrongComponents - remove msgpack include as we don't have it anymore in 3rdParty (why is that?)
cb4090c8eMarcus Walther- fixed expected output of tests
d243ca345Marcus Walther- added measureTime-test to cppruntime-hpcom - fmu 1.0 modelExchange tests are now simulated after export
eaac1dc06hudsonMerge remote-tracking branch 'origin/master' into pullrequest
160737d24Niklas Worschechadapted newton solver of cpp runtime for linear tearing
92491bd2aMarcus Walther- added the old switch-case-statements again, to handle fmu 2.0 export correctly
1caa4f9e3gossenReplace SIMCODE record constructors
41e9fb059Marcus 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)
fbd19fb6aNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
52eb407ccNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
4476180d9gossenDont filter out clocked partitions with removed equations
7c8141652gossenDo partitioning for removed equations
706508369gossenSplit removed equations beetwen shared and eqsystems sections of dae
b9431117bgossenPrint base clocks in synchronous dump info
9116d28f6gossenRemove FindZeroCrossings getters functions
e728806dcMarcus Walther- added missing comma to json profiling files
5be3c0864adrpo- update 3rdParty
db870f442adrpo- use strol instead of strtoll as MSVC doesn't like it
1b3e57a25adrpo- do not use atoll as MSVC does not have it
61a6e5aa7adrpo- more fixes for mingw64
a6dc843baadrpo- some mingw64 bit fixes
bee07d67fgossenChanges in removed equation partitioning
24b8c6127gossenPrint base clocks in synchronous dumps
e5c82b6faLennart OchelUpdate expected output
95c827c4dLennart OchelCall module "expandDerOperator" before module "clockPartitioning"
a4ddaa188Niklas Worschechfix in kinsol of cpp runtime for linear tearing system
66ba9e3f3Niklas Worschechlinear tearing systems using jacobians for A matrix in cpp runtime
d53f8f577Niklas Worschechadded getJacobian matrix method for an Jacobain matrix index to cpp runtime
6327e130fNiklas Worschechaktivated linear Tearing in cpp template
33972b1fbLennart OchelGenerate cleaner code for when clauses
c302d9763adrpo- attempt to fix the git sanity check
5d1ef5beaNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
8cb67d01bNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
9205fb7d4Niklas Worschechfix in kinsol of cpp runtime for linear tearing system
1ef03bc1bRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ffbbe2c4aRuedKamp-some changes for vxworks
1df8f0206RuedKamp-whitespace error whatever
18bbee159RuedKamp-merged
f9236803fadrpo- put back --emit_protected for CPP runtime as is used by Hudson library coverage script
d490ce2bfLennart OchelGenerate cleaner code for reinit statements
e68c99012Lennart OchelAdd/Update tests for reinit statement
f186db9f3Lennart OchelClear the flag discreteCall on the same level on which it is set
812ef728cadrpo- fix MSVC build of simulation code
6a820527cNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
21906db5bNiklas Worschechlinear tearing systems using jacobians for A matrix in cpp runtime
2839510c6Lennart OchelRevised Initialization.mo
026f2b473Marcus 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
28fc631a3Marcus Walther- fixed expected output for hpcom fmu tests
cdccd074aMarcus Walther- tests for outputFormat added to CppRuntime-tests
42f53d1c8Marcus Walther- removed alias variable initialization - removed some unused flags from cpp-runtime
1a4cb22bdvwaurich- more trailing whitespace stuff
3b2b0aadcvwaurich- remove trailing whitespaces
083ced88fvwaurich- apply GRS for DAe and ZeroFunc System, adapt validateTaskGraph
09e638ba5Lennart OchelUpdate expected output
f04aa0238Lennart OchelHide SimCodeUtil error if initialization fails
1fb463216Marcus Walther- fixed msl32_cpp tests
79efb124fMarcus Walther- fixed FMU HPCOM test - added genDebugSymbols-test for cpp-runtime
e50acab7aMarcus Walther- fmu tests for HPCOM added
2980576bfMarcus 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
6cd6458beMarcus Walther- cpp-runtime will now create reference variables instead of defines, if +d=gendebugsymbols is set
db1ab6ea9Lennart OchelReplaced some more record constructors
21bb0ca09Martin SjölundRevise handling of MM singleton uniontypes
10cb0fb53Martin SjölundMake List.position return failure
6547655f0gossenReplace BackendDAE record constructors
1195db077Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
916948c9fMartin SjölundAdd tests for MetaModelica crefs
98ca067f8Martin SjölundHandle boxed arguments in ranges
1488c5e78Lennart OchelMake use of singleton uniontypes in the back end
129db8b17Lennart OchelReplaced function Util.isSome by built-in function isSome
bd201785aLennart OchelMake use of singleton uniontypes in the back end
4306540e2Martin SjölundUse singleton records without matching
069390107Martin SjölundTreat singleton uniontypes as records
0e1c51713gossenUse BackendDAEUtil.emptyClocks function
1f4d2f289gossenMove base clocks info from SHARED.EVENT_INFO record to SHARED record
1445bcc4ePer ÖstlundTestcase for functions inside of uniontype.
2362cf33bPer Östlund- Differentiate between generated and non-generated meta records.
ce51c3611Per ÖstlundMetaUtil cleanup and fixes.
7fcda78a7Niklas Worschechadded getJacobian matrix method for an Jacobain matrix index to cpp runtime
b876223fdgossenReplace BackendDAE record constructors in VisualXML
a9303a80fgossenReplace BackendDAE record constructors in SimCodeUtil
ca8020488gossenReplace BackendDAE record constructors in RemoveSimpleEquations
511dbadd2gossenReplace BackendDAE record constructors in IndexReduction
aadcee5bdgossenReplace BackendDAE record constructors in FindZeroCrossings
14e461144gossenReplace BackendDAE record constructors in EvaluateParameter
db74734ccRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c9721cc62gossenReplace BackendDAE record constructors in Initialization
426d2c1bfgossenReplace BackendDAE record constructors in StateMachineFeatures
5f29c5c7fgossenReplace BackendDAE record constructors in BackendDAEUtil
08a8ac2adgossenAdd function setSharedOptimica in BackendDAEUtil
d1fdf8210Lennart OchelRevised function preBalanceInitialSystem2
324df4944Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c9ea07508RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
26c02a24bgossenSynchronousFeatures refactoring
b8c8618cbgossenReplace BackendDAE record constructors in RemoveSimpleEquations
31da2af4egossenReplace BackendDAE record constructors in ResolveLoops
23af696ffgossenReplace BackendDAE record constructors in Vectorization
e2ec7cfd5gossenReplace BackendDAE record constructors in OpenTURNS
811d799bfgossenReplace BackendDAE record constructors in Matching
70d59a90agossen Replace BackendDAE record constructors in InlineArrayEquations
248535d58gossenReplace BackendDAE record constructors in Initialization
569132547gossenReplacing BackendDAE record constructors in FindZeroCrossings
fbf521a1agossenReplacing BackendDAE record constructors in EvaluateParameter
b604146ebgossenReplacing BackendDAE record constructors in DynamicOptimization
cbf3347eagossenReplacing BackendDAE record constructors in CommonSubExpression
8e856290cgossenReplacing BackendDAE record constructors in BackendDAEUtil
409d49b89gossenAdd function setEqSystMatrices to BackendDAEUtil
afe896e99gossenReplace BackendDAE record constructors in BackendInline
e0c6d316egossenReplace BackendDAE record constructors in BackendDAETransform
9cedcedf1Martin SjölundChanged line number
bcde872f8Martin SjölundCompile fewer packages when bootstrapping
ff50eb254Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
452a7cc5fMartin SjölundRemove unused imports
a5ea4c963Martin SjölundSplit CevalScript into CevalScriptBackend
4479db008Marcus Walther- changed the number of threads to 1, to make Hudson happy
e21d1541eMarcus 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
aea876d89Marcus Walther- added zeroFunc-Schedule to HPCOM - fixed windows msvc build for cpp-runtime
bf98442b5Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
5be3936a7Martin SjölundSkip SimCode and Susan tests
509f225c4Martin SjölundSplit CodegenC into CodegenCFunctions
1b616669eNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
471efb23bMartin SjölundMake it possible to compile OMC without backend
28efb3efdMartin SjölundFix c99eeed
cf4272a72Martin SjölundUpdate tests for new compiler structure
cb40561eaadrpo- fix compilation
c99eeed8dadrpo- fix Windows build by prefixing the enumerations in the CPP runtime settings with OM_ as otherwise the MSVC compiler complains madly
dba536236Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
69e41fc43Lennart OchelCleanup package Initialization
69ba9498fRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
74f231ca5Lennart OchelFixed typos in flag descriptions
aa6c0e0adMartin SjölundFix for missing __func__
b38ffe375RuedKamp-changed encoding
78af16b84Martin SjölundUse GNU sed
2a3c85bd6Martin SjölundAdd testcase for #3367
3c606c710Martin SjölundFixes #3367,#3249 (unknown dim in function call)
5643d00bbRuedKamp-whitespaces
f5b68bb65RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b65b1532cRuedKamp-whitespace error
afaf03976RuedKamp-changes reverted
876a71052RuedKamp-some adaptions for vxworks
94c14f9ccvrugeupdate expected output
4609f5a09Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
728c5a3f4vrugeimporved "collect" of terms
0beea1ccdvrugeadded test for recursiveTearing
9db017412vrugeupdate expected output
6518e3cf9vrugeadded prototype recursive tearing
c5516d9d3Martin SjölundAdd API diffModelicaFileListings
8c6597489Martin SjölundaddComponent API now uses the correct filename
c52d33775Martin SjölundAdded tests for diffModelicaFileListings API
0c8443671Adeel AsgharFixes #3375 OMNotebook array plotting.
1a677547fAdeel Asghar- Updated Types patch to fix Windows build.
f9f25dd79Lennart OchelFixed typos, indentation and coding style
226e96decLennart OchelFixed some error messages
8a3220be8Martin SjölundFix accidental revert in c0723f7
b1e44121dmarchartungFixed Windows bug for conversion const int to LogLevel
4f4dbe218Martin SjölundCompile the ModelicaDiff lexer with OMC
adab1eea0Martin SjölundAdd target to update the lexer
061bcf60eMartin SjölundMoved OMCC to separate repository
09c0b45cegossenReplace BackendDAE record constructors in BackendDAEOptimize
ddeca2f9fgossenAdd function clearEqSyst
b895eaab3vrugefixed whitespace
3467f5cbcvrugeadded test for simplifyLoops
d0af455d6vrugeupdate test for simplifyLoops
7f2487255vrugefixed whitespace
e4f030addvrugeclean up
d94675ccdvrugeimproved simplifySumOperatorExpression
e9b910ea9vrugeimproved symplifyLoops
5942fbcdcvrugeadded post module for simplify loops for the simulation/optimization
e800774fdAdeel Asghar#3373 - Give more stack on Windows for the QT clients that use the omc dll.
04d407de6Martin SjölundAdd tests for the Modelica diff lexer
2e6961998Martin SjölundMake the OMCC Modelica lexer a single package
4148ee761Martin SjölundUpdate gitignore
c53af00d3Martin SjölundAdd ModelicaDiff lexer
044832c20Martin SjölundEnforce 50/72 charcter commit messages
49f3f03caMartin SjölundCheck commit summary and message lengths
e234aa135marchartungFixed FMU2-Errors. Static member FMU2Wrapper::logCategory is now FMU2Wrapper::LogCategoryFMU
16dee2532marchartungLogger for CPP-Runtime updated
7e74d3bc2Marcus Walther- added boost::atomic to windows cpp-runtime-build
338531710Marcus 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
118cfe8ecAdeel Asghar#3374 - Added the close button to tabs.
180236b29Adeel Asghar#3374 - Added the close button to tabs.
48def8bdeLennart OchelFixed typos
4446bdb9fLennart OchelFixed some typos
45d02162eLennart 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
259ec4aafMartin SjölundAdd my PhD thesis to the list of publications
82d7955d5Martin SjölundSome fixes to make OMCC leaner
70c020cb5Martin SjölundPatch the bootstrapping tarball
127ddbfe7Martin SjölundFix some polymorphism checks
91eaa018aLennart OchelMerge branch 'master' into inverse-algorithm
de7a5d649Adeel Asghar#3373 - Give more stack on Windows for the QT clients that use the omc dll.
d6e903108Adeel Asghar#3373 - Give more stack on Windows for the QT clients that use the omc dll.
639dcf9c2Lennart 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.
28812c9adLennart OchelAdded new tests for inverse solving of algorithms
20148344fAdeel Asghar#3362 - Updated the question message according to context menu choice.
03def4882Adeel Asghar#3362 - Updated the question message according to context menu choice.
05fbbbb0dAdeel Asghar#3362 - Use delete for nested classes instead of unload.
e3397c802Adeel Asghar#3362 - Use delete for nested classes instead of unload.
14c7f83d6Marcus Walther- support for Intel Compiler added to C++ Simulation Runtime (by Joseph Schuchart)
9847abb11Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
2542dd936Niklas Worschechaktivated linear Tearing in cpp template
3aa480b21Martin SjölundAdd missing fail calls
ac6e440cbMartin SjölundPrint default values
9444ad9afalash325- Store the interfaces in OMEdit and show list of interfaces for each sub-model
a9b0514a5alash325- Store the interfaces in OMEdit and show list of interfaces for each sub-model
ac4468970Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMShell
99b004e8bAdeel Asgharignore omc_communication.h/cc
e3b6ee135Adeel AsgharFetch the initialization methods, linear & non-linear solvers from simulation_options.h
860a0ef3dAdeel AsgharFetch the initialization methods, linear & non-linear solvers from simulation_options.h
e3d3aa7e2Adeel AsgharOpen the html documentation for integration methods help.
31836b589Adeel AsgharOpen the html documentation for integration methods help.
a61de9f09Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
d225e962aAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
f96db64bfAdeel AsgharFetch the solver methods from simulation_options.h
a1c898b8aAdeel AsgharFetch the solver methods from simulation_options.h
0986330baAdeel AsgharUse standard web fonts for documentation.
08614de3dMartin SjölundAdd missing file extrarefs.bib
53e4ee4bcMartin SjölundUse pdflatex instead of lualatex
bebfe9927Martin SjölundAdd documentation target to build the docs
072de1ac4Lennart OchelRemoved case for empty algorithms in SerializeModelInfo.serializeEquation There should be no empty algorithms in the backend anymore.
166d282f7Martin SjölundAdd a complete sphinx help text
4a4e34f14Martin SjölundAdd a chapter on the omc flags (help text)
ce2b3a418alash325- Do not add the same interface multiple times if the interface already exists in MetaModel
4138bfb2ealash325- Do not add the same interface multiple times if the interface already exists in MetaModel
8f1c20209Lennart OchelUpdate expected output
f2102e355Lennart 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.
511a41296Martin SjölundRemove OMC_API-HowTo.pdf (User's Guide is better)
8927383efLennart OchelDon't add empty algorithms to BackendDAE
f1f5e877cMartin SjölundUpdate for new MSL
a7d282f0aMartin SjölundAdd chapter on simulation flags
3c02ab560Martin SjölundImprove --help=simulation
15bce98e9alash325- Do not show up connection properties and mpManhattanizeShapeAction for TLM editor
438c87545alash325- Do not show up connection properties and mpManhattanizeShapeAction for TLM editor
5d241c5dcAdeel AsgharOpen the HTML based documentation when user presses F1. We will embed the documentation with in OMEdit later.
612795003Adeel AsgharOpen the HTML based documentation when user presses F1. We will embed the documentation with in OMEdit later.
501ca0346Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
b290646d8Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
8f1cfe37aAdeel AsgharAdded menu items to open the OpenModelica latest & old pdf documentation.
fcd77e531Adeel AsgharAdded menu items to open the OpenModelica latest & old pdf documentation.
80bf69195Willi Braun - added test for noevents flags
e832336d7alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
4087eb4d9alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
8206e21c4alash325- TLM editor updateTLMConnectiontAnnotation API
30f6aff04alash325- TLM editor updateTLMConnectiontAnnotation API
ec9f2b8e4Willi Braun - fix noevents debug flag
dd8b12310Adeel AsgharFree the memory by deleting the QMessageBoxes when they close.
cf67183abAdeel AsgharFree the memory by deleting the QMessageBoxes when they close.
1aa24fb35Adeel AsgharUpdated the language files.
3809630d9Adeel AsgharUpdated the language files.
7bfd1f72dAdeel AsgharAsk for the e-mail address from the user when sending crash report.
5bf300ccdAdeel AsgharAsk for the e-mail address from the user when sending crash report.
d248ffec9Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
fadb66a4aAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
605738f18Adeel AsgharFixed opening of files passed as command line arguments.
0c261a098Adeel AsgharFixed opening of files passed as command line arguments.
d8515175falash325- TLM Editor createConnection API
c618de153alash325- TLM Editor createConnection API
9c57e3a68Martin SjölundAdd test for DiffAlgorithm.mo
281db692cMartin SjölundImplement Myer's diff algorithm
3a5957537Martin SjölundImprove operator overloading and error-messages
ced871422Martin SjölundHandle array as iterator
7880d7c0calash325- TLM editor DeleteConenction API
1094e7b64alash325- TLM editor DeleteConenction API
add672df8alash325- Use API for getTLMConnections
09275d8c9alash325- Use API for getTLMConnections
e60e80cf6Marcus Walther- added missing umfpack-test
c0723f7beMarcus 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.
7f94546ebalash325- Use mpPlainTextEdit instead of getPlainTextEdit
df5821334alash325- Use mpPlainTextEdit instead of getPlainTextEdit
df85c2b19alash325- Update the MetaModel editor xml object when switching from text to diagram view
3ea150668alash325- Update the MetaModel editor xml object when switching from text to diagram view
0d87015c0alash325- 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
42527995balash325- 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
e924e3c86Martin SjölundFix umfpack rpath
05fad1a9fhudsonMerge remote-tracking branch 'origin/master' into pullrequest
b3d69fc02Martin SjölundLook for executable binary files
1077164cfmarchartungAdded Test to HPCOM-Testsuite
9f8ce9c5dMartin SjölundSupport pattern matching for enumerations
3432e3e7bMarcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
2ab80728dMarcus Walther- added sundials license file to cpp-runtime and to FMU distribution
c46429998Marcus 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)
9b29383bdNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
47ff858e3gossenReplace BackendDAE record constructors with BackendDAEUtil helper functions
7ae1fb468gossenAdd functions setVars and setEqs to BackendDAEUtil
30ddcebb0gossenAdd function setSharedInitialEqns
2263f8d82gossenReplace BackendDAE setter functions with new ones with uniform name and prototype
cb3a2fb3bMartin SjölundExpected output
b6d7f284bMartin SjölundSupport the now standard Connections.rooted
5316bb367Martin SjölundFix qmake/OSX detection
234e916baMartin SjölundFix for OMPCC on OSX
b8c416edeAdeel AsgharFixed getTLMComponents. Generate default annotation for sub-models that doesn't have any. Some source code documentation.
c487dc408Adeel AsgharFixed getTLMComponents. Generate default annotation for sub-models that doesn't have any. Some source code documentation.
5942cf830marchartungFixed Modelica.Thermal.HeatTransfer.Examples.Motor for debug=hpcom
32c115395Martin SjölundFix duplicate /build/
462a5755bMartin SjölundGenerate a stand-alone lexer
57342feebMartin SjölundSome OMCC updates
dd9ec804eMartin SjölundFix wrong parameter name for regex
825f74c1bAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
9435fbf1dAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
0fc9a6d0aAdeel 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.
7e4f8d734Adeel 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.
9d1079d82Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
6e21b0b83Niklas Worschechremoved referencefiles in common.mos file of cpp runtime tests
12047f1d1Niklas Worschechremoved referencefiles in common.mos file of cpp runtime tests
e69127457vrugeimproved sortEqnsAndVars
95945478bvrugeadded: sortEqnsVars -> heuristic for sorting eqns and vars. TODO: improve the heuristic
14bd6a3c9vruge-added test for sortEqnsAndVars -expected output
0fc49fbadMartin SjölundUpdate system libs list
b0733603cRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
18b5e7e5eRuedKamp-added functionblock for vxworks69
d084a77e3Per ÖstlundMade ConnectUtil.sizeOfVariable2 handle array dimensions better.
c3be20b70Per ÖstlundAdded test case for #3360.
1a119b6f8Lennart OchelChange some matchcontinue statements to match statements Remove some unhelpful comments
e8f8cc594Marcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
0feb1da87Rüdiger Frankeadd libs of external objects to gcc makefile of Cpp FMI
930ee9242Rüdiger FrankeAdapt Cpp FMI2 to recent changes to make it compile again
c0786262eRuediger FrankeRedo 8963da5 to make Cpp FMI2 work again
ef62d68d2Martin SjölundAdd a CONTRIBUTING file
433bd28f9Marcus Walther- Added measureTime-Regions to thread-functions
c1b896dabMarcus Walther- fix for undefined MEASURETIME_REGION
44e6e5e4dMarcus Walther- fixed some linker problems - added measureTime-statements for threads of thread-schedule
164e53e17Martin SjölundFix ipopt compilation on OSX
77a112e21Martin SjölundAdd weak linking for OSX umfpack
5d52a95fcMartin SjölundFix sanity check
f3148cae7Martin SjölundFix for MSL update
ee53ba666Martin SjölundMake a tail-recursive call
390d47533Willi Braun - fix codegeneration of sparse pattern
97c3eb8adMarcus Walther- fixed CVodeWriteOutput-Tracing
8e9e1aed6Marcus Walther- fixed CVodeWriteOutput-Tracing
1a975c24cMarcus Walther- fix for FMU export - fixed CVodeWriteOutput-Tracing
4d21edaadLennart OchelFix #3358 (Strange discrete behavior in algorithms)
9aeffbc4fLennart OchelFix expected output
b58087d2eLennart OchelAdd test case for #3358
ed4808a23RuedKamp-fixed whitespace
d335cc63bMarcus Walther- further changes on Makefile structure, to disable papi if scorep is used
e052ac084RuedKamp-fixed whitespaces
59574f7d5Marcus Walther- removed runtime_static_linking from mingw-makefile - removed threading instruction for scorep
e6aeb1d16RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
69e381087Willi Braun - change execStat usage a bit to get a better overview
c9cd590a4Henning Kielsome fixes for compilation on OS X
d32effdccMarcus Walther- fixed segfault
f3cb54a80Marcus Walther- added missing static library
39283a106Marcus Walther- removed runtime_static_linking from Makefile
7b13279faMartin SjölundIntroduce new API call listFile
c0aed9a77Marcus Walther- fixed runtimeStaticLinking - fixed ScoreP-Support
823aeb722Martin SjölundAdd test for listFile
b0dc6e73aNiklas Worschechfix for external c calls return values in cpp runtime
739170f3bMartin SjölundAdd example on calling external Python code
a8ff45ddaMartin SjölundAdd attributes
347d15cf0Martin SjölundUpdate common
b160bebe1Martin SjölundUpdate common
5e297bb12Martin SjölundUpdate common
5bd7a94d3Martin SjölundUpdate common
c0c292779Martin SjölundUpdate common
0af65300bMartin SjölundUse better version
51d5f523eMartin SjölundAdd macros to get the semantic version of the current release
bd9ddd201RuedKamp-fixed whitespaces
cddf27017RuedKamp-fixed whitespaces
d92fe2ed0RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0d8476c32Adeel AsgharGenerate directories for sub models when saving meta-model.
8d105766eAdeel AsgharGenerate directories for sub models when saving meta-model.
3fdd91dd1Adeel AsgharFixed the ModelFile attribute of meta-model editor.
a076bbc78Adeel AsgharFixed the ModelFile attribute of meta-model editor.
ca33ed1efMarcus Walther- fixed mingw build
575332101Marcus Walther- ScoreP-include added
0c25b668bMarcus Walther- fixed ScoreP-Handling in Cmake
800439e6eMarcus Walther- fixed mingw build
371736ec0Marcus Walther- ScoreP-include added
35203b2fbMartin SjölundUse some inline icons
cb5229fd3Martin SjölundAlso include a diff for the documentation since the last release
e7e289030Marcus Walther- fixed ScoreP-Handling in Cmake
1a632d21bhudsonMerge remote-tracking branch 'origin/master' into pullrequest
7a965d793Marcus Walther- fixed msvc build
5f59a5b47Martin SjölundInstall pre-commit hook
562f2cb17RuedKamp-fixed whitespaces
42e3157daMarcus WaltherMerge remote-tracking branch 'origin/master' into fastMW2
a5bdcbf7bMarcus Walther- removed experimental PropertyReader - updated gitignore-file
55f5ad052RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0d0114419Marcus Walther- added missing property reader interface
1ed94c99fMarcus Walther- cherry picked niklas changes
cf1058ae2Marcus Walther- added XmlPropertyReader-Class - Fix for FMU shared object generation
6f012777dMartin SjölundFix indentation in release notes
2c70f15c5Marcus Waltherfix for msvc build of cpp runtime fix msvc build in cpp runtime
3663a5bc2ptaeuberMerge branch 'master' into tearing
53189f61bMartin SjölundAdd intersphinx, fix references
96353e71cptaeuber- add new model to test dynamic tearing
3fb89e1ecptaeuber- add new model to test dynamic tearing
df48d6ed1hudsonMerge remote-tracking branch 'origin/master' into pullrequest
d36f27a3bMartin SjölundLook for Susan-generated files
b2427203bptaeuber- minor bug fix
6f28e4181Per ÖstlundFix for #3357: - Simplify actualStream when flow direction can be determined from min/max of flow variable.
d116a736bPer ÖstlundAdded testcase for #3357.
5d7ed28d9Martin SjölundUse git describe to show the version number
b2d7e9fadMarcus Walther- first version of initialization XML for c++ simulation runtime added
1abf2a92fMartin SjölundUpdate sanity check
d9bc4f7f0ptaeuberMerge branch 'master' into tearing
e6dec7cd7Martin SjölundFix MODELICAPATH/OMHOME confusion
f2b42a73fptaeuberMerge branch 'master' into passSystem
0ddc0e0fbMartin SjölundAdd bibtexparser dependency
eb988c469Martin SjölundUpdate OMHOME paths for the new location
7e175de56Martin SjölundAdd sphinx to the requirements
756db511cMartin SjölundAdd 'UsersGuide/' from commit '292a85483b90f257280ac2c6f5a1f38ad74ccb19'
292a85483Martin SjölundFix some references
b0489b299Adeel Asghar#3354 - Allowing changing the shapes stacking order.
1f6c7351bAdeel Asghar#3354 - Allowing changing the shapes stacking order.
7db7104f7ptaeuber- pass second tearing set to runtime
8b71ff961ptaeuber- add new model to test dynamic tearing
16dff7dd3Martin SjölundAdd OMPython to requirements
bffe982e5Per ÖstlundFixed naming of record constructors when using enumeration arrays.
7f69a46b7Martin SjölundFix pip requirements name
368f220f2Martin SjölundAdd pip requirements
58dc0b9e4Per Östlund- Updated EnumArrayMod1 test.
5e15ef518Martin SjölundRemove Windows bat-file (need make to build images)
d19334e4fMartin SjölundAdd images
f60760420Martin SjölundMove files
9a2338833Martin SjölundUpdate MDT images
0f3a1f9e2RuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
10e080e24vwaurich- remove trailing whitespaces
3a00a4279vwaurich- fix for var replacements
96c3492bbvwaurich- extend var replacement to substitute partial function calls
810b701c5vwaurich- remove file that does not belong to this branch
c97550e75vwaurich- remove trailing whitespaces
9b7f32e78vwaurich- fix indexing of partial function evaluation
55f212251vwaurich- fix function evaluation
eeeb68edevwaurich- remove some debug output in eval funcs
8da901279vwaurich- even mroe fixes
abf4da539vwaurich- more fixes for eval func epxs
35582b75fvwaurich- some more stuff for eval function calls
c53f53cdevwaurich- added evaluation of function calls in exp, replace ceval with this in removesimpleequations
386f48085vwaurich- update EngienV6 tests
788cb1eb8Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMNotebook
7e6af05c0Adeel Asghar#3351 - Fixed the OMNotebook start up issue.
16a7b8a8fRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
a2f93d6f3Martin SjölundGenerate separate bibliographies
177a9519aMartin SjölundAdd some targets for making a README
e145aa85fhudsonMerge remote-tracking branch 'origin/master' into pullrequest
de1412c59Marcus Walther- fix for windows build
cbb42691amarchartungBugFix level scheduler
7b43f2b66marchartungAdded new statistical profiling feature
a48c2f9e8marchartungAdded statistical support for profiling
f4112f439marchartungUpdating profiling cpp
47f02a309RuedKamp-fixed whitespaces
876897cfdRuedKampMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
27e85a18aRuedKamp-added some fixed concerning VxWorks
e2a8885bdMartin SjölundIgnore OMNotebook.config
f7acdb9abMartin SjölundIgnore install-sh
004a350bdMartin SjölundImprove sanity check by checking all commits
3ec9602baMarcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
f7f3c6652Marcus Walther- fixed runtimeStaticLinking for C++ Runtime
e096b7974Martin SjölundSplit contributors into its own chapter
a773bf1bbMartin SjölundMore reference updates
88fcdc83aMartin SjölundFix names of a few more images
b602cc075Martin SjölundUpdate figures and references for OMNotebook
e9f842dfbMartin SjölundUpdate images for OMNotebook
8ae31d6c3Martin SjölundFix images and references in OMEdit
6939edcbfMartin SjölundSome figure/ref updates for OMEdit
907c90098Martin SjölundMDT updates
f8241b326Martin SjölundMDT debugger update
7c8901104Martin SjölundHandle some modelica:// links as well
4b8b10c98Martin SjölundAdd noevalfunc
752d5e738Martin SjölundEvaluate NORETCALL function as well
7417377b3Martin SjölundFix getClassComment
cb404bc6bMartin SjölundAutomatically generate API functions
e78a319f4Martin SjölundRemove references to OMVisualize
0c65e2d99Martin SjölundAdd test for stringSplit
bf1442540Martin SjölundAdd stringSplit to the API functions
940803f8dgossenUse Absyn path equality check function in SCode.hasExtendsOfExternalObject function
5423ecb43gossenAdd endResult to testExternalObject
8d8d325e7adrpo- the MSVC compiler does not like the structure to be constructed while returning from a function; fix function rat2Real
50340df48adrpo- the C language does not have bool and the MSVC crap compiler complains about it, change it to int
e6275f187gossenAdd flattening test case for external object located in extended class
080582ddcgossenFix typo in InstUtil failtrace messages
8319e8c7dMartin SjölundTrim trailing whitespace
0694730c4Martin SjölundRemove generated files from version control
90699f294gossenModify synchronous tests for new partition algorithm
db90b5d56Martin SjölundSquashed commit of the following:
9300fd4bavrugeskipped createStateSets for dummyDerivatives
8d92effe9Willi Braun - improve symbolic jacobian just by removing unionList
76227e393Adeel Asghar#3352 - Allow creating new result file when doing re-simulation.
146601a79Adeel Asghar#3352 - Allow creating new result file when doing re-simulation.
131f0134fgossenAdd rational number support in SimulationRuntime-C.
b3481638bAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
2ac3e23e7Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
5a8a16914Adeel AsgharUse mono-space font for Output.
78c8141eaAdeel AsgharUse mono-space font for Output.
32417fc46Marcus Walther- fixed msvc build
6e8220bc8Marcus Walther-Added kinsol library to FMU
ebc9ca992adrpo- return value from Logger::isEnabled
97f4aaf35vrugemakeEquationToResidualExp: added case for Wild
7dfa590eaMarcus Walther- added some gitignore-files for cpp-runtime - FMU includes the kinsol library now
7e2e9c58bMarcus Walther- changed return type of evluate functions to void
b913ad9c6Marcus Walther- moved creation of build-folder from clean- to runtimeCPP-target
c04586ef1Marcus 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
f760fd3fdMarcus Walther- splitted evaluate-functions
8020ee945Marcus Walther- fixed initialization
541a4430bMarcus Walther- fixed fmu-logging
57f18a987Marcus Walther- fixed linking issue with FMULogger
0232968b3Marcus Walther- fix for Cpp-Runtime
fcaa46e5cMarcus Walther- logging can now be switched on and off
8963da573Marcus Walther- fixed FMU logger and getter- and setters
278ed061cMarcus Walther- FMU cleanup (CPP-Runtime)
13c46982fMarcus Walther- added a simple logger class to cpp-runtime - cleaned up FMU files
c0cb378c2Marcus Walther- removed the eclipse stuff because it is part of the superproject
933ebb37bMarcus Walther- some fmu-cleanups for cpp runtime
71bd4c298Marcus Walther- changed return type of evluate functions to void
f03a9557dadrpo- split the CodegenFMU.tpl into several files
2b2d49903ptaeuberpass second tearing set to runtime
9efc6a7cbptaeuber- add new model to test dynamic tearing
f7600b21fMarcus Walther- moved creation of build-folder from clean- to runtimeCPP-target
82bcd946fMarcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
c885abde3Marcus 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
4a67f5c93vrugeupdate test
879a7e057vrugeadded test for loop2con
95d54df03vrugechange flag +d=extendsDynOpt in loop2con=all added option for loop2con: none, all, lin, noLin
4344719b5vrugeadded flag: nonlinear loops --> nonlinear constraints
ba9c8f95dalash325- formatting
c031a554ealash325- formatting
ed6c94996Marcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
47955e830Marcus Walther- splitted evaluate-functions
8d8f136ccMartin SjölundUpdate instructions
38edcd29falash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
151140b7aalash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
32b35ec26Marcus Walther- fixed initialization
f778574a8Marcus Walther- fixed fmu-logging
b22e36e7bRuedKamp-added missing files
6adadd7b1RuedKamp-added solver arkode
3c417a6e9Adeel Asghar#3346 Added the camel case for components name.
697cc622dAdeel Asghar#3346 Added the camel case for components name.
38ee94f65Adeel AsgharUpdated common submodule.
4f0d25536Adeel AsgharUpdated common submodule.
305ac7d52alash325- Do not use OpenModelica API to fetch interface points
76169ad95alash325- Do not use OpenModelica API to fetch interface points
77fe0f612Adeel AsgharMoved co-simulation files to TLM directory.
dfaf7cd36Adeel AsgharMoved co-simulation files to TLM directory.
78a27cd0fAdeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
d5d7b9e09Adeel AsgharMerge branch 'master' of https://github.com/OpenModelica/OMEdit
f5ad46cdcAdeel AsgharFetch interface data in a thread.
a8c6795ebAdeel AsgharFetch interface data in a thread.
f54c86fb3Martin SjölundAdd a sanity check for OMCompiler
bc94b4659alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
e4bab4796alash325Merge branch 'master' of https://github.com/OpenModelica/OMEdit
4fe03779falash325- Read interface data from the xml file - show the metamodel file unsaved if and only if the file is modified
01fc36015alash325- Read interface data from the xml file - show the metamodel file unsaved if and only if the file is modified
3ef1192bfAdeel Asghar- Updated common submodule.
0eb4e6054Adeel Asghar- Updated common submodule.
a7399af88Adeel Asghar- Added GUI for fetch interface data.
336d21a92Adeel Asghar- Added GUI for fetch interface data.
07d7d9aacMarcus Walther- fixed linking issue with FMULogger
90b6c5d5dvrugecosmetic change
538b90949vrugegenerateCrefsExpLstFromExp: added case for der(x)
815abe8e7Adeel Asghar- Find the alabaster theme path properly by using the recommended way suggested by alabaster https://pypi.python.org/pypi/alabaster.
c2017c2f1Marcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
0a7c2fae9Marcus Walther- fix for Cpp-Runtime
6380bb688Martin SjölundAPI updates
dd2aa10d2Martin SjölundLaTeX fixes
915857d34Martin SjölundSome minor fixes
6ebad16a4vrugedisable optimization OptModules for dynopt where +simCodeTarget=XML
fd13d2c50Martin SjölundCleanup OMPython
19e6bfa4cMartin SjölundUpdate ignores
33e7b0ef7Martin SjölundModelica3D updates
c8e04dec8Martin SjölundAdd missing C headers and sources
40f4c66dcvrugeadded test for simplifyConstraints
e5f7de7c9vrugeupdate test after added postOptmodul simplifyConstraints
b3abd2b50vrugeadded postOptModule for dynamic optmization: simplifyConstraints - try to simplify nonlinear constraint in box constraints (expansion planned)
baac1ae9aMartin SjölundGenerate a report for the profiler
df3bcafdeMartin SjölundMake alt text unique for profiling images
63ec7ef0fMartin SjölundTypeset C and Python interoperability
334a4f805Martin SjölundUpdate FMI chapter
4b64eae45Martin SjölundReplace a png with the equation
c2b4b82c1Adeel AsgharFetch interface data for TLM co-simulation.
1c72bdbe0Adeel AsgharFetch interface data for TLM co-simulation.
e0e967fa6Martin SjölundAdd 2 more master theses (OMNotebook)
76e3d24cfMartin SjölundAdd some references
e23a6d0b5Martin SjölundExplain that there are no differences in the results
1462eb5d6hudsonMerge remote-tracking branch 'origin/master' into pullrequest
af7caf2d7Martin SjölundAdd a reset directive for OMPython to prevent odd behaviour
8cc1cf792Lennart 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.
9a21804a4Lennart OchelUpdate expected output
ac4dc2e81Marcus Walther- logging can now be switched on and off
6c67400e1Marcus Walther- fixed FMU logger and getter- and setters
e481864a2Martin SjölundUpdate 2D-plotting
794c493d0Martin SjölundMore figures in optimization chapter
780b277dfMartin SjölundDump Optimica cref's
b94ff2ea1Martin SjölundSome improvements for optimization
44e0fbc51Martin SjölundRemove duplicate text
ce5a592f5Martin SjölundFix citations
41793d5d4Marcus Walther- FMU cleanup (CPP-Runtime)
64ee46573Martin SjölundMinor fixes to the bibtex database
403265c49Marcus Walther- added a simple logger class to cpp-runtime - cleaned up FMU files
2dcc3bb16Martin SjölundUpdate warnings and errors
0eff9b976Martin SjölundAdd system overview figure
d364952eeMartin SjölundAdd parametric plot
d7ec619abAdeel AsgharMake External model useful for meta modeling. Delete the OriginItem when the component is deleted.
0fa0c95b5Adeel AsgharMake External model useful for meta modeling. Delete the OriginItem when the component is deleted.
a839e5b5eAdeel AsgharAdded TLM co-simulation in the Libraries Browser context menu. Allow opening TLM co-simulation output window from TLM co-simulation setup.
fb6b73c01Adeel AsgharAdded TLM co-simulation in the Libraries Browser context menu. Allow opening TLM co-simulation output window from TLM co-simulation setup.
9083bcb5aMartin SjölundAdd option to do a gnuplot
be2165344Marcus Walther- removed the eclipse stuff because it is part of the superproject
bd824ec45Martin SjölundAdd support to filter to CSV
36f6156b9vrugeadded assert for pow(x,0.5) = sqrt(x)
ec3daec07Marcus Walther- some fmu-cleanups for cpp runtime
5b20ca63fmarchartungUpdate HPCOM-IntelTBB (Task-Arena, Bug-Fix)
be4c5847cMartin SjölundRemove some old files
2a626a44dMartin SjölundRunning OMC to generate documentation
26ab95a95Martin SjölundFix indentation
c30b13bf9Martin SjölundMore syntax highlighting
0bc5a0184Martin SjölundAdd release notes
fc6b9cd20Martin SjölundSplit some more chapters
22e66326fMartin SjölundCompilation to pdf
fc11f769aMartin SjölundAdd some missing files
9289a4bb5Martin SjölundSplit the files slightly, update equations a bit in OMNotebook
0a8e313fcvrugeimproved TestExpressionSolve.mos
3d125bde6Martin SjölundAdd used images
bd5ab445bMarcus Walther- removed a whitespace
b38eaf292Marcus Walther- moved serializer.cpp to the correct location
8d7d1f718Marcus Walther- added serializer files again
06264302fMarcus WaltherMerge remote-tracking branch 'origin/master' into masterMW
25a4f71f3Marcus Walther- fix for msvc build
7bd064597Adeel Asghar- Moved some files to appropriate directories.
4b6d893c6Adeel Asghar- Moved some files to appropriate directories.
90d817052Adeel Asghar- Show the status of simulation in the Archived simulations list.
5168639adAdeel Asghar- Show the status of simulation in the Archived simulations list.
d27ba8955Martin SjölundAdd a docx to rst test
79613997fPer Östlund- Fixed typo.
db388688avrugedynOpt: using IndexReduction=dummyDerivatives
fea68cf9avrugecosmetic change
7778c4612vrugecosmetic change
89587729dvrugecosmetic change
f32cefe26vrugecosmetic change
6d5356207vrugecosmetic change
44e54ebc0vrugecosmetic change
8de4ae301Per Östlund- Fixed typo.
05448f790Martin SjölundSome updates to a small sphinx project with a few tweaks
ed2e6d04fMartin SjölundFix bibliography
26d7184d6Martin SjölundTry to add some sphinx project
5ac3367e3Martin SjölundTesting
eb37127d1Adeel Asghar- TLM plugin log file named has changed.
30a9c4cb2Adeel Asghar- TLM plugin log file named has changed.
f1a5f1be6Martin SjölundAdd a target for hudson to perform a sanity check
25e582bffMartin SjölundUpdate reference results due to MSL 3.2.1 change
f141d14f0vrugedynOpt: using IndexReduction=dummyDerivatives
dd0e9a6f9vrugecosmetic change
2678ace10vrugecosmetic change
dfb35e8c9vrugecosmetic change
ed177d3b9vrugecosmetic change
0b4809c28vrugecosmetic change
3dcc1b410vrugecosmetic change
374837183vrugeupdate test
4db1c9a43Marcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
c5496789cMarcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
5386ff0bdMarcus WaltherMerge branch 'master' into masterMW
47155523fMarcus 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
61a29c2b5Marcus 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
450d0f782Marcus Walther- fixed fmu export of cpp-runtime - cleaned up some static-linking stuff - fixed a segfault with the newly added profiling-points
5ec662ed7Marcus Walther- added new profiling points to c++ runtime - improved compile performance
2ad8c899fMarcus Walther- some simple improvements for HPCOM
c537d6e76Marcus 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
c1e4ea9b1vrugeupdate test
2512d4a4dAdeel Asghar- Another stupid typo.
a6ded24a2Adeel Asghar- Another stupid typo.
1fa319b5eAdeel Asghar- Fixed stupid typo.
149bf80d3Adeel Asghar- Fixed stupid typo.
dbce3475bMarcus Walther- removed whitespaces
f3cd8338cMarcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
f5ac5cf2aMarcus 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
757ad0519Marcus Walther- fixed fmu export of cpp-runtime - cleaned up some static-linking stuff - fixed a segfault with the newly added profiling-points
4dba01a2bMarcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
04f6fcaa0Marcus WaltherMerge branch 'master' into masterMW
c7db96163Marcus Walther- some simple improvements for HPCOM
c8a256209leonardoAdds serialization of MMC values
272e2c6adMarcus 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
8165162b6Martin SjölundIncrease the timeout
e3c2d0a9eMarcus Walther- fixed fmu export of cpp-runtime - cleaned up some static-linking stuff - fixed a segfault with the newly added profiling-points
673e21057Marcus Walther- changed BouncingBall number of threads to one
5e3b097ecMarcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
c485867faAdeel Asghar- No hover events in Component so no need to enable hover tracking. - Minor formatting & documentation in ModelWidgetContainer.cpp.
a82dea597Adeel Asghar- No hover events in Component so no need to enable hover tracking. - Minor formatting & documentation in ModelWidgetContainer.cpp.
b40726828Marcus WaltherMerge remote-tracking branch 'originMW/master' into masterMW
a8a58f801Marcus WaltherMerge branch 'master' into masterMW
d11bd4bf5Marcus Walther- some simple improvements for HPCOM
5824e7bf4Martin SjölundDisable BouncingBall_mcp_omp.mos
1ab4b1ac1Marcus WaltherMerge branch 'master' into masterMW
e313ab681Adeel Asghar- Check for existing LibraryTreeNode and display error if already exists.
7f6cbd569Adeel Asghar- Check for existing LibraryTreeNode and display error if already exists.
5b680aefcMarcus Walther- added new profiling points to c++ runtime - improved compile performance
7f603ec4cLennart OchelRemove duplicated interface declaration
7dccb34f5Martin SjölundMerge remote-tracking branch 'origin/maxDer'
26abf7f51Marcus Walther- some simple improvements for HPCOM
9ae7723b5Per Östlund- Added test case for #3337.
b406a81e8Per ÖstlundFix for #3337: - Lift type modifiers to the dimensions of the component.
9b0b4387cvwaurich- fix for highestDerivativeAdd a README
201cc1288Marcus WaltherMerge pull request #1 from OpenModelica/master
b7387b3b3Martin SjölundAdd a README
09168902cMartin SjölundMerge pull request #9 from vruge/disableDynStateSelectionInDynOpt2
c57605b39Martin SjölundMerge pull request #13 from vruge/disableDynStateSelectionInDynOpt3
99f5ac656vrugefixed: disable dynamic state selction
ca05ec17dMartin SjölundMerge pull request #12 from vruge/disableDynStateSelectionInDynOpt2
e27871090Adeel Asghar- Allow loading external models for TLM meta-modeling.
2686fdbbbAdeel Asghar- Allow loading external models for TLM meta-modeling.
b3ffc67c2Adeel Asghar- Use the preserve aspect ratio and initial scale of the component instead of the layer.
8f8cfe060Adeel Asghar- Use the preserve aspect ratio and initial scale of the component instead of the layer.
dd51fdd78Adeel Asghar- Make the text readable when component has flipping/rotation.
a7c1e7733Adeel Asghar- Make the text readable when component has flipping/rotation.
1eb6ca807Marcus Walther- removed some debug output
d1c484175vrugedynOpt: addeed case for disable dynamic sate selection
199d2aac1Marcus Walther- some cleanups in HpcOmMemory - empty-scheduler contains an equation-list now - c++-simulation runtime can now calculate the dae-system in parallel
2ff7145afvrugeupdate test
28ad2449bvrugeMerge branch 'disableDynStateSelectionInDynOpt'
3828ff11cvruge- attempt disable dynamic state selction in dyn. optmization - cosmetic changes in IndexReduction.mo - using for loop construct - scale heutistic in IndexReduction for StateSelection
5992e4a1cPer Östlund- Fixed encoding of HpcOmScheduler.mo and SimCodeUtil.mo.
b8bb7135cvwaurich- fix testsuite for now, still have to handle underdetermined systems with derivation loops
c798dca34Per Östlund- Added test case for array expansion of outer parameters.
b98a5ebfePer Östlund- Don't treat outer parameters without binding as a special case in Static.elabCref2, to enable vectorization.
df2d27245vwaurich- added information about highest derivative to SimCode.ModelInfo
19efba22fMartin SjölundMerge pull request #7 from sjoelund/master
dd06f1819Martin SjölundBase everything on @perost commit before vwaurich merge
0a1de3782Martin SjölundMerge pull request #6 from sjoelund/master
89982147fNiklas Worschechfix for typo
124e8b80aMartin SjölundManually force away some commits
9ca7f9388Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
13d2ab883Martin SjölundMerge master into branch without b13b350
d32301f99Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
7357a7209Lennart OchelReplace recursions with loops
94cddf13dLennart OchelReplace recursions with loops
89e820182Per Östlund- Changed recursive instantiation of enumeration arrays to a loop, to avoid issues with type checking.
29b89acebvwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
873946993Per Ö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.
999168124vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8) (reverted from commit af3393f641463c913c4c74512d04e941de8abf9d)
ca6d73778vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
8f4cc512aLennart OchelAdd workaround to RemoveSimpleEquations to sort out known vars from alias vars (#3323)
ad3d7cdb2Martin SjölundRemove usertab.c as expected
996bcc160Martin SjölundRemove usertab.c from cppruntime as it should never be compiled
045b50a99Martin SjölundFixes #3332, ParModelica install paths
a4a032a62Niklas Worschechreplaced for loop with std::transform in SimVars.initRealAliasArray
c786ac786Niklas Worschechfix for ModelicaExternalC usertab linker error in cpp runtime
482de6d28Martin SjölundFix 8a7b5a0 by updating to the latest submodules
2af70e228adrpo- fix testsuite on windows, checking if first char is '/' is obviously not Windows friendly
f8df9d6e7Niklas Worschechfix for typo in SimController comment
58985dcf0Niklas Worschechfix for debug msvc cpp runtime build
58f885701Niklas Worschechchanged msvc build type for cpp runtime to release
81b98e355Adeel Asghar- git describe instead of git rev-parse for getVersion()
6cf73dc42Niklas 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
80fd8be07Niklas Worschechadded doxygen config file for cpp runtime, add doxygen group comments in cpp runtime source files
837ddfba3Lennart OchelReplace recursions with loops
fac1d4ea7vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
185e25ff2vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8) (reverted from commit af3393f641463c913c4c74512d04e941de8abf9d)
af3393f64vwaurichMerge remote-tracking branch 'origin/master' (reverted from commit b13b350383859be31fd5f6f39d0198c26776d4f8)
b13b35038vwaurichMerge remote-tracking branch 'origin/master'
a9d51ea03Per Östlund- Added test case for enumeration array modifier.
e95da2bb8Per Östlund- Changed recursive instantiation of enumeration arrays to a loop, to avoid issues with type checking.
e8a1675d8Adeel Asghar- Visualize the Component origin with cross.
f77f376cfAdeel Asghar- Visualize the Component origin with cross.
1a5bab448Per Östlund- Added test case for inner/outer enumeration dimensions when using bindings.
aec10af19Per Ö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.
72a94bbfeLennart OchelAdd test case for #3323
0bc3a73e2Lennart OchelUpdate expected output
cc6a016f1Lennart OchelAdd workaround to RemoveSimpleEquations to sort out known vars from alias vars (#3323)
fd2efe96cMartin SjölundRemove usertab.c as expected
a63f61bd4Martin SjölundRemove usertab.c from cppruntime as it should never be compiled
81f8a837bMartin SjölundMake build dirs
dff6c8312Martin SjölundFixes #3332, ParModelica install paths
04badcea1Niklas Worschechreplaced for loop with std::transform in SimVars.initRealAliasArray
5c9479acfNiklas Worschechfix for ModelicaExternalC usertab linker error in cpp runtime
c11281859ptaeuberPass casual tearing set to SimCode
6584fe105vwaurichMerge remote-tracking branch 'origin/master'
eb6f8146fNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6f309c971Niklas Worschechfix for typo in SimController comment
d0aef2541adrpo- commented out debug line
0c3dcc855Martin SjölundOnly set CXX to g++ if CXX is clang++
9f6854b46Martin SjölundFix 8a7b5a0 by updating to the latest submodules
0e1eab34eadrpo- fix testsuite on windows, checking if first char is '/' is obviously not Windows friendly
76f2202f9vwaurichMerge remote-tracking branch 'origin/master'
b110e2f9fvwaurich- added information about highest derivative of complete model to modelinfo
8a7b5a0d2Niklas Worschechfix for debug msvc cpp runtime build
1b9062171Niklas Worschechchanged msvc build type for cpp runtime to release
dbe14945aNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c1dcb6563Niklas 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
6b77a33bbMartin SjölundMerge pull request #11 from vruge/dynOptUpdate
42ff48fcavrugeMerge remote-tracking branch 'origin/master' into dynOptUpdate
1583aba68Martin SjölundMerge pull request #10 from vruge/dynOptUpdate
2860aa431vrugeremove some messages, which are not intresting
537d965fdAdeel Asghar- git describe instead of git rev-parse for getVersion()
7ac9271f7vrugeimproved test TFC5
53c1cf744vrugeimproved test LRB2
c91dbbb98vrugeimproved test LRB
9eeccf432vrugeimproved test DM
ed947eff2Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
cf3a3f6fcNiklas Worschechadded doxygen config file for cpp runtime, add doxygen group comments in cpp runtime source files
1bda3b0d7vwaurich- fix for visualization xml
ded295274Martin SjölundSkip LOG_IPOPT_ERROR as the numbers are not interesting
44a312bd6Martin SjölundPrint less output to pass the testsuite
5608b79b9Martin SjölundUpdate README.Linux.md
841c42bc4Martin SjölundUpdate README.Linux.md
a87083051Martin SjölundChange the Linux readme to markdown
3ede179acMartin SjölundPass CFLAGS/CXXFLAGS to ipopt
f2f0f3925vwaurich- visualization xml stores equations for protected, time-dependent variables
5b2cd4c58Martin SjölundNormalize line endings, remove generated file
2c1535d6cLennart OchelUpdate expected output
576a904abLennart OchelMerge branch 'master' of https://github.com/OpenModelica/OpenModelica-testsuite
76801feafLennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e0381a2e3vwaurich- added BackendDAE.FOR_EQUATION related to vectorization
d79836166Lennart OchelMerge branch 'qss'
72f9143d8Lennart OchelMerge branch 'qss'
7d0e89366Martin SjölundUpdate runtests.pl exit codes
00c80dcd0Martin SjölundAlways copy the required config.guess, etc
e4416eaaeMartin SjölundFix cppruntime tests
2e0e4dd1dMartin SjölundAdd the canonical host_short to omhome
bb4056bdfMartin SjölundRemove Modelica3D from OMCompiler (moved to OMLibraries)
3e5635a2bMartin SjölundUse g++ for boost threads
060a0ac62Martin SjölundUse the configured CXX in cppruntime
38d0c59d2Martin SjölundUse C++11 by default
8700c259cMartin SjölundAdd c++11 macro
a4b524524Lennart OchelUpdate expected output - remove warnings (see #3325)
efc65e194Lennart OchelUpdate test for system that do not depend on any state
7201a95cbLennart OchelMerge branch 'master' into qss
bf6ce6899Lennart OchelFix generation of sparse pattern for systems with just one state
2c578ecf3Lennart OchelMerge branch 'master' into qss
60c93f57dLennart OchelMerge pull request #4 from ptaeuber/tearing2
77066968bptaeuberfix SimCodeUtil.mo after merging
6db755903ptaeuberMerge branch 'master' into tearing2
3f57560daMarcus Walther- sundials 2.4.0 has support for colored jacobian, so I've changed the ifdef
b3dabebbeadrpoMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
0fa54ddeaadrpo- try to improve on #3318 by giving memory back as much as possible to the OS on Windows
230db15a5Adeel Asghar#3123 - Fixed the Component flipping issues.
5dfb4ea46Adeel Asghar#3123 - Fixed the Component flipping issues.
028b425b0Adrian PopMerge pull request #9 from vruge/master
b97fedb30Marcus 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
5bc2cb9d8vrugedy. optimization: update test
36a39f62evrugedyn. optmization: update test
e2a22243evrugedyn. optmization: attempt to fix CombiTimeTable with Periodic
fbbbebfbevrugeupdate test
b07755b09Martin SjölundExpected output
42c07892aMartin SjölundDisable debugging
defa77ce5Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
7abb7cca4Lennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d01c9049eLennart OchelRemove unused code - there is no $dummy state anymore
0009dfa13Martin SjölundUse the new paths for the model testing scripts
8b2edc75fLennart OchelDon't add a dummy state to generate symbolic Jacobians
5c9cc5de3Martin SjölundDo not add the inst tests
dcf2a053dmflehmig- Added for-loops to dumpEqs.
57e65788emflehmig- Codegen for vectorization using for loops.
3b5590410mflehmig- Cleaned up vectorization. - Fixed upper bound for vectorization.
8171bdfecMartin SjölundAdd missing SiemensPower test
36b2fae6eMartin SjölundAdd SiemensPower reference file
4ade77936Martin SjölundUpdate SiemensPower tests to use the packaged library
1d2871767Martin SjölundUse SiemensPower from the libraries
e145287ecNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
6f15357c6Martin SjölundAdd the small reference graphs used and compared
268a0405dMartin SjölundUse same stopTime as reference file
27df1e58eadrpo- fix windows compilation
ccfba0529Lennart OchelUpdate .gitignore file
6d49a94d6Martin SjölundMerge outputs 2 and 3 of diffSimulationResults
6a8642c01Martin SjölunddiffSimulationResults changed back to two outputs
77b04d023Martin SjölundAdd MSL 3.1 version of reference files
e90e180ceMartin SjölundUpdate C++ tests using the ModelTesting scripts
ab8f95a54Martin SjölundBump 3rdParty
2bf2c4e2cMartin SjölundQuote directory names
0d42956edMartin 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
73d0a3c99Martin SjölundAdd reference file for 4-bit adder
98e9206e3Martin SjölundAllocate the correct size
5f9e4651aMartin SjölundAdd reference for ChuaCircuit (2500 intervals)
f9fa9461eMartin 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
eaf99f9edNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
d52ab4e30Martin SjölundMake pre-commit hook work with submodules
c5ab20cbdMartin SjölundMerge pull request #8 from lochel/jacobian-warning
ff0fc923dMartin SjölundExpected output
487b49718Lennart OchelUpdate expected output
ba5b824d9Martin SjölundSimulation results fixes - Add failed variables as output from diffSimulationResults - Add numberOfIntervals flag to filterSimulationResults
6c14d2463Martin SjölundCreate GC_asprintf function
a332da61aNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
e1788d44dNiklas Worschechremoved special case for static factory policies
a6b4656e0Lennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
b0b4602e6Lennart OchelRemove workaround for dummy state in dassl solver since there is no dummy state for algebraic systems anymore.
710c86d07Martin SjölundAdd -nodelete option to rtest, for debugging
8064091bdMartin SjölundUse the MSL 3.1 reference for CharacteristicThyristors
23a54a422vwaurich- removed some debug dumps in vectorization
0295dd068vwaurich- some fixes for vectorization
ea135be25vwaurich- extended vectorization (reverted from commit 4e506d6574516164ddaf3ee1eee666e5b4c31857)
bb28025ccvwaurichMerge remote-tracking branch 'origin/master'
4e506d657vwaurich- extended vectorization
20a5a0cc9Marcus Walther- fixed GCC compiler warnings for invalid-pch define and force_inline
c895e990cvwaurich- fixed appended subscripts for vectorization
8bb9617dfLennart OchelUpdate expected output
ffa7dad6bLennart OchelAdd test case for ode system that depends on time (and not on states)
c5fb32685Lennart OchelRemove workaround for algebraic systems
6c53415a1Lennart OchelAdd new post-opt module "addTimeAsState" This module introduces $time as state variable (+addTimeAsState).
348b22c3fMarcus 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
6303044afMarcus 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
97f744c60adrpo- update 3rdParty and .gitignore
a97a2ebd4Lennart OchelUpdate expected output
0bed96358Lennart OchelMinor changes to qss solver - Add warning for the case that all derivatives become zero - Clean-up, formatting, ...
d8cca3fb0mflehmigMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
ee02481b3mflehmigChanges towards vectorization
638f287d1mflehmigChanges towards vectorization.
60dd426dcLennart OchelMerge branch 'master' into qss
454c9c45cadrpo- support -emit_protected for CPP runtime
ec0bb5e2evrugesymEuler: fixed values for der(x)
ed7da3e89vrugefixed symEuler
7e9837520Martin SjölundExpected output
bae5316c6adrpo- proper include
969cb9c8cadrpo- more fixes for MSVC compilation
dadc3dc39adrpo- fix MSVC compilation of C runtime
adf53f3a4adrpo- update 3rdParty in OMCompiler
3a9c67069Martin SjölundAdd absolute path to compiler sources
945b16da0Per Östlund- Fix previous commit, due to constants with wrong type getting eating.
3f8412c0aMartin SjölundFix compilation of OMShell and mosh
ed483a28dPer Östlund- Removed unused delayed type checking to simplify SCode.Mod.
b87dfa084Adeel Asghar- Missing file from last commit.
475d005a5vrugeextends dyn. optmization: update var direction
cbd3561e0Adeel Asghar- Added common submodule. - Install pre-commit hook. - Added .gitattributes.
c24784719Adeel Asghar- LF as eol. - Install pre-commit hook.
6ca92683aMartin SjölundUpdate expected results
7f4a2353aMartin SjölundAdd AIMC_withLosses reference file
56f577decvrugerelax the rules for reduce and extends dyn. optimization flags
0505769f7Adeel Asghar- Added .gitattributes. - Install pre-commit hook.
092e7d820Adeel Asghar- Use LF as eol to keep things uniform.
289644df3Adeel Asghar- Use LF as eol to keep things uniform.
6913c02b4vrugesymEler: improved generation of helper-var DT
4c1eca322Martin SjölundUse the model testing script
0bb8a1f25Martin SjölundModel testing script now works better in non-standard directories
d4d323b0dAdeel Asghar- try whitespace.
4f171b49aAdeel Asghar- Properly install pre-commit hook for OMEdit.
ec62513e6Adeel Asghar- Make pre-commit work on Windows.
af3435e49Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
74189fa7dNiklas Worschechremoved special includes for static cpp runtime build
fca40b3ccMartin SjölundUpdate paths to reference files
9e6d93d42vrugeExpressionSolve: added additional for symEuler(dt == 0)
e5d820d26Martin SjölundUpdate the model testing script to handle MSL 3.1 - Changed some MSL 3.1 simulation tests to use the model testing script
29cd04e2bMartin SjölundBuild cppruntime into OMBUILDDIR
3ffa3287eMartin SjölundAdd the HumMod tests
4f787ab67Niklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
3a51e346aadrpo- add Compiler/OpenModelicaSetup to .gitignore
550f780c3adrpo- fix library coverage script, have emit_protected defined on all branches, otherwise you get an error when running system
8c0132ba2Martin SjölundFix OMC path for --without-omc
47bae7abdMartin SjölundHandle filtering negative aliases
d52e6f7cdMartin SjölundUpdate reference files for hpcom - Re-added files unique for hpcom - Other tests use MSL 3.2.1 reference files
c5ab021ffMartin SjölundUpdate ThermoPower tests
2f9ab5718Martin SjölundExpected output
6a9078e98Martin SjölundFix Java tests
ff139a309Marcus 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)
c160230deNiklas WorschechMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
93754c4feNiklas Worschechseparated defines and includes in Modelica.h
213ce20f1Martin SjölundUpdate submodules
2bc7193c7Martin SjölundFix OMNotebook compilation
f417640adAdeel Asghar- Install the pre-commit hook.
13e820f24Lennart OchelUpdate debug dumps - Replaced large models with dummy models - Restore filtered out tests - Update expected output - Deactivate tests that dump time stamps
b09aaee0fMartin SjölundAdd filtered reference files for resolveLoops
20f29ce04Martin SjölundRemove test identical to the MSL test
19beba6c8Martin SjölundRemove unused test ComparisonQuasiStationary2
765391930Martin SjölundDo not instantiate PlanarMechanics
de41cdb56Martin SjölundFix off-by-4 error
bc2c1844dMarcus Walther- updated hpcom tests
08c1d7eadMarcus 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
d2765ee71Marcus 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
0f658eea1Marcus 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
723695e70Martin SjölundHandle mixed OMC and Dymola names better
bcf067077Marcus WaltherMerge pull request #1 from OpenModelica/master
7023616ebMartin SjölundFix a rollback bug
77acafc05Martin SjölundUpdate submodules
e4460295eadrpo- attempt to partially fix #3313 and the library coverage hangs
a09817b40vrugereduce symEuler-system
6b8dc8e07vrugeMerge remote-tracking branch 'upmaster/master' into symEuler2
5fc88b51dvrugeimproved symEuler
009ab2dbfMartin SjölundShow the Java test command
10cae8b19Adeel Asghar#3295 - Added close window, close all window & close all windows but this options in the View->Windows->
ecc9596c2Adeel Asghar- case sensitivity.
4ee2c6cdcvwaurich- some more infos about arraycrefs in dumpSimCode
8d64f4bf3vrugeimproved symEuler
7c55968devrugeimproved symEuler
db89c1f32vrugeimproved symEuler
6fb6271d2vrugeimproved symEuler
57c909290vwaurich- some more fixes for vectorization
ce23826cbvrugeimproved symEuler
8ad90c528vrugeimproved symEuler
1ff5d9a01vwaurich- get cref as ident for the visualizationxml objects instead of string
074dd8443vwaurichadded BackendVarTransform.replaceEquationAttributes
3ad6e72d0Martin SjölundChange default path to reference files
66346e301Martin SjölundUpdate gitignore
15c798a59Martin SjölundImprove the mat4 reader to also lookup Dymola-style names
1cc7d081dMartin SjölundAdd PlanarMechanics minimal reference files
33ed58aaeMartin SjölundAdditional example for filtering reference files
ca59402d8Lennart OchelUpdate qss test suite
19e5804a6Lennart OchelMerge branch 'master' into lochel/qss
d254dbf4bMartin SjölundFix detection of version in submodules
cb69a5af4Martin SjölundFix testing of the Java interface
cbc725d06Martin SjölundImprove the filtering of results files
805d90b22Martin SjölundMerge pull request #5 from mflehmig/master
06ed6bf71Marcus 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
7e14015daMartin SjölundAdd ThermoSysPro reference files
7f652c3d7mflehmig- Added 'ReferenceFiles' to clean rule in Makefiles where needed.
b4129e37aMartin SjölundMerge pull request #4 from mflehmig/master
d4080259fmflehmig- fixed typo.
b83df49b5Lennart OchelHandle systems that are in steady state
ff2cc7c53Lennart OchelMerge remote-tracking branch 'origin/master' into lochel/qss
49f391fa1Martin SjölundCompile latex pdf
03aa6b99cMartin SjölundAdd 'listings-modelica/' from commit 'fc5a2466d2c760e0d75d13ee3fd8ceb550cfabd1'
336070204vrugerename: ocp_init.tex -> dyOptInitialGuess.tex
3cf1adf71vrugeadded LaTeX-src for intial guess
5f0cfbfe2Martin SjölundAdd reference files for solver tests
fa70703afMarcus Walther- update reference commit
c91e3219fLennart OchelMerge branch 'master' of https://github.com/OpenModelica/OMCompiler
c52b5f340Adeel AsgharUpdate 3rdParty.
673eaa12bLennart OchelHighlight workaround for "symEuler"
5f32b3ae6Martin SjölundWe do not use the env.var OPENMODELICAHOME
6f8d233d8Martin SjölundUpdate common
eb10ccb41Adeel AsgharMore README updates. Removed README.txt
bd8f9a3cfAdeel AsgharMore README updates. Removed README.txt
172c00e4dAdeel AsgharRemoved README.txt
22be200b5Adeel AsgharMore README updates. Removed README.txt
2194ce555Adeel AsgharCopy DrModelica & DrControl. Updated README.
a0f60b217Martin SjölundAdd OMNotebookHelp from svn
ea5107f51Adeel AsgharUpdated README
1799708f2Martin SjölundAdd 'DrModelica/' from commit '4aebc12187da9e57445cec7f37d41bd99709bf47'
75965dc6eMartin SjölundAdd 'DrControl/' from commit '0e380635c4adddf94372cf0ecccf153d304d237e'
2c744c24cAdeel AsgharUpdated README
9a3c47e85Adeel AsgharFixed OMNotebook Windows compilation.
e2edb497dMartin SjölundMerge pull request #3 from vruge/master
b96b56304Martin SjölundMerge pull request #3 from vruge/master
30b173d3fAdeel AsgharOMShell Windows compilaiton.
9bc4e2e99Vitalij Rugefixed symEuler
96ed92df1Vitalij Rugefixed symEuler
da8398b08Adeel AsgharFixed OMEdit & qjson compilation for Windows.
a5e05b311Adeel AsgharCopy OMPlot header files.
506ac549fMartin SjölundFix install paths
baef0588eMartin SjölundPrint the whole path always
a050f2c3dAdeel AsgharRemoved unused stuff.
d6cbc6179Adeel Asgharomc/qwt include is moved to omplot/qwt
4cd2000edAdeel AsgharFixed OMPlot & qwt compilation for Windows.
505d30a62adrpo- properly clean 3rdParty/ModelicaExternalC
f9cb094f9Per Östlund- Remove dead code to get rid of compilation warning.
b1c294da0adrpo- fix compilation of Compiler/Template/CodegenCpp.tpl
c6c475784Martin SjölundAdd missing file to convert .mat.xz to .mat
2a2999646Martin SjölundReference file updates
dcdf6143dLennart OchelDefine HashTableCrIListArray.HashTable in SimCodeTV.mo
96caac0cbadrpo- more propagation of OMBUILDDIR
14e08b2e4Lennart OchelMerge branch 'master' into qss
77d2e5884Martin SjölundCompile omc-diff with optimization flags
b55e4eee1Adeel Asghar- More fixes for windows compilation.
b8f8ff5daptaeuber- prepared SimCode for dynamic tearing - still not able to build omc because of unspecified error
95a869dfeMartin SjölundCompile OMPlot from clean
cf1ac0d3aMartin SjölundFix configure from clean
0997d2ec1Martin SjölundAdd searching for libqwt
3d07c1eebMartin SjölundAdd gitignore
51478233dMartin SjölundCopy more files to the build directory
7d696cd74Martin SjölundInclude the scripting API files in build
9296fcf69Martin SjölundFix compilation from the super project
687e1d940Martin SjölundNicer omhome messages
aedf3f4ffMartin SjölundCopy includes to omplot
68fb39e4dMartin SjölundMake git describe always work
4e57ea427adrpo- use $OMBUILDDIR properly in Windows build
8960bd8dfadrpo- fix Windows build to use $OMBUILDDIR
ecfaaf73aAdeel AsgharFixed compilation.
70377b488Martin SjölundFix OMC bootstrapping path
89b699ec5Martin SjölundFix some warnings in logs, skip re-compiling if target already exists
907803b45Per ÖstlundMerge branch 'master' of ssh://github.com:22/OpenModelica/OMCompiler
a27a9ed3bPer Östlund- Ignore vim buffer files.
6c148e797Adeel AsgharOMBUILDDIR absolute path and git HEAD
a4b3fc3f6Martin SjölundUpdate configuration
1d955ae09Martin SjölundSkip looking for omc build artifacts if we are compiling omc at the same time
a6085583eAdeel Asgharset OMBUILDDIR in root makefile
07583cf28Martin SjölundUse the configurable build directory Also fix using the correct CXX in qwt
c422bf07dMartin SjölundFix compilation using different build directory
521fee19eLennart OchelUpdate .gitignore file
bc2506803Martin SjölundUpdate gitignore
aecbc157eMartin SjölundAllow configuration of build directory
9870b1739Marcus WaltherMerge remote-tracking branch 'originMW/master'
d5f6a985bMarcus Walther- some changes on hpcom memory optimization - added more files to gitignore
5b594bb7eMarcus Walther- some changes on hpcom memory optimization - added more files to gitignore
5b92c2a9bLennart OchelMerge branch 'master' into qss
56ab44731Martin SjölundAdd gitattributes
8806a1661Per Östlund- Ignore input/output when counting connector variables.
d41c2b184Martin SjölundShare build dirs between projects
cdb605459Martin SjölundMerge pull request #2 from vruge/master
672011194Vitalij Rugesimplify test, which test no converge
dad53816dMartin SjölundMerge pull request #2 from MarcusWalther/master
4e29a0caaMarcus Walther- external tool builder for eclipse added
cce4cff38Lennart OchelMerge branch 'master' into qss
873ece23fMartin SjölundMerge pull request #1 from OpenModelica/lochel-gitignore
2036f9f48Lennart OchelAdd some first tests for qss solver
a4f2a4a28Lennart OchelUpdate .gitignore
6b95dbaabLennart OchelInitial commit for elementary qss solver
0b11f8d1fLennart OchelAdd .gitignore file
ae6d4acb1Rüdiger Frankeupdate -cppruntime tests
d79e9ec0fMartin SjölundAdd support for new API: filterSimulationResults
23686e66cadrpo- put back the Windows Makefiles (Makefile.omdev.mingw) - fix windows build of the OMCompiler
77feb896eMartin SjölundFix paths in bootstrapping tests
411434424Martin SjölundFix compilation of cppruntime
162277d85Martin SjölundMoved the MSL 3.2.x reference files to the root
9e0ccd5a9Martin SjölundPath to compiler sources changed
fd4bd2d15Martin SjölundDocument removed directories
fc27f01dfMartin SjölundCompile UMFPACK as a shared library
bed671762Martin SjölundAdd bootstrapping tarball
33c62391aMartin SjölundIpopt include path
f34600b06Martin SjölundFix ipopt clang compilation
aa74a256cMartin SjölundUse git describe for version
d256b6c67Martin SjölundFix lis compilation from clean
193371b99Martin SjölundAdd mkbuilddirs
9689db132Martin SjölundAdd mkbuilddirs
a99719000Martin SjölundFix make clean
f8fba98ebMartin SjölundRemove qtclients references
623a4772fMartin SjölundCompilation --without-UMFPACK is now working
b190c2b86Martin SjölundThe OpenModelica testsuite Based on: https://openmodelica.org/svn/OpenModelica/trunk/testsuite/@25901 Removed most files >1MB in size
ae1c52446Martin SjölundGetting a little further, failing at metis now
35e46050fMartin SjölundAdd Cminpack including OMC patches
d042ebb69Martin SjölundAdd some of the 3rdParty modules
3e1de4b05Martin SjölundAdd a submodule for 3rdParty sources
778d3b394rfrankesupport for loops over Real ranges
a3052d49dsjoelund.seAlso include antlr3config.h
6d4f0161fMartin SjölundWhitespace
292091e17Martin SjölundUpdate to new OMPlot paths
e9ad6358cMartin SjölundFix compilation using the new repository
d6652d48bMartin SjölundUpdate configure
9a08f0d8bMartin SjölundAdd pre-commit hooks
d5928d96cMartin SjölundAdd pdf's and word-files that were pruned from the history due to being binary files
f65334da7Martin SjölundMissing omc in the path
d834a7ff6Martin Sjölundantlr3 library changed name to omantlr3
74d8748a7Martin SjölundAdd host_short to install correct antlr files
5a2380c1aOpenModelica Hudson[Janitor mode] Fix whitespace
da50f0232Martin SjölundInstall antlr3 includes. Fix OMNotebook linking
556609d75Martin SjölundRename libantlr3.a to libomantlr3.so
dbefb5764Martin SjölundRemove the old antlr jar-file
a575fd97bMartin SjölundCopy antlr-2.7.7 as well; it is needed for org.antlr.Tool
c8fd4cb1dMartin SjölundUpdate java_interface to use the antlr-3.2 jar
6f4aec499Martin SjölundUpdate README.md
9f50bb3e5Martin SjölundCreate README.md
7384dac2dMartin SjölundSquash nls files on top of the rest of the repository
2d328d6d1Ruediger Frankeattempt to fix pre variables in algebraic loops
d1043b9f3Ruediger Frankeimplement pre values of arrays
62bbc24ddVitalij RugemarkStateEquationsWork: rewrite with while loop
110482475Martin SjölundCreate README.md
68501e243Martin SjölundBug reports
0637335feMartin SjölundAdd missing makefile, copying, readme
7dd9c1a3eMartin SjölundSome additional useful m4 checks
4273b1379Martin SjölundFix compilation after git-svn conversion - Added qwt, man-pages, etc
344c23e5eMartin SjölundLink lapack
6f2dde4dcMartin SjölundFix compilation of libcsv in C++ mode
0ddc8a1c2Martin SjölundCopy more results file reading functions with the includes
e80bc51ffVitalij Rugesmall improvement
b760c6a98Martin SjölundLock OMNotebook/OMPlot/OMShell for edits since they are being moved to the git repositories
cc098997dMartin SjölundDelete old directory
e3db36176Martin SjölundAdd autoconf dependencies
021808598Martin SjölundAdd m4 files for autoconf
c5cc09382Ruediger Frankeprevent clang++ warning "lookup of 'set' in member access expression is ambiguous; using member of 'mapped_type'"
244eeeb82Ruediger Frankebug fix to previous commit r25871
53abf6821Martin SjölundRemove unused directories
aa43b695fRuediger Frankeremove double parenthesis from if statements to avoid clang++ warning "equality comparison with extraneous parentheses"
32f158e1aMartin SjölundInitial commit
c92ce0327Ruediger Frankeattempt to fix access to seed variables from algebraic loops in Jacobian evaluation
22f067e17Ruediger Frankefix newlines between Algloop includes of Jacobian files
f14a53ff6Ruediger Frankefix code generation for createArray from functions
4cfa5ba3bRuediger Frankeskip initialization of aliases if they are just references now
edbccc71aRuediger Frankeseparate ArraySliceConst from ArraySlice to enable slices of const arrays
ce9e27e09Martin SjölundOSX fix
087afe0baRuediger Frankedon't use references for external objects (fixes r25804)
d2ab89bd3Ruediger Frankefix FMU makefile after r25821
202be2956Ruediger Frankeremove second accessElement method from ArraySlice
683c60c85Ruediger Frankeadd const qualifiers to array operations
b3594d5caMartin SjölundFix modelica3d paths
c5df3e60dMartin SjölundMove qmake detection to separate m4-file
35e60a4e0OpenModelica Hudson[Janitor mode] Fix whitespace
b85bc7984Volker Waurich- added template functions for DAE.SUM and SimCode.SES_FOR_LOOP
799136a9dMartin SjölundInstall cppruntime libraries in the correct directory
998faebc6Martin SjölundFix a broken install path
e07a8fde6Martin SjölundUpdate bootstrapping tarball
9a9e8b973Martin SjölundSee if bootstrapping is fixed without a new tarball (skip checking for ModelicaExternalC when bootstrapping)
e553b2d81Volker Waurich- removed some debug prints for vectorization
178cbda6cMartin SjölundFix linker paths
af9a702f1OpenModelica Hudson[Janitor mode] Fix whitespace
8d6ce3a4bVolker Waurich- some more fixes for Vectorization.mo
9510ad4efMartin SjölundFix mkbuilddirs
a0a877257Martin 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
1e3d33b38Martin 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
33911b515Martin 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
7fdfaed4eMartin 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
f521cf9beOpenModelica Hudson[Janitor mode] Fix whitespace
df6001a29Marcus 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
28e0e8820OpenModelica Hudson[Janitor mode] Fix whitespace
0595c66d9Volker Waurich- some fixes for alias handling when unrolling variable arrays (for vectorization)
1dd25caabRuediger Frankeadd support for read access to data of RefArray and make arg of sum_array const
c10782500Adrian Pop- handle Clang also
762167cf9Adrian Pop- fix Windows build - fix nightly-build (get OMPython from github)
50157ff73Martin SjölundTry to fix fmil dependency in Compiler/runtime
cd70933c1Martin 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.
876ee3e85Martin SjölundUpdate makefiles for better cross-compilation
171488171Niklas Worschechadded cpp runtime config for gcc and msvc
8ec90b949Per Östlund- Fix flag typo.
dc27e82a3Volker Waurich- remove more whitespaces
d61f40288Niklas Worschechre added missing boost ublas vector
55d877503Marcus Walther- support for non constant array-indices added to variable - memory - mapping
dbedd1160Volker Waurich- remove whitespace in array subscripts
17812f78bAdeel Asghar#3296 - catch omc_Main_setWindowsPaths exception.
473a03538Martin SjölundFix installation target (* copies all directories)
1821f5bbeOpenModelica Hudson[Janitor mode] Fix whitespace
795603189Marcus Walther- added handling for special case, that variables have a subscript at the end but are not part of an array
af0384daaMartin SjölundFix installation of idl file
8b738d608OpenModelica Hudson[Janitor mode] Fix whitespace
2f771a17aMarcus Walther- added optimization variables to mapping - added some scripts to execute all simulations in the msl with special flags
1a2bb5786Marcus 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
516588475OpenModelica Hudson[Janitor mode] Fix whitespace
ad1232f04Volker Waurich- removed some additional prints to fix tests
6c0221c1aVolker Waurich- added SimCode.SES_FOR_LOOP and DAE.SUM expression to express loop-equations
9ad1051d4Niklas Worschechremoved boost ublas includes for mac os because of build errors
c135e9939Ruediger Frankeexploit new getDataCopy in assign to DynArray
cf8c34845Martin Sjölund#2619 Move OMPython to https://github.com/OpenModelica/OMPython
cd5fbe6aaRuediger Frankeremove irrelevant cases from algStmtAssignArr to fix assignment to array slices
46295b52aRuediger Frankeadd more missing throw
453d33f34Per Östlund- Propagate the actual attributes to match aliases, to allow assigning to them if they are non-inputs.
674a8975fAdeel Asghar- Set the TLMPluginPath
d8892d1f8Niklas Worschechfix in Array getData, added missing throw
8cd29e2e0Adeel Asghar- Added options for defining TLM manager & monitor processes.
1e37a76cdOpenModelica Hudson[Janitor mode] Fix whitespace
2db19012fNiklas Worschechfix for precompiled header of cpp runtime msvc build added use of precompiled header for cpp runtime libraries
e4d15d5d8OpenModelica Hudson[Janitor mode] Fix whitespace
2da1e338fPatrick Marcel Taeuber- included Jacobian in TearingSet because it differs for different sets - adapt some modules to new tearing structure
fb2ca722aLennart Ochel- Use common variable names (ass1, ass2) to store matching information - Add comments to make clear what is actually stored in ass1 and ass2
46c301531Lennart Ochel- use new syntax to access arrays
3631bcffaLennart Ochel- Restore r25682 and r25683
d6e1ccd30Adeel Asghar- Only allow one co-simulation session. - Fixed display of error messages where filename is empty.
7eab2fc87Ruediger Frankeremove unused outputAllocate from external function code
e20ab9588Ruediger Frankemake Cpp code generation work for Modelica.Math.Matrices.leastSquares
7865309c3Henning Kiel- ignore some more generated files
cc81be1eaMartin SjölundRename configure.in to configure.ac
45fcbb3aaMartin SjölundFix builds
6a3fcd4e0Martin SjölundTry to fix builds
e240093a9Per Östlund- Don't simplify MetaModelica array ASUBs in ExpressionSimplify, it doesn't know which side an expression is on.
16cfe1989Martin 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)
8dea18bfeAdeel Asghar- Enable/disable the TLM Editor syntax highlighting.
c33cb3a3aOpenModelica Hudson[Janitor mode] Fix whitespace
32f9749deVolker Waurich- add Vectorization.mo
4e0bde5a2Volker Waurich- added first implementation for handling for-loops and variable arrays
fd5af1589Adeel Asghar- Shorten the TLM highlighting preview text. - Removed the unused indentOrUnindent slot.
70d239cb1Adeel Asghar- Generalized the TabSettings for editors.
337e2badcOpenModelica Hudson[Janitor mode] Fix whitespace
3dab9b1fbNiklas Worschechmoved linear solver selection to initialization method
90e88f08bOpenModelica Hudson[Janitor mode] Set auto-props
bae454fefRuediger Kampfmann-moved FactoryExport.h to include directory
26a4f091dRuediger Kampfmann-moved FactoryExport.h to header
831361ef8Ruediger Frankeavoid underflow of unsigned size_t and access to NULL if there are no real variables
6121d3529Adeel Asghar- Fix OMEdit built.
bc4f0bc35Adeel Asghar- Start TLM co-simulation by reading the hostname.
6ddc3165dRuediger Frankerevert changes of previous commit on CVode.cpp and introduce an internal dummy state instead
c5ef2559cRuediger Frankeremove dummy state from Cpp runtime as well (#3057)
e6017b43fRuediger Frankefix Cpp code generation for complex types
c3ab2b81cRuediger Frankereplace memcpy with std::copy to make arrays work with complex types (fixes r25735)
0a7073df9OpenModelica Hudson[Janitor mode] Fix whitespace
d8ec3c18aRuediger Frankereplace specialized string arrays with a converter for external "C"
1c319f65dAdeel Asghar- Save the TLM LibraryTreeNode before starting simulation.
eca7582feAdeel Asghar- Set DrModelica.onb as default notebook.
4fa376504Martin SjölundFix OMNotebook locale settings
2d119c70fLennart Ochel- Use "listEmpty(...)" instead of "listLength(...) > 0" or similar expressions
2736819c3Ruediger Frankeremove const qualifiers from data constructors of RefArrays (fixes r25725)
c26c9da3aRuediger Frankeadd some more array constructors
e2e732694Ruediger Frankeadd const qualifiers to data arguments of array constructors
f23c302e6Ruediger Frankefix StatArrayDim3
f628fa0cdVitalij Rugesimplify adjacency row for tearing - important for symEuler
d17bcea52OpenModelica Hudson[Janitor mode] Fix whitespace
5147a694bVitalij Rugeadded symbolic implicit euler. Improvements will come!!
681f96c3eRuediger Frankeimplement POW_ARRAY_SCALAR in Cpp runtime
b0ef8b7a9Adeel Asghar- Cleaned up linking of libraries.
5b55c6d9dAdeel Asghar- Removed linking of omniORB as is not needed anymore. - Copy the QtXmlPatterns4.dll
f8b06e60fOpenModelica Hudson[Janitor mode] Fix whitespace
260ebb95bOpenModelica Hudson[Janitor mode] Set auto-props
a1df6c76dAdeel Asghar- Added missing function.
c1efe5ba5Adeel Asghar- Merged OMEdit TLM branch with trunk.
31c0256c7Adeel Asghar#3290 - Keep the cursor as cross when making connection and restore it when the connection is done.
7bf884776Henning Kieleliminate List.isNotEmpty() and List.first() (replaced by listEmpty() and listHead())
045668adaNiklas Worschechfix for linker error in StatArray.resize
db5890441Niklas Worschechfix for r25703
044184b84OpenModelica Hudson[Janitor mode] Fix whitespace
a114ce445Niklas Worschechadded special assignment operator one,two and three dim StateArray which call assignment operator from base array
bd6eb589fRuediger Frankefix negation of aliases for boolean variables
53ce52a12Adeel Asghar- Fix builds.
6a15f1278Adeel Asghar- Fix build, - Don't use Qt threads with OpenModelicaCompiler shared library.
679fd4d09Adeel Asghar- Fix build, - Don't use Qt threads with OpenModelicaCompiler shared library.
718172182OpenModelica Hudson[Janitor mode] Fix whitespace
95060f73cAdeel Asghar- Removed the plotSilent flag. - Added argument forceOMPlot to plot APIs.
5a13db85bAdeel Asghar- Removed the plotSilent flag. - Added argument forceOMPlot to plot APIs.
e4baa369cAdeel Asghar- Removed the plotSilent flag. - Added argument forceOMPlot to plot APIs.
753a764beRuediger Frankeremove reindex(1) from DynArrays to get the same zero based indexing as in other arrays
4e83a6303Ruediger Frankemove iterator from DynArray to DynArrayDim1, where it was before
3ae39f71eRuediger Frankeintroduce base classes StatArray and DynArray to avoid repeated code
05a601785Adeel Asghar- Call omc_Main_setWindowsPaths on Windows so that APIs like simulate can work properly.
352560911Adeel Asghar- Call omc_Main_setWindowsPaths on Windows so that APIs like simulate can work properly.
73fa6370fAdeel Asghar#1768 - Set a call back function for plot commands. - Updated OMNotebook to use the OpenModelicaCompiler shared library.
b0f6071fcAdeel Asghar#1768 - Set a call back function for plot commands. - Updated OMNotebook to use the OpenModelicaCompiler shared library.
43d9b432eAdeel Asghar#1768 - Set a call back function for plot commands. - Updated OMNotebook to use the OpenModelicaCompiler shared library.
8a9f3b41bLennart Ochel- Removed List.isEmpty
aa7cd40ceVolker Waurich- uncomment separation of parameter dependent and variable dependent asserts, have to fix dae-task-graph generation first
31ea9af71OpenModelica Hudson[Janitor mode] Fix whitespace
c0ea844a8Lennart Ochel- Reverted r25682 and r25683 until the bootstrapping tarball is updated
d62f8e8bfVolker Waurich- put parameter dependent asserts in the paramEquation section and not in all-equations
2d01a1a8aLennart Ochel- Removed workaround for #3281
6cdd11dd4Lennart Ochel- use new syntax to access arrays
1902e06c3Ruediger Frankeremove reference array code from static arrays
038cffed5Patrick 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
b35172a8aPer ÖstlundFix for #3281: - Fixed handling of subscripted MetaModelica array crefs.
b0bedfc97Lennart Ochel- avoid unnecessary wrapping
4d1f61e3fLennart Ochel- Fixed sorting of boolean parameters
2729e7debAdrian PopFix: #3288 - properly convert between modelica_string to fmiString - some warning fixes in SimulationRuntime/fmi/export/fmi1/fmu1_model_interface.c
28657dfddOpenModelica Hudson[Janitor mode] Fix whitespace
5d4fa21eeRuediger Frankeimplement specific classes for reference arrays accessing simvars
854821e85Ruediger Frankemore universal version of previous commit
84b3de38dRuediger Frankeimplement assign from ref arrays
ec198e99fLennart Ochel- Oops!
43f2f5076Lennart Ochel- Some improvements to Tarjan's algorithm
79fa40645OpenModelica Hudson[Janitor mode] Fix whitespace
4c16895d8Volker Waurich- dump alias vars in dumpSimCode
bb207eed7Lennart Ochel- Merged TarjanTransposed and TarjanTransposedPartial
aee0b0eb1Patrick Marcel Taeuber- remove inadvertent comments
e6644252ePatrick 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"
4172d0007OpenModelica Hudson[Janitor mode] Fix whitespace
dcb7ea912Lennart Ochel- Use new implementation of Tarjan's algorithm in omc tearing - Removed old implementation of Tarjan's algorithm
651b1ba6dLennart Ochel- Use new implementation of Tarjan's algorithm for blt sorting
bc0e5047dNiklas Worschechremoved shared array from simvars
c04e35cf0Niklas Worschechfix for typo in SimVars initBoolVar
5156f823aOpenModelica Hudson[Janitor mode] Fix whitespace
fd6dd1edbNiklas Worschechadded method for the initialization of alias arrays in cpp runtime
44426d168Lennart Ochel- cleanup BackendDAETransform
a0a74f0bcLennart Ochel- cleanup calculateJacobianRow2
8a732ad4eLennart Ochel- Removed obsolete module strongComponents
846c4873eOpenModelica Hudson[Janitor mode] Fix whitespace
2dc3048dcMarcus 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
5dbaa5523Lennart Ochel- Use new implementation of Tarjan's algorithm for OnRelaxation
0e17b8f74Lennart Ochel- Use new implementation of Tarjan's algorithm for uncertainties
599c412ccOpenModelica Hudson[Janitor mode] Fix whitespace
19d996953OpenModelica Hudson[Janitor mode] Set auto-props
874da4bb0Adeel Asghar#3285 - Generate relative components paths for classes contained in package.
eff2d7ecfVolker Waurich- moved visualizationXML dump to extra files - dump ast for complex expressions in visualization xml
da1dbb5caLennart Ochel- Use new implementation of Tarjan's algorithm for evaluating parameters
c399b9fb7OpenModelica Hudson[Janitor mode] Fix whitespace
face8330fLennart Ochel- Use new implementation of Tarjan's algorithm for index reduction
381f8b500Niklas Worschechadded special StatArray constructor for alias arrays
3e154216aLennart Ochel- Added new package "Sorting" to collect all the different sorting algorithms
e39a23231Ruediger Frankeremove templates that became obsolete with last but one commit
cbfb3fa19OpenModelica Hudson[Janitor mode] Fix whitespace
f0c15aedfRuediger FrankeSupport multi-dimensional arrays in the external "C" interface again (#3286)
d329ff27aMichael Kloeppeladd missing changes
287faafcaMichael Kloeppelexchange custom sparse matrix format in c++-runtime umfpack for boost::ublas sparse format adapt test case
89effa21cAdeel Asghar- Removed unused functions from StringHandler.
bdc18edf3Ruediger FrankeReduce impact of new internal matrix layout
69f49b8e7OpenModelica Hudson[Janitor mode] Fix whitespace
d8d901e80Ruediger Frankemove check of program options to precompiled OMCFactory
8f85408feRuediger Frankeoptimize access to elements of DynArray's
12f2ec190Ruediger Frankebug fix for r25611
0fe9b188eAdeel Asghar- reload the child items when parent item is updated.
714648547Adeel Asghar#1540 - Handle quoted identifiers simulation.
7965cf276Ruediger FrankeAdd missing pieces for changed internal storage layout (#3286)
2c274efdeRuediger FrankeChange internal storage layout of arrays in Cpp runtime to improve linear algebra (#3286)
25474a7bcRuediger Frankereplace std::vector _tmp_data with boost::multi_array to make ArraySlice work for bool as well
15772169fRuediger Frankestore dimensions of array slice to reduce code size and speed up getDim
1aa60b7d5Adeel Asghar- Do not set unnecessary text option on the editor.
25860e39bHenning Kiel- fix some warnings - spellfix
4c48b7ff9Henning Kiel- fix some warnings - spellfix
7133aabe5Adeel Asghar- Set the QPlainTextEdit pointer.
e8fd706efLennart Ochel- fix indentation
5604fc874Lennart Ochel- Added transposed version of Tarjan's algorithm
8da9195c0Lennart Ochel- Simplified interface for function PerfectMatching
1ae29dcfeNiklas Worschechfix in ArraySlice operator(), does not return a value
02c5931b2Adrian 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
5c52f069cOpenModelica Hudson[Janitor mode] Fix whitespace
c6b8c970fMarcus 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
3072a7732Adrian 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
2e037259dOpenModelica Hudson[Janitor mode] Fix whitespace
511bafb28Ruediger Frankefix and generalize transpose_array
78e0e43d3Adrian PopFix bug: #3282 - allow parsing of {} for mos scripts
22d069adbRuediger Frankeavoid nested comments and quintuple printout of ExpressionDump
ef6eda174OpenModelica Hudson[Janitor mode] Fix whitespace
64c81a2d8Bruno Scaglionibib items fixed
9b2eab43eVitalij Rugeextend flag for inputs from r25582
a9cf8445cRuediger Frankeuse int instead of size_t in reduction expressions (see also r25564)
0efc38a35Henning Kielreplaced "if listLength(lst)>0 then" with "if not listEmpty(lst) then" to reduce run time (O(n) -> O(1))
0db243462Ruediger Frankemake linkage of LAPACK libs platform independent (fixes r25566)
267c74d43OpenModelica Hudson[Janitor mode] Fix whitespace
aa1e97b23Vitalij Rugenew debuge flag: added new_var = var/nominal where var is state
494ff7356Bruno Scaglionibibliography updated
36b0ad409Jan SilarFixed C# template after numeric initialization removal.
c58703238Adeel Asghar- Visualize whitespace in editors.
fa2287b12Henning Kielmake OMNotebook usable on OSX again
20f6a9086Bernhard BachmannSome improvements to the matching algorithm
a26562da4OpenModelica Hudson[Janitor mode] Fix whitespace
d448b0b6aNiklas Worschechclean uclean up static array class for assign and operator= method in cpp runtime expected output
39f82c066OpenModelica Hudson[Janitor mode] Fix whitespace
c83dfc4ccRuediger Frankea more rigorous attempt to fix the "targTest91" problem (#3263)
5fe6f5075Ruediger Frankeadd support for external F77 to Cpp runtime
d8230ff99Adeel Asghar- Use the appropriate tab stop width. - Start the next line based on previous line indentation.
b817b4dadRuediger Frankelet getDim of Arrays return int instead of size_t
fcbdf2728Ruediger Frankerevert r25560 back to r25552 because functions returning arrays need assign with const arg
1e754dd40OpenModelica Hudson[Janitor mode] Fix whitespace
71fa8503fNiklas Worschechclean up static array class for assign and operator= method in cpp runtime
4823b9e21Ruediger Kampfmann-adapted VxWworks for SimVars
4e2e89748Lennart Ochel- New implementation of Tarjan's strongly connected components algorithm
bb7689a6bOpenModelica Hudson[Janitor mode] Fix whitespace
396ed5a69Ruediger Kampfmann-adapted VxWworks for SimVars
3ccb61267OpenModelica Hudson[Janitor mode] Fix whitespace
0bbced24eVolker Waurich- estimate execution costs for removedEquations as well
4960dab03Nils Menageradded functions to factoryexport for bodas and vxworks
beabea06aNiklas Worschechfix in getDatCopy for dynamic array in cpp runtime
a22ca5ff9Ruediger Frankerevert CodegenCpp.tpl from previous commit
e2a7d2400Ruediger Frankeadapt ArraySlice to r25546
3e44371d7Martin SjölundUse pagetotal instead of pages since otherwise bibtex renders the "p. 13" instead of "pp. 13"
cc6601455OpenModelica Hudson[Janitor mode] Fix whitespace
780062938Niklas Worschechfix for reference array methods assign,operator= and getData in cpp runtime
e9f1e1a1aOpenModelica Hudson[Janitor mode] Fix whitespace
26d28e4c0Marcus 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
6b1e7bb36Lennart Ochel- revise implementation of Tarjan's strongly connected components algorithm
63116a410Patrick Marcel Taeuber- use while loop instead of recursion in Tarjan matching
806fe1d29Lennart Ochel- fix indentation
d8ebf8311OpenModelica Hudson[Janitor mode] Fix whitespace
fa793d48eVolker Waurich- added stuff to dump a xml file that contains information about visualization objects
0b36bac82Adeel Asghar#3279 - Fixed the re-simulation crash.
fb7d0d028OpenModelica Hudson[Janitor mode] Fix whitespace
f2eeacd1dVitalij Ruge- attempt to fix partial negation of the lhs inside createNonlinearResidualEquationsComplex - added warnings for generateCrefsExpFromExp and generateCrefsExpLstFromExp
1d39a038aAdeel Asghar- Start the line numbers of sub models from where they actually starts in file.
364f69f6cOpenModelica Hudson[Janitor mode] Fix whitespace
f124afbf5Nils Menagerchange in SimController (_simMgr is now member variable again)
92b049bf0Vitalij Rugeimproved r25524
a863589ddLennart Ochel- clean implementation of some dumps
79efc1331OpenModelica Hudson[Janitor mode] Fix whitespace
ddad86f11Vitalij Rugeadded flag for diasbale Msg from omc
56d931389Lennart Ochel- cleanup
48537f980Willi Braun - added additional flags for dassl for output control in non-equidistant mode
4e56867daOpenModelica Hudson[Janitor mode] Fix whitespace
e4b05e70aVitalij Rugesymbolical QR-solver: added householder(default)
3facf89d0OpenModelica Hudson[Janitor mode] Fix whitespace
4e44eca2fPer ÖstlundFix for #3250: - Rewrote Static.replaceEnd to handle qualified/fully qualified crefs correctly.
1417f8230Adeel Asghar#3275 - Set GraphicsView scroll bars policy to `Qt::ScrollBarAlwaysOn` to avoid unnecessary resize events.
56d5208e7Adeel Asghar- Fix documentation examples.
17967e7d0Marcus Walther- fixed HPCOM-Cpp-Tests (memory optimization is still broken) - added some HPCOM-Cpp-Tests to Hudson
305ab23beRuediger Frankefix name clash if a Modelica model uses a variable pow (#3268)
6385b63f4Adeel Asghar#3271 - Handle tabbed dock widgets while switching between perspectives.
9fdfa27b9Ruediger Frankeadapt FMI2 to new SimVars
8a93f2fa4Adeel Asghar#3270 - Redraw plot when curves are removed. Preserve the users zoom level when Auto Scale is unchecked.
2aabc0e41Adeel Asghar#3270 - Redraw plot when curves are removed. Preserve the users zoom level when Auto Scale is unchecked.
eb6913ba8Adeel Asghar- Handle the Esc key for Editors & FindReplaceWidget.
a322bc653Adeel Asghar- Removed the unnecessary ReleaseInformation message.
d9e3df55dLennart Ochel- minor changes to some comments
08bd5e0ccLennart Ochel- Avoid redundant code
52f33df51Lennart Ochel- Use new matching implementation in Initialization.mo
36a2492d9OpenModelica Hudson[Janitor mode] Fix whitespace
2b7a19024OpenModelica Hudson[Janitor mode] Set auto-props
cdfcc8462Niklas 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
166d96bb4Ruediger Frankeunify name of iteration variable in ranges to avoid c++ warning about changed lookup rules
ab7e76478Adrian PopFix bug: #3269 - add code for deleteFile in Compiler/Script/CevalScript.mo - add test in: testsuite/openmodelica/interactive-API/Bug3269_deleteFile.mos
14ffb438aRuediger Frankeadd ModelicaExternalC and ModelicaStandardTables to Cpp targets
2c0590eb1Ruediger Frankeimplicit treatment of multiplication of zero dimensional arrays
0feaf9285Adeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
3844793bdAdeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
65089a7f1Adeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
7d9a87e77Adeel Asghar#2860 - Allow preserving the zoom level. Don't always auto rescale for new variables in plot.
1e8e07225Ruediger Frankeimplement multiply_array for 1D and 2D arrays
105fdb28aAdrian 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
94212d130Adeel Asghar- removed unnecessary forward declarations.
d6ee7ce70OpenModelica Hudson[Janitor mode] Fix whitespace
bbc6f0302Bernhard BachmannAdded another implementation of the "usual" matching algorithm. Method also works in combination with the available index reduction methods.
74cdd7078Vitalij Rugeimproved r25421
73cf25aa1Adeel Asghar- convert \n to
in error message.
e33cf67b8OpenModelica Hudson[Janitor mode] Fix whitespace
fcb1fadd8Lennart Ochel- increase informative value of some error messages
409e11db2Lennart 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, ...)
f158abb93Ruediger Frankemove call to initializeAlgloopSolverVariables from initialize to constructor
148ec3d5cOpenModelica Hudson[Janitor mode] Fix whitespace
2ae042b5bNils Menagercleanup of Policy Files for Bodas and VxWorks
294834078OpenModelica Hudson[Janitor mode] Fix whitespace
ffdd23ba6OpenModelica Hudson[Janitor mode] Set auto-props
a9009b7e3Ruediger FrankeFMI2 Cpp: separate initializeMemory from initializeFreeVariables to avoid memory leak in fmi2Reset and to speed it up
e296a44caRuediger Kampfmann-added files for vxWorks
2644fd5b0Ruediger Kampfmann-added files for vxWorks
761b251ccNils Menagerchanged function name for BODAS and VxWorks Factory function (cpp runtime)
2398851eeRuediger Frankeoptimize ArraySlice to avoid internal copy of a given index set (#3263)
adf3b4eb1Martin SjölundFix typo
99e78374aAdeel Asghar#2831 - Add the user current directory in PATH before starting the simulation executable.
d6d55cbd5Ruediger Frankemake Cpp code using BOOST_FOREACH work with DynArrayDim1
22c2202adAdeel Asghar- Check and load dependent libraries for checkModel, checkAllModelsRecursive, instantiateModel, translateModel, translateModelFMU and translateModelXML.
80ecad3ddOpenModelica Hudson[Janitor mode] Fix whitespace
ded222d73Adeel Asghar- Moved the exception handling to OpenModelicaScriptingAPIQt.cpp. Just emit the signal with exception from there and show it in OMEdit.
cee922708Adeel Asghar- Moved the exception handling to OpenModelicaScriptingAPIQt.cpp. Just emit the signal with exception from there and show it in OMEdit.
267f1de60Ruediger Frankeuse ArraySlice for rhs expressions as well, replacing create_array_from_shape
d115a52efAdeel Asghar- Always check for error messages for translateModelFMU.
c05b369f9Adeel Asghar- Reopen stderr in OMEdit to get the OMC console messages. - Shows the stderr messages on MessagesWidget.
cbd597850Ruediger Frankereplace unsigned int with size_t for sizes
c5560490cRuediger Frankeremove useless const's from *ArrayDim2, typo, some whitespaces
6e9befcf4Ruediger Frankeadd getDim method to arrays to avoid temporary vectors if just one size is wanted
b109d6407Ruediger Frankemore const refs
41b38230fAdeel Asghar- Re-implement start & exit to handle Thread loop.
ce0bfafccRuediger Frankeadd missing const qualifiers and pass indices by reference for to access operator
ad75c46aaAdeel Asghar- Reopen stdout in OMEdit to get the OMC console messages. - Shows the stdout messages on MessagesWidget.
504a45ce6Ruediger Frankeadd support for SLICE expression
3abb26c7eNils Menageradded ifdef's for BODAS in RTEuler
db703eb4dOpenModelica Hudson[Janitor mode] Fix whitespace
9a24136aaOpenModelica Hudson[Janitor mode] Set auto-props
10fc0ebb5Ruediger Kampfmann-added RTEuler
9d6750f72Ruediger Kampfmann-added RTEuler
885c6e387Ruediger Kampfmann-added RTEuler
e446f5622Ruediger Kampfmann-added RTEuler
87d477b30Vitalij Rugesymbolical QR-solver: - improved handling for const exp - added scaling
3905d14e7Nils Menageradded boost::algorithm::string to Modelica.h in cpp runtime
4be42e29eOpenModelica Hudson[Janitor mode] Fix whitespace
ccc0e9eccOpenModelica Hudson[Janitor mode] Set auto-props
c1810e541Nils Menageradded BodasFactory to cpp runtime
153ff9f9aRuediger Kampfmann-removed obsolete method setcycletime()
d086b470aLennart Ochel- don't observe strictly singular systems during initialization (just for testing)
ff32e7685Nils Menageradded Policies in cpp runtime for BODAS
3dd5a11b7Adeel Asghar#3267 - Remember the last used directory.
144e4154eOpenModelica Hudson[Janitor mode] Fix whitespace
456f638bfVitalij Rugesymbolical QR-solver: improved handling of know-vars
bd14462cdRuediger Frankeinstall new file ArraySlice.h (#3263)
25108d479Lennart Ochel- blanks
46ec26287OpenModelica Hudson[Janitor mode] Fix whitespace
f20f72713Volker Waurich- added removedEquations to the DAE-TaskGraph
1509df245OpenModelica Hudson[Janitor mode] Fix whitespace
22abefc68Ruediger Frankeintroduce ArraySlice to treat assignments to subarrays on the lhs (#3263)
4661b7ed9Ruediger Frankefix initialization of array output and implement assignment of a range to an array (#3263)
f98f34d1dAdrian Pop- attempt to add -fPIC even if getconf LONG_BIT != 64 (as it seems to be on ARM)
a4075f4dcOpenModelica Hudson[Janitor mode] Fix whitespace
81a6c7930Ruediger Frankerevert changes to FMI1 again (r25397), because they are incomplete
07ccc17cfRuediger FrankeFMI2 Cpp: implement fmi2Reset function
2fd685922OpenModelica Hudson[Janitor mode] Fix whitespace
8b611a2a9Ruediger Frankeseparate initialization of free variables from initialization of bound variables
48e080c12OpenModelica Hudson[Janitor mode] Set auto-props
e9f66624cAdeel Asghar- Added CEditor with basic C Syntax highlighter.
93f84e29bAdeel Asghar- Better syntax highlighting handling. - Removed TLM references. Merge the TLM branch when it's complete.
cbc5bf197Adeel Asghar#3260 - Fixed duplication of Packages.
c3a75a1daAdeel Asghar#3265 - Changed copy to duplicate.
229d3ebd5Ruediger FrankeFMI2 Cpp: additional changes to remove writing of output file from FMU
6c18317f2Ruediger FrankeFMI2 Cpp: remove writing of output file from FMU
18dd1410fRuediger FrankeFMI2 Cpp: upgrade initialization
f2e146ea3Ruediger Frankeformattings
f956dabf9Ruediger Frankefix r25379
d152f3ff0Ruediger FrankeFMI2 Cpp: add rpath to solver libs
25a53cd64Ruediger Frankefix FMU solver names
d4e2b94c1Adrian PopMore fixes to bug: #3261 - use '!' instead of '|' which could be used when overriding the regular expression from variableFilter
f6abf617aAdrian 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
5eb0f62f7Ruediger Franketreat multiline doc strings (cf. r24891)
a8fde2f1aRuediger Frankefix initialization of dependent variables
b077351aeRuediger FrankeFMI2 Cpp: apply runtime license
981451851Adeel Asghar- More standardization of text editors. - Better find/replace.
6787788d3Adrian PopFix bug: #3261 - support parsing the variable names containing array indexes (which contains ",") - added test: testsuite/simulation/modelica/others/Bug3261.mos
e418ae346Willi Braunfix #3251
7aaefa843OpenModelica Hudson[Janitor mode] Fix whitespace
2a962db71Willi Braun - adapt BackendDAEUtil.reduceEqSystem for symbolic jacobians and utilize it.
9992292acMarcus Walther- fixed build
97ef07226OpenModelica Hudson[Janitor mode] Fix whitespace
c12a0de12Marcus Walther- moved mixed array vars from SimCode to ModelInfo-SimVars - cpp tests updated
eeb3c94d5Adeel Asghar- Use monospaced font as default for TextEditor. - Use TextEditor instead of QPlainText when showing generated files.
82d0a198cAdeel 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.
2820451b8OpenModelica Hudson[Janitor mode] Fix whitespace
77636ee68Ruediger FrankeFMI2 Cpp: resolve alias variables in new getters and setters
3e36691a5Ruediger Frankefix memory leak in ModelicaSimulationError (#3256)
9c7baf761OpenModelica Hudson[Janitor mode] Fix whitespace
4affa10c7Ruediger Kampfmann-fixed #3258: Missing AlgebraicModelJacobian::initializeColoredJacobianA()
2f7973636Volker Waurich- addded proper ordering for metis scheduler - added messages if parallel simulation isn't worth
3a4f448cfMartin SjölundSome fixes to compile with parmodelica
0b3b011a8Ruediger Frankecosmetic changes to r25337 (#3253)
460d445b9Olena Rogovchenkofigaro changes
16830d325Adrian PopFix bug: #3254 - return component annotations that are not graphical classes also - added test: testsuite/openmodelica/interactive-API/choicesAllMatching.mos
ca0f0dc61Adrian 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).
aa24eef33Ruediger FrankeFMI2 Cpp: add libOMCppMath_static to FMU (#3238)
ee8884ee7Adeel Asghar#1482 - Added indentation support in OMEdit.
07c4c4475Martin SjölundHandle empty origin and rotation
b853bbc7dOpenModelica Hudson[Janitor mode] Fix whitespace
916000785Ruediger FrankeFMI2 Cpp: introduce new getters and setters
80a062f8dOpenModelica Hudson[Janitor mode] Fix whitespace
db98b830eRuediger Kampfmann-adapted cpp runtime files for vxworks
efada569bOpenModelica Hudson[Janitor mode] Fix whitespace
a8fa5985eMarcus Walther- added additional information to sim code, about array-variables that contain state or state derivative variables together with other variables
a045c5533OpenModelica Hudson[Janitor mode] Fix whitespace
367e696b9OpenModelica Hudson[Janitor mode] Set auto-props
289da2cdfNils MenagerAdded necessary ifdefs for ModelicaSimulationError on RT targets (cpp runtime)
a1bc23b9eRuediger Kampfmann-some changes concerning colored jacobians
e6b933727OpenModelica Hudson[Janitor mode] Fix whitespace
a639d116dOlena Rogovchenkofigaro changes
39174d74cOlena Rogovchenkofigaro changes
d9490d4f9OpenModelica Hudson[Janitor mode] Fix whitespace
4d73bbf47Ruediger Kampfmann-some changes concerning colored jacobians
69f32e07bMartin SjölundGC library changed name
a8e54ba77Martin SjölundChange libgc to libomcgc to make sure we link against the correct version of boehm-gc
055bfe8a4Martin SjölundChange libgc to libomcgc to make sure we link against the correct version of boehm-gc
2b4c9defdRuediger Frankeallocate options vector optv dynamically (fixes r25299)
10b18ebc5Adeel Asghar#1464, #1761 - Clickable error messages.
1c36eccf3Ruediger FrankeFMI2 Cpp: remove macro OBJECTCONSTRUCTOR
0f669b27fRuediger FrankeFMI2 Cpp: distinguish model identifier from model class
26bd25889Ruediger FrankeFMI2 Cpp: fix name of FMU binary for hierarchical models
0b93dff21OpenModelica Hudson[Janitor mode] Fix whitespace
c0099a237Olena Rogovchenkofigaro changes
089ffc192Olena Rogovchenkofigaro tweak
6c71abdf0Olena Rogovchenkofigaro tweak
1b94ea5cbAdrian Pop- plot only the last week for the detailed library trend
5bffb6b0dRuediger Frankeremove some clumsiness of previous commit
0aa3aa315Ruediger Franketreat OMEdit override option in Cpp runtime (#3233)
44fea8357Ruediger Frankeremove symbolic link from Cpp makefile for Linux
5ccd835fcRuediger Frankeadd default options to Cpp executable (#3233)
bb8a5eb52Adeel Asghar#3196 - Added vectorization support in OMEdit.
18bc2720bVitalij Rugecosmetic change
406d1ee03Adeel Asghar- Fix build.
31c55daf8Niklas Worschechchanged the name for the simulation executable of the cpp runtime to [Model].exe
f315596ddAdeel Asghar- Directly use the getClassInformaiton struct generated by OpenModelica scripting API.
d8bd7a383Adrian 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
65f22e71fVitalij Rugeimproved reduceDynamicOptimization
7ceb890ddRuediger Frankeadd exception handling to fmi2Instantiate
4977eb57aRuediger Frankefix getReal of Cpp FMI 1.0 and correct sizes of _tmp_real_buffer
c932275eaRuediger Frankefix Cpp getInt/Bool/String
5c9458103Vitalij Ruge-improved reduceDynamicOptimization -added test for combination reduceDynamicOptimization and extendDynamicOptimization
936a7af8aAdrian PopFix #3247 - use the class modification from the environment
8395c4511Adeel Asghar- Do not use or & and as conditional operators.
dfe96404eAdeel Asghar- Make sure switch to text view is correct.
3e8fc88ebMarcus Walther-Boost real paths can now be used optionally
0e7a877feOpenModelica Hudson[Janitor mode] Fix whitespace
a9cf315d8Marcus 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
b7d3ed76bOpenModelica Hudson[Janitor mode] Fix whitespace
450ee5e69Vitalij Rugeadded module reduceDynamicOptimization (Thanks, Willi) - remove eqs and vars, which are not part of the optimization problem
74781e322Ruediger FrankeFMI2 Cpp: add FMU2 to installation
1c2faebd2Ruediger Frankefix uint
5fef56ddcOpenModelica Hudson[Janitor mode] Fix whitespace
87b383371Bernhard BachmannPrototype of a new RemoveSimpleEquation module added
2dcb8805aAdeel Asghar- Fix the checkModel output. - Fix failing tests.
5e2cdf6b8Adeel Asghar- Fix the checkModel output. - Fix failing tests.
9f1186ac3Adeel Asghar- Print the messages in correct order.
8a60b27f8Adeel 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.
81cdc58c5Adeel 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.
4537d4b10OpenModelica Hudson[Janitor mode] Fix whitespace
1ed872895Willi Braun - added config flag for removeSimpleEquation to select the choose method
c9556dcc9Adeel Asghar- Create only one editor object. Use the BaseEditor class.
bb1ac6c37Per ÖstlundFix for #3245: - Fix code generation for assignment to record slices in functions.
ba6fe3e76Marcus Walther- forgot to update one cmake version
ea7c1aaa8Marcus 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)
1a009710fRuediger Frankecosmetic change
9ce5e954aRuediger FrankeFMI2 Cpp: add debug logging and exception handling
b369c6dd4Adrian Pop- allocate the structure, not the pointer
36dd31ed7OpenModelica Hudson[Janitor mode] Fix whitespace
d6f59bde5Adeel AsgharAnother try to fix FMI tests
4c0cb1346Adeel Asghar- Updated Figaro labels.
3a574f395OpenModelica Hudson[Janitor mode] Fix whitespace
bff8ce082Mahder Alemseged Gebremedhin- Keep External decls.
623e89736OpenModelica Hudson[Janitor mode] Fix whitespace
b0f7d5bbdVolker Waurich- fix for preCalculateStartValues
30ee7b508Ruediger FrankeFMI2 Cpp: fix ordering of real variables (aliases behind parameters)
4be600373OpenModelica Hudson[Janitor mode] Fix whitespace
a496e139aAdeel Asghar- Try to fix FMI tests.
0e77d95e0Vitalij Rugefixed extends dynamic optimization formulation - initial guess with file - handling der(x)
56bd4dceeRuediger FrankeFix _dimReal to size expected by getReal and setReal, including aliases and states
20e53ecbcRuediger FrankeFMI2 Cpp: re-add boost libs to Makefile (got lost in r25209)
bd33e054bRuediger Frankeadd extra parser to accept OMEdit options
a0bdd0024Adeel 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.
08efd3087Mahder Alemseged Gebremedhin- ParModelica interface update
b3ed89120Marcus Walther- improved cmake error handling if umfpack was not found
f62345fbcOpenModelica Hudson[Janitor mode] Fix whitespace
5cde2c429Marcus 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)
87be1d417Mahder Alemseged Gebremedhin- Clean up of tuple return handling.
4f6b67a10Marcus Walther- improved path handling of cpp-runtime
574dcac20OpenModelica Hudson[Janitor mode] Fix whitespace
04a519d34Marcus 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
1211dd856Ruediger FrankeFMI2 Cpp: remove duplicated generation of simulation files as contextFMI does not appear to make a difference.
131bf48beRuediger FrankeFMI2 Cpp: fix naming to consistent use of short model identifiers (#3241)
5d4eb06e2Lennart Ochel- update DSS dump
c00f64013Adrian 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
0097e5dc5Ruediger Frankepermit repeated simulation with Cpp runtime by removing already existing link
899c1fb41Ruediger Frankeattempt to treat #3233 by just warning about unrecognized command line options
0be801ec4Ruediger FrankeFMI2 Cpp: generate missing source files and extend Makefile (#3238)
32ac8d115OpenModelica Hudson[Janitor mode] Fix whitespace
85ead7a22Ruediger FrankeFMI2 Cpp: adapt generated model wrapper to FMI version
993877cbdRuediger FrankeFMI2 Cpp: generate appropriate modelDescription.xml
9b531d4e0Ruediger Frankere-fix whitespace (see r25194)
9696bb73fRuediger Frankefix wrong LDFLAGS (#3238)
97c73b470OpenModelica Hudson[Janitor mode] Fix whitespace
4d1eb6672Ruediger Frankerevert unintended change of previous commit
0a2763643Ruediger FrankeInitial version of FMI 2.0 export with Cpp runtime (#3238)
57ea85f84Vitalij Rugefixed handling der(x) in extends dynamic optimization formulation
857b7d76fVolker Waurich- added BackendDAEUtil.isSimulationDAE()
08cc98580Adeel Asghar#3196 - Better vector connections support.
021c789b0Volker Waurich- some fixes for constant jacobian evaluation
925859c7fAdeel Asghar- Store the partial prefix information instead of asking it again and again.
72fad54b2OpenModelica Hudson[Janitor mode] Fix whitespace
056f99f66Vitalij Rugeimproved extends dynamic optimization formulation
397fdbed5Adeel Asghar#3234 - Use try catch for omc APIs.
71e1aeceaAdeel Asghar#2676,#2677,#3025 - Fixed OMEdit saving issues.
27c2636c4Per Östlund- Fix ThermoPower tests.
d2570c43cMahder Alemseged Gebremedhin- Keep restrictions.
ffeb988e6Adeel Asghar- Do not create MessageItem on heap.
44e072f07Adeel Asghar#3234 - Call getMessagesStringInternal after the exception to get the real error message.
47cf694d1Adeel Asghar#3234 - Catch the exception thrown in the OpenModelicaScriptingAPIQt.cpp - Only done for translateModelFMU. We need to do it for all calls.
dac91d5f3Adeel Asghar- Also look for automatically loaded libraries after loadFile.
7c369972fAdeel Asghar- Add the automatically loaded libraries to Libraries Browser.
df00103d3OpenModelica Hudson[Janitor mode] Fix whitespace
544cf65b1Mahder Alemseged Gebremedhin+ fix parmodelica kernel function interface generations.
2ebb2d844Mahder Alemseged Gebremedhin- Add missing decalrations for in_* functions. We need them declared as extern C.
f432f940fPer Östlund- Prepare Mod.elabModValue to return the cache.
72597fbf6OpenModelica Hudson[Janitor mode] Fix whitespace
3392478c7Vitalij Rugeadded module for move loops as equal constrains in NLP - cheaper,simple evaluation for jacobians, DAE - bigger NLP open issues: initial guess.
654278cccAdeel Asghar#3207 - Do not make the compound variables disabled.
95593e365OpenModelica Hudson[Janitor mode] Fix whitespace
83251a0bcPer Östlund- Make Mod.elabModValue fail if Ceval prints an error message.
a4e433aefVolker Waurich- array equations that solve non-array vars have to be handled as non-linear systems
9b852f186Martin SjölundTry to output \r for string literals that used \r explicitly
2c55fff2aMartin SjölundSimplify trimming for whitespace
c0e2b8e61Martin Sjölund#3169 Try to fix darwin name again
14d8de457Adeel Asghar#3222 - Proper handing of line thickness.
7d2cc1814Adrian Pop- ISO week number
e974a7197Adrian Pop- even more fixes to library trend plotting
3b6b90741Adrian Pop- more fixes to library trend plotting
5559a103fAdrian Pop- more fixes to library trend plotting
466d7721dAdrian Pop- try echo 0 not 0.
514d1eee3Adrian Pop- add verification curve to library trends (set to 0 now if it doesn't exist)
b53a9615cLennart Ochel- use hash set instead of hash table to collect variables used in when clauses
42051949bLennart Ochel- cleanup
c2eb4de3eLennart Ochel- remove unnecessary cases for when/elsewhen in algorithms
5e7ac6fe6Adrian Pop- fix bad typo in ModelicaBuiltin.mo
2fb5d6b15Adrian Pop- increase version to 1.9.3 nightly
80b135dbfAdrian Pop- switch version to 1.9.2
290b631b0OpenModelica Hudson[Janitor mode] Fix whitespace
c55585404Mahder 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.
70799a2bePer Östlund- Fix naming in OMEdit for classes which have default names.
02db2b276Volker Waurich- solve linear systems with constant jacobian and variable b-Vector symbolically with +d=constjac
62783d021Adrian 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
09c5cf1bbAdrian 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
5c8a28d0fMahder Alemseged GebremedhinFix List.combinationMap1 too.
9478fb933Mahder Alemseged Gebremedhin+ workaround for cpp runtime until the template gets updated for array handling changes.
5a9c2c7e8OpenModelica Hudson[Janitor mode] Fix whitespace
b8529bac1Mahder 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.
2f3e6ec12Willi Braun - fix the counting of #3217, but record of arrays are currently not supported by the runtime.
4d3a80016Per Östlund- Fix Expression.typeof for ASUB with non-scalar subscripts.
a798a5f88Per ÖstlundFix for #3212 and #3213: - Changed Expression.expandSubscript to use expandRange, so that it's able to also handle non-integer ranges.
8cd1d4b7bLennart Ochel- rename Expression.traverseExp to Expression.traverseExpBottomUp
bd3df36b3Lennart Ochel- minor cleanup to traverseExp
9863ec82cMartin SjölundReplace MM trig functions with Modelica equivalents
89457a026Lennart Ochel- cleanup
1c2ae3cc5Vitalij Ruge added flag for using ExpressionSolve in adjacencyRowEnhanced - can be used e.g. for warmstart in dyn. optimization
64a4089a3Adeel Asghar- Fixed OMShell build.
d94fa40edAdrian Pop- switch back to 1.9.2 Nightly
f5ac4fe57Henning Kieluse realTan instead of realSin/realCos
a9f40e4beHenning Kieldo not translate keyboard short cuts
077948565Adrian Pop- revert r25066, modelica_string is *NOT* const char*, is MetaModelica string, defined as: typedef modelica_metatype modelica_string;
93983ebd6Adrian Pop- switch version to 1.9.2 Beta2
f7944834fMahder Alemseged Gebremedhin- c++ compatibility. const correctness required.
47730a812Lennart Ochel- prepare module to encapsulate all function calls
dce49f5c0Per Östlund- Fix some bad enum to int conversions in the back end. - Some code clean up.
b640ae0bfMahder Alemseged GebremedhinFix wrong array scalar marking.
4b47dbdb4Lennart Ochel- don't handle homotopy in cse module
fa61ca65cLennart Ochel- fix indentation
a15b84d66Volker Waurich- revert r25052, will fix it later
a285b3f24Volker Waurich- array equations solving non-array variables are actually non-linear systems
8f4e8a851Martin FlehmigAdded cppFlags to simulation makefile.
138f2b4fdMartin SjölundClean cmake crap better
0acd505b0Adrian Pop- make sure is gcc before you add the extra flags - make the cmake verbose for easier build debugging
00dc56dddAdrian Pop- pass the cc flags to metis building
52096b79aMartin FlehmigAdded flag 'cppFlags' in order to commit flags for C++ compiler in CppRuntime.
0fa91a651OpenModelica Hudson[Janitor mode] Fix whitespace
3464a6679Per Östlund- Handle other types than integer ranges in BackendDAEUtil.extendRange.
361b4a6c1Martin FlehmigAdded config flag 'cppFlags' in order to commit flags to C++ compiler in cppRuntime.
c9c8e4d16Henning Kielfix color tables in png to remove warning when starting OMEdit
3f94931f2Henning Kiel- replace most List.isEmpty/List.isNotEmpty by internal listEmpty - replace recursive function with while loop
6570b17c7Lennart Ochel- typo
08082c4d9OpenModelica Hudson[Janitor mode] Fix whitespace
c8db6a2d1Niklas Worschechfix for getReal method in cpp template expected output
a31b4dff9Marcus Walther- metis added to bootstrap-dependencies
cfee79625Marcus Walther- metis include added
8dff8e64aLennart Ochel- some cleanup
1ed8384f6Marcus Walther-enabled metis for linux and mac by default
c78e112b2Marcus Walther- added metis to windows build (mingw)
76e956b97Adrian Pop- fix code generation for OpenTURNS (Uncertainties) which was broken since r22958 (bad assert).
3e4a58a97Adrian Pop- more tries to fix #3056 by fishing in the dark :) - update 3rdParty to r137/OpenModelicaExternal
3b82e2ac6Willi 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.
0f31e5760Adrian 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
918039efdWilli Braunmake Modelica.Fluid.Examples.PumpingSystem working again - by adding hybrid solver to the homotopy solver
950d9f44bAdrian PopFix #3209 - keep only unique equations for initialization
d5a87d246Martin SjölundHandle different host vendors (default is unknown; dpkg uses pc)
6c1dd7cfcLennart Ochel- revert r25012, since it breaks some stuff
09180c42bLennart Ochel- attempt to fix #3211
418a23ae5Adeel Asghar- Add a default start value for inputs.
caab11c20Martin SjölundSerialize algorithm sections with a single assignment differently
de0228fefMartin SjölundHandle array assignments
9cd11c89fAdeel Asghar- Fixed fmiEventUpdate.
14abf44abAdrian 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
6d2afdd64Lennart Ochel- disable warning if removeSimpleEquations failed for a subsystem - cleanup
0776a08d0Lennart Ochel- skip subsystems if removeSimpleEquations failed
08e1c29bcAdeel Asghar#3205 - Fix output causality.
96fb6d9bdAdrian Pop- msvc friendly implementation
2826f4eadOpenModelica Hudson[Janitor mode] Fix whitespace
bdcc4ccf9Niklas Worschechfix for Jacobian initialization in cpp template
3010a0bb9Martin SjölundFix printing of sparse Jacobian matrix (crashed for large systems) - Also skip printing the system unless the stream flag is set
5dffe2aacMartin SjölundFix type checking error - `Type mismatch in assignment in colorMap := {{0, 0, 0}} of Real[n_colors, 3] := Integer[1, 3]`
a66a65208Adrian 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
360a84ea8Marcus Walther- changed implementation of tpl.iterSeparatorAlignWrapString to while-loop instead of recursion, to fix stack overflow for large rexroth model
8ce63e596Adrian PopFix #3051 - merge modifiers for the class from the environment - add tests: testsuite/flattening/modelica/modification/MissingModifiers.mo, testsuite/flattening/modelica/modification/TestMissingModifiers.mos
d0a00165dMahder Alemseged GebremedhinRevert output counting changes until we fix all the issues.
66c19d2b7OpenModelica Hudson[Janitor mode] Fix whitespace
a4fa7a9a8Mahder Alemseged Gebremedhin- Hanlde multi dimensional array exressions in array equations. - Fix cref expansions.
95053ca32OpenModelica Hudson[Janitor mode] Fix whitespace
953f29806Per ÖstlundFix #3193: - Made TplParser.restOfTemplLine iterative to avoid stack overflows.
42447f546Adrian 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
f8b44dd8bAdrian Pop- fix unparsing of Absyn.AS
d5eff898aVitalij Rugefixed r24971
081be3adeOpenModelica Hudson[Janitor mode] Fix whitespace
17abe8bdbVitalij Rugeusing time grid inside model for dyn. optimization
d924b0fb6Mahder Alemseged Gebremedhin- Improve r24961.
95c013ff5OpenModelica Hudson[Janitor mode] Fix whitespace
e87391212Adeel Asghar- FMI 1.0 co-simulation API skeleton.
49c55782eAdeel Asghar#3034 - Define default start value for input causality.
849516ba8Lennart Ochel- improve error message of transformation module "sort components" - cleanup pattern matching and unused arguments
4a344db81Lennart Ochel- some cleanup
d768c90b9Adeel Asghar#3171 - Do not generate the empty TypeDefinitions section.
314bdd897Adrian 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
9be3b1cffLennart Ochel- mark function createStateSets as protected
f7e4fa224Ruediger Kampfmann-new target vxworks69
ec6246886Martin SjölundFix number of spaces
78d1b2497OpenModelica Hudson[Janitor mode] Fix whitespace
51aca84c1Ruediger Kampfmann-new target vxworks69
c55c29d68Vitalij Rugeadded interface for user time grid in dyn. optimization
a4189ad55OpenModelica Hudson[Janitor mode] Fix whitespace
6bac95633Mahder 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
2c510caeaOpenModelica Hudson[Janitor mode] Fix whitespace
01ea458dfBernhard Bachmannsome cleanup and correction to the nonlinear homotopy solver
88e15bf55Adrian Pop- revert r24941 (and r24942) as it breaks the builds
777750570Adeel Asghar- Fix build
e6c3fbc18OpenModelica Hudson[Janitor mode] Fix whitespace
090894a0bRuediger Kampfmann-new target vxworks69
145fbaeebMarcus Walther- revert revision 24937, because windows build fails
eff9e5901Adrian Pop- small change on DAE.VAR printing - add element source type list dumping, commented out for now
04830c8fdAdeel Asghar- Start generating co-simulation FMUs. The FMU doesn't contain valid code yet but will soon.
c71203795Marcus Walther- changed cvode to cvode_lapack - some cleanups for ILapack.h
871b241b1OpenModelica Hudson[Janitor mode] Fix whitespace
1ab23ac23Niklas Worschechfix for Jacobian variable names in cpp template
de54b76ddVitalij Rugeimproved time grid in dyn. optimization
76f0fa74aMahder Alemseged GebremedhinFix #3190
c2593a15bMahder Alemseged GebremedhinFix boolean slice assignments in c runtime. Fix #3188
936719c7bOpenModelica Hudson[Janitor mode] Fix whitespace
73113bd2fAdrian Pop- fix the type source for the enumeration type inside DAE.ElementSource.typeList (port from rml branch)
e19d57d52Bernhard Bachmannspeed-up of non-linear homotopy solver by adding new stop criteria
4d0c547a4Mahder Alemseged Gebremedhin- Improved handling of slice arrays - Fixed slice array assignments - Fix #3184
ae11989ceLennart Ochel- remove obsolete util stuff
61172b73aLennart Ochel- change directory separators in some description strings
3f5f21e4bOpenModelica Hudson[Janitor mode] Fix whitespace
dd21d7e7cMarcus 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
582614e97Adrian Pop- fmilib needs shlwapi, not OpenModelicaFMIRuntimeC
adae41998Adrian Pop- order matters shlwapi needs to be after fmilib
d168428b2OpenModelica Hudson[Janitor mode] Fix whitespace
b826ccff6Patrick Marcel Taeuber- improved Cellier tearing, now it is able to handle large components
efd471ab6Martin SjölundDocument symbolic operations
9abaddaccAdeel Asghar#3128 - Added shortcuts to switch between perspectives & views.
a463dd5ceOpenModelica Hudson[Janitor mode] Fix whitespace
a645f637dNiklas Worschechfix for string array in cpp template
9429d8e97Adeel Asghar- Change the view at one place.
395cb1eb8Lennart Ochel- change messages
5ba911295Henning Kielfix some warnings
a37b7ea48Henning Kielfix some warnings
9e24c0accLennart Ochel- initialize spare structure for jacobian A if qss solver is used
93d28498eAdeel Asghar- Only connect for specific type.
63ea0b9ddAdrian Pop- better handling of lib strings for +target=msvc
d1f47f79fAdeel Asghar- Use one constructor for ModelWidget to avoid duplicating the same source code.
9176dcb67OpenModelica Hudson[Janitor mode] Fix whitespace
2d85d41ddWilli Braun - improved handling of differentiated variable names for symbolic jacobians
0342f2cf2Adrian 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
949fd208aMarcus Walther- fixed some cpp-runtime-tests
697b89a8fAdrian Pop- suppress library not found message when running the testsuite.
f8470726dOpenModelica Hudson[Janitor mode] Fix whitespace
d40dee77eMahder Alemseged Gebremedhin+ Use exps in array assignments instead of direct crefs. + Fix array algorithm assignment generation.
1e4471417Adrian Pop- increase simulation executable stack size on Windows
4623b8113Marcus Walther- changed PreVariables-Array from dynamic to static - added a "isSome"-function to the Util-module
348afb1ceNiklas Worschechfix for initialization of string parameter in cpp template
6227835a1Martin SjölundAvoid generating platform-specific Modelica code for FMU's
c983b602fMartin SjölundAdd %APPDATA% to get a directory to store user files on Windows
8c2871677Martin SjölundFix assertion of json text
cf0390dacOpenModelica Hudson[Janitor mode] Fix whitespace
293a54fe3Vitalij Rugeaktived postOptModul lateInlineFunction
0aab84975Niklas Worschechfix for cpnvertBoolToInt in cpp runtime
3dfe5c964Martin SjölundFix the debug info according to the schema
94a443a4cVitalij Rugefixed makeNoEvent?
ab6c8f4ceLennart Ochel- more cleanup
b36365b9fOpenModelica Hudson[Janitor mode] Fix whitespace
93cad0ec1Niklas Worschechfix for initialization of string alias variables in cpp template
8d0f908eaVitalij Rugerevert r24844, don't work
26071c234Vitalij Rugeimproved handling of not derivable function calls in ExpressionSolve
60240740cLennart Ochel- some cleanup
384811463Lennart Ochel- mark public templates in CodegenC.tpl
38aa136d9Lennart Ochel- cleanup of some obsolete templates
e3c80b804Volker Waurich- dump type information for equations in +d=dumpSimCode
1cb172cbaOpenModelica Hudson[Janitor mode] Fix whitespace
7803d9ab7Per Östlund- Completely wreck scodeInst.
b339f9cbdHenning Kielsome cleanup
00c28f7b3Lennart Ochel- prepare qss solver development (using euler method as place holder)
7c3bb7807OpenModelica Hudson[Janitor mode] Fix whitespace
1935b7aabLennart Ochel- fix string handling
aa906305cNiklas Worschechfix for pre call for array in cpp template
3754f6b1dOpenModelica Hudson[Janitor mode] Fix whitespace
ae6074291Lennart Ochel- add auxiliary function for printing sparse structure of jacobian A
2cdd472a6Ruediger Kampfmann-removed argument cycletime in calcOneStep and runSingleStep
91056c7bbRuediger Frankeremove call to dimensionKnown from Static.elabBuiltinDiagonal (#3168)
e88f2c1f0Adrian PopFix #3180 - fix unparsing of dummy derivative operations in Model_info.json
ec580e2fcVitalij Rugeadded simplify rule for differentiation of function call (active with flag)
ce92a6a3eAdrian Pop- split the detailed trend into a new file
8a75ddc3fVitalij Rugeactivated some optimization for jacobians
1c1431e43Henning Kielfix warning fix memory leak
f398394acHenning Kielfix warning fix memory leak
2e796ee83Lennart Ochel- remove unused import statement
deee448b7Lennart Ochel- move auxiliary functions to BackendDAEUtil
70fdb7c0bLennart Ochel- translate html dump into English
daa3a56f5Lennart Ochel- fix trailing blanks
9fa79540dLennart Ochel- some more cleanup
da2f81e15Lennart Ochel- cleanup DumpHTML stuff
721d9d004OpenModelica Hudson[Janitor mode] Fix whitespace
041dcfb9dLennart Ochel- new xml dump that can be placed at each position of the pre/post optimization phase
c765b0e83Lennart Ochel- cleanup dumpXMLDAE implementation
e416fb86aLennart Ochel- new dump that can be placed at each position of the pre/post optimization phase
d659af3c8Lennart Ochel- dump states properly (LOG_DASSL_STATES)
f4cd0419dLennart Ochel- dump tolerances properly (LOG_SOLVER)
b61c576d4Vitalij Rugefixed output
3b0a88484Marcus Walther- copy-constructor added to cpp-runtime model-class - some cleanup and fixes for arrays in membervariabledefine in cpp-template and cpp-hpcom-template
46ba65620OpenModelica Hudson[Janitor mode] Fix whitespace
5ce643a00Volker Waurich- fix hpcom for empty system, set numProc correctly for empty systems
f92b98860Adrian Pop- better handling of detailed trend part
91927af25Adrian Pop- generate also *-trend-detailed.svg and png with the last 2 weeks
8f626cbb4Adrian Pop- make it executable
578cd5aacAdrian Pop- add the trend generator to svn
e674424fcOpenModelica Hudson[Janitor mode] Fix whitespace
fe1b3b885Olena Rogovchenkofigaro export bug fix in xml generation
a561f6c5cMartin Sjölund- use cd() for current directory as you cannot call System.pwd inside ModelicaBuiltin.mo
daed35feaAdrian Pop- use "." for current directory as you cannot call System.pwd inside ModelicaBuiltin.mo
e3f87030cOpenModelica Hudson[Janitor mode] Fix whitespace
459a498a4Henning Kielfix mkdtemp according to definition from man page
be2b428a8Olena Rogovchenkofigaro export bug fix
37c80aa48Martin SjölundAllow --std=latest to change to the default (was previosuly impossible)
e10c23c17OpenModelica Hudson[Janitor mode] Fix whitespace
0e6484e67Per Ö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.
165374bf2OpenModelica Hudson[Janitor mode] Fix whitespace
958e4fecfMarcus Walther- fixed a strange segmentation fault of gcc, if hpcom-openmp code is used
74314a7ffOpenModelica Hudson[Janitor mode] Fix whitespace
6823b02b3Lennart Ochel- new flag to deactivate partitioning
46db20a4eOpenModelica Hudson[Janitor mode] Set auto-props
be66770e1Lennart Ochel- separate dumpGraphML stuff from index reduction
f636fff6dOpenModelica Hudson[Janitor mode] Fix whitespace
1a0275d13Per ÖstlundFix for #3178: - Fix dead store elimination for loops.
01a71e1a0Volker Waurich- output cpCosts for level-Scheduling
54bb76f42Adrian Pop- don't write after the end of the string, read the mkdtemp definition (template ends in 6 chars which are rewritten in place)
44bbb15faMarcus Walther- removed cachemap-dump if hpcom-dump-flag is set
997ee5f21Henning Kielfix generation of tmp path in mkdtemp
9cfe86c96Vitalij Rugefixed output
313fe2bc8Adrian Pop- use rand instead of uuid to get rid of some dependencies
c1457fe74Adrian Pop- fix MSVC includes
7458ec6ceAdrian Pop- implement mkdtemp for MinGW and MSVC
56be07b86Vitalij Rugeinitial guess with file for dyn. opt.
94cf0d3c4Martin SjölundRemove odd linux32/linux64 hacks from when omc started using the wrong fmu platform string
a63f281aaOpenModelica Hudson[Janitor mode] Fix whitespace
0f64ea66bLennart Ochel- clean up index reduction
18b2b15b1Adeel Asghar- Adapt to new exportToFigaro API structure. - Updated exportToFigaro to use scripting API.
d796a6ff4Martin SjölundAutomatically compile used libraries if Resources/BuildProjects is available
7f4b1c7ceOpenModelica Hudson[Janitor mode] Fix whitespace
d9bc2f1d9Olena RogovchenkoFigaroExport interface update
4e9952f3fLennart Ochel- add proper cse debug output of substitution - remove unused/duplicated variables
540518342OpenModelica Hudson[Janitor mode] Fix whitespace
9d4364206Lennart Ochel- fix internal generation of discrete cse variables
d87131102Willi Braun - fixed #3053.
681bc84ceLennart Ochel- fix type of cse binary substitution - add debug output to trace unsupported cse types
2788d6ebaOpenModelica Hudson[Janitor mode] Fix whitespace
c789f13b1Lennart Ochel- fix statistics of cse call expressions - proper cse debug output of creating cse statistics
9e59c0c84Lennart Ochel- dump equations after variables, since this is the way we dump most stuff
e96b61025Lennart Ochel- fix binary statistics of cse module
6e920f852Lennart Ochel- clean up (remove unused variables, ...)
7e833383cMartin SjölundRe-enable looking for libraries
ed98b2996Adrian Pop- disable the check for now to make the builds work
07e9fbdecAdrian Pop- make it a warning until we sort things out
956256c23Martin 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
4950de851Martin SjölundChange := in modifications to a warning instead of error, fix MM sources
2bd5e821bMartin SjölundDo not allow using := in modifiers
bd4959b6cMartin Sjölundm:#1595 Do not use := as modifiers in functions
d4c85dad3Henning KielOSX is always special
511d028beAdeel Asghar- Updated the Figaro interface.
f59da8963Bernhard ThieleDisabled debug output
6f47d5a0bBernhard ThieleAdded one sample period "delay" to avoid executing twice at t=0
1d1e10b53Lennart Ochel- fix initialization of state machines
e39faa260Martin SjölundPatch _main.c twice
02642a98bMartin SjölundFix compilation
94763c970Martin SjölundPatch `_main.c` to avoid a new tarball
c55967eb2Henning KielStatic analysis fixes
db68426f7Martin SjölundFix compilation
d0bc4bfabMartin SjölundFix compilation
1888ecac4Martin SjölundStatic analysis fixes
e2ac4ce61Martin SjölundImprove the static analysis
edd88e18dLennart Ochel- add hints to README in case that one wants not to place OMDev into c:\OMDev
ca4a9ccf5Marcus Walther- CVode and IDA are now calculating the "final time point" correctly - Added a simple getter for global-settings
6acedf759OpenModelica Hudson[Janitor mode] Fix whitespace
37ff87af8Bernhard ThieleDeleted unintentionally ressurrected resurrected directories "SimulationRuntime/interactive" and "SimulationRuntime/c/simulation/libf2c"
d7d5bbf2dVolker Waurich- rule in startValue calculation that (time > -1.0) is not evaluated
db2e17101Adeel Asghar- Added the fmi interface files inside fmu. - modelDescription.xml not required in sources directory.
34c5af047Adrian Pop- support both the old Modelica.Math.Matrices.LAPACK.dgelsx and the new one so one can use evaluation with older MSLs too
5c429bd1aOpenModelica Hudson[Janitor mode] Fix whitespace
b2ba263e0Bernhard ThieleMerged StateMachine branch back into trunk!
bf2593f31Volker Waurich- added Flag to disable pre-Calculation of start-values - disable start value calculation for linSymSolConstA test
eeeb02637Volker Waurich- activate PreCalculateStartValues
854976105Martin SjölundFind first
a369e43b7Martin SjölundStatic analysis
6382bf180Martin SjölundCompile using CXX; feature-check C++ variadic macros (part of C++11)
dd529a91aMartin SjölundStatic analysis
7c619223bMartin SjölundFix warning
5bff6b517OpenModelica Hudson[Janitor mode] Fix whitespace
7a4dc582aMahder Alemseged GebremedhinFix Cpp test.
18d5d57d6Adeel Asghar- Add instruction about how to enable OMC CLI.
c809bca1dAdeel Asghar- omc_config not required.
4adabc723Adeel Asghar- Removed CORBA stuff from OMEdit. - No need to USE_OMC_SHARED_OBJECT define anymore.
b366981faAdrian Pop- min and max does not exist in C Linux it seems
225b15488Adrian 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
c843f04e2Adrian 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
544c14bc6Martin Sjölund#3169 fix going into the correct case when using osx
0bc41237aMartin Sjölund#3169 Fix OSX name in FMU's
0b1d872b9Adrian Pop- use the alloc interface not malloc directly
18a23d0bdMartin SjölundFix typo
fa33eb30aHenning Kielsome code cleanup
0e6a26a89OpenModelica Hudson[Janitor mode] Fix whitespace
b010babf5Mahder Alemseged GebremedhinHandle Slices in simulation contexts. Use correct types when creating common subsexpressions. Fix faulty array expansions.
7d1a1f7c5Vitalij Rugeimproved solveLinearSystem
f1599b950OpenModelica Hudson[Janitor mode] Fix whitespace
47506f42aMarcus Walther- fixed static linking of cpp-runtime - fix for missing kinsol-includes
ff39f086bBernhard Bachmannimproved convergence criteria of Newton solver (within Homotopy solver)
3c1329f3aOpenModelica Hudson[Janitor mode] Fix whitespace
84731f622Marcus 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
061cf87f9Henning Kielfix last commit
2a44b0137Henning Kielfixed some annotations
65f1416edLennart Ochel- fix initialization of over-determined systems containing when-clause
b74f69360Martin Sjölund#3166 Escape \r in C strings
466b1a8d8OpenModelica Hudson[Janitor mode] Fix whitespace
6a1a75d4fNiklas Worschechseparated LoadSystem Method in SimController class in LoadSystem and LoadSimData
cf0776bd8Volker Waurich- enable BackendEquation.traverseExpsOfEquationList to replace crefs with constants - removed fail message
7f784b939Volker Waurich- revert last commit
6fd4d4feeVolker Waurich- activate preCalculateStartValues (will be reverted)
338816bf8OpenModelica Hudson[Janitor mode] Fix whitespace
9c4fd4cdcHenning 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)
1b352cf70Volker Waurich- dont replace discrete vars in cseReplacement
3f3b49b4dWilli Braun - fix #3151
713518443Lennart Ochel- code simplifications and more debug output
c87d04985Henning Kielfix some warnings
0a284a1faVolker Waurich- added missing files
3b73d9e68Volker Waurich- added preCalculateStartValues (not activated now)
f6178d4acAdrian Pop- more removal of __attribute__
822ca225fAdrian Pop- attempt to fix builds
491f09af2Adrian Pop- attempt to fix builds
f3fd414a5Willi Braun - improved assert output further with debug - fixed #3074
17420d7d7OpenModelica Hudson[Janitor mode] Fix whitespace
3a87bcd3dMahder Alemseged GebremedhinAttempt to fix PowerSystems tests.
b88ecfb92Mahder Alemseged GebremedhinRe-enable diagonal() simplification with minor changes. Back-end can't handle unsimplified ones in some cases.
fbd8cc7f6Henning Kielsmall optimizations
c74f4f6baAdrian Pop- ansi c for msvc
5750854f4OpenModelica Hudson[Janitor mode] Fix whitespace
588735d7bMahder Alemseged Gebremedhin+ Fix #2726. Handle diagonal() in code generation instead of simplifying it.
e985982bfVolker Waurich- keep the correct type when replacing constant alias vars
8d4137598Volker Waurich- added partition scheduler
481132378Lennart Ochel- fix output format "ia" for strings
900d0e130Ruediger Kampfmann-typo fix
3bdec1d45Willi Braun - added more information for a triggered Modelica assert - fixes partially #3074
8612d7712OpenModelica Hudson[Janitor mode] Fix whitespace
456d6db75Mahder Alemseged Gebremedhin+ Removed some unnecessary asub creations. + consider subscripts when looking for cref dependencies.
b895d5acfOpenModelica Hudson[Janitor mode] Fix whitespace
7e8b29f16Vitalij Rugeadded structure for der(input) for dyn. opt.
9822673c9Adrian PopFix bug: #3157 - handle also empty Name annotations, i.e.: annotation(Name); - add test testsuite/openmodelica/interactive-API/getDialogAnnotation.mos
4ba9af062Adrian Pop- fix Windows builds, msvc doesn't like empty arrays with no initializer.
c80c47b33Willi Braun - moved debug flag "doLinearTearing" to config flag "disableLinearTearing"
c00de9feaOpenModelica Hudson[Janitor mode] Fix whitespace
112fcfc4dWilli Braun- added singular system solver for umfpack - added support for linear tearing systems to umfpack and lis - added more test-cases (e.g. EngineVN)
db81d2920Lennart Ochel- code simplification of function getNominalAsserts
8eb3ff7b4Martin SjölundPass some DAE.ElementSource when doing CSE
6ae1d9a21Lennart Ochel- code simplification of function getMinMaxAsserts
53ee5b585Martin SjölundTry to only use the GCC workaround if gcc version is 4.8
2e7ebe9dcMartin SjölundPut back the GCC 4.8 flags
a6ff31228Martin Sjölund#3147 - Use `goto` instead of `MMC_THROW_INTERNAL` when possible
c9162b8fbMartin SjölundAdd missing file SanityCheck.mos
eb336e8f4Martin SjölundAdd target sanity-check
257f828e7Mahder Alemseged Gebremedhin+ Fix Build.
7b6e7e280OpenModelica Hudson[Janitor mode] Fix whitespace
99a799a8dMahder 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.
674bc9558Martin SjölundStrip -g from FMIL. Comment why we pass CC twice to FMIL.
ada3543e5Adrian Pop- pass CC/CXX flags to make
27d844d3eOpenModelica Hudson[Janitor mode] Fix whitespace
b14d6d107Willi Braun- changed sparsity pattern translation - moved mapping (BackendVar->SimVar) from runtime to compile time - added FMI 2.0 modelStructure to SimCode
06ee0c207Per ÖstlundFix for #3155: - Handle subscripts that use for-loop iterators better.
74cccab62Henning Kielremoved unnecessary temporary allocation of heap
64b1facbfHenning Kielfix checking of existance of variables in cvs files
83484cfd8Joseph SchuchartRemove superfluous const int return type definition to fix compiler warning
46dd11983Adrian Pop- use remove(messageFile) instead of system("rm -f " + messageFile);
34bce09b4Adrian Pop- use MMC_IS_INTEGER instead of doing bitwise and directly
a4bd9d9b8Adrian Pop- initialize modelica_string variables to NULL otherwise the debugger breaks searching for the type of un-initialized meta variables
28a78677aOpenModelica Hudson[Janitor mode] Fix whitespace
f4afd920dJan SilarPDE tests started some 2D models
8b1c62bffAdeel Asghar- Added scrollbars for OptionsDialog. Because on some screens with small resolution it is almost impossible to use OptionsDialog.
4816ffff2Adrian 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
83d65d4d0Adrian Pop- strdup to allocate memory
8565fb84bOpenModelica Hudson[Janitor mode] Fix whitespace
ddf67c778OpenModelica Hudson[Janitor mode] Set auto-props
42aecfbb0Adrian 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/
6f3411b59Adeel Asghar- Added `set print elements` for gdb to print long strings. This can be handled via debugger settings in options.
7bdfc0d8fOpenModelica Hudson[Janitor mode] Fix whitespace
37eb6040bAdeel Asghar- logging of arrays.
2a1d2238aAdrian PopFix #3137 - revive +target=msvc - compile umfpack, cminpack and cdaskr files - update CMakeLists.txt
b92fc6d1bHenning Kielmalloc via GC fix some warnings
0b2f124aeAdrian 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
0d5d7815bMarcus Walther- changed BOOST_REALPATH to Boost_REALPATH, because cmake is case sensitive at this case
35becd687OpenModelica Hudson[Janitor mode] Fix whitespace
92b054e17Adeel Asghar- Added toString method for structs for logging.
d0bbda974Adeel Asghar- handle modelica_string type.
107d190c7Adrian Pop- too many 'end match'
cf2108172OpenModelica Hudson[Janitor mode] Fix whitespace
c901fef50Martin FlehmigIndent; added missing 'end match's
9b4234220Adrian Pop- fix _omc_copyMatrix()
68ccca182Henning Kielspellfix
9fa7fec8cHenning Kielfix some warnings proper implementation of _omc_copyMatrix()
525e2aecdHenning Kielfix some warnings proper implementation of _omc_copyMatrix()
73c4823fcMarcus 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')
a4ba91938Marcus Walther- changed boost libraries to realpath, to prevent issues with different installed boost versions
dd9c8806fMarcus Walther- fix for missing "umfpack.h"
35c240433OpenModelica Hudson[Janitor mode] Fix whitespace
8931a2d21Marcus Walther- fixed issue with discrete event class and static linking on windows
150db6a01OpenModelica Hudson[Janitor mode] Fix whitespace
9b1b9b824Marcus 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
337c35cdbAdrian PopFix bug: #3150 - do not use the constant-ness of iterator when calculating the constant-ness of the array reduction
4ff29a9a0Adrian Pop- ddlspec(dllexport|dllimport) should be first before the return type
6ee280adeOpenModelica Hudson[Janitor mode] Fix whitespace
d084ea1f0OpenModelica Hudson[Janitor mode] Set auto-props
40a760f83Niklas Worschechchanged SimulationError exception class of cpp runtime
1aabc0b7eOpenModelica Hudson[Janitor mode] Fix whitespace
17e24b6d4Per ÖstlundFix for #3041: - Implemented deduction of implicit iteration ranges for reductions.
120de9894Martin SjölundRemove some -I flags so the headers copied from simulation runtime works without changes
437749393Martin SjölundUse `__attribute__` from omc_msvc.h
6959bd629Adrian Pop- some compilers have no idea what __attribute__((unused)) is
ca2549bfeAdeel Asghar- Do not escape strings when sending data directly.
016a23582Martin SjölundFix some unused variables
25d5f60a1Martin SjölundFix some unused variables
ed7bdecbfAdeel Asghar- Generate command arguments as string for logging.
024925227Adeel Asghar- Generate response as string for logging.
08d8b9728Martin SjölundRemove %>
73d30dc61Henning Kielsome code cleanup
1d00cd6b5Adeel Asghar- Moved getComponentModifierNames to ModelicaBuiltin.mo. - updated getComponentModifierNames to scripting API.
0f2b05adeAdeel Asghar- Moved getComponentModifierNames to ModelicaBuiltin.mo. - updated getComponentModifierNames to scripting API.
8b6782735Martin SjölundRemoved some -lf2c that should not be needed
2012aef1aAdeel Asghar- Moved getParameterValue to ModelicaBuiltin.mo. - updated getParameterValue to scripting API.
1c86e217aAdeel Asghar- Moved getParameterValue to ModelicaBuiltin.mo. - updated getParameterValue to scripting API.
8ecb212d0Adeel Asghar- Moved getClaasRestriction & getParameterNames to ModelicaBuiltin.mo. - updated getClaasRestriction to scripting API. Removed some unused APIs from OMCProxy.
4a5443854Adeel Asghar- Moved getClaasRestriction & getParameterNames to ModelicaBuiltin.mo. - updated getClaasRestriction to scripting API. Removed some unused APIs from OMCProxy.
35a59d9f7Adeel Asghar- updated is* to scripting API.
ead213b5dAdeel Asghar- Fixed isEnumeration.
d5f3d459eOpenModelica Hudson[Janitor mode] Fix whitespace
93c777363Adeel Asghar- Moved some class restriction query APIs to ModelicaBuiltin.mo.
122cb678cAdeel Asghar- updated parseFile, parseString to scripting API.
0bb85f638Lennart Ochel- #3138: add assertions for not dependent parameters
9e45cdf6aMartin SjölundFix stack overflow
887a839e2Lennart Ochel- fix wrong else case of function selectSecondaryParameters
3788eadfeLennart Ochel- #3138: remove wrong asserts of secondary parameters
caed35ea6Vitalij Rugesmall improvements of the derivatives for dyn. optimization
97ab2d366Adrian PopFix #3140 - add XML_ParserFree(parser); at the end of modelInfoXmlInit - thanks go to Mathilde for reporting this
36e262386Adrian Pop- attempt to fix #3136
1516a3e6bVitalij Rugefixed generation of dyn. optimization vars
2b807def7Per ÖstlundFix for #3070: - Fix dependency analysis of some cases of redeclares classes.
498cab6e9Martin SjölundBetter makefile for parallelism
a887df1d8Adeel Asghar- updated loadFile & loadString to scripting API.
b9a33546eAdeel Asghar- Try to fix Windows build. - Converted few more API calls in OMEdit to use scripting API.
c1a432fbeMartin SjölundRemove OpenModelicaScriptingAPI.mo as Adrian updated the tarball
e1fc90ce2Adeel Asghar- Generate struct field names based on function output names. - Converted few more API calls in OMEdit to use scripting API.
33d3e2ddfAdeel Asghar- Generate struct field names based on function output names. - Converted few more API calls in OMEdit to use scripting API.
2900bdefcNiklas Worschechchanged exception call in cpp template
fa3e21b52OpenModelica Hudson[Janitor mode] Fix whitespace
8c864cca0Ruediger Kampfmann-some fix for older C++ standard
537e27498Adrian Pop- fix Makefile.omdev.mingw - remove some warnings
37ed16a48Adrian 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
ae940428eAdrian 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
5688a3264Adrian Pop- missing -f
1cb536a4fAdeel Asghar- Use searchClassNames & getClassInformation via direct scripting API. - Removed OMC_API.h/cpp files as not needed now.
020116c71Adeel Asghar- Allow users to specify a name for FMU via FMI export settings.
423903336Adeel Asghar- Use getClassNames via direct scripting API. - Removed some unused APIs.
063b01f12Adeel Asghar- emit signals from scripting API for logging.
cd436af2fAdeel Asghar- emit signals from scripting API for logging.
43bacd0ecLennart Ochel- restore indentation
8aba4fd3eVolker Waurich- fix ordering of parameter equations - removed start value calculation - extended dumpSimEqSystem
9f0d670ecAdeel Asghar- Use translateModelFMU directly.
78ca76b32Martin SjölundInitialize to 0
ca7a56eeeMartin SjölundForce updating the scripting API to the latest version when bootstrapping
426de2d52Martin SjölundUse only 1 version of the threadData and symbol table
5d3e19235Martin SjölundUse only 1 version of the threadData and symbol table
24e9acf3bMartin SjölundSet IMPORT_INTO for all files on Windows (to avoid accidentally breaking MMC_THROW)
39c71b81eMartin SjölundFix accidental spaces
559a06862Martin SjölundMove the copying of the Qt cpp and header files from bootstrapping to omedit target
e56a24408Adeel Asghar- make OSX happy.
f98ff9b4bMartin SjölundMake sure the scripting API is generated
b4970240dLennart Ochel- remove duplicated function
84e9228b4Lennart Ochel- remove obsolete debug flag "+d=symbolicInitialization"
1b526bb62Lennart Ochel- remove obsolete debug flag "+d=dumpoptinit"
3628240efLennart Ochel- remove obsolete optimization module "optimizeInitialSystem"
e9dfd6555Lennart Ochel- remove obsolete function
a375b7d1cMartin SjölundChange OMNotebook default stack size to 64MB (highest)
5fe31636bAdeel Asghar- Removed the OMOptim documentation as it is already part of OpenModelicaUsersGuide.pdf.
fa46752f5Martin SjölundUpdate scripting API
be73191e1Martin SjölundAdd getComponentsTest API (typed version of getComponents)
b79038690Adeel Asghar- explicitly tell the user about simulation success/failure and not just show the exit codes.
11df4e4fcPer Östlund- Some minor optimizations.
abdc5218dLennart Ochel- cleanup
9464ecdc9Adeel Asghar- Better message to generate operations for transformationalDebugger.
097a10f17Adeel Asghar- check if equations has operations.
f3e214ea7Niklas Worschechfix for c-lang build error in SimController class
0e04f5883Lennart Ochel- add flag "+d=disableComSubExp" to disable module "comSubExp" since it breaks some models
905705ad3OpenModelica Hudson[Janitor mode] Fix whitespace
77727f6c5OpenModelica Hudson[Janitor mode] Fix whitespace
a3cec1101Adeel Asghar- minor changes in Qt API interface.
cf6179485Adeel Asghar- minor changes in Qt API interface.
c43b6291fOpenModelica Hudson[Janitor mode] Fix whitespace
713904deaOpenModelica Hudson[Janitor mode] Set auto-props
00003439bNiklas Worschechadded new exception class for all simulation errors in cpp runtime
f800645a3OpenModelica Hudson[Janitor mode] Fix whitespace
959966734Adrian Pop- expand uniontype records into metarecords on loadFileInteractiveQualified (helps MDT give content assist for uniontype records)
a45c9e4abWilli Braun - fix the huge linear solver failings output
3c8cce3aaHenning KielGive OMNotebook the right icon on OSX
86f06df36OpenModelica Hudson[Janitor mode] Fix whitespace
7cd499eb3Michael Kloeppelfix IDAGetDky issue
990e467e4OpenModelica Hudson[Janitor mode] Fix whitespace
a9979fbdbMartin SjölundFix assertion output (uses the API for log messages)
f43a23b7aHenning Kiel- try to fix OMNotebook on OSX by increasing stack size. Now, OMNotebook does not crash here. Please test.
4612ff0f3Willi Braun - switch the linear solver, to lapack with totalpivot as fallback
727a5df4dMarcus Walther- RUNTIME_STATIC_LINKING is now working for Windows systems (MinGW)
27f7b48f2Martin SjölundModelicaUtilities should output to the chosen log format
aa2160398OpenModelica Hudson[Janitor mode] Fix whitespace
da36c48abMichael Kloeppeladd IDA solver to CPP runtime
94150145dPer ÖstlundFix for #2977: - Allow fewer subscripts than dimensions.
ddc308080Adrian Pop- use in Windows the same error reporting for dll loading as in Línux
bcdda8720Adrian Pop- back to 1.9.2 nightly
d22c58570OpenModelica Hudson[Janitor mode] Fix whitespace
9e1ce973eLennart Ochel- there is no jacobian G anymore
da958b846Lennart Ochel- remove more code from numeric initialization approach
5bb9ff382Nils MenagerFix for time events that occur in every cycle in calcOneStep()
1378b569aLennart Ochel- remove obsolete functions traverseAlgorithmFinder and createInitialParamAssignments
ee8830b44Adrian Pop- switch version to 1.9.2 beta1
2ce7805a5Adrian Pop- back to 1.9.2 nightly
135390e5eAdrian Pop- switch version to 1.9.2 Beta
1a9082062Adeel Asghar#3098 - Better plot colors for 3rd & 4th variables.
0c4a29086Adeel Asghar#3119 - Removed simflags: "-iom=*" and "-iim=numeric" from OMEdit
ca81b4654Adrian Pop- fix some typos
a92c746f9Adrian Pop- try some voodoo
79a0deac1Adrian 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
e5df72f80Lennart Ochel- remove more code for removed numeric initialization
e40489727Lennart Ochel- remove more code for removed numeric initialization
7680a6561Martin SjölundFix some abs/fabs warnings (possibly abs was also part of f2c and was an fabs in disguise)
9c48a4acfMartin SjölundDon't call max() in generated code
83e9f5607Martin SjölundLogic fix
6013e6fdbOpenModelica Hudson[Janitor mode] Fix whitespace
c376912aeRuediger Kampfmann+ some fix due to inputs for vxworks
b76a1d6ecLennart Ochel- fix call to min
1b823e9fbMartin Sjölundmin/max fixes after f2c.h was removed
ca48d9a35Martin SjölundRemove call to min
f2969f964Martin Sjölundf2c.h fixes, remove some math files from svn
4f13e7004Martin SjölundThere is no more f2c.h
74a535425Martin SjölundNo more f2c.h
9c5ae60a3Martin SjölundRemove f2c and a bit more from the simulation runtime (thanks to r24305)
2c49ede02Adrian Pop- avoid having extern twice
695318ebfAdrian 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
df9bef23fAdrian 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
a8f724fa3Martin SjölundFix performance profiling for info.json files
55721f2ceMartin SjölundFix performance profiling for info.json files
17a0ef3c0Adrian Pop- in Windows somehow it matters the order of includes
9ce04411fAdeel Asghar#3099 - Option to reset the messages number before each simulation run. - The messages number will also reset when user clears all the messages.
8ecb6e7a4Adrian Pop- on some weird systems case matters :)
dc4d75be8OpenModelica Hudson[Janitor mode] Fix whitespace
e79e4e434Niklas Worschechadapted BufferReaderWriter of cpp runtime to new writer interface
31db4b319Lennart 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
e10c65028Adrian 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
b68318f6ePer Östlund- Added new package StringUtil for string utility functions. - Improved Util.stringWrap and renamed it StringUtil.wordWrap.
109ae1338Martin SjölundPrint the source files used to run the script
50403286bLennart Ochel- #3114: handle empty system in initialization
617aa90fcOpenModelica Hudson[Janitor mode] Fix whitespace
5b3738643Martin SjölundTry to make msl-external-libs thread-safe
7899e7aefLennart Ochel- #3113: fix missing implicit defined initial conditions
65e131909Lennart Ochel- remove redundant case
0f73a1a4bAdeel Asghar- default figaro process location.
336ad043bLennart Ochel- fix initialization of inactive when-equations (example from #3092)
678e229acMartin SjölundDetect der() being used inside a function
3736f27c7Marcus Walther- Threads are now joined correctly after simulation
dec4b3cb8Martin SjölundDo not require setting PATH to run the compliance suite
0fed5cf8aAdrian 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)
587a30749Adrian Pop- more fixes for Windows - add include to omc_config.h - ansi-c for the highness
f8a291ffdWilli Braun - update help text.
0c9873e2cVitalij Rugefixed hessian structure
a3b4047c4Willi Braun - update help text
0e37c9cd9Martin SjölundTry to fix OSX build
42f70caabMartin 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)
f0b538a60Martin SjölundFix compilation
b94f6a4f0Willi 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.
7ac750606OpenModelica Hudson[Janitor mode] Fix whitespace
90d4309b6Marcus Walther- improved memory optimization
7615f9d47Martin SjölundFix spelling
0a1aa2782Martin SjölundFix compilation
587c764d7Martin SjölundFix compilation
be4d21b9eMartin SjölundFix compilation
e709a5e65Adrian Pop- space junkie
c7a474099OpenModelica Hudson[Janitor mode] Fix whitespace
5523e3042Martin SjölundFix compilation
44e9c2915Martin 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)
32ea17000Volker Waurich- use initial values of parameters from binding expressions
336a3e022Jan SilarPDE extension experiment Plotting scripts
a9f97c5a1Vitalij RugeExpressionSolve: fixed sign in pow(x,y) = z with respect to x
e2e08967cAdrian Pop- change alarm to also kill the children (the entire process tree) on Windows
89620a531Marcus Walther- fixed FMU-Cpp Tests
af7ae5092Lennart Ochel- remove unused variable
6d9aa04acLennart Ochel- #3094: fix some asserts that were not formatted according to "logFormat"
0af4437cdMarcus Walther- fixed levelfix-scheduler
96c539f91OpenModelica Hudson[Janitor mode] Fix whitespace
8480703f4Marcus Walther- fixed hpcom of cpp-runtime (levelfix-scheduler still broken) - fixed measure time of cpp-runtime
b4b45cec2OpenModelica Hudson[Janitor mode] Fix whitespace
52c412c1aWilli Braun - fix differentiate that results in a zeroExp.
c94f64d65OpenModelica Hudson[Janitor mode] Fix whitespace
fd7de1966Willi Braun - use BackendEquation.travese* functions, to not change the ordering of the given variables and equations
8ec2622d7Martin SjölundRemove unused code
a49a2f3b0Martin SjölundSwap Linux/Windows
0fbfc8769Martin Sjölund#3107 Send SIGALRM to children when the alarm is triggered
868687a71Adeel Asghar#3094 - escape the text section.
7e55368c1Willi Braun - remove workaround case
61bcfa035OpenModelica Hudson[Janitor mode] Fix whitespace
dd53542c6Willi Braun - improved CSE module further. - a remaining isssue that lot of models have issues with the indexReduction if cseCall is activated
922c68509Willi Braun - fix isRecType
013ebfbfcVitalij RugeExpressionSolve: improved numeric for qe
7c9df043fMartin Sjölund#3106 We no longer install txt-files as documentation
b46fb2dcbMarcus Walther- changed library order to fix cpp-build with statically linked boost
f90635f44Volker Waurich- changed cost estimation model
32df748bdMartin SjölundDo not evaluate functions marked `__OpenModelica_Impure=true`
1a3b70f14Henning Kielfix #2939 again (for windows)
011d9903eOpenModelica Hudson[Janitor mode] Fix whitespace
d160160ceNiklas Worschechfix for algloop vars initialization for analytic Jacobian
c2ae48960OpenModelica Hudson[Janitor mode] Fix whitespace
f69fefcd4Willi Braun - fix SimCode generation for expression like TUPLE() = f().
a6b3a321bMarcus Walther- forgot one file
b418da2f0OpenModelica Hudson[Janitor mode] Fix whitespace
c7556d2b5Marcus 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
0fd212813OpenModelica Hudson[Janitor mode] Fix whitespace
b5d2be1ddWilli Braun - fix minor issues in some aux functions
7c755e4a3Lennart Ochel- recover communicateStatus since it is used by OMEdit
395ff9b61Henning Kielfix some compile warnings
abdeca1f2Henning Kielfix #2939
ef3682206Vitalij RugeExpressionSolve: - used Vieta's formulas for qe - improved initial guess
a9c82c35aMartin SjölundTry to fix the builds
4f4b59c80Lennart Ochel- remove interactive flag properly
6bbba9c2fLennart Ochel- remove communicateStatus properly
492d18befLennart Ochel- remove communicateStatus once more
0ee476a66Lennart Ochel- remove communicateStatus (interactive simulation)
614a89a3eMartin SjölundRemove interactive flag from help text
c56b70ca6Martin SjölundRemove interactive simulation couplings from simulation_runtime.cpp - Add socket.cpp to c/simulation (TODO: move to c/util as a C interface)
a2757ce31Willi Braun - remove more interactive stuff
e60bd9449Martin SjölundRemove libinteractive stuff
bfd6aee57Martin SjölundRemove interactive simulation
0d8fa46b5Vitalij RugeExpressionSolve: update rule for x^y^ = z
426fec1dbMartin SjölundAllow installing qt interface files to fail
2ddfb1522Martin SjölundInstall qt scripting API files into build
871d00a02Marcus Walther- fixed hpcom codegeneration
0f687cb1aMartin SjölundUpdate OpenModelicaScriptingAPI (Qt version)
ec9e301c2Marcus Walther- now hpcom codegeneration is working again
d1b7f9308Marcus Walther- some changes in hpcom to get it running again, but it's still not working
e379abd81Vitalij RugeExpressionSolve: improved rule for solve abs(.)
78a111aaaAdrian Pop- back to 1.9.2+dev
48966ac37Adrian Pop- switch version to 1.9.2 Beta
d0d6cba8eOpenModelica Hudson[Janitor mode] Fix whitespace
cfb28f509Vitalij RugeExpressionSolve: fixed initial guess
a7e494d3dOpenModelica Hudson[Janitor mode] Fix whitespace
087ed2b51Vitalij RugeExpressionSolve: - improved cos(x) - added rule for sin(x) and tan(x) update tests
2c2d9a1d5OpenModelica Hudson[Janitor mode] Fix whitespace
596c31daaWilli 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
25217f1fdNiklas Worschechfix in cpp template for DiscreteEvent file include
e89830ea7Martin Sjölund#3096 Implement prototype for dot operator
56877377cWilli Braun - fix the order of equations dumped by simCodeDump
cba6a8aedMarcus Walther- fixed build
e1a5eb36bHenning Kiel- some code cleanup - converted recursive matchcontinue to simple while loop
5216c4314Martin SjölundWork in progress Qt interface
8cd365027Vitalij Rugepartial revert of r24150 - side effect of the tearing - broke some examples
5789935d8Willi Braun - fix the function BackendEquation.replaceDerOpInEquationList
ba453bfe9Marcus Walther- simple bug fix - improved error handling in cmake
ba9308aa6Adeel Asghar- updated MDT link.
b84cafbe4Vitalij Rugeactivated solveSimpleEquations for initialization - probably fixed #3091
e961d211dJan SilarPDE extension experiment Euler equation tests
a991a08b3OpenModelica Hudson[Janitor mode] Fix whitespace
5502c6dbeNiklas Worschechfix for delete objects in cpp template, removed includes SystemDefaultimplementation of cpp runtime
75100a4b3Vitalij Rugeactivated solveSimpleEquations
8dfdb422eOpenModelica Hudson[Janitor mode] Fix whitespace
c5329635fNiklas Worschechfix in cpp template for DiscreteEvents in algloop- files
6ef1ec20cLennart Ochel- keep pattern clean
9eeca3b1bLennart Ochel- cleanup
611c0dd42OpenModelica Hudson[Janitor mode] Fix whitespace
44120c9faWilli Braun - improve return value handling in cse module.
02c371776Willi Braun - added debug flag dumpSimCode.
42857722cOpenModelica Hudson[Janitor mode] Fix whitespace
5af15bc5bWilli Braun - fixed #2669.
f7981e150OpenModelica Hudson[Janitor mode] Fix whitespace
8259cd650Willi Braun - fixed #3092
9d3b8921aJan SilarPDE extension tests new matlab scripts to visualize arrays
fe85339fbNiklas Worschechfix in fmu cpp template for missing PreVariables file
d9e9f3389OpenModelica Hudson[Janitor mode] Fix whitespace
affedaeb6OpenModelica Hudson[Janitor mode] Set auto-props
6d2782c99Lennart 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
dad9896edNiklas Worschechsplitted EventHandling class in DiscreteEvents,ContinuousEvents and PreVariables
d649b41e3Per ÖstlundFix for #3075: - Fixed Util.stringWrap so it handles strings ending with a space properly.
20b84827fOpenModelica Hudson[Janitor mode] Fix whitespace
1c5687786Marcus Walther- initAlgloopSolverVariables is now called in initialize, to prevent an invalid free - renamed initAlgloopSolverVariables to initializeAlgloopSolverVariables - added umfpack to analyzation mode
dbc94f245Adrian Pop- use +version instead of ++v which is not available anymore
9d69d14e7Adrian Pop- somebody played with the flags, use +version instead of ++v
32939a616OpenModelica Hudson[Janitor mode] Fix whitespace
77598f17ePatrick Marcel Taeuber- Temporarily use omcTearing for strong components bigger than 200 variables until problem with Cellier Tearing is fixed
cf31ae119Willi Braun - move printCurrentStatesVector to get more information
107762076Per Östlund- Changed version flag back to --v, -v was already taken by vectorization limit.
907b96332Per ÖstlundPartial fix for #3075: - Improved the flag parsing and added a test case for it.
487cfb734Lennart Ochel- Fix result via tcp/ip
28ba3743dOpenModelica Hudson[Janitor mode] Fix whitespace
6daf323e7Willi Braun - added debug outputs for dassl evaluation context - added simulation runtime flag LOG_DASSL_STATS, which outputs current states vector
7df0eb838Willi Braun - added statistics for all non-linear solvers
b596e5303Adeel Asghar#3085 - Use resizeColumnToContents instead of setStretchLastSection. - Better tooltip for equations browser.
67edf005dLennart Ochel- random cleanup
95cd2c5b6Lennart Ochel- fix typo
2ddf94510Adeel Asghar#3085 - setStretchLastSection of TransformationsWidget so that Horizontal sliders appear.
a3eb49f5aHenning Kieluse "else" instead of "case _ then" in match(continue) expressions
9024c893fMarcus Walther- changed default hpcom-code to openmp
05f745045OpenModelica Hudson[Janitor mode] Fix whitespace
6f4566975Per Östlund- Improved the handling of if-expressions to better handle arrays with different sizes in the branches.
a3d3b120dLennart Ochel- update some error messages
af308d3c8OpenModelica Hudson[Janitor mode] Fix whitespace
964688342Jan SilarTesting MOL Euler equations, Riemann problems
5e36cd471OpenModelica Hudson[Janitor mode] Fix whitespace
bb6000a8eVitalij Rugeimproved simplification of relations
7fc2156c8Henning Kieluse match instead of matchcontinue where possible use try/catch instead of matchcontinue
7752284aaLennart Ochel- update some error messages
778a445c8Adeel Asghar- Added a click slot for model switcher button.
db2e82fa9Nils MenagerIntegration of Component ModelicaCompiler to cpp runtime in CMake File and LibrariesConfig.h.in
3b283b694OpenModelica Hudson[Janitor mode] Fix whitespace
0c05fbfa9Marcus 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)
7cfec8bb8Lennart Ochel- fix format string
1454ee1c5Bernhard BachmannFixed LOG_NLS_JAC dump
7d04c7c42Adeel Asghar- Added FMI version settings. - Allows exporting version 2 FMUs.
a36a7d7cfAdeel Asghar- Added FMI version settings. - Allows exporting version 2 FMUs.
6cfc839a1Lennart Ochel- add missing keywords (pure and impure)
9e1f9451bLennart Ochel- remove unnecessary simplifications before pre-opt modules
02da4b2b7Willi Braun - fixed assert handling during event iteration and event handling
5105359e4OpenModelica Hudson[Janitor mode] Fix whitespace
35c73126cLennart Ochel- declare numeric initialization as deprecated
039649854Lennart Ochel- put trace dump on flag
1cf0e4cabOpenModelica Hudson[Janitor mode] Fix whitespace
b4515949bLennart Ochel- Fix initialization of primary/secondary parameters. The analysis of the symbolic initialization is now used instead of the one from the old approach.
1870e9786Vitalij Rugefixed r24047.
82a4bdb3aOpenModelica Hudson[Janitor mode] Fix whitespace
bf1a3ececVitalij RugedifferentiateExpSolve: guard if() and sign()
0f0e06547OpenModelica Hudson[Janitor mode] Fix whitespace
571159ce6Vitalij RugecreateResidualExp: reduce fractions
f4bb4fbcdAdrian Pop- fix typo, hopefully Mac can start simulating models again after r23974
c015ec3bfWilli Braun - activate case from r24039
3927067b0OpenModelica Hudson[Janitor mode] Fix whitespace
8bbe824abWilli Braun - added case to avoid generation of nonlinear systems for record constructor in tuple calls (e.g. (R(r1,r2),x) = f(x)).
451d91eacAdeel Asghar- Adjust the default scene rectangle size to show it properly.
b63d2f505Adeel Asghar- Some fixes for querying of components and inherited components.
95eaaf57bOpenModelica Hudson[Janitor mode] Fix whitespace
3ab706f2fVitalij RugecreateResidualExp: using fraction for simplify residual
43b807bf4Martin SjölundFix elab/simplify/ceval for identity and diagonal
62ab4d132Niklas Worschechmodified setStartValue and getStartValue in cpp runtime
395fbba79OpenModelica Hudson[Janitor mode] Fix whitespace
976ec4327Niklas Worschechmodified pre method in cpp runtime, removed second parameter expected output
26a21f0e6Martin SjölundEnable modelica3d with --enable-modelica3d
4ff428c9eVolker Waurich-extended dump of compInfo
bf86c821aAdeel 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.
bf32ebd2bAdeel 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.
4a5d82deaMartin SjölundFix Modelica format strings on 64-bit platforms
96d909e00Marcus Walther- result-file is now only written if outputFormat!=EMPTY and outputPointType!=EMPTY
0adcbc0e0OpenModelica Hudson[Janitor mode] Fix whitespace
fb8f8ed60Vitalij Rugefix numerical hessian structure for dyn. optimization without nonlinear constraints
33e60d65dVolker Waurich- extended countOperations for division
f92dbf352OpenModelica Hudson[Janitor mode] Fix whitespace
cae79583fMarcus 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
de2f4d422OpenModelica Hudson[Janitor mode] Fix whitespace
e97f44777Vitalij Rugefixed empty dyn. optimization
15b286cb9Martin Sjölund#3063 - Fix switch of string in cases
df6b717f8OpenModelica Hudson[Janitor mode] Fix whitespace
4e8d6e323Patrick 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
d079dd07cOpenModelica Hudson[Janitor mode] Fix whitespace
d4946d490Vitalij Rugeadded postOptModules for solving linear system symbolical in BackEnd (based on QR decomposition) Improvements will come!
2b4b277dfMartin SjölundDon't filter out every component in the record constructor
ebbaacf84OpenModelica Hudson[Janitor mode] Fix whitespace
8f08f3eeaMartin Sjölund#2978 Make it an error to add ExternalObject components to records - Update modelica3d
125504b7eLennart Ochel- restore r23957 partially (introduce __DEBUG_TRACE_HANDLE)
484c891feLennart Ochel- move initialization of stateSelection properly
dc6377d81Marcus Walther- try to fix windows and mac OS build
6f1e3d2bdAdrian Pop- ansi C
60a34f0a0OpenModelica Hudson[Janitor mode] Fix whitespace
17683717dWilli 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
af9cf5c6bWilli Braun - fix #3064 by moving the stateSelection after the intialization
2b389a7ebAdrian Pop- fix sending constant strings to external functions - added test for ExternalMedia model: testsuite/simulation/modelica/external_functions/ts.mos
df2693cacOpenModelica Hudson[Janitor mode] Fix whitespace
0b33566fdLennart Ochel- add more TRACE information
a7b270dfcOpenModelica Hudson[Janitor mode] Fix whitespace
3e3e58f6bLennart Ochel- add TRACE information to more generated functions
fc15467c5Martin SjölundFix stack overflow, expected output
8f4ce6be9Willi Braun - fix #3057
a01449dd3Lennart Ochel- revert r23957
b3705ef6cOpenModelica Hudson[Janitor mode] Fix whitespace
f1d019009Lennart Ochel- new flag –lv=LOG_TRACE to control TRACE-dump for debugging purpose
9b0d7a8d7Martin FlehmigTypo
7e49f27e1Marcus Walther- fixed wrong measureTime results for evaluateAll
06fedd017OpenModelica Hudson[Janitor mode] Fix whitespace
1112fba0bPatrick 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
c43f2cdb6Willi Braun - inner equations of the non-linear solver are updated by the solver
23cb85baaWilli Braun - fix #3060.
1d9d15fefWilli Braun - next attempt to fix the testsuite
3aa1f42c1Willi 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.
da4d075e5Lennart Ochel- cleanup
60bb84086Willi Braun - attempt to fix fmu binaries path name, mention in #3057.
bf805554dWilli Braun - belongs also to r23943
524f93112Willi Braun - belongs to r23943
090ba38a1Willi Braun - adding relativ tolerance for bisection event search
903aeec88OpenModelica Hudson[Janitor mode] Fix whitespace
2768e5e5cMarcus Walther- hpcom is now able to handle empty ode-systems correctly -- this should fix the simple resistor test
611f0d23aOpenModelica Hudson[Janitor mode] Fix whitespace
6bbd9ee83Willi Braunfixed variables sorting in FMI 2.0 (see #3057 part 2)
b8923aa45OpenModelica Hudson[Janitor mode] Fix whitespace
c8e68bad0Willi Braunprevent adding a dummy state if no states are present - don't use dassl if no state are present
703b0bfe4Volker Waurich- transfer initial value for replaced common sub expressions
74cb4e644Lennart Ochel- don't overwrite primary parameters while initialization (e.g. #3050)
fa62b150bVitalij Rugeimporved negate for binary
ceb43d3c2OpenModelica Hudson[Janitor mode] Fix whitespace
0d851d617OpenModelica Hudson[Janitor mode] Set auto-props
474170a3dVitalij Rugeadded some docs for dynamic optimization
ebaae8568Vitalij Rugeimproved solveSimpleEquations
b79fe717bOpenModelica Hudson[Janitor mode] Fix whitespace
61d1eadbeNils MenagerTime Event fix
87f4492a5Nils MenagerGet new states after time event
e4a96be03OpenModelica Hudson[Janitor mode] Fix whitespace
11366f67cVitalij RugeExpressionSolve: improved handling of modelica functions
744bd1ce0OpenModelica Hudson[Janitor mode] Fix whitespace
b363c8729Vitalij RugepostOptModules: added solveSimpleEquations with manipulations from ExpressionSolve (disable)
e6c0107b6Henning Kielsome code cleanup: match ... else then ... -> match ... else ... case (exp as ...) ...exp... -> case (...) ...inExp...
4da0c1d2bWilli Braun - revert for now r23902, since it break some build
e5f52ba51OpenModelica Hudson[Janitor mode] Fix whitespace
ecb10bcf8Willi 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
611c14d29Willi Braun - fix dist-clean by adding synonym for really-clean
f0bedf733Vitalij RugeExpressionSolve: - solve cos(x) = y
043c82b5cVitalij RugeExpressionSolve: - simplify qe case
afff8b130OpenModelica Hudson[Janitor mode] Fix whitespace
07dc484f5Vitalij Rugemproved DynamicOptimization: use - if-else-construction - for-loop-construction
426142a4dWilli Braun - added min, max and nominal attribute to FMI 2.0
4805bdb13OpenModelica Hudson[Janitor mode] Fix whitespace
af3b5bc4eVitalij Rugeimproved DynamicOptimization: use if-else-construction
025e73216OpenModelica Hudson[Janitor mode] Fix whitespace
55023e526Willi Braun - improvement of r23889.
07cf0aa9bOpenModelica Hudson[Janitor mode] Fix whitespace
f64a9be19Willi Braun - added rule for max of an array expression. - fixed #3048
a5215c230Adeel Asghar#3043 - Send the correct step size to simulation executable.
372bad0d1Adeel Asghar- Handle the fileName returned by `getClassInformation`.
299db8c4fAdeel Asghar- Don't copy the SourceInfo so that user can save the copied class to new location.
5b491ed1bAdeel Asghar- Don't copy the SourceInfo so that user can save the copied class to new location.
bee6fff23Adeel Asghar#2781 - Settings for Messages Browser. - Allows settings output size, font and color for messages.
504e79d31Vitalij Rugeadded test case for dyn. optimization
b4221d2b9Vitalij Rugedyn. optization: fixed handling case with dummy state
e8b7995a7Vitalij Rugeclean up ExpressionSolve.mo
603fc1252Adeel Asghar- Do not print filename twice.
38598c502Adeel Asghar#3042 - Fix the stupid copy paste.
e78c2433fOpenModelica Hudson[Janitor mode] Fix whitespace
ad31576efVolker Waurich- restrict cse functionality until next year
c7f12ec14Volker Waurich- dont remove state vars in cse
901d5c56cMarcus Walther- fixed metis clustering
1d32a2241Volker Waurich- fix for cse
7d679c60aAdrian Pop- use +n=1 for Makefile.depends bootstrapping target (it seems to deadlock on Windows)
8d1192a25Lennart Ochel- add reminder to prevent secondary parameters from being overwritten
48d16fcafAdeel Asghar#2746 - FMU type ModelExchange and CoSimulation is not supported yet.
68c71a061Adeel Asghar#1761, #2781 - Text based error messages since QTreeView gets very slow with multi-line messages and many entries. - Create links for errors.
34e3d0bf6OpenModelica Hudson[Janitor mode] Fix whitespace
e7eb8f33cAdeel Asghar- Make FMI 1.0 co-simulation work.
b0914b2a7Adeel Asghar- Use the fileName argument of parseString & loadString.
eff1d76b8Volker Waurich- fix for cost estimation
4d03efe82Marcus Walther- GC is now disabled if HPCOM-Flag is set - added BDP-Modell to hpcom testsuite
4c37e9076Adeel Asghar#3040 - Check if class is partial.
ee9b2eaadAdeel Asghar#3040 - Only allow simulation for Model, Class & Block.
1daea97fdLennart Ochel- Fix initialization of dependent parameters - Detect cyclically dependent parameters - except for some special cases, e.g. parameter Real p = 2p;
8ea9c8b8aAdeel Asghar#3016 - Make result item selected in Variables Browser. - Added some more information to the Archived Simulations list.
1bc9fc0baOpenModelica Hudson[Janitor mode] Fix whitespace
e88737248Marcus 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
6fea97e37OpenModelica Hudson[Janitor mode] Fix whitespace
98b4b7c2cMarcus Walther- reverted evaluateODE-call in evaluateAll (cpp-runtime)
0312dda70Vitalij RugeExpressionSolve: improved handling of sqrt
804573d07Adeel Asghar- more fixes for tree branches.
66503245eVitalij RugeExpressionSolve: added case for quadratic equation - a*x^n - b*x^m
2c02aad5bOpenModelica Hudson[Janitor mode] Fix whitespace
53f7ebe12Vitalij RugeTestExpressionSolve: - improved solve of quadratic equation
a7a74ad2cAdeel Asghar- Fixed display of tree branches.
212febd5cAdeel Asghar- Display warning if model_init.xml file not found.
aa34db7fbOpenModelica Hudson[Janitor mode] Fix whitespace
2ac470311Willi Braun - fixes for FMI 2.0 - corrected some case of initial, variability and causality - fixed Boolean handling - added test cases for Boolen and Integer
74612094bOpenModelica Hudson[Janitor mode] Fix whitespace
21a005c60Vitalij RugeTestExpressionSolve: - solve some kinds of quadratic equation
8ebe0db36Michael Kloeppelfurther fix for METIS scheduler
057f79d84OpenModelica Hudson[Janitor mode] Fix whitespace
b3bbecf14Volker Waurich- introduce der calls for equation systems too (plts)
60d5b2e4aWilli Braun - fixed fmu import for zero states case
1771a44f8OpenModelica Hudson[Janitor mode] Fix whitespace
e4fbdab56Michael Kloeppelfixes for METIS scheduler and UMFPACK solver
f65b07946Volker Waurich- reintroduce der calls in new residual equations for plts
e20f76b75OpenModelica Hudson[Janitor mode] Fix whitespace
5df5805bcVolker Waurich- assign start values for auxiliary variables
257a7f6c4Volker Waurich- deactivate plts
beb8e9519Volker Waurich- remove debug print
434194655Volker Waurich- activate plts
29749ccbcOpenModelica Hudson[Janitor mode] Fix whitespace
a8fa92845Vitalij Ruge- improved expPow - added case for isNegativeOrZero
398516f08Vitalij RugeTestExpressionSolve: added case for cosh
6749782f6Adrian Pop- use i386-pc-linux instead of linux-i686 as Willi suggested (unfortunately I have no idea what $host is returning inside configure)
391396b77Volker Waurich- equation systems of size 1 are ok when there is a dummy state - removed prints for partlintornsystems
e0fcc8b98Willi Braun - fixed fmi platform for linux32
91a0a0f4cAdrian Pop- the platform string has changed in r23795, attempt to fix the testsuite.
c42cec513Vitalij RugeExpressionSolve: - improved cases for abs, pow(x,n) with Expression.isPositiveOrZero - improved cases for sinh, tanh with tmp vars
7743e1104Volker Waurich- dont apply partlintornsystem for systems including dummy states
f79268868Willi Braun - fix for #2840 - a bit of clean up in the fmi interfaces
58fad24bcWilli Braun - fmi2: use platform strings according to the spec: linux64 and linux32
2984f03e8Per ÖstlundFix for #3028: - Workaround for compiler bug in Static.getOptionalNamedArg.
e89c071ddAdeel Asghar- update the icon in tree when iconView of model is changed.
dd83af385Adeel Asghar- Set the ItemSendsGeometryChanges flag for shapes.
abde7d1f6Martin SjölundUse host instead of uname to determine platform (since we compile 32-bit files on 64-bit OS)
1306067a0Adeel Asghar- Added 2014 contributors.
359cc86c9Vitalij RugeExpressionSimplify.simplify2: - fixed simplifyMulJoinFactorsFind for case "e11-e12 and e12-e11, negative -1.0 factor"
d5e5273b1Willi Braun - fix #3036 by adding an event at terminal()
afb7e55ebMarcus Walther- swapped the __x86_64__ and __i386__ cases in measure time - hopefully this will fix measureTime on x64 machines
847933352OpenModelica Hudson[Janitor mode] Fix whitespace
4cd26e08cVolker Waurichfurther extension for countOperations
cf2b87f52OpenModelica Hudson[Janitor mode] Fix whitespace
0d3bd335aNiklas Worschechremoved saveDiscreteVars in cpp template, activated get and set method for variables only for fmi code generation in cpp template
631b81358OpenModelica Hudson[Janitor mode] Fix whitespace
14a8735bfWilli Braun - fixes and testcase for #3034
2c7c62c8eOpenModelica Hudson[Janitor mode] Fix whitespace
60b2c6811Nils MenagerHandling time events at one time instant at once
df6a4389bOpenModelica Hudson[Janitor mode] Fix whitespace
9a0d8e60fNiklas Worschechsplitted write values in cpp template
cad9e5cf4Vitalij RugeExpressionSolve: improved numeric for makeProduct
22347782eAdeel Asghar- fixed typo.
c9615a789Adeel Asghar- fixed typo.
92d28f37eAdeel 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.
f2b07d93bOpenModelica Hudson[Janitor mode] Fix whitespace
d89adcd9fVolker Waurich- get more precise information with countOperations
3cf7b7505OpenModelica Hudson[Janitor mode] Fix whitespace
87cef19b7Marcus 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
01058b1d3OpenModelica Hudson[Janitor mode] Fix whitespace
867c206b6Niklas Worschechfix for one dimensional arrays in cpp template
ec6e2d5dePer Östlund- Updated documentation for simulate/buildModel.
79efe3758Ruediger Kampfmann-fix in SimManager
088f47034Ruediger Kampfmann-fix in SimManager
b2ac5a13bRuediger Kampfmann-fix in SimManager
a4d6717b1OpenModelica Hudson[Janitor mode] Fix whitespace
a9c029a1cMarcus 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
29158def8Niklas Worschechchanged 3d array of cpp runtime to row-major order
560aea7f0OpenModelica Hudson[Janitor mode] Fix whitespace
7ad52f0b7Marcus 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
9fb71ed07Adrian Pop- use GC_malloc_uncollectable for stringVars in initialization.c too
f2367a9e9Adrian Pop- fix testsuite (we fixed using GC_malloc_uncollectable in one place but there were more places)
7db0bbb8bVitalij RugeExpressionSolve: improved solve for if-expression
e4dbe3b13Adrian 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
44803eccbAdrian Pop- transform to char* where needed
fa3f55ac8Henning Kiel- added skew() and symmetric() to CodegenC.tpl
e53ed782fHenning Kiel- implement unary minus for integer arrays - fix pow, exp, division for integer array alloc version
46b35a983Henning Kielfix matrix multiplication for integer arrays in SimulationRuntime/c
db2b683b9Henning Kieladded element wise multiplication of integer arrays to SimulationRuntime/c
18aed9c03Henning KielFix type casting in CodegenC.tpl
70c1514eaOpenModelica Hudson[Janitor mode] Fix whitespace
966250816Vitalij RugeExpressionSolve.solve2: fixed $_initialGuess and tmp vars.
9322b32bcNiklas Worschechfix for create array in cpp template
5aa69a5ddHenning Kielfix typo
a23b8a80eHenning Kiel#3026 - Fixed some more integer array operations.
9541f6e29Adeel Asghar#3026 - Fixed the boolean array assignment. DoublePendulum test should work now.
f59b12accOpenModelica Hudson[Janitor mode] Fix whitespace
522a7e427Niklas Worschechreomved start index for writeparams in cpp template
79c021984OpenModelica Hudson[Janitor mode] Fix whitespace
f8c56cfefVitalij Rugeimproved r23722 - handling of sign() by solve e.g. abs(x) or pow(x,2)
0a5b7c358Adeel Asghar#3026 - Fixed the integer array assignment.
2eca0f4edAdeel Asghar- Only check for invalidNumber & nullPointer when NUMBER_OF_STATES > 0.
3917aaf61Adeel Asghar- Fixed FMI import code generation.
a138e6b25OpenModelica Hudson[Janitor mode] Fix whitespace
cf82a1072Vitalij RugeExressionSolve.solve2:
e522f2287Adeel Asghar- Check the result variables list size before creating variables tree.
645b24a2aAdeel Asghar- print the error level
aa168dc44Volker Waurich-another fix for cse
b0d170c6bNiklas Worschechfix in cpp template for array indeces
d8841b6bdAdeel Asghar- Avoid `FMU could not converge in event update` error by setting the iterationConverged to true.
ad664f795Volker Waurich- fix for cse
090a0c443Vitalij Ruge#3023 createSingleComplexEqnCode2: update case tupple() = f() - check crefs from lhs inside rhs
14cc257c2OpenModelica Hudson[Janitor mode] Fix whitespace
6617dd133Niklas Worschechseparated array initialization in cpp template
01855e142Adeel Asghar- Fix last commit.
10d936a7bAdeel Asghar- Remove the eol comma separator from csv output.
2e58dbd1dMarcus Walther- fixed pthreads_spin codegeneration for hpcom - improved measure time and busy waiting locks - added cvode-metrics to measuretime
6a2471888Henning KielFix type of parameter
9ba42c799Martin SjölundIgnore errors
f2eae9ee8Martin SjölundAutomatically generate OpenModelicaScriptingAPI.mo
7b223d637Martin SjölundUse the impact package listing in getAvailableLibraries
0b42a4b3cAdeel Asghar- Simulation executable outputs HTML entities so use Qt::convertFromPlainText.
337c485ecMartin SjölundFix not loading too low package versions
69bbeb162Martin SjölundAdd `loadModel(requireExactVersion=true)`, which does not automatically load MSL 3.2.1 if MSL 3.2 is requested
0128ee596Martin SjölundRemove duplicated function introduced in r23676
0c53cff3cMartin SjölundAlso only install libraries if the user libraries path is on the MODELICAPATH
da5bbac06Martin SjölundDuring `loadModel`, use the `impact` command if the user has impact installed
9e90ddcd2Niklas Worschechfix for wirteParams in cpp template
bba24ff86Adeel Asghar- Better names for flow control variables.
ad72f292fMartin Sjölund#3019 Serialize `NEW_DUMMY_DER`
1cb0dbaebLennart Ochel- Removed some unnecessary local variables
7a1c08777Lennart Ochel- Use of try-else-construction
5cb155271Adeel Asghar- Raise the ModelicaError when any of the fmi* functions fail. - Fixed the assert tests.
8cac80f70Lennart Ochel- adapt statistics dump to make it collapsible in the new simulation output view of OMEdit
bbf01770aAdeel Asghar- fmiSetString should work the same as fmiSetReal/Integer/Boolean.
f9962402cOpenModelica Hudson[Janitor mode] Fix whitespace
6b78d10d0Per Ö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).
e8bcc2cc5Adeel Asghar- Dump the variables in a better way.
f13d08e6fWilli Braun - added statistics section for linears systems - revise linear system
48fe8db03Martin SjölundFix clean, log same times as with CORBA
06158644dOpenModelica Hudson[Janitor mode] Fix whitespace
2cfcbd392Marcus 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
f66863f2dAdrian Pop- do not load files in parallel for target Makefile.sources
a0a22f20cOpenModelica Hudson[Janitor mode] Fix whitespace
44d2ee146Adeel 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.
2e8c09e88Lennart Ochel- fix #3014
e09f1fecbLennart Ochel- fix #3009
f09c7f829OpenModelica Hudson[Janitor mode] Fix whitespace
09e7e3ea4Niklas Worschechsplitted writeParams method in cpp template
7062c1643Marcus Walther- added cpp-file splitting to hpcom template
df185a957OpenModelica Hudson[Janitor mode] Fix whitespace
779ad03e7Marcus Walther- profiling of the cpp-runtime can now be enabled with the help of the makefile argument 'RUNTIME_PROFILING="true"'
c2ad1b127OpenModelica Hudson[Janitor mode] Fix whitespace
0dfde5b24Niklas Worschechsplitted initialization and writeoutput files in cpp template
ee2785259OpenModelica Hudson[Janitor mode] Fix whitespace
f28fb27dbVitalij RugeBackendEquation.solveEquation: - passed DAE.FunctionTree - inline function calls
d9c07f232OpenModelica Hudson[Janitor mode] Fix whitespace
e701ae7d4Lennart Ochel- revert r23613, because it breaks initialization of parameters in some cases
344fbe715Per Östlund- Fix tests.
27936a328Marcus Walther- removed some debug output commands from HpcOmMemory.mo - additional time points for measure time added to cpp runtime
696fbb4d2Adeel Asghar- No need to hard code StateSelect since it is part of built-in environment and can be accessed via API.
e3786a313OpenModelica Hudson[Janitor mode] Fix whitespace
91c5ffb92Martin Sjölund#3012 Add StateSelect to ModelicaBuiltin.mo
f9116f593Marcus Walther- fixed hpcom windows builds
7cf3e3082Adeel Asghar- Fixed some display cases of initialization values.
c9096710bOpenModelica Hudson[Janitor mode] Fix whitespace
707489b3cVitalij RugeExpressionSolve: - try to solve modelica functions - inline function calls and hope ExpressionSolve can solve new expression
ccb0e1be3Per Östlund- Fix tests?
434807444Per Östlund- Fix build.
c51018a57OpenModelica Hudson[Janitor mode] Fix whitespace
608100616Adeel Asghar- emit sendCompilationFinished.
18e8fd8bePer Östlund- More cleanup of Static.
51246e7eaAdeel Asghar#2391 - Improve handling of modifiers in OMEdit.
0b23e35dfOpenModelica Hudson[Janitor mode] Fix whitespace
09ad2d89fMartin FlehmigRemoved redundancy in templates, brief review
ba0ab8465Nils MenagerSmall fix for calculation of sample cycles
e4b3acf63Adeel 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.
78da5d02fOpenModelica Hudson[Janitor mode] Fix whitespace
34fd6de97Niklas Worschechfix for array index operator call in cpp template, separated external vars initialization in cpp template
a46773037Vitalij RugeExpressionSolve: - added more nonlinear cases for sinh,cosh,log10 - change collect-strategy - update test
879ff2493OpenModelica Hudson[Janitor mode] Fix whitespace
d8975aedbMarcus Walther- fixed deleteObject() in hpcom cpp-runtime - disabled memory optimization for level scheduler
7bfa7b63cBernhard Bachmannproper initialization of counter "numberOfIterations"
82ea5cdb0Adeel Asghar#2550, #2390 - Fully support showStartAttribute in OMEdit.
771a0a80cAdeel Asghar#2550, #2390 - Fully support showStartAttribute in OMEdit.
8470c7d42Lennart Ochel- attempt to fix initialization for parameters that have no binding but a start value
5d17b4dfcOpenModelica Hudson[Janitor mode] Fix whitespace
6e0b98f05Vitalij RugeExpressionSolve: - update expand-strategy - improved cases for pow - added and update tests
0a2fddeeaOpenModelica Hudson[Janitor mode] Fix whitespace
4ff378b89Marcus Walther- memory optimization of hpcom can now handle int and bool variables - cpp-runtime uses hpcom variable positions now as defines
8358a94f1Adeel Asghar- Show the proper color for simulation output in formatted text mode.
7fd6d2c8dAdeel Asghar- Display the simulation output parser error.
74ce4ad90Henning KielCreate real fake files
1da7f3599OpenModelica Hudson[Janitor mode] Set auto-props
322396cedAdeel Asghar- Fixed some re-simulate scenarios. - Separated the SimulationOptions from SimulationDialog.
55da51ea0Adeel Asghar- qRegisterMetaType StringHandler::SimulationMessageType for SimulationProcessThread.
6353b5b83OpenModelica Hudson[Janitor mode] Set auto-props
587d6a039Adeel 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.
2835d11d4OpenModelica Hudson[Janitor mode] Fix whitespace
bfd431f70Vitalij 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)
660d44547Bernhard Bachmannsome fixes from static analysis adapted test case
985aa85d7Bernhard Bachmannadded more debug information on nonlinear systems
ce91d43edMarcus Walther- fixed profiling in cpp runtime on windows machines
da5bfb6f9OpenModelica Hudson[Janitor mode] Fix whitespace
aecd360d8Vitalij RugeExpressionSimplify.simplify: simplify check for Expression.operatorEqual(a,b) or Expression.operatorEqual(c,d)
a344d2eb5OpenModelica Hudson[Janitor mode] Fix whitespace
f1c02f164Volker Waurich- fix partlintornsystem for Asub expressions
8dd40f9e2Vitalij Rugeupdate some cases for createResidualExp2
55eb47ae7OpenModelica Hudson[Janitor mode] Fix whitespace
6ed4967d9Bernhard 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
b0d65689aVolker Waurich- fix partlintornsystem for linear systems that have to be solved numerically (contain function calls with x as inputs)
dd80764ffVolker Waurich- fix partlintornsystem if there are scalar array exps that hide inside cref exps
24e4c4822Vitalij Ruge- change sum for residual (order) - activated simplify in moveDivToMul
820a8b6b3Henning KielRemove quotation marks
4e9e185cfAdrian Pop- more proper clean
0fcfe9521Adrian Pop- more proper clean
f1fa2b1e8OpenModelica Hudson[Janitor mode] Fix whitespace
c9754243aJim NutaroUpdates to the sparse FMI generator
cc2791eadPer Östlund- Allow enum variables in metarecords.
a4ea0f82aMartin SjölundMark some more allocation uncollectable
fe436818bVolker Waurich- fix partlintornsystem if states are involved
09a16679cMartin SjölundChange daeExpSconst to use MMC string literals (since we do not optimize away all literals in simulation context)
acacf0316OpenModelica Hudson[Janitor mode] Fix whitespace
d0f2d560fNiklas Worschechfix for 3d array in cpp runtime, added stop method to solver interface,
e03dabef3Adrian PopFix bug #2980 - use GC_malloc_uncollectable to signal that the arrays of strings are roots - added test gc2980.mos
bf1014d34Volker Waurich- extended decomposition of equation systems by Cramer Rule
4bd920581Adrian 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
a376f1d12OpenModelica Hudson[Janitor mode] Fix whitespace
ebccc8012Vitalij Ruge- fixed ExressionSolve.solve: remove wrong case for cosh - improved Expression.createResidualExp2: clean up cases, try to simplify more than once
7eed77f4eOpenModelica Hudson[Janitor mode] Fix whitespace
31f0529e9Nils MenagerSmall fix for memory issues in CVode
47134f35eWilli Braun - update help text
4e11ebe5fAdeel Asghar- Removed references of unused class SimulationBrowserWidget. - Removed the context menu while creating connection.
b2357afc3OpenModelica Hudson[Janitor mode] Fix whitespace
e14505d6dVitalij Rugeimproved ExpressionSolve.solve: - added more cases like - sqrt(x) - sqrt(f(x)) = 0 - improved case 1/(x) + 1/(x+1) = 0
268f3ca4aAdrian Pop- use GC_malloc instead of GC_malloc_atomic as WE DO HAVE POINTERS in the string arrays - fix typo
b469c4c76Adrian Pop- support 7.2 gc version too (which does not have GC profile stats)
3bf34a0e6Bernhard 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 - ...
2b833b0fcOpenModelica Hudson[Janitor mode] Fix whitespace
a29e760d0Per Östlund- Fix build.
2ab8d71a6Per Östlund- Some cleanup of Interactive.evaluateGraphicalApi.
6d58d6e9eOpenModelica Hudson[Janitor mode] Fix whitespace
48044ef1bMarcus Walther- moved sorting of hpcom sim equations to the HpcOmSimCodeMain-module - fixed memory optimization for fixed level scheduler
ffd6bbd04Adeel Asghar- Use availableGeometry instead of screenGeometry.
4c2b8e693OpenModelica Hudson[Janitor mode] Set auto-props
63bb98db5Adeel Asghar- Missing files from last commit. - Compiler flags should be disabled when re-simulating.
3ff7ddcd5OpenModelica Hudson[Janitor mode] Fix whitespace
7ee423866Adeel Asghar- Compilation and simulation is done in a separate thread now. So parallel simulation is possible.
b77bd7141Vitalij 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
1af56e0a5Per ÖstlundFix for #2995: - Added boolean literals to Expression.isValidSubscript and subscriptContants.
9b12f9de2Martin SjölundUse getInstanceName() to query function names automatically (updated automatically as the the functions are moved)
a18cd0c75OpenModelica Hudson[Janitor mode] Fix whitespace
3ff65a98fPer Östlund- Fix java stuff.
a61b47776Henning Kiel- some fixes for successful compilation on rasberry pi (arm) or other slow machines - fix some typos
1adcd213bOpenModelica Hudson[Janitor mode] Fix whitespace
ee4e5e626Nils MenagerAdded time events for oneStepMode
69f1e27b9Lennart Ochel- don't create lists to pass single elements to functions if possible
55353faceVolker Waurich- fix for partlintornsystems(zeros in b vector) - added Sarrus rule
15e59288bVitalij Rugeimproved extraPolate value insinde [min,max] exception old value was not insinde [min,max]
bb7b8441dAdrian Pop- more matchcontinue -> match
36d923a2bAdrian Pop- use match instead of matchontinue (to hopefully get tail recursion in these functions)
91800275bMartin FlehmigIf flag 'useMPI' is active, a MPI evironment is initalized but computation is not MPI parallel .
a8123ef95Per ÖstlundFix for #2995: - Don't try to expand already expanded equations.
e40f9fb1ePer Östlund- Reverted r23504, seems to cause bootstrapping issues for some reason.
9157d5a31OpenModelica Hudson[Janitor mode] Fix whitespace
7ab2b1ca1Per Östlund- Cleaned up Interactive.evaluateGraphicalApi.
93de56d20Martin SjölundDo not add errors if subscriptInt fails
bf2c9f5c1Lennart Ochel- improved names for some auxiliary functions
64f76acbaMartin Sjölund- Add half-implemented API call generateScriptingAPI - Handle variables with dimension false and true in SimCode
70cc730c5Volker Waurich- fixed partlintornsystem for equation systems
7ced61c02OpenModelica Hudson[Janitor mode] Fix whitespace
b1240e539Volker Waurich- apply Cramer Rule to EquationSystems of size 2
a2b340055Adrian Pop- update MSL 3.2.1 to latest: m:r7901 - update tests - some small Windows changes
fcfdb0995Adrian Pop- handle size({}, dim) as zero in Compiler/Template/CodegenC.tpl
cbc63db0cLennart Ochel- Hide warnings about not imported start values for self-generated variables
4ebd2092eVitalij RugecreateResidualExp: added heuristic for a-b=0 or b-a=0
20ffbea2aPer Östlund- Recommit r22962.
366784474Jan SilarFix for CSharp template - removed wrong shift in algebraic int and bool indexes
9eeeee10bOpenModelica Hudson[Janitor mode] Fix whitespace
47269e8fcVitalij Rugeimproved createResidualExp - reduction of sub and mul operations
6552508e5Per Östlund- Removed misleading documentation annotation from listDelete.
23d1cc6b8Per Östlund- Removed deprecated arrayNth too.
d6fbc9763Per Östlund- Keep listNth in simulation runtime until we have a new tar-ball.
c70276b9ePer Östlund- Removed deprecated listNth.
eae25c1d4Henning Kielmodifications for compilation on arm
a128a85fcOpenModelica Hudson[Janitor mode] Fix whitespace
ba50b0075Lennart Ochel- Changed BackendDAEUtil.mapEqSystemAndFold to not create unnecessary tuples - Some random cleanup
33f4b4f29Per ÖstlundFix for #2966: - Improved setComponentModifierValue API functions.
556de0a26Martin SjölundFail if type-checking fails (did not assign to the output)
bb8d00864Lennart Ochel- Use of List.mapFold2 to avoid unnecessary tuples
b0b436918OpenModelica Hudson[Janitor mode] Fix whitespace
1fd9250d9Lennart Ochel- Renamed/revised some more auxiliary fucntions: - traverseExpsOfEquationList (from traverseBackendDAEExpsEqnList) - traverseEquationArray (from traverseBackendDAEEqns) - traverseEquationArrayWithStop (from traverseBackendDAEEqnsWithStop) - traverseEquationArrayWithUpdate (from traverseBackendDAEEqnsWithUpdate)
7b0b3eda0Martin FlehmigAdded debug flag 'useMPI'. This adds MPI init and finalize to main method and MPI compiler wrappers to makefile.
c25aef220Martin FlehmigIndent
f468a6e0eLennart Ochel- Renamed following auxiliary functions: - BackendDAEUtil.traverseArrayNoCopyWithUpdate (from BackendDAEUtil.traverseBackendDAEArrayNoCopyWithUpdate) - BackendDAEUtil.traverseArrayNoCopyWithStop (from BackendDAEUtil.traverseBackendDAEArrayNoCopyWithStop) - BackendDAEUtil.traverseArrayNoCopy (from BackendDAEUtil.traverseBackendDAEArrayNoCopy)
6384b9c37Lennart 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
0e0300b04Martin SjölundFix building of OMEdit without corba configured
6380b3614Marcus Walther- fixed AliasVar-Codegeneration of CPP-Runtime
2aed85361Vitalij Ruge- improved expAdd,expSub, expPow - added test for expAdd, expSub, expPow
2ddef8379OpenModelica Hudson[Janitor mode] Fix whitespace
614660505Martin Sjölund#2987 alternative method of getting the OPENMODELICAHOME from a .dylib file
b2f7f015fAdeel Asghar#2993 - Allow tiling of sub-windows horizontally and vertically.
4e1ed68d8Adeel Asghar#2993 - Allow tiling of sub-windows horizontally and vertically.
88e11398aMartin SjölundHandle some invalid uses-annotations, like `annotation(uses(Modelica))`
e446dfd2dVitalij Ruge- update SimplifyTest - added rule a-(-b)/c = a+b/c - small fixes inside simplify
4788bb40cMartin SjölundFix OSX
e39ecddc2Adeel 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.
048cf73e8Vitalij Rugeupdate SimplifyTest
c928cd25bJan KokertSpeed up vertical and horizontal scroll bars (almost like in Dymola).
fa23f7babMartin SjölundRun mkbuilddirs for qwt
aca1b7f63Adeel Asghar#2992 - round the connection start & end points.
b3fbd8f2bAdeel Asghar- unparse getClassInformation output in case of CORBA interface.
c099be212Vitalij Ruge-improved simplify -update test
d123e4f47Adeel Asghar#2988 - Zoom In/Out with MouseWheel.
7c1c4f20fAdeel Asghar#2991 - Use the correct boundingRect for ellipse shape.
f32c3d394OpenModelica Hudson[Janitor mode] Fix whitespace
0eb242276Patrick Marcel Taeuber- Introduced "TearingSelect" as variable attribute in BackendDAE.VAR
7930e507fVitalij RugeFix simplify: simplify(((e1 op2 e) * e3) op1 ((e4*e5) op2 e))
0c218aec7OpenModelica Hudson[Janitor mode] Fix whitespace
52695a0baVolker Waurich- use Cramer Rule instead of Gaussian for partlintornsystem
7158968e6OpenModelica Hudson[Janitor mode] Fix whitespace
322ad41c4Volker Waurich- fix for bipartite graphDump, only edges between state vars and equations with der(state)
75bbe541dMartin SjölundFix simplify: simplify((-x) / y - x / z) = (-x) * (1.0 / y + 1.0 / z)
72dae91e7Martin Sjölund#2987 Try to fix OSX again
758344521Martin Sjölund#2987 Try to fix OSX issues by forcing rpath to be used for libOpenModelicaCompiler.dylib
535538bb3Lennart Ochel- fixed #2990
4490009e4Volker Waurich- fix cse for Annex60 model
3b5ade5c0Adrian 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)
2a7043f13Adrian Pop- fix typo
13e8a6f6dAdeel Asghar- Use QImage instead of QPixmap while exporting to image. - Added tiff in the export as image option. - Added copy to clipboard option.
db2f024b3Adeel Asghar#2984 - Keep the sub windows state unchanged when switching between perspectives. - Added the cascade & tile windows options in `View->Windows` menu.
b2434cd25OpenModelica Hudson[Janitor mode] Fix whitespace
7bfda4aa3Willi Braun - fixed #2981
c4afe2415Adeel Asghar#2477 - snap to grid for custom shapes while dragging with mouse. - call QGraphicsItem::mousePressEvent otherwise QGraphicsItem::itemChange will be triggered for all items.
705db3412OpenModelica Hudson[Janitor mode] Fix whitespace
26e387c4cPer ÖstlundFix for #2925: - Don't force ceval of reduction iterators in functions. - Fixed ceval of min/max of arrays.
c8fec8ec2OpenModelica Hudson[Janitor mode] Fix whitespace
051c7d400Willi Braun - added mixedSystem flag for nonlinear systems. Not used, yet.
42f5de67aLennart Ochel- remove obsolete attribute from SimCodeTV.SIMCODE
e56ba910dHenning Kiel#include if compiling rtclock.c for unsupoorted target
70efb94daOpenModelica Hudson[Janitor mode] Fix whitespace
3157ccca7Per Östlund- Some code cleanup.
7f91f596fVolker Waurich- activate CSE
7b1ae1b4cMartin SjölundCompile OMEdit even if omc is configured without CORBA bindings
e6993d81eMartin SjölundCompile OMEdit even if omc is configured without CORBA bindings
82f63c655OpenModelica Hudson[Janitor mode] Fix whitespace
be8b17965Volker Waurich- print number of merged tasks for hpcomDump
0b3a478feVolker Waurich- refactored mergeParentNodes
de58286d7Adrian Pop- remove BOM from files
b2b8e3a5aJan KokertSnap to grid refinement changed to div/4, because fractions of 0.5 are more convenient then 0.2
64850c74dMartin SjölundTry to fix Windows build
2f52b936bMartin SjölundGenerate the shared object directly in build/lib/omc
205dfffb4Martin SjölundTry allowing undefined symbols at compile time in OSX
02606a060Martin SjölundTry to build a dynamic omc on OSX
7d39a388aMartin SjölundTry to change my name so asap does not fail to build the parser
68397f7e5Martin 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
282334ae0Martin 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
204c869e1Adeel Asghar- Do not remove the item since it is already unlinked from the scene.
616374407Adeel Asghar#2930 - Fixed the printing of models. - Added OMEdit.manifest file so that Windows PrintDialog shows the controls in Windows Aero theme.
3c5791fccAdeel Asghar#2506 - Implemented Manhattanize shape. Takes a curves connection and creates a right-angle lines connection of it.
7aabce223Adeel Asghar#2506 - Also remove redundant points when starting to move the connection.
4e4736a65Adeel Asghar- Fix last commit.
84a85d827Adeel Asghar#2506 - Remove redundant points while moving the connection.
fd7668a2cAdeel Asghar- Tooltip for connections.
5d297ed4aAdeel 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.
7d1194ccaOpenModelica Hudson[Janitor mode] Fix whitespace
9afcf3092Volker Waurich- fix build - added Symbolic Gaussian to HpcOmEqSystems.mo
ce01598b8OpenModelica Hudson[Janitor mode] Fix whitespace
25e529273Volker Waurich- refactoring GRS, only mergeSimpleNodes for now
5afb32df8OpenModelica Hudson[Janitor mode] Fix whitespace
3186d69b0Lennart 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.)
4fa24ee11Adeel Asghar#2506 - Keep the connecting lines manhattanized.
204dc3716OpenModelica Hudson[Janitor mode] Fix whitespace
44bc61fd7Willi Braun - #2975 fixed.
ddeeba38aOpenModelica Hudson[Janitor mode] Fix whitespace
cdfd5d09cMarcus Walther- splitted large generated cpp functions into smaller ones
d1dcc1cf7Martin Sjölund#2982 Sort if-expressions correctly in function context
1ff3a639eOpenModelica Hudson[Janitor mode] Fix whitespace
11cfa24e0Volker Waurich- added cse module
abfc842d4Willi Braun - a bit cleanup of the nonlinear solver
1b87e16b1Martin SjölundDisplay the error-message instead of the help-text
4d396dbb7Martin SjölundSimplify handling of result files
98e932b62Henning Kiel- fixed some types
4cc53996bHenning Kiel- improved performance of exp_real_array/exp_integer_array functions
a4bf59867OpenModelica Hudson[Janitor mode] Fix whitespace
c86dccd9dMartin FlehmigAdded function intRandom an interface to C/C++ rand function
5d15ce582Martin FlehmigAdded random scheduler to HPCOM module
96133c32fMartin SjölundUse the better randomness also during matching
d5f884af1Willi Braun - fix build warnings
cfca2acbcOpenModelica Hudson[Janitor mode] Fix whitespace
667f376daMarcus 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
5df37cbd5Martin SjölundFix System.intRand (low bits did not have enough entropy)
f51fb0d19Adeel Asghar- send getVersion as the first command to connected omc.
4cad51380Martin SjölundUse proc/self to find omc from OMEdit on Linux
29141f0ddMartin 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
fae56d99aOpenModelica Hudson[Janitor mode] Fix whitespace
5cce585b7Per Östlund- Fixed some code generation issues for subscripted crefs in tuples. - Code cleanup. - Updated and enabled some MetaModelica tests which had started to work.
6c836e660Martin Sjölund#2976 Add depends to _includes.h files
c4e2396e5Adeel Asghar#2477 - Snap to grid for annotations. Use shift for refined movement. - Set the grid enabled by default.
cf643e7ccAdrian Pop- fix File.write test fputs using EOF, seems to work on both Linux and Windows.
82fa79d96Adeel Asghar- Set 5 as default value for -maxIntegrationOrder flag.
f78ab67a5Adrian Pop- fix File.write (why would you expect fputs to always return 1??!!)
8e76bb53fAdeel Asghar- Remove the LibraryComponent object when we delete the class.
4fd8b91a0Adeel Asghar#2956 - Fixed the movement of components through keyboard.
6c358bc1bAdeel Asghar- Only call getClassRestriction if getClassInformation fails to fetch the data.
416d9f181Martin SjölundChange to using Model_info.json by default
e48629729Martin SjölundOMEdit: handle equations also for Model_info.json files
71b4e0006Martin SjölundOMEdit: handle equations also for Model_info.json files
0245655f9Lennart Ochel- Clean up some more patterns.
0c1daf162Per Östlund- Dump comments in the correct place for for-equations/statements.
126efba13Lennart Ochel- clenup pattern of createOdeSystem2
ecd3174aaLennart 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.
3a65f95bdMartin SjölundChange transformation uses/deps to use QList and equation kind to simply be a string
5c27cbe12OpenModelica Hudson[Janitor mode] Fix whitespace
4bfa251e3Marcus Walther- forgot to add barrier file
1495f5309Marcus 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
5e98ba286Mahder Alemseged Gebremedhin+ Put correct types when vectorizing qualified assignments. - this used to send wrong types all the way to code generation.
81fbc2400Lennart Ochel- cleanup of traversingisDiscreteExpFinder
be43a219cLennart Ochel- fix comments
38e87a7e8Martin SjölundRefactor/remove some no-op code
21474792aMartin 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)
ff215b5acLennart Ochel- typo
8afa180adAdeel Asghar- Set the minimum width so that the value text will be readable.
736de63b6Martin Sjölund- Fix loadFiles() when parsing only 1 file - Use loadFile instead of loadFiles in GenerateInterface since it always loads exactly 1 file
0611eee04Martin Sjölund- Add missing file in previous commit
3e9d57c2aMartin SjölundEnable parallel loadModel (gives 2~3x speed-up depending on CPU)
17b9de4efAdeel Asghar#2906 - Drop down menus for Enumeration and Boolean types. - Added a new API getBuiltinType.
efcf9b574Adeel Asghar#2906 - Drop down menus for Enumeration and Boolean types. - Added a new API getBuiltinType.
7dc01b66fOpenModelica Hudson[Janitor mode] Fix whitespace
89f00133cPer ÖstlundFix for #2947: - Optimized usage of BackendDAE.VARIABLES in the backend to improve performance. - Some cleaning up.
090dde805Martin SjölundParse all operations correctly for JSON
da98a1f2aMartin SjölundParse all operations correctly for JSON
8d3347ad8OpenModelica Hudson[Janitor mode] Fix whitespace
68215995bLennart Ochel- changed r23269. relations/zero crossings get only dumped if LOG_EVENTS_V is used
024812dccOpenModelica Hudson[Janitor mode] Fix whitespace
74d0abdc3Lennart Ochel- dump relations/zero crossings after events
0501fdf14OpenModelica Hudson[Janitor mode] Fix whitespace
68693d61aNiklas Worschechfix for assert in cpp template
6aeb90081Martin SjölundAdd check for using reserved identifiers as components
4e9730ef4Martin SjölundRe-add check for duplicate names in enumeration
522c32439Martin SjölundSkip _= in front of arrayUpdate calls
ad5de84ffMartin SjölundRemove some unused calls, removed _ from some that are used
2dd6c8569Willi Braun - fixed #1228, by adding when equation also to other torn equations.
3e37c7dfdAdeel Asghar- make sure we close the settings group otherwise settings file will get corrupted.
c02de7619Martin SjölundRemoved some calls that should not do anything
027cda71eMartin SjölundCheck performance when not adding replacements already in the hashtable
92b4dd462Martin SjölundSome HashTable implementation changes
7cbb7ad8eMartin SjölundSkip unused get call in VarTransform
8ace60b1eMartin Sjölund#2968 Treat function calls as a variable being used (if it is an unbound function pointer)
3c3d38e86Adeel Asghar- more typo fixes
502462208Adeel Asghar#2481 - Added GUI for dassl simulation flags.
c080d1632Adeel Asghar- Fixed typos in dassl simulation flags.
26b3ad3baOpenModelica Hudson[Janitor mode] Fix whitespace
40aef38c6Niklas Worschechmoved allocating of algloop vars in initialization
d5e447757Martin SjölundRefactoring `REC(_)=>REC()`
819a2ff17OpenModelica Hudson[Janitor mode] Fix whitespace
98e1440c2Volker Waurich- added flag +graphml to dump a bipartite graph after causalization and a task graph on SCC level. use yEd for visualization
1be83ab28Martin SjölundRefactor some more things away
79faad14dOpenModelica Hudson[Janitor mode] Fix whitespace
16ad28b1fAdeel Asghar#2190 - Added a new copyClass API. - Added GUI for new copyClass API in OMEdit.
a279a4946Adeel Asghar#2190 - Added a new copyClass API. - Added GUI for new copyClass API in OMEdit.
263f1870aMarcus Walther- Peer Solver preliminaries added to CPP-Runtime
6f83bdcdeOpenModelica Hudson[Janitor mode] Fix whitespace
f9fb8f7ecMartin SjölundUpdated the refactoring script, handling `REC(name=_)=>REC()` - Ran the refactoring script
43dbce1dfOpenModelica Hudson[Janitor mode] Fix whitespace
8630439e9Niklas Worschechfix for paramater initialization, fix for allocating A matrix in cpp template
4385e1a40Martin SjölundUse lookupType instead of lookupClass to handle DIM_ENUM/DIM_BOOLEAN
72320b341Martin SjölundUpdate traverseType to not create a tuple in each step
ff43ec6a9Martin SjölundFix logic error in assertion (checking the level condition before it was assigned)
25bc12b9dAdeel Asghar#2390 - Added some support showStartAttribute. There seems to be some issues with setComponentModifierValue API.
e41145dcdWilli Braun - fixed #2878.
485a7a1d5Lennart Ochel- Some random cleanups.
f8d6c7f44Henning Kiel- remove superfluous strlen() - add short description strings for builtin functions
e0e9c63b9Martin SjölundGuard against some domain errors for trig functions
20d9fe73aMartin SjölundDo not use C++11 features
ab77fa60fOpenModelica Hudson[Janitor mode] Fix whitespace
c4259c1bdWilli Braun- fixed #2867 by fixing the calculation of adjacency rows for ASUB expressions
353d55ad0Martin SjölundPartially support opening JSON files in the transformations browser
d9892249cLennart Ochel- fixed compilation
a888b87bdOpenModelica Hudson[Janitor mode] Fix whitespace
3334f8e63Nils Menageradded call of initialization functions for the jacobian in cpp runtime
22beed0e9Volker Waurich- use partlintornsystem only flag controlled
4736f03b9Volker Waurich- extended simplification in partlintornsystem
aca8ab8e4Martin 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
989829789OpenModelica Hudson[Janitor mode] Fix whitespace
f3f25f688Volker Waurich- extended partlintornsystem
035e213fcOpenModelica Hudson[Janitor mode] Fix whitespace
cb6c65453Lennart Ochel- Added functionality to dump zero crossings during runtime
2fe6e0853Lennart 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
23b28c25dAdeel Asghar#2392 - Indicate default values in ComponentParameters window.
323b0c0a6Adeel 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.
ba9d529c1Adeel Asghar- Set the GraphicsView drag mode to RubberBandDrag.
71756960bMartin SjölundOnly restrict root user from using the interactive interfaces (sockets/CORBA)
dc16af349Bernhard ThieleCollecting outgoing transitions of a mode/state in MODE data structure
42e772226Per Östlund- sourceInfo returns SourceInfo, not FileInfo.
1d01378a9OpenModelica Hudson[Janitor mode] Fix whitespace
a7e28ab1fBernhard BachmannImproved linear solver "LU with total pivoting" for solvable underdetermined systems
609a3454eLennart Ochel- Modified epsilon of event hysteresis - Remove unnecessary counter from BackendDAE.EVENT_INFO
cc239e281Per Östlund- Some cleaning up.
0ca107670Lennart Ochel- fixed dumped number of zero crossings and updated test cases
f6e576364Lennart Ochel- revert r23183 temporary
7f3ee651dLennart Ochel- fixed dumped number of zero crossings
d8535eba8Lennart Ochel- improve info message by adding current time value
b0599b43aBernhard ThieleAssigning equations to states
38dc646c9Volker Waurich- use list scheduler as default hpcom scheduler
0b2887491OpenModelica Hudson[Janitor mode] Fix whitespace
cdc647607Lennart 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
b8ab11659Volker Waurich- fix for partlintornsystem, debug dump for jacobian
b34d13015Adeel Asghar#2872 - Use `loadString` to send expressions to OMC.
e9adbbf9eAdeel Asghar#1762 - Consistent interface for instantiation and checking.
c0114700aAdeel 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.
e5f4fe1dcOpenModelica Hudson[Janitor mode] Fix whitespace
fbebb86f4Adeel Asghar- Fix build.
4fd863a3cBernhard Bachmannadded new linear solver based on LU decomposision using total pivoting - activated it also as default - updated some tests
73bf57e58Adeel 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.
ba4e44540Vitalij Rugeimproved output for optDebugeJac
e2436e3a5Martin SjölundWeird work-around for size(arr /* suze [0,2] */, 2) to return 0 at run-time (used by Modelica tables)
2155696d7Martin SjölundMake sourceInfo() testsuite-friendly
aed7ecd9eMartin Sjölundmake clean: remove generated templates
86e0233b3Martin SjölundFix r23156
8cd2a88fcMartin SjölundAdd sourceInfo() to all Error.addInternalError calls
64bbc7de0Martin SjölundRename flag "nodoSCodeDep" to "noscodeDep"
9fcdd6a70Martin SjölundRemove unused flag usedep
225ad80faMartin SjölundTail recursion
8592b2fe0Per Östlund- Got rid of some listArray/arrayList calls.
bb15576c6Vitalij Ruge-support min and max values by extraPolate -imporevd output for nonlinear solver
5a4ae1254OpenModelica Hudson[Janitor mode] Fix whitespace
51f68989ePer Östlund- Fix Array.map.
458751587Willi Braun - added flag for SKF TLM Master Solver Interface.
1505656a4Martin SjölundSome refactoring to use assignment to fields
148e7c737OpenModelica Hudson[Janitor mode] Fix whitespace
9002e08f7Per Östlund- Removed Array.append (since we have arrayAppend now). - Optimized some Array functions. - Some random cleanups.
d51b7bf84Martin SjölundDo not dump bindings to outputs in the interface functions
2569667d1Martin SjölundFix indexes of some metarecord literals (Susan does not warn you shadow the variable index with a new index)
8bd5d5b17Volker Waurich- rewritten partlintornsystem module
4066c642dVitalij Rugeimproved output for optDebugeJac
8e374aa39Martin SjölundPrint SourceInfo to MM definitions
e64cd0c31Martin SjölundAbsyn no longer needs to be its own dependency class (Util no longer imports Absyn)
fc59b4b37Martin SjölundSusan no longer depends on Absyn
b6f399e87Martin 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.
6f72cec47OpenModelica Hudson[Janitor mode] Fix whitespace
073404243Martin SjölundSusan: Handle builtin uniontypes
72145782cVitalij Ruge- improved optDebugeJac compare analytical and numerical jacobian
1035e2ce6Adeel Asghar- Added details to the executable using the RC file.
5db24959bAdrian Pop- fix bug #2882 (careful with the evaluation of expressions having DAE.T_CODE type)
78fddfeeaAdeel Asghar- Fixed the return value of changeDirectory.
7ce663d03Adrian Pop- fix bug #2943 (the error was introduced in r23049) - added test: testsuite/openmodelica/interactive-API/Bug2943.mos
c05e51db9Adeel 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.
08ba06d65Martin SjölundFix code generation for assignment to metarecord fields
cee22a2a0OpenModelica Hudson[Janitor mode] Fix whitespace
8e56d0c3aHenning KielRecommit change from r23112 with appropriate fixes
cb6049377Niklas Worschechfix for dae exp reductions in cpp template, fix for memory leaks in cpp runtime
68dad5b2dPer Östlund- Reverted part of 23112 that broke the build.
cc1a03d04OpenModelica Hudson[Janitor mode] Fix whitespace
7a27ec3e2Per Östlund- Some optimizations in BackendDAEUtil.
28e9ca2a3Henning KielFix some uninitialized values.
820667c8bHenning KielFix some uninitialized values.
4e79073f3Martin SjölundRemove pointless call
29e81496dAdrian Pop- make distclean for gc on top clean
405cae2b1Adrian 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
b3d2e0e17Per Östlund- Removed arrayAdd, it's unused and very inefficient, and arrayAppend can do the same thing.
31303c737Per Östlund- Implemented builtin MetaModelica operators arrayAppend and MetaModelica.Dangerous.arrayCreateNoInit.
3747ceda2Martin 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
03d7d9d6dLennart Ochel- moved BackendDAEUtil.analyzeJacobian to package SymbolicJacobian
dee4d7ceeMartin SjölundAlways dump builtin external declarations since it affects the interface
fa7bbfa91Martin SjölundMissing changes in CevalScript
53d85a2dfMartin SjölundStrip external sections and class comments for the interface files
385bedda2Willi Braun - fixed #2754.
6d0c42fdaWilli Braun - fixed nominal, min and max attributes for linear systems
4fd5ed201OpenModelica Hudson[Janitor mode] Fix whitespace
d47024867Willi Braunfixed #2868 and #2754 partially - by using the in BackendEquation.equationToResidualForm and SimCodeUtil the same function createResidualExp
c61d21022Adrian Pop- GC_expand_hp 150M for Windows, 300M for others
bc5386265Adrian 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
f6cf01353Vitalij Rugefixed optDebugeJac
a1d8cbe9aMarcus Walther- fixed analyzation_mode
e8cc177c9Vitalij Rugefixed optDebugeJac
eb682eb2eLennart 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
1871879baAdeel Asghar#2595 + Added a checkbox `Build Only` in SimulationDialog.
757776589Lennart 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
43229ae41OpenModelica Hudson[Janitor mode] Fix whitespace
72429c5f4Ruediger Kampfmann-added some functions required for vxworks
19e6ea136Marcus Walther- fixed cpp runtime build
b7bd3c8a5Marcus Walther- moved Solver header files into the include folder to fix windows build
6f85d2ed2Vitalij Rugefixed 23080
b3b1e196aVitalij Rugefixed output
d1eb10784Vitalij Rugefixed output format
67f59119eMartin SjölundRemove RML references from the readme
bd6aa738cVitalij Rugeimproved debuging of the jacobian matrix in dyn. optimization
a4b691fd8Per Ö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.
47ea0a53fMartin SjölundEnable Figaro
4b598ffa7Martin SjölundTweak arrayCreate (inline)
10b89b93fLennart 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
faf7e0136OpenModelica Hudson[Janitor mode] Fix whitespace
f3bb4db31Martin SjölundClean CevalScript.compileModel
8666ba5deNils MenagerAdaptions for VxWorks and Bodas in Kinsol and AlgLoopSolverFactory and cleanup of files in cpp runtime
d8a615c84Lennart Ochel- Cleaned up more patterns
e4f7af7f6OpenModelica Hudson[Janitor mode] Fix whitespace
b1a2bc297Marcus 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
174f34e65Vitalij Rugeadded option for debuging derivations
31624e1c0Adrian 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)
c5e95d232Adrian 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
609848d54Adeel Asghar#2938 + gridlines using a slightly lighter gray (as in Dymola). + show/hide gridlines is now persistent.
4b27d211eAdeel Asghar- minor typo fixes.
a63d6916eAdeel 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.
35ca2e96bMartin SjölundCall `GC_expand` in main to make the test suite 100% (hopefully)
201c5cd3fVitalij Rugefix indentation
ae867502cBernhard ThieleModelica state machines data structure extension
ddb11c91aOpenModelica Hudson[Janitor mode] Fix whitespace
2a8f86017Julian Opheyfix in cpp template for external functions
e567c70a4OpenModelica Hudson[Janitor mode] Fix whitespace
d6355a441Martin SjölundRemoved the old MetaModelica operators from the parser (+& ==& +. ==., etc)
38435b196Per Östlund- Some case merging and various improvements.
36d0f700eLennart Ochel- fix r23046
d50f4dbf6Willi Braun - fix printMatrix
7d7218be0Lennart Ochel- clean-up some patterns
9ae856bc0Lennart Ochel- Removed unnecessary cases - Merged cases if possible - Some more clean-up
9b94e295ePer Östlund- Improved Util.stringWrap.
a174a5927Martin SjölundStart removal of Debug.mo: Removed bcall* fcall* bprint* fprint*, etc
33fc8e5daBernhard ThieleRestricting special inner outer rules for variables in state machines to output variables
182def48bWilli Braun - fixed nominal, min and max attributes for linear systems
eb68f0c54Martin 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)
56fd672a0Per Östlund- Readd listReverseInPlace in List, doesn't seem to be the issue.
aa4758e35Per Östlund- Remove all listReverseInPlace to see if they are causing issues with FourBitBinaryAdder.
648f3bbeaPer Östlund- Removed some potentially unsafe listReverseInPlace.
d36312fafLennart Ochel- Merged functions collectZCAlgs and collectZCAlgsFor - Removed unused function arguments - Some more clean-up
64513156cLennart Ochel- fix documentation of one more function
7f15d5e97OpenModelica Hudson[Janitor mode] Fix whitespace
e4dba6c72Lennart Ochel- revise new 'math library' from r23023 - fix some wrong pointers - fix documentation
03e6c640eAdrian 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
808acc6d9Willi Braun - some preparation for linear solver improvments
3b464114eWilli Braun - more fixes for omc_math library
e95e40936Adrian Pop- fix Windows build
082b08a32OpenModelica Hudson[Janitor mode] Fix whitespace
e66ac81deWilli Braun - update lapack solver to use omc_math
d5fa00c67Willi Braun - added own small math library for vectors and matrix
5b068ec0eAdrian Pop- update boehm gc to latest from github (via OpenModelicaExternal 3rdParty/gc) - rename 3rdParty/gc-7.2 to 3rdParty/gc
52b690ec7Adrian Pop- update boehm gc to latest from github (via OpenModelicaExternal 3rdParty/gc) - rename 3rdParty/gc-7.2 to 3rdParty/gc
324e1bdb2OpenModelica Hudson[Janitor mode] Fix whitespace
0aca84eeaLennart Ochel- remove unnecessary lists
ed2525c98Lennart Ochel- fix Util.if_
4453b9091Bernhard ThieleReverted back to r23007 since last commit of file was unintentional
0b8a191f9OpenModelica Hudson[Janitor mode] Fix whitespace
4c603f1fcBernhard ThieleModelica State Machines module (not ready, yet). Module is not yet activated (entry commented out in Flags.mo).
e09fc1ac6Lennart Ochel- use BackendDAEUtil.mapEqSystem instead of BackendDAEUtil.mapEqSystemAndFold
676db7eeaLennart Ochel- don't search in shared object for zero crossings
8f96a65e1Lennart Ochel- don't search in initial equations for zero crossings
7a0948780OpenModelica Hudson[Janitor mode] Fix whitespace
891509c9fPer Östlund- List optimizations by using dangerous listReverseInPlace.
d0a8032feMartin SjölundReplace `Util.if_` with if-expressions
a7bb0f209OpenModelica Hudson[Janitor mode] Fix whitespace
f2f0c0c51Vitalij Ruge-imporved error msg for dyn. optimization -some fixes from static analysis
090e12d22Lennart Ochel- use zc::lst instead of listAppend({zc}, lst)
258654df9Nils MenagerAdaptions in Kinsol (Cpp Runtime) for VxWorks and Bodas
925a4248aMartin 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
967779ca2OpenModelica Hudson[Janitor mode] Fix whitespace
9bc199fc9Niklas Worschechfix for get start value in cpp template
0ac8b0b6cLennart 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
c8ddc965fOpenModelica Hudson[Janitor mode] Fix whitespace
ca4471bf7Marcus Walther- added defines for measure time, to support scoreP - scoreP support to c++ profiling added
045378016Martin SjölundIncrease time limits for library testing
fe7c64eeaMarcus Walther- fix for hpcom analyzation mode
2ce864d35Volker Waurich- replace numArrayDim with ExpressionDump.dimensionIntString only in the simCodeVar and not in the backendVar - some dumpSimCode extension for constant and parameter vars
70ab734f1Martin SjölundReplace matchcontinue without accumulator with a reverse for-loop
fdf9cbab1OpenModelica Hudson[Janitor mode] Fix whitespace
17f361c58Willi 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
66da7d0feMartin Sjölund#2932 Do not make protected functions static
74a3c79b4Adeel Asghar- Only try to remove connection if we have a valid ModelWidget.
78dc30aecAdeel Asghar- Updated more icons from PNGs to SVGs. - Removed some unused PSDs.
f1208de2eOpenModelica Hudson[Janitor mode] Fix whitespace
6b7fbc97cNils MenagerCleanup of Cpp Runtime files
53333de85Lennart Ochel- some cleanup, removed unnecessary matchcontinue statements, ...
5b0863d86Volker Waurich- use the size instead of the Absyn.path in ExpressionDump.dimensionString()
f837a7bc9OpenModelica Hudson[Janitor mode] Fix whitespace
451184872Per Östlund- Fixed logic in Main.main2.
efdaa466dNiklas Worschechdeactivated function parameter generation in cpp template
1312a9bf0Martin SjölundUpdate tarball for partial function evaluation - Removed List.fold5 and List.fold6 (called directly using `List.fold(..., function f(x1=y1,x2=y2)`
3d5bf5be5Martin SjölundHandle metaarray when generating code
4037b0a74Lennart 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
de29fb103OpenModelica Hudson[Janitor mode] Fix whitespace
dff9b2540Per Östlund- Case merging.
20ca1f20aLennart Ochel- Unraveling some indices by making List.position work with one-based index.
d88ae5f86Martin SjölundRemove bootstrapping version text since RML is no longer in use
253cb4780Martin SjölundRemove RML references from configure
708c137ebMartin SjölundDo not expand-expand-...-expand crefs hoping this will change the results
4daf4d1e4Adrian Pop- merge cases based on output from rml -Eunify (https://dev.openmodelica.org/~adrpo/rml-unifications-original.txt)
8da37a600Martin Sjölundcppruntime uses cminpack
1a6526077Per Östlund- Fix previous fix.
41a675363OpenModelica Hudson[Janitor mode] Fix whitespace
d08bfbc47Per Östlund- Another try to fix build, avoid function partial evaluation.
fa69a34e5Per Östlund- Try to fix build, function partial evaluation seems a bit buggy.
194a5d1d6OpenModelica Hudson[Janitor mode] Fix whitespace
d8ea3a027Per Ö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.
bd3faed4eMartin SjölundKeep System_isRML until we make a new tarball
9a56a9c69Martin SjölundRemove some RML stuff
76df8c9b2Lennart Ochel- Removed function List.delete, since it was just an rml workaround - Changed listDelete to work with one-based index (mm:#1623)
6690dc707Martin SjölundRemove generated susan files (should not be needed since we always have omc available)
24cec0328Martin SjölundRemove the NONE check from the parser; we no longer need special checks for RML stuff
45e3c96f2Adeel Asghar- fix last commit.
80bc5c2bfAdeel Asghar- Updated some icons from PNGs to SVGs.
7c246abb3Adrian Pop- no more rml_compatibility.h
f6a9a76c1Adrian Pop- more cleanup - use CFLAGS=-g -O2 -falign-functions on Windows
f1fee065aAdrian Pop- mk_* -> mmc_mk_*
102e4dacfAdrian Pop- more proper RML cleanup
a84edccfePer Östlund- Removed strict RML checks.
214ddf5b6Adeel Asghar- indentation
7268e5ccdAdrian Pop- more rml cleanup
9fd0b8990Adrian Pop- Compiler/omc_release is no more, nothing to clean
242e84445Martin SjölundDon't generate omc_release
6fbeedd30Martin SjölundRemove RML version of BlockCallRewrite.mo
8560c0e0bMartin SjölundRemove some RML stuff
386c20d2bAdrian Pop- build the omc-bootstrapped by default on Linux also
6bc74cdfbAdrian Pop- switch version to 1.9.2+dev
0a5b77a94Adrian Pop- update version to 1.9.1 release
0f60125e5OpenModelica Hudson[Janitor mode] Fix whitespace
2b5888f2aLennart Ochel- removed obsolete/unused code from package Differentiate - function getFunctionResultTypes - function differentiateExpCrefFunction - function differentiateExpCref - function differentiateFunctionPartial - function differentiatePartialFunctionwrt - function addElementVars2AllVars - function addElementVars2InDep - function addIndependentVars
3c69a09d7Lennart Ochel- marked some functions as protected - removed a few unused variables
c33345292OpenModelica Hudson[Janitor mode] Fix whitespace
2ab8ae445Ruediger Kampfmann-adapted cpp runtime files for vxworks
51a231834Adrian Pop- fix bootstrapping - fix UTF-8 encoding
42b5aebceOpenModelica Hudson[Janitor mode] Fix whitespace
c6c97bc07OpenModelica Hudson[Janitor mode] Set auto-props
e518546f1Ruediger Kampfmann-adapted cpp runtime includes for vxworks
fb4672a59Ruediger Kampfmann-added for vxworks
79dd4ff82OpenModelica Hudson[Janitor mode] Fix whitespace
5766264bcWilli Braun - added tranformModelFMU to scripting commands
f107cb633Per Östlund- Optimized the adding of connect equations to the DAE.
e7c59cfd9Jan SilarPDE extension Working on artery model
09bcd6563OpenModelica Hudson[Janitor mode] Set auto-props
729f0309fMartin SjölundUTF-8 fixes
01de4cf28Lennart Ochel- Update unit check module - Use of hash tables instead of lists - Minor fixes (e.g. messages)
a0315728aOpenModelica Hudson[Janitor mode] Fix whitespace
6178f9c77Nils MenagerAdditional changes in include files for Bodas and VxWorks in Cpp Core
e2824ca6eOpenModelica Hudson[Janitor mode] Fix whitespace
58510d575OpenModelica Hudson[Janitor mode] Set auto-props
cdd125a0bNils MenagerIntegration of Bodas and VxWorks functions into Cpp Simcore
64604bb5fAdeel 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.
9934577faRuediger Kampfmann-added include for vxworks
2a9396c39Lennart Ochel- remove redundant functions
5d7c17cafOpenModelica Hudson[Janitor mode] Fix whitespace
40bcdea6eNils MenagerExtension for VxWorks and Bodas
4a898735dAdeel Asghar#2481 - Added the -noEventEmit simulation flag option.
222c7c105Lennart Ochel- add missing optmodules description
d78f14e7bLennart Ochel- fix indentation
01f4145eeOpenModelica Hudson[Janitor mode] Fix whitespace
1a6edc450Ruediger Kampfmann-added stepStarted method
474d83cb9Niklas Worschechfix in SimCodeUtil, correct number of outputs
0165625c1OpenModelica Hudson[Janitor mode] Fix whitespace
c7ac9f5ceNiklas Worschechadded library path to Simcode, used for external functions in shared libraries
eca612a81Martin 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)
f2ec8ee28Adeel Asghar#2922, #2674 - Implemented natural sort for Variables tree.
e0f14562cAdeel Asghar- Added missing file from last commit.
b9f5c0fecAdeel Asghar- Made transformationalDebugger more easily accessible for users.
213280cccMartin SjölundFix bootstrapping without updating tarball
c80fed2bbMartin 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
f612a2940Martin SjölundAllow failing to load a model from uses-annotation. Append the regular MODELICAPATH when searching for packages in uses-annotations
1fedf0520Martin SjölundMake loadFile("Modelica/package.mo") also consider the uses-annotation and load those packages (just like loadModel does, but with a different MODELICAPATH)
30255aa29Adeel Asghar- Made re-simulate more easily accessible for users. - Added new svg icon for re-simulate.
2406f9531OpenModelica Hudson[Janitor mode] Fix whitespace
1ee2d8543Julian Opheyfix in cpp template for external objects
1144193ffPer Östlund- Make continue work in cases also.
1dd6aa6b3Adrian Pop- fix bug: #2917 - handle protected sections better
231155d31Willi Braun - fix events in fmi 2.0 - added more tests for fmi 2.0
670593241Adeel Asghar- Fixed the MainWindow title changes when user switches between different models, plots & perspectives.
e4bb7632cOpenModelica Hudson[Janitor mode] Fix whitespace
2cd7fe437Adeel Asghar- Fixed some warnings.
848214c75Willi Braun - fixes for FMI 2.0 import and export - reorganize testsuite for fmi
51d7e25e2Martin SjölundAdd missing imports
3356e5d3fMartin SjölundCreate package Util/ClockIndexes (used to be part of Script/GlobalScript) in order to decouple susan from the front-end modules
48413dce9Per Östlund- More RML fixes (RML seems to be making errors up now).
8c7c8d2c9Martin SjölundRML fix
e53218167Martin 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"
dac27359ePer Östlund- RML fix.
1ad1ef980Per Östlund- More RML fixes.
6a7a33716Martin SjölundIndentation
41a7c0bffPer Östlund- Fix RML compilation.
d4a5709dcOpenModelica Hudson[Janitor mode] Fix whitespace
7e6f28e2cOpenModelica Hudson[Janitor mode] Fix whitespace
a88f41d7ePer Ö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.
8c63eb91fJulian Ophey-fix in cpp-template for external objects/external functions
6551d11dfMartin SjölundFix compiler sources for r22831
f99931e41Martin 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)
fe5bb5a89Niklas Worschechfix for bat file in cpp template
42a9ba8f1Adrian 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
175cd228dAdeel Asghar#2903 - Added interface for -emit_protected flag. - Now there is a Protected Variables checkbox in Output tab.
26899f635Adeel Asghar- Made algorithmicDebugger more easily accessible for users. - Added new svg icons for simulate. - changed Debugger Log to Debugger CLI.
6a0e3c39aPer Östlund- Updated swedish translation of OMC.
6528e5f99Willi Braun - #2911 fixed. replace also comma in a generated variable
012006740Willi Braun - fix some typos in fmi
1975f0e79Niklas Worschechfix for assign array in cpp template
408678069Adrian Pop- fix bug #2899 - partial fix for bug #2484 (still needs some work on dae declaring complex components, i.e. connectors inside expandable connector)
9ee276449Adrian 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
96b97c795Adrian Pop- fix FMI crashes?
ee0b6b9b8Adrian Pop- don't go searching where you shouldn't
ccaa86a14Henning KielFree allocated memory again.
3806e270dAdrian Pop- attempt to fix SimulationRuntime/cpp compilation on Win MSVC, target runtimeCPPmsvcinstall
019ae0028Willi Braun#2840 - added assertion handling to fmi1 and fmi2 export
9894e2c81Martin Sjölund#2898 ComplianceSuite should no longer need to delete classes
4a763fb24Per ÖstlundFix for #2898: - Made the compiler less sensitive to errors in unused models.
9fd6a90cfAdeel Asghar- Updated the crash reports post link.
bf3ee01f0Adeel Asghar- copy search browser action in Edit browser
fda29e5b6Adeel Asghar- Removed unnecessary code.
f8c00794aAdeel Asghar- Removed the test code.
df7c541b3Adeel Asghar- fix include headers
cd1a62c93OpenModelica Hudson[Janitor mode] Set auto-props
b38641522Adeel Asghar#2865 + Added new crash reports dialog. + Posts the log files via http. - Removed the old crash reports email.
9b26ab20dJan SilarPDE extension modifying mostly full extnsion doc.
5568f743eMartin Sjölund#2889 Fix for r22769 accidentally reverting r22763
a327ab48fMartin Sjölund#2897 Implement continue statements in MetaModelica
b33cd4c69OpenModelica Hudson[Janitor mode] Fix whitespace
bbab77eb4Vitalij Rugeimproved r22777
f9f64b54eOpenModelica Hudson[Janitor mode] Fix whitespace
9c278624dVitalij Rugeadded some rules for simplification of residuals e.g. sqrt(f(x)) = 0 -> f(x) = 0, exp(x) - exp(y) = 0 -> x-y = 0
3bca16ee7Willi Braun - fix FMU makefile, to be able build a fmu just with the source directory.
447047ce3OpenModelica Hudson[Janitor mode] Fix whitespace
e963b0287Willi Braun#2888 - fix for #2888
9fedfd520OpenModelica Hudson[Janitor mode] Fix whitespace
c1aaa75dcMarcus 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
7cdd71f3bMartin Sjölund#2897 Replace continue with cont (preparation for continue becoming a keyword)
ada0fdc17Lennart Ochel- revert r22764 (and r22765), since it breaks the bootstrapped stuff
6a2360f76Martin Sjölund#2896 Fix simplify asub when `array` types are involved
f118ef0bcLennart Ochel- Update unit check module - Use of Hash Tables instead of lists - Minor fixes (e.g. messages)
6eb97b4adMartin Sjölund#2889 Save default binding of SimCode.FUNCTION_PTR
3d22103a4Martin Sjölund#2890 Sort record declarations before generating code
71acece90Martin Sjölund#2885 Allow function partial application to be used as general expressions (MetaModelica only)
25fb0533eMartin SjölundFix parser for gcc
52ad96845Martin 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)
bc9f9ad92OpenModelica Hudson[Janitor mode] Fix whitespace
4a29dfab7Mahder Alemseged Gebremedhin+ clustering support for the dynamic scheduler. Have been sitting on it for a while. + Some more minor fixes and timing informations.
5be18078eOpenModelica Hudson[Janitor mode] Fix whitespace
34f2e23bdMahder Alemseged Gebremedhin- Update task system dumping and reading of linear and non-linear systems.
c8f36f737Vitalij Rugesome fixes from static analysis
67ae81948OpenModelica Hudson[Janitor mode] Fix whitespace
188e8a413Niklas Worschechfix for const vars in cpp template
67f933519OpenModelica Hudson[Janitor mode] Fix whitespace
997af4edfNiklas Worschechadded string array to cpp runtime
8a93f33b3Jan SilarPDE extension Introducing changes after consulting with Peter into docs
f1c754b46Vitalij Rugeimproved solver rule for pow(f(x),y) = g(z) => f(x) = h(pre(x))*pow(g(z),1/y)
c03053603Vitalij Rugeadded rule for abs(-x) = abs(x) and pow(-x,2) = pow(x,2)
bd55949f6OpenModelica Hudson[Janitor mode] Fix whitespace
8391b5fc6Vitalij Rugesplit some function inside dyn. optimization
8caa26078Vitalij Rugefixed assert handling in dyn. optimization, thanks Willi
2402f4c8bPer Östlund- Made clang happier.
e29ce8cccMartin SjölundAdd tail recursion for NORETCALL in match-expressions
8f7a98399Niklas Worschechfix for fill array in cpp template
4d06274f8Lennart Ochel- separate Simcode from BackEnd
775458840Adeel Asghar- Fixed wrong documentation example.
10a3b864bAdeel Asghar- Show device error if file open fails.
4475b4c74Martin SjölundHandle connections of subtype of basic (Real)
fe688a6e2Per Östlund- Reverted part of r22716, fix wasn't good enough.
a4c55be82OpenModelica Hudson[Janitor mode] Fix whitespace
09965cd75Per Ö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.
273e2e5bfMartin SjölundHandle arrays of mixed Integer and subtype of basic type (Real)
babae436bJan SilarPDE extension Documenting simplified version
914b9fba6Martin SjölundFix simplify `{a,b,c}*0.0`→`{0.0,0.0,0.0}` instead of `0.0`
20601e0ecMartin SjölundUse --version for for checkSettings since -v is verbose in clang
63834ee94Martin SjölundSimplify `vector()` expressions
4723729ffPer ÖstlundFix for #2879: - Better implementation of r22703. - Also handles multiline strings in comments.
bf0ffe219Per ÖstlundFix for #2879: - Fixed Absyn, SCode and DAE dumping of multiline comments.
a5b51b637Martin Sjölund#2873 Implemented for-loop for MM arrays
df3fc54f0Martin Sjölund#2318 Use `_` instead of `{}` in lhs of equations
f64b0b10cMartin SjölundFix #2695, add testcase
6c91ee96cOpenModelica Hudson[Janitor mode] Fix whitespace
24a9ea525Volker Waurich- some optimization for partlintornsystem to get less equations
978e2327eMartin Sjölund1.9.1 beta4 was released
1c98030acOpenModelica Hudson[Janitor mode] Fix whitespace
183116553Mahder Alemseged Gebremedhin+ Improve r22851. Fix 2452. + Proper counting of algorithm section outputs. Make sure we don't count sections from array components multiple times.
dd53ee410Martin SjölundKeep flattening operation for array equations
61f7c21fbVolker Waurich- moved partlintornsystem to the post-opt-modules
0a904feacNiklas Worschechexpected output
e6f2e7651OpenModelica Hudson[Janitor mode] Fix whitespace
d346797e5OpenModelica Hudson[Janitor mode] Fix whitespace
62abd92c2Volker Waurich- fix for partlintornsystem
a1d9f8a81Martin Flehmig* Begin of MPI parallelization in HPCOM module.
6cfb6f53cAdrian PopFix bug: #2853 - more careful reverse lookup for functions
9084d05aeAdrian Pop- back to 1.9.1+dev
40487f5a6Adrian Pop- update version to 1.9.1Beta4.
9615d45cdAdrian PopFix bug #2871 - as the new env has references and destructive updates we need to clone it when returning it in Builtin.intialGraph
da5f75346Vitalij Rugesmall changes for expAdd and expDiv
79e29af15Adeel Asghar#2872 - Added getErrorString after every command except quit().
e98009ce3Vitalij Ruge remove workaround inside equationToScalarResidualForm
126e98546Adeel Asghar#2872 - Created a new file omeditcommands.mos
6e4eecc6aVitalij Rugefixed BackendEquation.solveEquation for RESIDUAL_EQUATION
6f34b0ef9Volker Waurich- add functionpath to parameter crefs in function calls to get unique parameter crefs, only for CPP runtime
38a1dffc1OpenModelica Hudson[Janitor mode] Fix whitespace
8239c18e0Vitalij 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
5e59cebf5OpenModelica Hudson[Janitor mode] Fix whitespace
21de29f1eNiklas Worschechfix in kinsol of cpp runtime for kinsol vectors
880e77247OpenModelica Hudson[Janitor mode] Fix whitespace
45e92f338Lennart 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)
0f55ac756Marcus Walther- disabled parallel write output to fix clang tests
6ad1c0dffMarcus Walther- fixed log and parallel writeOutput - parallel writeOutput is now enabled if boost::threads are found
842508659OpenModelica Hudson[Janitor mode] Fix whitespace
e7c9fd3adLennart Ochel- enable tearing for all systems
2d59380c4Niklas Worschechfix for tmp vars in cpp template
4ed0e6721Adrian Pop- back to 1.9.1+dev
14e6bd832Adrian Pop- update version to 1.9.1Beta3.
b279e11d6Adrian Pop- forgot some bad lines in there.
4e3b1498fAdrian 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
e72eef49aAdeel Asghar#2865 - Fixed the paths used in email.
86489508aMarcus Walther- small msvc fix for hpcom code based on openmp
4c66278c1Volker Waurich- moved reshuffling of systems of equations from Tearing.mo to ResolveLoops.mo, added post-opt module for this
37dfab03bVolker Waurich- remove resolveLoopsInCOmps from BackendDAEOptimize.mo
a29949742Vitalij Rugeadded rule atan2(0,x) = 0
eaa9d77b3Martin Sjölund#2862 - testing performance of not replacing `size(exp, 1)` with a non-constant expressions
b6301f4e3Martin SjölundFail at once if encapsulateWhenConditions fails. Print more error-messages on opt-module failures.
3d1405e9aMartin SjölundAdd line numbers to error-messages from RemoveSimpleEquations
65a1588d1Volker Waurich- comment out columark and mark in Tearing.tearingBFS
3f0ccddf8Volker Waurich- rewritten HpcOmTaskGraph.updateContinuousEntriesInList
736144a97Adeel Asghar- Don't check the components list when making decision about default annotation.
181b5d0e2Adrian 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)
f1d702dd7Martin SjölundHandle array-reductions with more than one dimension (as long as the inner dimensions have known sizes)
f04d176bfAdrian 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
6d432deb0Adeel Asghar#2792 - Don't allow movement of complete connection lines through mouse or keyboard.
1808e4601Martin SjölundPrint an error in the template instead of when compiling code
4e965d2b6Martin SjölundChange array_alloc_x_array to take `array_t` as input instead of `array_t*` (solves codegen issues for MSL trunk)
56b8c1556Martin SjölundSwitch the default flag for evalConstFuncs to true (`+d=noevalConstFuncs` now disables instead of `+d=evalConstFuncs` disabling (logic error))
b3bcf473eAdrian 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)
1290f9c63Adrian 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
b4d050d5bAdrian Pop- all MSL 3.2.1 now compiles - add the previously failing tests to the testsuite
6a8a8d852Jan SilarPDE extension Documenting simplified version
dd8afe7c9OpenModelica Hudson[Janitor mode] Fix whitespace
223969c9bMahder Alemseged GebremedhinFix #2452. Improve #2271 (and also #2112 maybe ?). Counting of algorithm section equation outputs involving arrays and records.
d42a6c3aeMartin 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.)'''''
41caac0bdMartin 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.
391e2eadcMartin SjölundDo not create a version scope for operator records
f57950343OpenModelica Hudson[Janitor mode] Fix whitespace
112569e1cRuediger Kampfmann-vxworks include
cedb83fdfRuediger Kampfmann-vxworks includes
5105e612fRuediger Kampfmann-vxworks includes
23d9d2daeRuediger Kampfmann-vxworks includes
de977fb38Ruediger Kampfmann-vxworks includes
030bc8d7dRuediger Kampfmann-vxworks includes
cb95afc03Ruediger Kampfmann-vxworks includes
bda162335Ruediger Kampfmann-vxworks includes
1f1710e19Ruediger Kampfmann-vxworks includes
0a007820dOpenModelica Hudson[Janitor mode] Fix whitespace
681310569Ruediger Kampfmann-vxworks includes
4989ebfe6Ruediger Kampfmann-vxworks includes
203f1ccd3Ruediger Kampfmann-vxworks includes
2ac436ea2Ruediger Kampfmann-vxworks includes
c28fb95b2OpenModelica Hudson[Janitor mode] Fix whitespace
853e5c275Ruediger Kampfmann-vxworks includes
b0fa405d4OpenModelica Hudson[Janitor mode] Fix whitespace
2e1cd0039Ruediger Kampfmann-vxworks includes
cd4b84000Ruediger Kampfmann-vxworks includes
352ad7636Volker Waurich- extend shuffling for torn systems
1b5b0b3e0Lennart Ochel- **workaround**: generate dummy attributes, since symbolic jacobians break generated c-code
ba20d9ab0OpenModelica Hudson[Janitor mode] Fix whitespace
ff45d32c5Lennart Ochel- provide additional information (nominal, min, max) for **linear** systems
34e26cc22Bernhard ThieleDifferent handling for "outer" variables if declared in a State Machine state instance
b9cb34e0aLennart Ochel- **ugly** fix for initialization of symbolic jacobians - add test for #2673
63abd6d0bMartin SjölundInclude the time taken to run each mos-script for debugging
cb8e7f88eOpenModelica Hudson[Janitor mode] Fix whitespace
47bcf276eAdrian Pop- hopefully properly silence the coding style.
2d25e014eVitalij Rugeupdate tests
1d605b23cAdrian Pop- silence the coding style.
1db8c0391Vitalij Ruge- update ipopt settings - update tests - added a flag for dyn. optimization for warm start - added test
aacc16cb2Volker Waurich- the hpcom GRS doesnt need so many iterations as before
2b970b673Martin SjölundAdd new option `readSimulationResultVars(readParameters=false)`, and use this for the reference file comparison
c4fbafd1aOpenModelica Hudson[Janitor mode] Fix whitespace
7502ca142Lennart 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
517958946Martin SjölundReset the alarm before the call to buildModel
215683e0fMartin SjölundNote about config
566b709e7OpenModelica Hudson[Janitor mode] Fix whitespace
e8f42564bMarcus 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
4407c7e8bLennart Ochel- fix fmi stuff
e8db5f148OpenModelica Hudson[Janitor mode] Fix whitespace
8b0f30e49OpenModelica Hudson[Janitor mode] Fix whitespace
8f3b64b0eLennart Ochel- fix non-linear system solver for iteration variables with bounded attributes (#2841)
7d61c46edRuediger Kampfmann-removed boost bind
492ea2d0fAdrian Pop- switch colors in trend plots (blue for compilation and green for simulation) to be more visible.
d5469bb95Lennart Ochel- make some dumps and record names less confusing
ed133b8eaAdrian 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
61e34ace9OpenModelica Hudson[Janitor mode] Fix whitespace
6eb5a8bdeOpenModelica Hudson[Janitor mode] Set auto-props
338b60a69Niklas Worschechchanged math library to shared library
1287830a2Niklas Worschech missing modified CodegenCpp.mo file
99742351cOpenModelica Hudson[Janitor mode] Fix whitespace
78d78b81fOpenModelica Hudson[Janitor mode] Fix whitespace
3e12519e6Ruediger Kampfmann-removed boost bind
bc86917b7Ruediger Kampfmann-removed boost bind
6aea557baLennart Ochel- improve +d=backenddaeinfo - show backendaeinfo for initial system - dump dae kind
377b9e2d5Ruediger Kampfmann-removed boost bind
4214eeb47Martin SjölundFMI 2.0 spec uses the horrible name darwin64 for the binary location of x86 code... Whatever.
e426d9050Martin Sjölund#2761 Add testcase for System2.mo from Buildings (used to generate a seg.fault)
e2f0debb4Adrian Pop- don't use System.gettext for Modelica constructs
070507520Adrian PopMerged branches/FFrontEnd into trunk/
2a3e9ebb5Adrian PopFix bug #2851 - handle named arguments for homotopy
3e6692efaMartin SjölundFix code generation for simulation executables (broken by r22482)
a9813ab1eMartin SjölundMake protected functions static in the generated code
e09b5f74eOpenModelica Hudson[Janitor mode] Fix whitespace
1f43726f8Niklas Worschechfix for typo in cpp template
d7e5c54a8Lennart 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
019c02aecMartin SjölundFix bibtex database
deeba0a3eBruno ScaglioniUpdated bibliography
41e2892a9OpenModelica Hudson[Janitor mode] Fix whitespace
535b5f285Niklas Worschechfix in array operations sum_array and dot_array
fc738ceccOpenModelica Hudson[Janitor mode] Fix whitespace
2c13e06dbRuediger Kampfmann-some changes in divide_array
7d936167cOpenModelica Hudson[Janitor mode] Fix whitespace
5f2e6abccRuediger Kampfmann-some changes in divide_array
838c7ea12Adrian PopFix bug #2837 - properly handle array equations in RemoveSimpleEquations.mo
82b1afbadOpenModelica Hudson[Janitor mode] Fix whitespace
451f9c622Ruediger Kampfmann- some improvements concerning array.h
29a894352Ruediger Kampfmann- some improvements concerning array.h
41f185b64Ruediger Kampfmann- some improvements concerning array.h
31835f52eLennart Ochel- fix indentation
73b078662OpenModelica Hudson[Janitor mode] Fix whitespace
65a2be73fRuediger Kampfmann-changed removed a senseless copy in the end of functions
935d23648Martin Sjölund#2832 Propagate annotations into DAE.EXTOBJCLASS
bde9d5975Martin Sjölund#2817 Handle unknown dimensions better when initializing a function variable from a binding
1704d24e4OpenModelica Hudson[Janitor mode] Fix whitespace
e8b466d47Ruediger Kampfmann- changed initialization of parameters in functions
4d007c662OpenModelica Hudson[Janitor mode] Fix whitespace
ea005e73fVolker Waurich- get thick lines in graphML output for solvable edges and thin lines for nonsolvable edges
fc23d1648Marcus Walther- fixed msvc build
e4a3ac81fMartin SjölundTail recursive filter1OnTrueSync_tail
cbc75e602OpenModelica Hudson[Janitor mode] Fix whitespace
a814f4ac0Marcus Walther- splitted the writeOutput-function to speed-up complile time a little bit - activated papi in cmake
1c72b31caOpenModelica Hudson[Janitor mode] Fix whitespace
4f8d431edVolker Waurich- added experimental functions to manipulate systems of equations (work in progress)
ccd5f2fb9Marcus Walther- fixed my previous commit
31f9503c4OpenModelica Hudson[Janitor mode] Fix whitespace
4f656e742Marcus Walther- optimized parallel write output - added profiling points for the write output functionality - added profiling based on papi counters to the cpp-runtime
487c23dbeMartin SjölundFix the type of list/listReverse comprehensions with multiple iterators
6c7ffee60Per Östlund- Fixed dependency analysis for classes redeclared multiple times.
ccbfa8130Marcus Walther- fixed hpcom
2f976ad68Per ÖstlundFix for #2834: - Don't print out builtin attributes in type mismatch errors, they just make the errors harder to read.
7c0e1744eJan SilarPDE extension experimental solver string with algebraic variables fixed
c612384b6Per ÖstlundFix for #2836: - Handle builtin types better in NFSCodeDependency.
c6d215bddOpenModelica Hudson[Janitor mode] Fix whitespace
4d4ba627eVolker 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
f1353a1c7Vitalij Rugesome fixes from static analysis
351ba91ebAdeel Asghar#2767 - If fmi2Terminate is called and then fmi2Reset is called then reinitialize the data.
1935535d1Adeel Asghar#2764, #2765 - Added the InitialUnknows section in modelDescription.xml
360abbc4eAdeel Asghar#2765 - Use StartString2 instead of initValXml.
fbc604ac9OpenModelica Hudson[Janitor mode] Fix whitespace
c2e5686b5Vitalij Ruge#2833 fixed - added solver rules for e.g g(.) + f(.)/h(.,x) = 0.0 - improved rule for x^r = x^(1/r)
898ec0055Lennart Ochel- update unused interactive stuff
10f0ca8d9Lennart Ochel- improve #2614
db42c3198Marcus Walther- temporarily disabled colord jacobian
0dbd5bedeWilli Braun - deactivate dae dumps for symbolic jacobians
c717716fbNiklas Worschechfix in dot array of cpp runtime
9f2caf5ebVolker Waurich- added flag to set tolerance for reshuffle algorithm +reshuffle=0/1/2/3
cfa38aae5Adeel Asghar#2767 - Fixed fmi2GetDerivatives & getReal. - Added LogCategories to modelDescription.xml
74ba08cc3Lennart Ochel- unfix #2830
d899f94a5OpenModelica Hudson[Janitor mode] Fix whitespace
991c2be7cNiklas Worschechadded terminate function to cpp tempalte
f8f5b0e01Jan SilarPDE extension experimental solver working on algebraic variables
6795340c4Volker Waurich- added some functions to benchmark exeCosts for tasks in HpcOmSimCodeMain.mo
61d069a2cOpenModelica Hudson[Janitor mode] Fix whitespace
6e54882feMarcus Walther- tabified precompiled header file - made measure time functionality available for windows (mingw) - FORCE_INLINE is now defined for gcc and msvc
269a95a69Vitalij Ruge- remove cot,coth rulse // not exist in Modelica // thanks Martin - added some rules for e.g. sin/tan, sinh/tanh
d03b6e89bLennart Ochel- fix #2830
b739f823bMartin SjölundFix errorneous message for `String(format=...)` and expected output
e470e7f0eOpenModelica Hudson[Janitor mode] Fix whitespace
bec64d29aMartin Sjölund#2829 Print errors for missing arguments
d5497ec15Volker Waurich- removed print message
721d03a05Marcus Walther- splitted the getInt-Function - fixed HPCOM of CPP-Runtime
0bbf7dab8Marcus Walther- improved error handling - reactivated colored jacobian
b7d6d38f9OpenModelica Hudson[Janitor mode] Fix whitespace
b42e0c23cVolker Waurich- added variability to record constructors
a25546391Olena Rogovchenkoblockcall update
e46df41c5OpenModelica Hudson[Janitor mode] Fix whitespace
aa6621ccbVitalij Rugeadded rules for sinh,cosh,tanh,coth
d3891372aOpenModelica Hudson[Janitor mode] Fix whitespace
3475fc4a3Vitalij Rugeadded rules for sin, cos, tan, cot
76e345f0cAdrian Pop- don't expect that functions with the same name in different scopes are recursive extends! - fixes a model that Francesco is working on.
30c98d3d4Jan SilarPDE extension experimental string model finished, arterial model started
77735d58fMahder Alemseged GebremedhinCreate correct array types for complex type using the prefix dim info.
3d6fa3455OpenModelica Hudson[Janitor mode] Fix whitespace
30463bda5Adrian Pop- fix typo in r22359
455a00321Niklas Worschechfix for some modelica internal functions in cpp template
9a3a2cb7eOpenModelica Hudson[Janitor mode] Fix whitespace
8af57bb07Martin SjölundFixes compilation
162383d8aOlena Rogovchenkoblock call prototype
a8a35a4c2Martin Sjölund#2801 Propagate visibility to DAE.FUNCTION
701dc333bOpenModelica Hudson[Janitor mode] Fix whitespace
254816c01Olena Rogovchenkoblock call prototype
6ee8e5f06Olena Rogovchenkoblock call prototype
295dd47a3Martin Sjölund#2823 Speed up replaceLiteralExp for large lists
49c391b78Martin Sjölund#2827 Handle more MM types in code generation
fde96ad72Martin SjölundRML crap
69c7dea53Martin Sjölund#2824 - Create new internal foldName and resultName when simplifying reductions with multiple iterators
4b7f24ec7Niklas Worschechdeactivated call CVDlsSetDenseJacFn in CVode.cpp
b95409cbeMartin 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
5b149a666Martin 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
ddff833fcVitalij Rugesome fixes from static analysis
655b3c7f3Vitalij Rugekeep extrapolate inputs inside bounds
37e475349OpenModelica Hudson[Janitor mode] Fix whitespace
889850611Vitalij Rugefixed output from dyn. optimization
238eaef46Niklas Worschechremoved includes in CVode.h
1e7f61b64OpenModelica Hudson[Janitor mode] Fix whitespace
345482ccbJan SilarPDE extension experimental string model
4a4b64982Niklas Worschechtry to fix compiler error for CV_JCallback
3df8e4555Martin SjölundClean omc_communication.*
35a3c9408Martin SjölundClean omc_communication.*
3db3d3362Martin Sjölund#2822 Also consider derived functions when looking for function to compile
19eead66fMartin 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
9ef6f32b8OpenModelica Hudson[Janitor mode] Fix whitespace
c924d55c5Willi Braun - fixes for FMI dependencies calculation
5c5fbfac9Vitalij Rugefixed discrete vars and events in dyn. optimization
5f4bd3e1eOpenModelica Hudson[Janitor mode] Fix whitespace
3f57eed2bLennart 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
0f312a9b0Per Östlund- Made Types.matchTypes tail recursive. - Made Static.elabBuiltinTransition3 not fail.
2bd62ee2fOpenModelica Hudson[Janitor mode] Fix whitespace
47cd2a56dNiklas Worschechfix in cvode for write output
afc187003Per Östlund- More listFirst -> listHead.
c362bfdeePer Östlund- Fixed bootstrapping implementation of listHead/listRest so that they fail on empty lists instead of segfaulting (and are named correctly...).
9b8372928Adrian Pop- coding style utf-8 without bom use (C) instead of the Copyright sign
26f1abe1aOpenModelica Hudson[Janitor mode] Fix whitespace
48acc4b9cBernhard 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.
27b0b0007Adeel Asghar- Updated to FMI 2.0 files.
474c547e7OpenModelica Hudson[Janitor mode] Fix whitespace
a63c70008Vitalij Rugefixed -lv LOG_IPOPT_ERROR for final cosntarints
77ef91366Vitalij Rugesome fixes from static analysis
9a91e9175Adrian Pop- fix bootstrapping
edf4a5e1cWilli Braun - fix c compiler warning
2c4594f8cOpenModelica Hudson[Janitor mode] Fix whitespace
806b1625cWilli Braun#2764 - FMI: added dependecies feature for derivatives and outputs
be7ef973aAdeel Asghar#2818 - Copy the model's experiment annotation values to the generated FMU.
7f2db9f8fOpenModelica Hudson[Janitor mode] Fix whitespace
84a82e444Marcus Walther- optimized measureTime
821b3a507Martin 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
3c23445fbJan SilarPDE extension experimental code
dac1c9996OpenModelica Hudson[Janitor mode] Fix whitespace
dd75640eaMarcus 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
ef99e6ccdAdrian Pop- fix build
de3b0ee53Per Östlund- Removed dependency on List _tail-functions in Static.
b7a5aca2fMartin SjölundAdd support for threaded reductions using +g=MetaModelica
299cdd869OpenModelica Hudson[Janitor mode] Fix whitespace
4f516aa60Michael Kloeppeluse umfpack only for (very) sparse matrices fix umfpack test's Makefile
6afa020c1OpenModelica Hudson[Janitor mode] Fix whitespace
35a6f78c1Mahder 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.
eb2b3eb11Per Östlund- Implemented isNone/isSome in the bootstrapped compiler.
60336d023Adeel Asghar- Use the simulation arguments when debugging. - Use monospaced font for output and logs.
0d3b421d6Martin Sjölund#2813 Allocate temporary variable used by the for statement *before* generating the body statements (prevents re-use of indexes)
f47b4c817Volker Waurich- fix in EvaluateFunctions.mo for empty tuple type in CallAttributes
19061898bOpenModelica Hudson[Janitor mode] Fix whitespace
a24658baaNiklas Worschechfix for int_max in cpp template
8a7f3086cVolker Waurich- fix for getEventTaskGraph
65ff40cd4Martin SjölundFix reinit of subscripted crefs
475bb7fdfMartin SjölundGenerate notifications for invalid typespecs like `list` already during the Absyn to SCode phase
ebcf936c0Adeel Asghar- Added support for conditional breakpoints.
2a5304427Per Östlund- C99 issues.
f53eacf38Per Östlund- Updated OM for FMIL 2.0.
7c6524178Martin 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
936e526b3OpenModelica Hudson[Janitor mode] Fix whitespace
21563c0b0Vitalij Rugeimproved DynamicOptimization.mo
7e792af76Marcus Walther- disabled always_inline attribute, to fix msvc build
3b96e94b7Adeel Asghar- Keep arrayLength static inline. Gives performance. - New function for debugger mmc_gdb_arrayLength. - Use the new function in OMEdit.
ac3a54883Adeel Asghar- Set display C & unknown frames enabled by default.
364e40a87Adeel Asghar- Do not make the arrayLength function static inline.
2e7480a0eOpenModelica Hudson[Janitor mode] Fix whitespace
6a970489aNiklas Worschechfix for copy pdb files of cpp runtime
ea172c4b4Martin Sjölund#2811 Allow iterating over lists in for statements
13d19e020Marcus Walther- SimCodeTV.mo was not merged correctly
64fb00309OpenModelica Hudson[Janitor mode] Fix whitespace
57bfe738fMarcus Walther- redo changes of rev22212, but this time without circular dependency
5543876ffMartin Sjölund#2810 fix segmentation faults on case guards
302a6072eOpenModelica Hudson[Janitor mode] Fix whitespace
851e633caVitalij Rugefixed hessian in dyn. optimization
182b7a9a5Niklas Worschechfix for append array in cpp runtime
bc7c422daAdeel Asghar- Allow adding ignore count property for breakpoints. - Handles the -break-after command of gdb.
00f6b4034Martin Sjölund#2786 - Fix code generation for multiple iterators (threaded) - Ceval constant function calls in the front-end
63840b582Niklas Worschechdeactivated colored Jacobian in cvode
700695c28Martin SjölundRevert to r22211
b6cdd978eOpenModelica Hudson[Janitor mode] Fix whitespace
9f41cd4a6Marcus Walther- improved levelfix-scheduler of HPCOM - improved measureTime-functionality of cpp-runtime
8ad1c8e9bPer Östlund- Reverted accidental commit of wrong file.
aa7fea92dPer Östlund- Even more fixes.
90495a60aPer Östlund- And some more fixes.
08e94269aPer Östlund- More fixes.
8403fa8bcPer Östlund- Some more fixes for r22200.
00cda5940Adrian Pop- fix grep and replace from r22200
2ecb6b825Adeel Asghar- Open debugger backtrace in text editor.
88447259bAdeel Asghar- Delete global QSettings object when application quits.
4b091f598OpenModelica Hudson[Janitor mode] Fix whitespace
bbc2331dcPer Östlund- Reverted (mostly) the previous commit due to RML grumpiness.
d276a6d45Per Östlund- Fixed builtin listEmpty and replaced List.isEmpty with it.
b6136b9aaVolker Waurich- added attr varKind to SimCode.Variable - some debug print functions
c6dfea856Per ÖstlundFix for #2806: - Remove input/output also from record components that are not top-level.
d54087515Adrian Pop- fix bootstrapping
4ba144b3fVitalij Rugeimproved scaling of goal function in dyn. optimization
bd3428160Adeel 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.
f0d5948daAdeel Asghar- New options to clear the debugger output & log windows on new run. - Use the UTF-8 for settings object throughout the application.
4d1024b77Adrian Pop- proper MetaModelica (RML) fix (RML doesn't like things thaat start with "_": _complexity)
102855e68Adrian Pop- fix MetaModelica (RML) compilation
a7c0893c6Adeel Asghar- Add -g to CFLAGS if +d=gendebugsymbols is set.
87e118ff5OpenModelica Hudson[Janitor mode] Fix whitespace
16759baf5Niklas WorschechActivated colored Jacobian in cvode
ad491c9d2Martin Sjölund#2800 - Rewrote traverseExp and traverseExpTopDown to take a function with 2 inputs and outputs instead of using tuples
5e5591c15Willi Braun#2808 - fixed #2808
23d4ef9e1OpenModelica Hudson[Janitor mode] Fix whitespace
fe0711521Per Ö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.
2845735f0Per ÖstlundFix for #2806: - Remove input/output from variables which are not at top-level or inside a top-level connector.
198e349c1Volker Waurich- fix simpleResistor test
ad3a5bde8Volker Waurich- rewritten HpcOmTaskGraph.cutTaskGraph
fdc7cda15Marcus Walther- fixed RML build
5882315d0OpenModelica Hudson[Janitor mode] Fix whitespace
07ad137d7Marcus Walther- added var indices to hpcom-communication-object
a982de4ebOpenModelica Hudson[Janitor mode] Fix whitespace
c987ace0fVitalij Ruge- fixed start-values in dyn. optimization - added test
41534e650OpenModelica Hudson[Janitor mode] Fix whitespace
9eba35835Niklas Worschechexpexted output, fix for min max function in cpp runtime
582fe6849OpenModelica Hudson[Janitor mode] Fix whitespace
28ce7eea0Mahder 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.
905362dd0Marcus Walther- fixed measureTime in CPP-Runtime
a091d5a4dMichael Kloeppelfix umfpack issues under windows
188060622Marcus Walther- fixed RML-build
c23611b74OpenModelica Hudson[Janitor mode] Fix whitespace
fcc7fbb1fMarcus Walther- removed ASSIGNLOCKTASK and RELEASELOCKTASK and added a new Structure called DEPTASK
821909b14Marcus Walther- removed deinitialization of measure time
b35e62d70OpenModelica Hudson[Janitor mode] Fix whitespace
a1813b01fNiklas Worschechfix for sum array in cpp template, reverted cvode changes for colored jacobian
baa065430OpenModelica Hudson[Janitor mode] Fix whitespace
e16a51947Marcus Walther- fixed segfault in measureTime
f0103e786OpenModelica Hudson[Janitor mode] Fix whitespace
ca69856b5Niklas Worschechfix for dot and div array in cpp tempalte.Colored Jacobian in cvode of cpp runtime
d9329e372Bernhard ThieleAdded clock constant in dispatch for Expression.traverseExpTopDown1
52a577ba6OpenModelica Hudson[Janitor mode] Fix whitespace
f61e67157Niklas Worschechfix for promote and transpose array in cpp template
1dc963914Vitalij Rugeadded a warning in dyn. optimization
3fa198cdcVitalij Rugefixed 22127
d78dc7d3fVitalij Ruge- added protype interface for external state estimation data //important for nmpc loops - fixed final constraints
060ef56c9Jan SilarPDE extension Experimental code for advection eq
2a078d6a2Lennart Ochel- fix sub-clock partitioning (sub-clock indices were twisted due to a wrong listReverse)
1eb13ccd1Lennart Ochel- conform the buttons to the quit-message of OMShell
62cee526bLennart Ochel- conform the buttons to the quit-message of OMShell
bb6001590Vitalij Rugeimproved derivatives for arctan2 and r^x
f85cb1c05Adeel Asghar#2797 - Handle the Dialog annotation groupImage attribute.
046efec7cAdeel Asghar- Enable/disable the input field of the parameter based on dialog annotation.
39206fcd2OpenModelica Hudson[Janitor mode] Fix whitespace
b34f41cf3Marcus Walther- dump graph to graphml can now be influenced with GraphDumpOptions
a6244e3e9Lennart Ochel- conform the buttons to the quit-message of OMNotebook
2e7834b41Vitalij Ruge- fixed r22109
ff2ea6887Vitalij Ruge- fixed cmake
5d4efc6c6Michael Kloeppelfix msvc build
344af77aaOpenModelica Hudson[Janitor mode] Fix whitespace
aa0ccf9d3Vitalij 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
59dee8ddfOpenModelica Hudson[Janitor mode] Fix whitespace
08750ba17Niklas Worschechfix for cat array function in cpp template
df6c40813Bernhard ThieleCleaned up code
3e89aea13Marcus Walther- fixed measure time linker error (GCC)
492f289d2Michael Kloeppelfix build
c4fb48576Michael Kloeppelfix build
c28f09961Michael Kloeppelumfpack related changes to Makefiles and CMake scripts
5867ce35cMarcus Walther- fixed clang build
d672ec9d9Marcus Walther- some more clang error fixes
fe5e6c28aMarcus Walther- fix clang build
bd015150eOpenModelica Hudson[Janitor mode] Fix whitespace
777ce4c02Marcus Walther- separated the communication variables of hpcom into int, float and bool
d7025f4d2OpenModelica Hudson[Janitor mode] Fix whitespace
9218d724bRuediger Kampfmann-fixed an error concerning colored Jacobians
970f5538aOpenModelica Hudson[Janitor mode] Fix whitespace
491439a27Ruediger Kampfmann-fixed an error concerning colored Jacobians
6022db6f9Ruediger Kampfmann-fixed an error concerning colored Jacobians
183696c86Adrian Pop- fix bootstrapping
ec7415ce7Bernhard ThieleImproved the elaboration of state machine operators
0674aabeeOpenModelica Hudson[Janitor mode] Fix whitespace
755749e14Ruediger Kampfmann- colored Jacobians
7de849d2ePer Östlund- Fixed CodegenCpp (no german characters please).
2b6ea0abeAdeel Asghar#2796 - Use UTF-8 so that HTML entities render correctly.
a8e227df0OpenModelica Hudson[Janitor mode] Fix whitespace
ed560c86fRuediger Kampfmann- colored Jacobians
04b92504cRuediger Kampfmann- colored Jacobians
ed0d9dbcbPer ÖstlundFix for #2793: - Hack to handle messed up cref types when checking subscript bounds for connects.
5bb2490c4OpenModelica Hudson[Janitor mode] Fix whitespace
a66c486e7Niklas Worschechfix for fill_array in cpp template
1c60034dfOpenModelica Hudson[Janitor mode] Fix whitespace
f4c5d09daPer ÖstlundFix for #2790: - Implemented type checking of array dimensions for array modifiers. - Fixed Types.getDimensionNth to work for all kinds of dimension configurations.
7b8fcc602Adrian Pop- fix bootstrapping
812fe69afOpenModelica Hudson[Janitor mode] Fix whitespace
7a145f490Vitalij Ruge- rewrite DynamicOptimization parts in BackEnd - create DynamicOptimization.mo - mv some parts inside DynamicOptimization.mo - added annotation marker for DynamicOptimization - update tests for DynamicOptimization
38a8d7f2aOpenModelica Hudson[Janitor mode] Fix whitespace
142c4e2f3Niklas Worschechchanged A matrix for linear systems to static array in cpp runtime
ad7669522Adrian 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.
23bb4be53Bernhard ThieleAdded state machine operators to front end
71fefdc9cMarcus Walther- fix for clang
212781ecaOpenModelica Hudson[Janitor mode] Fix whitespace
528a33b18Marcus Walther- separated umfpack-include from cflags
97b3a93adMarcus Walther- oeprator() defined for SparseMatrix-type
47ae17a12Niklas Worschechfix for precompiled header msvc build
cbaeb876dMarcus Walther- excluded precompiled header just for msvc build
a50644976Marcus Walther- deactivated precompiled header temporarily to fix msvc-build
ceb830c9fMichael Kloeppelcorrected umfpack-clean target in Makefile.common
02d1168eaMichael Kloeppelallows to compile umfpack in 3rdParty and use it in cpp-runtime only the LGPL version in 3rdParty is used
40d25e00cMarcus Walther- fixed realDiv mistake
cbd0b02fdOpenModelica Hudson[Janitor mode] Fix whitespace
8a876879dMarcus 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
73856dbefMartin 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).
45b0986b0Adeel Asghar- build antl3config.h for Makefile.common also. - Define ANTLR64.
17f5a8ddfAdeel Asghar- The openmodelica.org news rss feed link is changed.
dad861cc9Adeel Asghar- Breakpoints can only be added to saved files. - Updated the translation files.
fbbbf2ffcAdeel Asghar- Fix build.
bf0506ae3OpenModelica Hudson[Janitor mode] Set auto-props
5bdf0da90Adeel Asghar- Merged the debugger branch with the trunk. - Generate the GDB parser make files.
50ae6c5c2Adeel Asghar- Merged the debugger branch with the trunk. - Generate the GDB parser make files.
8e92d60a1OpenModelica Hudson[Janitor mode] Fix whitespace
beaf16057Per ÖstlundFix for #2789: - Restructured modifier handling to provide better error messages.
3cf1f11bdVitalij Ruge-updated and added new tests for the dyn. optimization
a3f75f01dJan SilarPDE extensin documentation Euler equations
6844d5bd6Marcus Walther- fixed Expression.isCrefListWithEqualIdents
4111c3128Niklas Worschechfix for add array function in cpp template
691b01e75Martin Sjölund#2791 Rewrite multiple iterators to nested reductions
f15686dc2Niklas Worschechadded accidentally removed function in cpp template
e48ee4f17Adeel Asghar- Handle the plot of two or more variables.
2ca1f03e1Ruediger Kampfmann-changed input parameter in division from std::string to const char*
7d063dfaaRuediger Kampfmann-changed input parameter in division from std::string to const char*
3838fccf8OpenModelica Hudson[Janitor mode] Fix whitespace
9170c0fa2Niklas Worschechadded append method to array class in cpp runtime.
7055590f1OpenModelica Hudson[Janitor mode] Fix whitespace
4234f3a95Ruediger Kampfmann-changed passing of structs from call by value to call by reference
14a206557Per Östlund- Removed duplicated cref<->path functions in Static.
000242bedOpenModelica Hudson[Janitor mode] Fix whitespace
7b41e8929Per Östlund- Slight optimization of elaboration of EnumToInteger.
b94cd80a9Lennart Ochel- revert r21963 and change the test from #2788
1854729e1Lennart Ochel- partially revert r21426 to fix #2788
c0579fbcbVitalij Rugeimproved guarding for if-exp
574188afeLennart Ochel- hide sub-clock partitioning information by default
864744f3aOpenModelica Hudson[Janitor mode] Fix whitespace
585c4de31Lennart Ochel- sub-clock partitioning (each equation gets assigned an sub-clock partition index)
15a8310b3Jim NutaroAdded linear system solver to sparse FMI, working on events
e66c1dd3cVitalij Rugefixed #2787
faed7a514Jan SilarPDEModelica extension proposal update
23faeaaa2Vitalij Rugefixed pre sim in optimization
95a4bfc57Martin SjölundAdd PDF link as the paper was requested many times via email
4585f5144Martin SjölundAdd some more publications to the database
7c10ecf09OpenModelica Hudson[Janitor mode] Fix whitespace
eeb534f07Per Östlund- Actual commit of stuff that should have been committed in r21937 (accidentally only committed testsuite in that commit).
7e83e3b0bMartin SjölundFix the elaborated result tuples sooner, so moving the last statement works
cca816ac5Martin 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)
63643f304Martin 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)
8fb864aa5Marcus Walther- changed "#include " to "#include "
518d93a9dMarcus Walther- changed "#include " to "#include "
49aaadd88Marcus 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
b7085cf8cOpenModelica Hudson[Janitor mode] Fix whitespace
8c1b40dceMarcus Walther- isCrefListWithEqualIdents - added to the expression-module, to check if a list of expressions uses the same cref-identifier
c29e1bad5Marcus Walther-rml fix
5795ae2deMartin SjölundFix configure script
0be828f33OpenModelica Hudson[Janitor mode] Fix whitespace
95d964bc8Marcus 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
08f4d8d97Martin 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)
b6d6d2912Vitalij Rugeadded simplify rule
9fcdb695fVitalij Rugeadded simplify rule
8062860d0OpenModelica Hudson[Janitor mode] Fix whitespace
4d64e3fcaVitalij Rugeadded solver rule
9ff5f64f5Vitalij Rugeadded some simplify rules
10ac602daOpenModelica Hudson[Janitor mode] Fix whitespace
ce76a7e78Ruediger Kampfmann-changed declaration of temp strings
cf4120a42Martin SjölundSkip compressing some unnecessary files in the tarball
004e15f89Adrian Pop- fix omc-bootstrapped target for Windows MinGW (still some issues with un-tarring of sources)
34c844135Marcus Walther- fixed build of ANALYZATION_MODE
5e06d6bd0Martin SjölundAdded some tail recursion for the connection trie graph (moves some variables around in equations, and some equations too)
f040d6415Niklas Worschechfix for some function calls in cpp template
59389f97eMarcus Walther- some changes in the measure_time functionality - fixed stack overflow of MCP-Scheduler
d9e41cc84Vitalij Rugesome fixes from static analysis
2b2468252Martin SjölundTail-recursive instArray2 for DIM_INTEGER (at the cost of moving some equations around)
c5a0fedcaMartin SjölundTail recursive getMemberOnTrue
4f8d37dffMartin SjölundFix some tail recursion
2c2f5671cMartin SjölundImprove the error-messages for domain errors like `log(<0)` (make it part of the messages using the XML output)
c3e9a9662Marcus Walther- fixed i386 compilation of RDTSC
c61fb7afeMartin SjölundBootstrapping fixes
d2101dee9Niklas Worschechadded flag for use threads in cpp runtime
1a14a33fbOpenModelica Hudson[Janitor mode] Fix whitespace
e25466d39Marcus Walther- added profiling-support to cpp-runtime - fixed deadlock in hpcom-cpp simulation runs
c00fd0741OpenModelica Hudson[Janitor mode] Fix whitespace
d26ed5e43Jim NutaroMore work on the Sparse FMI back-end
e71ac1947Niklas Worschechrevert unfortunately check in cmake file
f69795357Niklas Worschechfix for function signature with no arguments in cpp template
7f9a89154OpenModelica Hudson[Janitor mode] Fix whitespace
75843b5dcNiklas Worschechfix for function output type in cpp template.
2fffcd458OpenModelica Hudson[Janitor mode] Fix whitespace
77960f409Niklas Worschechchanged datatype in TextFileWriter and MatFileWriter of cpp runtime
431bc1644Ruediger Kampfmann-changed functions from call by value to call by reference
26f9d7d71OpenModelica Hudson[Janitor mode] Fix whitespace
6b6993dceRuediger Kampfmann-exchanged some for loops with std:copy
30b499121OpenModelica Hudson[Janitor mode] Fix whitespace
9574839fbRuediger Kampfmann-changed functions from call by value to call by reference
f77677a0dRuediger Kampfmann-removed assign(0.0)
dad8e948dOpenModelica Hudson[Janitor mode] Fix whitespace
0fbe9568dNiklas Worschechchanged array type in function arguments to BaseArray in cpp template
e242b0408Marcus Walther- destructors of array-classes are now virtual - hpcom cpp-codegeneration is now generating the new array classes
7a66c38adMarcus Walther- fixed state selection bug
d9f1b3513Niklas Worschechfix in stateselection getAMatrix in cpp template
f736ef7f5Marcus Walther-fix rml-build
a69ec4c00Marcus Walther- rml-fix
511b2596cOpenModelica Hudson[Janitor mode] Fix whitespace
40f0496ddMarcus Walther- fixed hpcom-cpp-runtime integration - removed some spelling mistakes in CPP-Template - some array unrolling improvements for hpcom
d562959fcOpenModelica Hudson[Janitor mode] Fix whitespace
f9d96f635Niklas Worschechtemporary removed unused array classes
15bae9b30Ruediger Kampfmannsome errors fixed
559510931OpenModelica Hudson[Janitor mode] Fix whitespace
7a00d6afaVitalij Rugefixed jacobian index handling in optimization
cdc187504OpenModelica Hudson[Janitor mode] Fix whitespace
770492769Niklas Worschechfix for correct array variable names in simulation results file
6fe245cecRuediger Kampfmannsome errors fixed
d8af7859fRuediger Kampfmannsome errors fixed
260c6afc4Niklas Worschechfix in Array assign in cpp runtime
efa25b005OpenModelica Hudson[Janitor mode] Fix whitespace
51a5cccceNiklas Worschechadded assign operator to DynArray class
83a0ffc35OpenModelica Hudson[Janitor mode] Fix whitespace
80fb1b153Niklas Worschechfix for assign array from function return, adapted state selection for new array class
16787abf9Jim NutaroSparse FMI works for simple systems in state space form
619995e34Niklas Worschechfix in Array.h getDims
624bedde3Martin SjölundFix cpp tests (unisgned int != size_t)
91e2dd2d6Martin SjölundFix template indentation
397a9c6aeMartin SjölundFix C++ compilation...
f6cd1884fMartin SjölundFix bootstrapping
e9b77930eOpenModelica Hudson[Janitor mode] Fix whitespace
a0a287885OpenModelica Hudson[Janitor mode] Set auto-props
55155a312Ruediger KampfmannAdded new array class to cpp runtime. Changed arrays in cpp template.
18e2f163bMartin SjölundFix for compiling modelica3d on OSX (force libstdc++ instead of the default libc++ since OSG is compiled against libstdc++)
f9e20a539OpenModelica Hudson[Janitor mode] Fix whitespace
790055515Niklas Worschechseparated initialequations and getReal,setReal method in cpp template
83966e5e3OpenModelica Hudson[Janitor mode] Fix whitespace
6af96bbf4Jim NutaroMore work on SparseFMI
7387a820cMartin SjölundMake dimensionsKnownAndEqual not fail if the inputs are DIM_UNKNOWN()
12952dd16Martin SjölundAllow DIM_EXP on both sides of a matrix multiplication
a21efc595Niklas Worschechfix for typo in SimCodeUtil.mo
f21f70d83Martin SjölundAllow DIM_EXP():=DIM_EXP() (do run-time checks since we cannot do everything at compile-time)
cf88681a6OpenModelica Hudson[Janitor mode] Fix whitespace
2223624fbNiklas Worschechremoved some result output variables in cpp template
6939e8350Martin 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)
e11cec6f1Lennart 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
27aed168cOpenModelica Hudson[Janitor mode] Fix whitespace
e6c884a6dPatrick Marcel TaeuberModified Tarjan Matching a bit
e940461faMartin SjölundSome documentation
9862e2881Martin SjölundAdd scripting function stringVariableName Also made it possible to do things like `val(stringVariableName("b"),...)` or `v:=stringVariableName("b");val(v,...);`
557f2cd5fLennart Ochel- BackendEquation.mo - remove obsolete code, fix typos and comments, fix bugs (even if they did not appear yet)
c461bf7b9Vitalij Rugefixed some issues with optimization: - jac handling - memory - output
2278f0bbaLennart Ochel- fix rml compilation
2372f3c19Martin Sjölund#2757 Fix the types set when simplifying reductions
0d8f7259bLennart Ochel- review BackendEquation.mo
d88b430beVolker Waurich- replaced HpcOmTaskGraph.transposeTaskGraph with BackendDAEUtil.transposeMatrix
2f6a8ed2eOpenModelica Hudson[Janitor mode] Fix whitespace
57ef97138Vitalij Rugeadded rule x/(r*y) => (1/r)*x/y
1228cd4ccMartin Sjölund#2772 Do not exit the master thread when unloading FMU's. Cancel the worker threads in thread objects instead.
76aa90efaOpenModelica Hudson[Janitor mode] Fix whitespace
2d1f6c3b2Vitalij Rugeadded rules: - a*x*b + c*x = x*(a*b + c) - a*x + b*x*c = x*(a + b*c)
f3b69cc51Vitalij Rugeswapped args in hasOnlyFactors
7d9fa2e8eOpenModelica Hudson[Janitor mode] Fix whitespace
1ab69827eVitalij Ruge- added rule for a*x*c + d*x*e => x*(a*c + d*e)
aeaea6d24Marcus Walther- fixed Susan Indent level
ba6522566OpenModelica Hudson[Janitor mode] Fix whitespace
54311b27dJim NutaroMore work on the sparse FMI generator
feac7048aLennart Ochel- remove BackendEquation.equationNth0 since it is deprecated (equationNth1 can be used instead)
274adf08eMartin SjölundFix last commit (ModelicaReference does not need to be loaded)
4db9f7bf8Martin SjölundWhen generating documentation, also add a case-insensitive .zip for Windows systems
30c76ef54Lennart Ochel- fix r21757
2c48a9259OpenModelica Hudson[Janitor mode] Fix whitespace
f19450e7dLennart Ochel- don't use zero-based indexing for (equation) arrays
9c9308502OpenModelica Hudson[Janitor mode] Fix whitespace
0bd042181Vitalij Ruge fixed r21754
6ccc98676Vitalij Ruge- added some rules in ExpressionSolve
9bc19264bVitalij Ruge- improved some rules in ExpressionSolve
81cb9ea63Lennart Ochel- fix initialization of fmi example
58c09c91fOpenModelica Hudson[Janitor mode] Fix whitespace
f16047684Vitalij Ruge- added rule for simplify if
0a931426fLennart Ochel- revise some functions
73d78b46bMartin SjölundFix bootstrapping (broken by r21745)
4754df08cOpenModelica Hudson[Janitor mode] Fix whitespace
d78f5d939Jim NutaroAdded start of a sparse FMI generator for creating QSS compatible FMIs
01f715710Martin Sjölund#2768 Instantiate partial functions in the normal way when running checkModel
c5b3732c6Marcus Walther- update for msvc hpcom code generation
4968dc240Martin Sjölund#2769 Traverse the function body of used partially evaluated functions when looking for unused functions...
3b9a7c99eMartin Sjölund#2770 Handle vectorization of function calls with unknown array dimensions better
36a12e651OpenModelica Hudson[Janitor mode] Fix whitespace
5441ab153Marcus Walther- hpcom msvc support added - debug output for hpcomMemory included to find array unrolling issues
37959e229Martin SjölundImprove message for mismatching array dimensions
24d7c69efOpenModelica Hudson[Janitor mode] Fix whitespace
202151f72Martin Eitelanother buffer optimization in MatfileWriter.h
0ccc50e8eMartin SjölundTypo
41912ee23Martin SjölundSome refactoring
03a6c8a8dMarcus Walther- fixed bootstrapper
affaf685bVitalij Rugeadded some solver rules
07dc105ecVitalij Rugeadded solver rule for power
47406332dVitalij Ruge- solver rule for power
f8c335f97Lennart Ochel- break redundant calculations
212bc3034Lennart 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
1f74e224cOpenModelica Hudson[Janitor mode] Fix whitespace
201e144abNiklas Worschechdisabled write parameter vars for csv in cpp template
86af412d4Lennart Ochel- avoid unnecessary recursions - avoid array to list conversions and vice versa
399467933OpenModelica Hudson[Janitor mode] Fix whitespace
21f3aafbcMarcus Walther- fix for hpcom: the hpcomMemory logic is now fully disabled if the hpcomMemoryOpt-Flag is not set - hpcom execstats slightly changed
82730c902Marcus Walther- fix for NOTFOUND - Bug if boost log is not installed
ac453cff1Vitalij Rugefixed r21710 (atan2)
aeb3692faOpenModelica Hudson[Janitor mode] Fix whitespace
7a48a1e54Vitalij Ruge- fixes from static analysis - uncomment diff(atan2(y,0)) rule
bd4ed227dOpenModelica Hudson[Janitor mode] Fix whitespace
66c0c054aLennart 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
100c73a21OpenModelica Hudson[Janitor mode] Fix whitespace
76f42ac47Niklas Worschechremoved unnecessary initialization in cpp template.
7e5a61edbOpenModelica Hudson[Janitor mode] Fix whitespace
c8d620cf0Vitalij Rugeadded some rules for atan2
c7a4c0deeMartin SjölundAdd function stringTypeName, the inverse of typeNameString
68b75685fOpenModelica Hudson[Janitor mode] Fix whitespace
66c25e78cVolker Waurich- replace crefs in nonlinear systems for tds
35e14af65OpenModelica Hudson[Janitor mode] Fix whitespace
b7b7440a3Marcus Walther- Cpp-Runtime: initializeParameterVars-function is now seperated into blocks of 100 variables - HpcomMemory: some more dump functions added
88badee9fOpenModelica Hudson[Janitor mode] Fix whitespace
285282dffVolker Waurich- some fixes for tds
a1a4b77f1Martin 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)
74ea2b776OpenModelica Hudson[Janitor mode] Fix whitespace
166ea80c9Volker Waurich. fix tds for systems with discrete equations
bfad62f19Willi Braun - fix differentiation of atan2
4de7557d7OpenModelica Hudson[Janitor mode] Fix whitespace
39f02fcb9Volker Waurich- reassign all indexes of simEqSystems when duplicating tasks
76475bdb5Adrian Pop- fix bootstrapping (BackendDAE.EQ_ATTR_DEFAULT_INITIAL is a constant, not a record constructor)
457763ab3Adrian Pop- fix bootstrapping (BackendDAE.EQ_ATTR_DEFAULT_UNKNOWN is a constant, not a record constructor)
641f1ad92OpenModelica Hudson[Janitor mode] Fix whitespace
180519f77Adrian Popimplement #2760 - allow comments with // only in the override file
445b5291bOpenModelica Hudson[Janitor mode] Fix whitespace
cbf20223fMartin Eitelusage of temp buffers in MatlabFileWriter.h optimized
cf3a305e4Willi Braun - fixed iterator variables for symbolic jacobians
bacb3f99aOpenModelica Hudson[Janitor mode] Fix whitespace
cb83b441bLennart Ochel- use predefined default equation attributes
c45cf3fc8Lennart Ochel- use predefined default equation attributes
895e19966Lennart Ochel- rearrange equation attributes - new equation attribute for sub-clock partitioning
ff35d4a20Willi Braun#2762 - removed findSimVar and replaced by findSimVarCompare
dc2841fbdOpenModelica Hudson[Janitor mode] Fix whitespace
473457990Volker Waurich- update equations in linear systems when duplicating tasks
e0b690d70OpenModelica Hudson[Janitor mode] Fix whitespace
bb93cf3dfMartin Eitelreduced the number of allocating and reallocating temp buffers
7b1e4349fOpenModelica Hudson[Janitor mode] Fix whitespace
013a42bf7OpenModelica Hudson[Janitor mode] Set auto-props
37b566e81Martin EitelAdded MatFileWriter to cpp runtime. Adapted cpp runtime testsuite for the new MAT file output.
2011c642eAdeel Asghar- minor enhancements in importNgspiceNetlist. Use QFileInfo to check for the file parts.
4fd8f648fOpenModelica Hudson[Janitor mode] Fix whitespace
f429e9294Rakhi WarriarAdded ngspice netlist to Modelica code converter in OMEdit.
a101ea1ebVolker Waurich- fix bootstrapper
59b2c4d85Marcus Walther- get condition system partially deactivated because it consumes to much memory - some time points renamed
9915dcc7eVolker Waurich- get schedulerInfo for levelSchedule
656cb22c1Marcus Walther- excluded boost thread and atomic versions lower than 1.54
c8e0b29d4OpenModelica Hudson[Janitor mode] Fix whitespace
ffa477f49Volker Waurich- don't calculate level in getCriticalPaths
bc51f02a7Willi Braun#2752 - fixed mergeZeroCrossings
56ff9ccf8OpenModelica Hudson[Janitor mode] Fix whitespace
b408a20b7Marcus Walther- fixed pThread and mixed code generation of cpp-runtime - updated the hpcom testsuite
b9a7d5454OpenModelica Hudson[Janitor mode] Fix whitespace
d8d01ca84Volker Waurich- generate complete DAE task-graph including asserts
65d11fa3dOpenModelica Hudson[Janitor mode] Fix whitespace
c07507f79Marcus 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
ae4957c8cVitalij Rugefixed build
d8ac563efVitalij Rugefixed jacobian index in optimization
b7c173b6bOpenModelica Hudson[Janitor mode] Fix whitespace
6e0795ffaWilli Braun - fix compilation
621c5caaeMarcus Walther- removed circlar dependency between hpcomsimcode and simcode
03f640ed3Marcus Walther- removed circular dependency of hpcomSimCodeMain and hpcomScheduler
681a7582bMarcus 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
a21fd7de0OpenModelica Hudson[Janitor mode] Fix whitespace
35717019eLennart Ochel- new output-format "ia", which sends the simulation results to a TCP/IP server
ddb5824e8Rakhi WarriarModified python file for ngspice to Modelica conversion.
6eb641089OpenModelica Hudson[Janitor mode] Fix whitespace
cfe62e8e5Mahder Alemseged GebremedhinFix #2749. Indexed assignments with integer arrays
cffed7b58OpenModelica Hudson[Janitor mode] Fix whitespace
48a7df60bMahder Alemseged Gebremedhin+ Fix #2688. Removed replacing of loop iterator dependent crefs with ASUB expressions.
0bf696ce5Niklas Worschechfix for missing timer include in Modelica.h
d96be3cb6Marcus Walther- fix for non terminating stateSelection
52bcf3fcfNiklas Worschechremoved boost timer include
eabce4691Adeel Asghar- minor formatting and proper comment.
db1c138ddNiklas Worschechfix for fmu global settings in cpp runtime
ceee2fe9dOpenModelica Hudson[Janitor mode] Fix whitespace
5e0df259dOpenModelica Hudson[Janitor mode] Set auto-props
afbe38b4fNiklas Worschechfix for free system object in cpp runtime
cc973b39dOpenModelica Hudson[Janitor mode] Set auto-props
e1e8edcadRakhi WarriarAdded function ngspicetoModelica() to convert ngspice netlists to Modelica code.
5bb97160cVitalij Rugefixed r21575
13ef4000dVitalij Rugefixes from static analysis
ca8d66af7Vitalij Rugefixes from static analysis
ddebf3fd7Vitalij Rugefixes from static analysis
8fb3ad2fbOpenModelica Hudson[Janitor mode] Fix whitespace
951965855Vitalij Ruge-fixes from static analysis -added warning if jacobian matrix is singular
2992cc427Vitalij Rugefixed memory leak
630cb8063Vitalij Rugeadded case for extraPolate
154d6b16aVitalij Rugefixes from static analysis
05474c599Vitalij Ruge- fixes from static analysis
2fb3bdfd6Willi Braun - added improved newton solver with damping strategies - added -newton flag to simulation runtime to select different strategies
94f010849Lennart Ochel- fix expected output
b362d8b03Willi Braun - added TRACE_PUSH and TRACE_POP to all generated equations and functions
0c1f5dc38Marcus Walther- fix for linux_nightly_build
996d14353Lennart Ochel- analyze base-clock partition kind
ba5bcf17bOpenModelica Hudson[Janitor mode] Fix whitespace
fc0f72646Volker Waurich- added experimental scheduler single block schedule - updated hpcom tests for linear tearing
40385fa7aOpenModelica Hudson[Janitor mode] Fix whitespace
589e0a424Willi 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.
c1a9b436cOpenModelica Hudson[Janitor mode] Fix whitespace
d28d6cb4eNiklas Worschechfix for set dimZerofuncs in SimManager
a9767e0dcOpenModelica Hudson[Janitor mode] Fix whitespace
faa5f83cfMarcus Walther- removed the get / setResultOutput-functions from the globalSettings - some more compile time optimisations for the cpp runtime
ecc780a40Volker Waurich- calculate the max range of addressed indexes in a for-loop if the index is a computable expression
97b0c594fNiklas Worschechfix for boost log lib name
6e2f48272Martin SjölundFix the templates
669acbc4dLennart Ochel- fix error message
86bff8bd4OpenModelica Hudson[Janitor mode] Fix whitespace
da9514b7dMarcus Walther- fixed missing _function member-variable in c++ - algLoops
f209f27eeOpenModelica Hudson[Janitor mode] Fix whitespace
950f8783bBernhard ThieleDeleted flag +synchronousFeatures and replaced it by checking for flag +std=3.3 or greater
12bda0411OpenModelica Hudson[Janitor mode] Fix whitespace
aa4ecad84Niklas Worschechfix for time in Functions of cpp runtime
4452976beOpenModelica Hudson[Janitor mode] Fix whitespace
dbe0c230cMarcus Walther- Update for MSVC-FMU makefile
389ad05bfOpenModelica Hudson[Janitor mode] Fix whitespace
a4ff4b5a4Marcus Walther- reduced compile time of cpp-runtime by including the cpp-files directly into a "meta cpp file"
bf22c5b3bOpenModelica Hudson[Janitor mode] Fix whitespace
24208434dMichael Kloeppelexcluded check for umfpack
a147e87e6Michael Kloeppelfurther bugfixes for umfpack-integration in CPP-runtime
3adc02481Marcus Walther- fix for windows build
aa070cc2dPer Östlund- Fixed bootstrapping.
13574ec3cVolker Waurich- fix expandCref for qualified crefs containing arraytypes of complex types
e951b61b5Lennart Ochel- merged r21292-r21522 from branches/SynchronousModelica/
3ab3f3c2fMarcus Walther- fixed state var reinitialization in CVode
e92fb0b54Martin SjölundAllow passing constant identifiers as inputs to external functions (dgees uses a protected constant array as dummy input to F77)
a4f66cff5Martin SjölundAlso print some nice information about the used packages
2bd708899Martin SjölundAdding script to read the .uses and .classes files from coverage testing
a4102c3ddMarcus Walther- find_package(suitesparse) fully disabled to fix OSX build - hpcom condition graph creation disabled to fix hpcom tests
be51e1b6aMartin SjölundIncluded class coverage when running BuildModelRecursive.mos (not part of the reports)
efc9a6be5Marcus Walther- fix for FMI tests
0e8a14f8fMarcus Walther- umfpack temporary disabled
9c8063449Marcus Walther- rml fix for HpcOmScheduler
8de9a4433Marcus Walther- hpcomTaskGraph fixed (I don't know why it is not producing these errors on my local machine)
423733555Marcus Walther- hpcomTaskGraph fixed
18f3391c7OpenModelica Hudson[Janitor mode] Fix whitespace
2dbbd849cMarcus 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
6fbfb4e1dVolker Waurich- nodes can be blocked for the task rewriting system so that they are not going to be merged
24f083572Lennart Ochel- enable base-clock partitioning - new dump: +d=dumpSynchronous
74c35c499Adeel Asghar- DiscreteStates has been removed in RC2. - Generate FMI model structure for all sim vars.
9bebc3aa9Adeel Asghar- List all the derivatives from _info.xml file. - Formatting for operations text.
a62d144a3Vitalij Rugefixed pre-sim for optimization
9ca15af52Martin SjölundAdding API call `getUsedClassNames`, which is a combination of `saveTotalModel` and `getClassNames(recursive=true)`
d2fcd6d9bVolker Waurich- added dump functions (output string) and print functions for all hpcom task and schedule objects
e172a1d22Adeel Asghar- Fixed parsing of der variables.
e80441887OpenModelica Hudson[Janitor mode] Fix whitespace
2dbb2737bLennart Ochel- base-clock partitioning (incomplete yet) - propagation of new attribute EQSYSTEM.partitionKind - new incidence matrix type: BASECLOCK
3467c6dddOpenModelica Hudson[Janitor mode] Fix whitespace
ba38758bcVolker Waurich- added some functions to analyse systems of equations
2d41741c9OpenModelica Hudson[Janitor mode] Fix whitespace
88176d847Volker Waurich- fixed graphML generation for resolveLoops
5f1c26cd7Volker Waurich- removed unreferenced function call
294fe934fOpenModelica Hudson[Janitor mode] Fix whitespace
d1301c2d8Volker Waurich- added bipartete and DAG graphML output for systems of equations
3a6590e31Niklas Worschechchange solver lower limit and simmanger end time tolerance of cpp runtime
2f853649aVitalij Rugeremove wrong rule
40b8b4abdAdrian Pop- fix bootstrapping
3a04273daOpenModelica Hudson[Janitor mode] Fix whitespace
1830f906cVitalij Rugeimproved rules for pow in ExpressionSolve.mo
bff32a8f9Volker Waurich- changed getGraphLevel to improve memory requirements
838343169OpenModelica Hudson[Janitor mode] Fix whitespace
13fd99112Vitalij Rugeimproved guarding rule in ExpressionSolve agianst sign and IFEXP
322f92bb5OpenModelica Hudson[Janitor mode] Fix whitespace
0268b2928Niklas Worschechfix in kinsol, change stability mode in cvode of cpp runtime
a90c0d19eVitalij Rugefixes from static analysis
873f788c4OpenModelica Hudson[Janitor mode] Fix whitespace
95c3a0726Vitalij Ruge- clean up ExpressionSolve (features from r21400) - guard IFEXP in ExpressionSolve against dependency in condition
d32e9eb38Adeel Asghar- minor fixes.
dff802cb7OpenModelica Hudson[Janitor mode] Set auto-props
7609c3ae4Adeel Asghar- Fixed swedish characters.
1fbed6babAdeel Asghar- Fixed header define.
eaa4b6e9cAdeel Asghar- Restructuring the files and folders.
bbb37c78dOpenModelica Hudson[Janitor mode] Fix whitespace
ca0bd020fJan SilarFixing c# template -- problem with intial values
6b1b493c4Martin SjölundAdd some documentation for dumpXMLDae
94e9edeaaVolker Waurich- fix bls for branchingDynamicPipes
0ca026b62Volker Waurich- extend printSchedule for EMPTYSCHEDULE
de7fe4356Volker Waurich- fix bls scheduler for taskgraphs with shorter critical paths than level
6a46745a4Volker Waurich- rewritten SimCodeUtil.getMaxSimEqSystemIndex
756ee90f7Volker Waurich- removed unused functions, added comments for bls functions
398aa7c94Martin SjölundHandle the inverse of log10. Rewrite ExpressionSolve to swap the arguments instead of writing two cases for each expression to solve for...
e1e2be202Volker Waurich- rewritten bls scheduler
5d7edeffeMartin SjölundWrite incomplete result-files, so it is possible to see the signals until the error was triggered
cb80b9a98Martin SjölundWrite incomplete result-files, so it is possible to see the signals until the error was triggered
83e92ebf1Michael Kloeppelbugfixes for umfpack-binding
662bb3ad1OpenModelica Hudson[Janitor mode] Fix whitespace
aae287e9dMichael Kloeppelfix bug with non-existent umfpack.h
4193688b1Jan SilarC# template fix discrete variables, division
b79bb9825Michael Kloeppelfurther bug fixes for the sparse matrix format in cpp-runtime
a3a6fb47bPer Östlund- Fix RML compilation.
868301b81OpenModelica Hudson[Janitor mode] Fix whitespace
26bf7aa24Per ÖstlundFix for #2743: - Extended Expression.transposeArray to handle >2 dimensions. - Removed evaluation of transpose from Static and Ceval, let ExpressionSimplify handle it instead.
8f16a5d94Per ÖstlundFix for #2741: - Fix connector size count for subtypes of basic types.
4644d3a95OpenModelica Hudson[Janitor mode] Fix whitespace
6eb0c5790Vitalij Rugeadded rule in ExpressionSolve for sqrt
516d80e8dMichael Kloeppelfixes bug with sparse_matrix type
406ecfb82Martin SjölundFix the logic of min/max of integer arrays
fc96b9af9Martin Sjölundmin({}) is not 0...
dd1c2953aMichael Kloeppelallows to use the sparse linear solver umfpack in the cpp-runtime
03b5a946cOpenModelica Hudson[Janitor mode] Fix whitespace
62fb464ecVitalij Rugefixed #2682
b8c1db77aMartin SjölundOutput annotations on external declarations so total models are complete
8d4ad273bOpenModelica Hudson[Janitor mode] Fix whitespace
f94e6822eMartin SjölundFix order of prefixes (`discrete input`, not `input discrete`)
ee3a7f754Marcus 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)
8b67345edVitalij Rugefixed r21364
bc13138a0Vitalij Ruge- improved solver rule x = y^n
63931702dVitalij Ruge- fixed r21362
feac0c5aeVitalij Rugeadded solver rules for g(a)/f(a) = b
6bb67be09OpenModelica Hudson[Janitor mode] Fix whitespace
9b7183834Vitalij Ruge- improved solver rules - f(a) * b = c => f(a) = c/b - b / f(a) = c => f(a) = b/c solver for a
11ff408f2Vitalij Rugeimproved ExpressionSolve - log(f(a)) = b - exp(f(a)) = b
27511cb01Martin SjölundRML
9070d0edeMartin 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.
281175ea6OpenModelica Hudson[Janitor mode] Fix whitespace
e9b0cc46fVolker Waurich- fix analyseScheduledTaskGraph for serial level calcTasks
329dc6608Marcus Walther- forgot the suiteSparse-Package file
2fbbd22bfOpenModelica Hudson[Janitor mode] Fix whitespace
7fa0d9934Martin 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)
6bea75120Volker Waurich- fixed hpcom simEqSys mapping for SINGLECOMPLEXEQUATION components - added test Graetz
09100735eOpenModelica Hudson[Janitor mode] Set auto-props
7f0b6a33fMarcus Walther- SparseMatrix-Support added for umfpack-linear solver
10b2b6f0fMartin SjölundAdd more details about the system to the generated mos-files
bd46bfabeMartin SjölundFix the library last change line
8e7353fc5Volker Waurich- replace function longestPathMethod with getCriticalPaths - some clean up - predict speedUp for level scheduling
be7e0df81Vitalij Rugeguard atol again nominal <= 0
87c669d7aAdeel Asghar- Use setPlaceholderText instead of using FocusIn/FocusOut events to set the default text.
65e0b71caMartin SjölundFix the last compliance test for partially evaluated functions
70e7dcf45Martin SjölundHandle PARTEVALFUNCTION that specializes a variable rather than a function
7f0b1fbd4Martin SjölundAdd missing changes
9056c51d8Martin SjölundChange the error to a notification since sometimes we need to allow it...
f5cbe3bb8Martin SjölundImprove Susan error handling
aadb80dbbMartin SjölundDon't remove functions that are passed through CREF in the backend (partially evaluated functions use it)
216870200Martin SjölundGenerate correct boxptr code for `String[:]`
919b5577bOpenModelica Hudson[Janitor mode] Fix whitespace
19bb0032bNiklas Worschechfix in Kinsol of cpp runtime
b483b8461Martin SjölundFix template
88a4cc25aOpenModelica Hudson[Janitor mode] Fix whitespace
60b101823Niklas Worschechfix in cpp template for algoop evaluation changed zero crossing tollernce in cpp template change absolute tollerance in cvode
0d74baddaMartin Sjölund#1949 Changed implementation of DAE.PARTEVALFUNCTION - PartFn.mo was removed - We now create a closure in the code-generation instead
5c8950a83Volker Waurich- fixed level scheduling
1456d7c11Per Östlund- Fixed bootstrapping.
b2495eb1dOpenModelica Hudson[Janitor mode] Fix whitespace
1369dcaa0Per ÖstlundFix for #2738: - Respect fully qualified crefs in Static.elabCrefSubs. - Some random code cleaning in Expression.
98565f676OpenModelica Hudson[Janitor mode] Fix whitespace
b9c9d00c8Patrick Marcel Taeuber- fixed some problem with tearingSelect=always
3f7d5949dVolker Waurich- replace function makeCalcLevelTaskLst
9f87423c7Martin SjölundAdd some source info to the Susan error-message for number of arguments don't match
ca3621178OpenModelica Hudson[Janitor mode] Fix whitespace
7d223b31aVolker Waurich- fixed level attribute in graphml output for level scheduling - added serial level calc object - added bls scheduler
fedf084d6OpenModelica Hudson[Janitor mode] Fix whitespace
acfdc860bNiklas Worschechfix for Chuacircuit in Cvode an kinsol
01c76a6d6Per Östlund- Removed some redundant calls to simplify1 in ExpressionSimplify.simplifyBinaryCoeff. Speeds up instantiation of BatchPlant_StandardWater with 25% (4m45s => 3m30s for me).
a0c13ebdbMartin SjölundFix the type of a simplified `fill()` expression - Some additional debugging code for the `+t` flag
74ec2d697OpenModelica Hudson[Janitor mode] Fix whitespace
3396bc635Niklas Worschechadd missing interface method
2f2c19098Niklas Worschechadded get nominal state to cpp template, fix for redundant algloop equations
784f8ad3aMarcus Walther- fix for non terminating EventHandling in Cpp-Runtime
a141edbecMartin Sjölund#2731 Always append `/` for `classDirectory()` calls
0f68eb18bMarcus Walther- fixed HPCOM build
b3c3891eePer Ö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.
a98159c70Martin Sjölund#2731 Append the path delimiter to the string returned by `classDirectory()`
f7982527eMartin SjölundC fix
a3f232cd1Martin Sjölund#2641 Use C++ locale-independent functions when reading csv-files in OMPlot
69ea80d97Martin Sjölund#2641 Use C++ locale-independent functions when reading csv-files in OMPlot
a3569c4e2OpenModelica Hudson[Janitor mode] Fix whitespace
49ba3084bVolker Waurich- fix hpcom for algorithm components with multiple outputs - little clean up
ba30a66f1Martin SjölundRemove some more references
0386b3bc0Martin SjölundRemove some more references
b48ffb26cOpenModelica Hudson[Janitor mode] Fix whitespace
4593c5265Marcus 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
f6c5956caMartin 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.
ab3fa9bb4Volker Waurich- use matchcontinue in mergeSingleNodes
bda85c0adOpenModelica Hudson[Janitor mode] Fix whitespace
a7b82baa1Vitalij Rugeduplicate case from max to min
a475d6aaeMartin SjölundAdd options to CustomCommands.mos to make it possible to generate the directory structure of the MSL regression testing suite
0c605c9d6OpenModelica Hudson[Janitor mode] Fix whitespace
44edc3c51Volker Waurich- fix for distributeToClusters in mergingSingleNodes
1df5178c9OpenModelica Hudson[Janitor mode] Fix whitespace
129cfad5eVolker Waurich- level schedule rewritten, handles merged tasks - remove some unused stuff
cd397679dVitalij Ruge- improved optimization order 1
a98489390Vitalij Ruge- improved optimization - sorting
66700f86dMartin Sjölundm:r7723 fixes Fluid.Dissipation issues, so we no longer need to set the debug-flag
aaf147ec1Lennart Ochel- fix some runtime messages
774bc97c8Volker Waurich- fix mergeSingleNodes
fedd2f6c5OpenModelica Hudson[Janitor mode] Fix whitespace
78969c0a3Lennart 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.
117a1c8bfVolker Waurich- activate mergeSingleNodes
1b1bac410Volker Waurich- fix bootstrapper
a0a33c4b7OpenModelica Hudson[Janitor mode] Fix whitespace
6f1340f20Volker Waurich- added new graph merging rule, mergeSingleNodes, not yet activated
f4c51dbe9Lennart Ochel- remove unused imports
9d71aea43Per Östlund- Fixed RML compilation.
90d2f883cOpenModelica Hudson[Janitor mode] Fix whitespace
8914fdea2Per ÖstlundFix for #2723: - Check for connect in when equations and if equations with non-parameter conditions. - Cleaned up some test cases.
ffd890ff2Lennart Ochel- attempt to fix #2708 (unquote q-idents)
7f9a6aee3OpenModelica Hudson[Janitor mode] Fix whitespace
8aa75448aMahder Alemseged Gebremedhin+ unquote more. make sure to unquote each ident and not just the whole cref/path string.
7beba6b9bPer Östlund- Made SimCodeUtil.setVariableIndexHelper tail recursive to fix some test cases for the bootstrapped compiler.
cd63ceb8aMartin SjölundBetter coding style fix
4a88d3475Adrian Pop- fix coding style?
fa824f63dMartin SjölundFix for xml logFormat where messages contain quotes
9e7a35982Per Östlund- Removed propagation of modifiers when instantiating equations and algorithms, since those can't be modified anyway.
f82d1766dOpenModelica Hudson[Janitor mode] Fix whitespace
cf469df0bOpenModelica Hudson[Janitor mode] Set auto-props
f6352ead4Adeel Asghar- Updated to FMI2 RC2 from FMI2 RC1.
94b99d60fVolker Waurich- limit the number of vars in the resolved equations
a86388de4Vitalij Ruge- imporved rule x/c1 = c2*x
3c1edf04cOpenModelica Hudson[Janitor mode] Fix whitespace
3a23460fbVitalij Ruge- improved optimization - evaluation derivations
9d6448760Adeel Asghar#2255 - Show units in the plot legends & titles. - Fixed some issues with plotParametric. - Use the CsvReader for plotParametric.
03c294a5eAdeel Asghar#2255 - Show units in the plot legends & titles. - Fixed some issues with plotParametric. - Use the CsvReader for plotParametric.
06699ec95Adeel Asghar#2255 - Show units in the plot legends & titles. - Fixed some issues with plotParametric. - Use the CsvReader for plotParametric.
f578d93a6Vitalij Ruge- update integration info
120174475Michael Kloeppelfixed a bug connected with an empty _compiler_FLAGS variable
228d361ceOpenModelica Hudson[Janitor mode] Fix whitespace
10cd1f8a3Niklas Worschechfix in Kinsol, catch exception change evaluate call in cvode calcfunction
05cbd148dOpenModelica Hudson[Janitor mode] Fix whitespace
dffd80f47Per Ö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.
80df2297dOpenModelica Hudson[Janitor mode] Fix whitespace
995507763Marcus Walther- Analyzation Mode fixed
c310fe43eMarcus Walther- fix for CPP runtime
d9461fbf8Lennart Ochel- fix documentation of integration method
270650f96Martin 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.
82441cb85Adeel Asghar#2255 - Show unit instead of displayUnit.
6f4798863OpenModelica Hudson[Janitor mode] Fix whitespace
c6031169fNiklas Worschechfix for init aliasvars in cpp template
1e289f80dMarcus Walther- updated the FMUGlobalSettings to the new IGlobalSettings interface
729c83ef2Vitalij Rugeadded some integration info.
f4b199ce9Marcus Walther- updated the FMUGlobalSettings to the new IGlobalSettings interface
818e77e4aMarcus Walther- copy-command for LinSolverOMCFactory added
2c371ba6dMarcus Walther- copy-command for ILinSolverSettings added
379c97bb2Adeel Asghar- Make OpenModelica 2.0 FMUs work for Dymola.
df2d71f41Volker Waurich- added function SimCodeUtil.getAssignedSimEqSysIdx
5cde57e5aOpenModelica Hudson[Janitor mode] Fix whitespace
af4d8bb2cMarcus Walther- added forgoten file
74025114cOpenModelica Hudson[Janitor mode] Fix whitespace
1ab50888fMarcus 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)
681407b93Lennart Ochel- fix over-determined initialization (e.g. ThermoPower.PowerPlants.SteamTurbineGroup.Tests.TestSTG_cc)
7eef33657Adeel Asghar- Only draw tree branches if that particular styles class is specified.
0d9dee92eAdrian Pop- fix bootstrapping
55219bca6OpenModelica Hudson[Janitor mode] Fix whitespace
23c767338Adeel Asghar- Write derivatives dependecies.
f0a3a19d9Niklas Worschechfix for subscripts in cpp template
0c26cb2e7Martin SjölundFix balancing of XML tags with -w and non-linear system errors
2b55d3df9OpenModelica Hudson[Janitor mode] Fix whitespace
cd3a2f927Marcus Walther- removed some warnings of the gcc build - changed the globalSettings reference to a pointer (just a quickfix to get the ANALYZATION_MODE running)
b2f1e4f94OpenModelica Hudson[Janitor mode] Fix whitespace
9a58493c0Adeel Asghar- Generate the outputs & derivatives in the model structure section.
b0efe4eadMartin SjölundOSX fixes for Modelica3D
5995980b0Martin SjölundFix debugging line...
a1df5d5d1Martin Sjölund#2654 Use OSX-specific suffixes
2371918d3Adeel Asghar- Use variable_index instead of index to define ordered indexes for simvars.
84c869f1fAdrian 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
a5051976dOpenModelica Hudson[Janitor mode] Fix whitespace
713db2b82Adeel Asghar- Define ordered indexes for simvars. Used in FMI 2.0 model description xml file.
b6f65b913OpenModelica Hudson[Janitor mode] Fix whitespace
af660efe4Niklas Worschechfix for struct in cpp template
a6b54f382Willi Braun - added flags maxStepSize and maxIntegrationOrder for dassl.
cd0e9bdf4OpenModelica Hudson[Janitor mode] Fix whitespace
9a28c82b9Niklas Worschechfix for record return type in cpp template expected output
fb8e34064Lennart Ochel- fix for complex equations in over-determined systems
c495c2687Niklas Worschechfix in cpp template for missing evaluate
45b3430a2Niklas Worschechchanged linking order in cpp template
31a18eddeMartin 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
51fbb1e1eWilli Braun - fix xml variables xml modelinfo
645af8572Martin SjölundLink to the correct OMC versions
d7f633450Martin SjölundMake the regression testing of library results work again
e56806656OpenModelica Hudson[Janitor mode] Fix whitespace
9f4703dbdMarcus Walther- the hpcom module can now create the serial code (designed for testing) - fixed the tbb-codegeneration
58393d296Adeel Asghar#2497 - Allow creating connections even when the connector & ResizerItem are at the same location.
6bfd3112cAdeel Asghar#2522 - New icons for plot & parametric plot buttons.
babfe978fAdeel Asghar#2424 - Handle resource links in documentation view.
326c054cbAdrian Pop- attempt to fix bootstrapping, more assignments to inputs
16098af93Adrian Pop- attempt to fix bootstrapping, use mOut instead of mIn in: Initialization.manipulatedAdjacencyMatrix2
9929864afLennart Ochel- improve initialization approach for over-determined systems - add some test cases for over-determined systems
1ad29f664Adeel Asghar#2142 - Added a tooltip to output file name.
fa647283aNiklas Worschechdisabled boost log in cmakefile
e15119d69OpenModelica Hudson[Janitor mode] Fix whitespace
9eb37e66aAdeel Asghar- Use the line color of starting port for the connection line.
5f52cbdabAdeel Asghar- Do not allow selecting or moving the shapes when user is making a connection.
1dd34cffbNiklas Worschechexpected output updated boost in cpp runtime
8e0b025e8Martin Sjölund#2724 - Reject non-constructor functions returning an external object
21e64e6b8Martin SjölundFree allocated data
2396ae48fMarcus Walther- fixed segmentation fault
510ae9757Adeel Asghar- Fixed fmiNewDiscreteStates function.
c571ce20bMartin Sjölund#2722 - Generate function definitions in list(OpenModelica...) again - Cache the initial SCode.Program
2782105acVolker Waurich- append String to last ident instead of joinCrefs when duplicating variables - extended dumpSimCode
2a9f2ec98OpenModelica Hudson[Janitor mode] Fix whitespace
41abe648fVolker Waurich- use scheduled task graph to get scheduleInfo and CriticalPathInfo
4f5525a49Lennart Ochel- fix propagation of equation kind property
1401f1d88OpenModelica Hudson[Janitor mode] Fix whitespace
70e0221d1Lennart Ochel- propagate equation kind property
15206e375OpenModelica Hudson[Janitor mode] Fix whitespace
8ccd3386cPer Östlund- Fixed RML compilation.
439f7667fPer Östlund- Greatly speed up flattening of large arrays by using simplified lookup when prefixing.
fa611fab5Lennart Ochel- fix some include paths
996080989Marcus Walther- fixed build
7fafe6164OpenModelica Hudson[Janitor mode] Fix whitespace
76f6256c0Volker Waurich- update modelInfo for tds
d269c49beOpenModelica Hudson[Janitor mode] Fix whitespace
4547136abChristian 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
90ed7d058OpenModelica Hudson[Janitor mode] Fix whitespace
7ea333a0aMarcus Walther- the hpcomMemory-Module can now handle contracted nodes and state variables - fixed the double description in graphML-files
482fa414eOpenModelica Hudson[Janitor mode] Fix whitespace
825776419Niklas Worschechadd variable description and paramter values to writeoutput in cpp template
241155c6bOpenModelica Hudson[Janitor mode] Fix whitespace
717b0571eVolker Waurich- insert locks in schedule with duplicated tasks
20917573aVolker Waurich- fix bootstrapper
aee9b982eOpenModelica Hudson[Janitor mode] Fix whitespace
07cfc7399Patrick Marcel Taeuber- manual selection of tearing variables now also works for omcTearing (see r20929)
9ee20c1c4Adeel Asghar- Set FMU model states according to FMI specifications.
233e4d9ccAdeel Asghar- Added empty ModelStructure format for modelDescription.xml - Added fmiEventUpdate.
1f8c58b3eOpenModelica Hudson[Janitor mode] Fix whitespace
161207b34Lennart Ochel- propagate equation kind property
7ec9b651dMartin SjölundPrint initial equations for the debugger better
0ece1f2adOpenModelica Hudson[Janitor mode] Fix whitespace
a4eb77ff5Volker Waurich- build a new task graph including duplicated tasks
6f06ccdfaAdeel Asghar- Implemented fmiSetContinuousStates, fmiGetDerivatives, fmiGetEventIndicators, fmiGetContinuousStates & fmiGetNominalsOfContinuousStates functions for FMI 2.0 export.
2b5e60a15Per ÖstlundFix for #2720: - Call external object constructors in the order as they are defined in.
3632c44a5OpenModelica Hudson[Janitor mode] Fix whitespace
aed9fe047Lennart 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
945453e5eJim NutaroFixed problem with initializing if statements in the adevs backend
984aabaeeJan SilarPDE extension documentation -- comparison to Saldamli.
b670f88e1Willi Braun - added a inner ring-buffer for dassl solver to ensure consistent extrapolation data for non-linear loops.
f0e986fcfWilli Braun - fix bug #2718
53982805dOpenModelica Hudson[Janitor mode] Fix whitespace
7135e1c01Volker Waurich- add initial equations for duplicated tasks
368966f4fNiklas Worschechchanged evaluate call in CVode
9a672be46OpenModelica Hudson[Janitor mode] Fix whitespace
428164885Niklas Worschechchanged in Kinsol and CVode some tolerances
1f3b48e4aVolker Waurich- replace duplicated crefs in non-duplicated tasks
8116dbb7aNiklas Worschechfix for makefile in cpp template
fa69c6349Niklas Worschechswitched build of cpp runtime to release
0e62f930fAdeel Asghar#2716 - Fixed the syntax highlighting issue.
c532c4753Martin SjölundFix the icon generation
4015c5049Martin 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
63f165058OpenModelica Hudson[Janitor mode] Fix whitespace
f24e33860Volker Waurich- generate new task graph for duplicated tasks
0563a9754Per ÖstlundFix for #2709: - Added functionality to propagate final prefixes from modifiers to components. Disabled for now, since it breaks some tests.
c2cf53e2dOpenModelica Hudson[Janitor mode] Fix whitespace
d29b2bbffMarcus Walther- hpcom level-scheduling fixed for windows - update for hpcom-tests
342209e10OpenModelica Hudson[Janitor mode] Fix whitespace
41cbf8753Martin SjölundDo not use dialog.setFilter as QDir::Executable does not seem to work the way it is expected to
a14096aeaNiklas Worschechforgotten mo files of templates
be821c81aNiklas Worschechseparated evaluate in cpp template in update for ode- and zero crossing- and all equations
e99cf2fc9Volker Waurich- update indexes for LS, NLS, Mixed systems when duplicating tasks
e5576175eMartin 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
c8d705871OpenModelica Hudson[Janitor mode] Fix whitespace
65dea6025Willi Braun - revised dassl implmentation - added additional rhs evalution to ensure a consistent ringbuffer for extrapolation - removed f2c binding - rename simData to data
83f1cca27OpenModelica Hudson[Janitor mode] Fix whitespace
1c453c133Mahder 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.
cc1fec70fAdeel Asghar- qtclients doesn't depend in libgc now.
5611563a4Adeel Asghar- qtclients doesn't depend in libgc now.
e25e80917Adeel Asghar- qtclients doesn't depend in libgc now.
3088027aeAdeel Asghar- Implemented fmiEnterEventMode & fmiCompletedIntegratorStep functions for FMI 2.0 export.
feb9a03ceVolker Waurich- fix for td scheduler
14f1a547dMartin SjölundFix compilation
ed7f507caOpenModelica Hudson[Janitor mode] Fix whitespace
69dad8568Martin SjölundSkip linking libgc for qtclients
313e59916Martin SjölundSkip linking libgc for qtclients
a93cb9986Martin SjölundSkip linking libgc for qtclients
cdef825a5Martin SjölundSkip linking libgc for qtclients
6db80fa13Volker Waurich- task duplication scheduler codegen completed
aff0f3dafAlexander CarlqvistRemoved default values for exportToFigaro.
a0901bcc0Adeel Asghar- Added some files filter.
5208be46bAdeel Asghar- For *FMUstate functions just log that they are not supported right now and return fmierror.
bbc2a0362Martin SjölundFix compilation warning
59ec923a5Adeel Asghar- Updated the GUI according to new parameters of exportToFigaro API.
4a864f189Martin Sjölund#1795 Remove `getExperimentAnnotation()` since `getSimulationOptions()` is better
f796418bbMartin SjölundReduce the timeout for buildModel since the times for simulating is no longer inclusive
934d6556aMartin 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.
84f2f217dOpenModelica Hudson[Janitor mode] Fix whitespace
df4a8e1f1Alexander CarlqvistSignature of exportToFigaro updated.
bdaabc1f4Adeel Asghar- Fix build.
a0c0fa571Adeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
b735e433eAdeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
44296ddb8Adeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
e75e4cf66Adeel Asghar#2509 - Use the omniORB specific parameters. They are different from MICO parameters.
748bff808Adeel Asghar#2509 - increase argc as well.
c26df13aaAdeel Asghar#2509 - increase argc as well.
7f344f9d2Adeel Asghar#2509 - increase argc as well.
62a7f4309Adeel Asghar#2509 - Specify CORBA arguments e.g IP-address when initializing the client object.
1ae66b544Adeel Asghar#2509 - Specify CORBA arguments e.g IP-address when initializing the client object.
433242bd0Adeel Asghar#2509 - Specify CORBA arguments e.g IP-address when initializing the client object.
af0a99338Mahder Alemseged Gebremedhin+ Fix #2708
01aeb1085Martin SjölundAdd license information
c525048a2Adeel Asghar- Implemented fmiReset, fmiGet* & fmiSet* functions for FMI 2.0 export.
4a863821cVolker Waurich-activated case in inlineArrayEquations.mo
d3290658aVolker Waurich- added case in InlineArrayEquations.mo
ba6b1115aLennart Ochel- attempt to fix r20930
c8fc287bfOpenModelica Hudson[Janitor mode] Fix whitespace
507088397Martin 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
baeb18dfeVitalij Rugepartial support of equal constraints
fc39e62e7Patrick 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)
31afef240Volker Waurich- choose which entries of the incidenceMatrix you want to get (all,positive,negative) via an additional input in SimCodeUtil.getSimVarsInSimEq and SimCodeUtil.getSimEqsOfSimVar
b8967c3d2Jan SilarPDE extension documentation -- comparison to Saldamli.
c6b09d554Volker Waurich- updated hpcom tests, moved predicted SpeedUp message to hpcomDump
a867dfa3eAlexander 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.
82dcd52eeAdeel Asghar- Copy the required dependencies for the Qt clients in their respective make files so that we can also use them individually.
e46d737d6Adeel Asghar- Updated the list of dependencies.
07766ff58Adeel Asghar#2710 - Add references to Mike Tiller's online resources.
12b10d696Per ÖstlundFix for #2707: - Give MUL and DIV the same priority in Dump.priorityBinopRhs.
2603d6836Martin SjölundRead files >4GB of size on 64-bit platforms
19f4fb15dAdeel Asghar#2706 - Fixed the FMU memmory allocation & free memory issues.
bcc9fb24bAdeel Asghar- Implemented fmiSetTime function for FMI 2.0 export.
83a4d607bNiklas Worschechfix for HPCom cpp makefile expected output
86dc68ae6OpenModelica Hudson[Janitor mode] Fix whitespace
6e0d6731cMahder 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.
28f4207a4Lennart Ochel- workaround for builtin functions that are impure, but not marked as impure - expected output (revert some bad changes from r20848)
19c184170OpenModelica Hudson[Janitor mode] Fix whitespace
11147ac26Niklas Worschechfix for empty discrete vars in cpp template
68d584c53Marcus Walther-fixed ANALYZATION_MODE of cpp-runtime
2c71800b4Marcus Walther-fix for hpcom-cpp codegeneration
6afafad6dNiklas Worschechfix for getStartValue in cpp template
057633b0bOpenModelica Hudson[Janitor mode] Fix whitespace
cd85a0624Lennart Ochel- workaround: sample-calls are not marked as impure
299a5e64dLennart Ochel- fix last commit
fd64d5649Lennart Ochel- make +d=iterationVars a bit nicer
3a1f4123eAdeel Asghar- Implemented fmiSetDebugLogging, fmiTerminate, fmiNewDiscreteStates & fmiEnterContinuousTimeMode functions for FMI 2.0 export. - Fixed fmiFreeInstance.
39c96f9f5OpenModelica Hudson[Janitor mode] Fix whitespace
5082112e6Volker Waurich- push current status for tds
f90dc5b45Adeel Asghar- Implemented fmiGetTypesPlatform, fmiGetVersion, fmiInstantiate, fmiFreeInstance, fmiSetupExperiment, fmiEnterInitializationMode & fmiExitInitializationMode functions for FMI 2.0 export.
8501fa397Willi 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.
d8686029dOpenModelica Hudson[Janitor mode] Fix whitespace
f7ed18b9eNiklas Worschechfix for usub function in cpp template
cb7cfd150Volker Waurich-reverted 20880 since one model fails, will check this on monday
e81561270Niklas Worschechfix for include in KINSol
802d9187eVolker Waurich- added case in getScalarArrayEqns1 (improve enhancedAdjacency)
47a7b1bc8OpenModelica Hudson[Janitor mode] Fix whitespace
d775bd1d1Niklas Worschechfix for non returning Kinsol in cpp runtime
eb84611caAdeel Asghar- Fixed FMU makefile.
3a6328258Adeel Asghar- Only add the FMU version error if version number is invalid.
19f9947cfNiklas Worschechfix for typo
d6a16a208OpenModelica Hudson[Janitor mode] Fix whitespace
6dbc72c54OpenModelica Hudson[Janitor mode] Set auto-props
76a42040fOpenModelica Hudson[Janitor mode] Fix whitespace
b884ca8bfNiklas Worschechchanged initialization method for variables in cpp runtime removed unused files in cpp runtime removed some includes
62bedf356Christian SChubertmake SimulationResultsCmp obey runningTestsuite flag to fix test
24626a5c1OpenModelica Hudson[Janitor mode] Fix whitespace
05632880bPer Östlund- Fix RML compilation.
666cd0f0cPer ÖstlundFix for #2705: - Propagate inline annotations in derived component functions.
350780decPer ÖstlundFix for #2707: - Consider multiplication to be non-associative when dumping expressions.
b597c8798Christian 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
3fe28d6c7Adeel Asghar- Added FMI 2.0 Model Exchange export functions.
c273efbc7Adeel Asghar- Removed the index attribute.
4b2e78fe8Adeel Asghar- Add empty model structure tag to make the FMI 2.0 xml valid.
2222b7da2Adrian Pop- properly fix alarm stuff (use extern "C" when cpp is defined!)
f037d1868OpenModelica Hudson[Janitor mode] Fix whitespace
e374b55daLennart Ochel- attempt to improve r20789 (don't handle impure functions as constant)
9f1818aa9Vitalij Ruge- improved numerical hessian
879b880a4Vitalij Ruge- improved numerical hessian
c1af8e140Vitalij Ruge- fixed r20844
2d3d4cd72Vitalij Ruge- fixed keepHessian
7d241f21cAdrian Pop- ansi C
768e0be45Adrian Pop- attempt to fix windows build
fc625e46cPer Östlund- Added output of parentheses for if-expressions on the LHS in dumpers.
6166857edOpenModelica Hudson[Janitor mode] Fix whitespace
989f5f7d0Martin SjölundProbably fixes r20834
00dcba97fOpenModelica Hudson[Janitor mode] Fix whitespace
108f43ca6Lennart Ochel- add more TRACE information (to DASSL and event system)
c8b9ce0f6Lennart Ochel- fix missing space
f8032ded5Lennart Ochel- new debug-flag: +d=iterationVars - this flag generates a list with all iteration vars for both simulation system and initialization system
ffd0ca1d5OpenModelica Hudson[Janitor mode] Fix whitespace
c8e2d2f0bPer Östlund- Improved DAEDumpTpl and switched to it as default. - Untupled min and max in DAE.VariableAttributes.
76325345dMartin SjölundGuard against `arrayCreate(-1,...)` Use arrayCreate instead of `listArray(listFill(...))`
19ecbf746Willi Braun - fix uncertainties test
e12ae55b4OpenModelica Hudson[Janitor mode] Fix whitespace
675c65d69Volker Waurich- deactivate schedule repetition, provide backendDAE and SimCode for schedule method
e0ecf1b49OpenModelica Hudson[Janitor mode] Fix whitespace
0429f2ae8Lennart Ochel- remove cases for impure functions from function traversingTimeVarsFinder - mark delay as impure
753326756Martin Sjölund- Add -alarm=seconds as option to simulations, and start using alarms in the model testing to prevent spinning in the testsuite
8fcbb5157Marcus Walther- compareMode-enum to task graph comparator added
d6ff87b9fWilli Braun - an other attempt to fix IndexReduction
b71eb5174Martin SjölundplotAll/parametric fixes
5e85f457fMartin Sjölund#2701 - Fix plot() command not executing - Change vfork to posix_spawn since it is suggested by static analysis
0f22838f5OpenModelica Hudson[Janitor mode] Fix whitespace
aac910c59Lennart Ochel- fix printAllVarsDebug
adb9c5273OpenModelica Hudson[Janitor mode] Fix whitespace
299bcf181Niklas Worschechfix in cpp template for evaluate return value
3aa976763Martin SjölundFix Linux compilation
b3899d5deLennart Ochel- expected output
2b825cc9bMartin Sjölund#2701 - Hopefully fixes OMPlot for OSX
483e4c3f8Volker Waurich- use the critical criterion to set up initial clusters
f4832947cMartin SjölundFix r20795 (didn't revert both revisions)
7daf95e4bAdeel Asghar- Do not align the axes until we have a new implementation of scale engine.
917e7deddMartin SjölundReverting r20742,r20792. Willi will provide better fixes for them next week.
f7efea49dOpenModelica Hudson[Janitor mode] Fix whitespace
1e3c1e6e2Willi Braun - partial fixes for IndexReduction - there are still more issues with array indexing - added also more debug output to bltdumps
203014cb5OpenModelica Hudson[Janitor mode] Fix whitespace
14e5c612dLennart Ochel- fix #2704 (don't handle impure functions as constant) - add TRACE information to dassl.c::functionODE_residual and solver_main.c::finishSimulation
3d977ef89Volker Waurich- fixed case in createTDSInitialCluster1
df8a9a372Volker Waurich- tds schedule using cluster compaction
57668fe2eOpenModelica Hudson[Janitor mode] Fix whitespace
80c82850cMarcus Walther- fix for hpcom-cpp-code generation
835624c84Martin SjölundAlso analyse user-defined reductions
d484592deMartin SjölundThe tokens should be in reverse order
6c7305938Lennart Ochel- remove unnecessary if(ACTIVE_STREAM(..)) statements
8183b054cLennart Ochel- fix messageClose
e113af902Martin SjölundAdd runtime checks for BackendDAEEXT.getAssignment (breaks the testsuite because it should not work at the moment)
5045d0669OpenModelica Hudson[Janitor mode] Fix whitespace
ee94a07a1Mahder 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
ddb9ad6c8OpenModelica Hudson[Janitor mode] Fix whitespace
979570ff3Jan SilarWork on PDE extension proposal.
838773594Vitalij Ruge- fixed 20771
8c8c74da8Vitalij Ruge- fixed numerical hessian - new flag for keep hessian constant
f5c5366b0Volker Waurich- create initial clusters for the td scheduler
7b886df5fOpenModelica Hudson[Janitor mode] Fix whitespace
ecd0ae83cNiklas Worschechchanged saveAll in cpp template and cpp runtime
5ace46082Volker Waurich- some functions to calculate task parameters for td scheduling, rewritten copmuteALAP - added function List.map2rm
fda69b23cOpenModelica Hudson[Janitor mode] Fix whitespace
65041cbdaLennart Ochel- fix a debug-message - add some additional TRACE information
419d7936fOpenModelica Hudson[Janitor mode] Fix whitespace
8c8d6c4efLennart 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
2d4249770OpenModelica Hudson[Janitor mode] Fix whitespace
233bf0b8dVolker Waurich- started working on task duplication scheduler, computation of est,ect,last,lact,level,fpred
4efe73fb5Adeel Asghar- Qwt is removed from OMDev
44e701c7cAdeel Asghar- Qwt is removed from OMDev
38d51527dAdeel Asghar- Qwt is removed from OMDev
7794f0a05Jim NutaroFixed problem caused by not recalculating parameter equations when calculating all other variables
52852791cMartin SjölundChange Absyn.REAL to store a String instead of a Real in order to unparse without changes
269695c77Vitalij Rugeadded rule for pow(x/y,-r) => pow(y/x,r)
8a26ac64fWilli Braun - fixed index reduction (kudos to Jens) - use higher order derivative index instead of just counting up
c2d356795Adeel Asghar- Copy libomqwt & libOMPlot to build/lib/omc - Fix the link path.
72c6ab1adAdeel Asghar- Copy libomqwt & libOMPlot to build/lib/omc - Fix the link path.
ea525f9d7Adeel Asghar- Copy libomqwt & libOMPlot to build/lib/omc - Fix the link path.
7ff98f7ebMartin SjölundlibOMPlot cannot depend on libOMPlot
4fba7e2a9Martin SjölundMove the copy to the correct place
fac37181cMartin SjölundWhen traversing if-statements, preserve the reference pointer if nothing changed (bugfix for the else/elseif parts)
7646a086aMartin SjölundBetter clean
dae00ab96Martin SjölundFix for OSX (libOMPlot uses QtSvg)
3cbe652c9OpenModelica Hudson[Janitor mode] Fix whitespace
bb4ad8d4cMartin SjölundAdd flag `+d=printStructuralParameters` to print the names of structural parameters evaluated by the front-end
9afe9f351Vitalij 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)
e49513a19Martin SjölundFix compilation
8269ebf04Martin SjölundFix -lqwt to -lomqwt
c063e82c0OpenModelica Hudson[Janitor mode] Fix whitespace
6520d2ffcVitalij 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)
8d801b8e8Niklas Worschechfix in cpp template for init alias vars and smaller fixes
dd3d96599Martin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
cc59f81f5Martin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
0780d2de4Martin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
15a77d44eMartin SjölundRename libqwt to libomqwt to avoid conflicts on OSX
b230e1ec1Martin SjölundLink to OMPlotLib instead of compiling in the objects statically (re-use of the shared library is then possible)
d708e0117Martin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
b04ad16b9Martin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
13101998dMartin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
eb5b782d8Martin SjölundHopefully fixes the Linux builds for qwt (shared version) - Also should add OMOptimBasis as a shared library
b1c14f768Vitalij Ruge revert 20715 there, some issues with clang build
e72e4df22Vitalij Rugeadded rule - e^a / e => e^(a-1)
2724f020aAdeel Asghar- Build all Qt clients using the local Qwt on unix as well.
6361725b6Adeel Asghar- Build all Qt clients using the local Qwt on unix as well.
247509b94Adeel Asghar- Build all Qt clients using the local Qwt on unix as well.
ed27ece35Martin SjölundDo Adeel's work for him :)
9c72dd530Adeel Asghar- Build all Qt clients using the local Qwt.
15165835fAdeel Asghar- Build all Qt clients using the local Qwt.
eab47a1a5Adeel Asghar- Build all Qt clients using the local Qwt.
d9b4bc8dcAdeel Asghar- another try to fix compilation.
b9065ee7eAdeel Asghar- build Qwt with clients
e6802f6d1Volker 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
084b52d85OpenModelica Hudson[Janitor mode] Fix whitespace
a1e2e8106Niklas Worschechfix for getNominalvars and initVars in cpp template
369cdeec9Volker Waurich- fix bootstrapper
901ac7c65Volker Waurich- annotations in graphML - use either profiling or parallel simulation
4c68c5b98Volker Waurich- perform removeSimpleEquations after partial function evaluation only if functions have been evaluated
8f4b10a33Willi Braun - fix issue with r20669 - correct spelling
268432320OpenModelica Hudson[Janitor mode] Fix whitespace
43d669d17Niklas Worschechfix for unknown type in cpp template
4f4aa15a4Marcus Walther- includes for ANALYZATION_MODE added, otherwise it's not working
202ff98d7Willi Braun - use negated value while handling alias variables - that makes the EngineV6 model working again
2cc797aedVolker Waurich- update type of evaluated function outputs
8d54d9306Volker Waurich- get all entries from the incidence matrix, even the negatives in getSimEqsOfSimVar
065d7db0eAdeel Asghar- Remove the background when exporting plot using qwt 5.
e0684f16dMartin SjölundAvoid simulating chattering models in the library testing - Also some tail recursion fixes
e20b6312cAdeel Asghar#2696 - Use 5 as a precision value.
9d76aa64bMartin SjölundMake filterOnTrue_tail use `match` in case the optimizer fails to convert it
80df71b4aMartin 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.
117216647Martin SjölundBump MSL version to match GITLIBRARIES=Yes
27d7cb77eWilli Braun - more fixes for differentiation module
5c07e18b5Willi Braun - fixing differentiation errors in annex60 and Buildings
0a03f0748Adrian Pop- fix bad negation logic
fe1e65d9bAdrian 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!
9a13618f3OpenModelica Hudson[Janitor mode] Fix whitespace
98dddecd8Niklas Worschechfix in cpp template for semiLinear call
5f86b0de1Niklas Worschechbetter scaling for kinsol in cpp runtime
665d22270OpenModelica Hudson[Janitor mode] Fix whitespace
f4c0fece5Willi Braun - fix differentiate STMT_TUPLE_ASSIGN
b9ff83d05Vitalij Ruge- improved optimizer constraints for ode
db88c4919Vitalij Ruge- improved goal function evaluation
a56005df4Vitalij Ruge- improved gradient evaluation
4b7b99782Lennart Ochel- remove unnecessary call of saveZeroCrossings (which calls function_ZeroCrossings)
2d5772cb0Vitalij Ruge- improved numerical hessian
af2c8d751Vitalij Ruge- improved numerical hessian
8b54365dbVitalij Ruge- fixed some compiler warnings
794896058Volker Waurich- changed expanding of crefs and expressions of function inputs
b947590eaLennart 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
5e5792685Vitalij Ruge- fixed some compiler warnings
e1ea7d6faLennart Ochel- improve last commit
dcc1f1d7bOpenModelica Hudson[Janitor mode] Fix whitespace
b0c21e09aVolker Waurich- made some fail-messages dependent on +d=evalFuncDump
3530a3fbdNiklas Worschechremoved some includes in cpp runtime add solve in Kinsol for linear system if linear tearing is active
7810845a1Volker Waurich- support array vars in getScalarVarSize (fix for Annex model)
e5459122aOpenModelica Hudson[Janitor mode] Fix whitespace
c5895d8afLennart 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
53c00b59cVolker Waurich- disable partial function evaluations with +d=evalConstFuncs
e2f4835c5Martin SjölundFix bootstrapping
b4d2fed62Vitalij Ruge- update Makefile for ipopt thanks Willi
e5087c287Volker Waurich- added annotation attribute to task graph graphML
d7aee64d0Adeel Asghar- Export to figaro via GUI.
afa162a80Lennart Ochel- small update to r20622
ca8beb53bWilli Braun - update message for 0^x to "Model error - 0^x is not defined" - moved also test
79c4c2389OpenModelica Hudson[Janitor mode] Fix whitespace
276403ac0Willi Braun - improved differentiation of functions - use partial differentiation for jacobians instead of total differentiation
7ddfa55b9OpenModelica Hudson[Janitor mode] Fix whitespace
83a8aeddbAlexander 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.
2b4908e98Volker Waurich- activate partial function evaluation
cf5e16772OpenModelica Hudson[Janitor mode] Fix whitespace
8849a0836Vitalij Ruge- added rule a - (-b)*c = a + b*c
65da2d633OpenModelica Hudson[Janitor mode] Fix whitespace
618f2e018Vitalij Ruge- added rule - x*x = x^2
99105fca3Willi Braun - added an assert to real_int_pow - adjust tests
481057c07Adeel Asghar- Set the default legend position to top in OMEdit.
5043b8c8dOpenModelica Hudson[Janitor mode] Fix whitespace
cf2a74d2fVitalij 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
2a436a68bLennart Ochel- update last commit - simplify macros RELATIONHYSTERESIS and RELATION and remove useless cases
7243544adLennart Ochel- simplify macros RELATIONHYSTERESIS and RELATION and remove useless cases
93e56b1eeMartin SjölundHandle transpose for matrices
587c82b59Martin SjölundHandle some additional expressions
f65455670Lennart Ochel- fix handling of relations, which triggered assertions in nonlinear system during initialization - msl32/Modelica.Fluid.Examples.HeatingSystem.mos starts to simulate
a6f348ba9Lennart Ochel- attempt to simplify makro RELATIONHYSTERESIS
69786a450Lennart Ochel- update "warning | While solving non-linear system an assertion failed." message again
34a69e31cVitalij Rugefixes from static analysis
feee3c035Martin 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; }}}
6c537e99fLennart Ochel- minor changes - add time point to "warning | While solving non-linear system an assertion failed." message
09dac6a18Per Östlund- Fix exponential complexity of Static.createCrefArray.
1933c5082Volker Waurich- do not declare complexEquations of size 1 to single equations(fix for kc_evenGapLaminar)
74f94a219Volker Waurich- fixed for loop evaluation for ASUBs
c0935681eMarcus Walther- fixed pthreads_spin code for cpp-hpcom-template
93571f516Vitalij Ruge- fixed some warning from static analysis
806486952Volker Waurich-reverted default function evaluation
f1b62de14Volker Waurich- another try to check what breaks when setting partial function evaluation as default (is going to be reverted)
47142e875Volker Waurich- fix for arrays in getScalarExpSize (partial function evaluation)
b0b56318fAdrian Pop- small improvements
0f012947aVitalij Ruge- fixed output - fixed warning for intial guess
c3b6abc9eNiklas Worschechadapted fmu cpp template
9a87450a2Marcus Walther- fix for wrong profiling results
94047a87dVitalij 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
343c89f8bVolker Waurich- reverted changes in unparseType - added dump function for subscripts
a6c14087aNiklas Worschechfix for clang build of cpp runtime
b6dc2ed8cOpenModelica Hudson[Janitor mode] Fix whitespace
18c512e9aNiklas Worschechadded for msvc build in cpp runtime build type variable
0e21f594ePer ÖstlundFix for #2690: - Use spliced exp data when vectorizing discrete arrays.
549006018Volker Waurich- removed debug dumps from inlineArrayEquations stuff
1e7b97979OpenModelica Hudson[Janitor mode] Fix whitespace
732151a89Vitalij Ruge- some fixes from static analysis - improve structure for handling ode order in optimization
c0a60f820Vitalij Ruge- improve hessian approximation
47d09378aMarcus Walther- ModelicaUtilities library added to hpcomAnalyzationMode - fixed hpcom-list-scheduling of cpp-runtime
0912dbf7fMarcus Walther- added "-fPIC" - Flag to CPP-runtime (g++ build) - modified the includes of the hpcom-cpp-codefile
e5be1a2e2Adeel Asghar- align profiling combo box.
9daa946c2OpenModelica Hudson[Janitor mode] Fix whitespace
ef810e810Vitalij Rugeimprove memory handling
d9508f8a3OpenModelica Hudson[Janitor mode] Fix whitespace
073dbcd80Adrian Pop- test whitespace again
396bcadcaAdeel Asghar- Handle the new plot grid options in plotting APIs & OMNotebook.
88f0c6a91Adeel Asghar- Handle the new plot grid options in plotting APIs & OMNotebook.
1a6bf90eeAdeel Asghar- Handle the new plot grid options in plotting APIs & OMNotebook.
fab8c2e41Vitalij Rugeimprove memory handling
967ab98dfAdeel Asghar- Another try to fix build.
075a68637Adeel Asghar#2679 - OMPlot setup option to set legend positions.
f45841c82Adeel Asghar#2679 - OMPlot setup option to set legend positions.
5d3dd9012Adeel Asghar- Fix build
9575907b7Adeel Asghar#2679 - OMPlot setup option to set titles. - Added the footer option to plots.
9ffd73660Adeel Asghar#2679 - OMPlot setup option to set titles. - Added the footer option to plots.
dd28aa904Adeel Asghar#2679 - OMPlot setup option to set titles. - Added the footer option to plots.
c6750ab40Volker Waurich- extend inlineArrayEquations for multidimensional arrays
884dd9e88OpenModelica Hudson[Janitor mode] Fix whitespace
631342f46Marcus 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
4e413d37dVolker Waurich- abort evaluation for reinit,terminate,return
33422b46eLennart Ochel- remove makro ZEROCROSSING
abb1ad9a7Marcus 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"')
1d68c7686Volker Waurich- do not consider wildcards when calculating equation size in partial function evaluation (fix for kc_evenGapLaminar.mos)
26a28998aOpenModelica Hudson[Janitor mode] Set auto-props
014309c7cMartin 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}`
77053a02dNiklas Worschechadd Modelica.cpp file to cpp runtime
d53075eb8Lennart Ochel- dump relations
c499df07eVolker Waurich- fixed more models concerning partial function evaluation
e407b90c0OpenModelica Hudson[Janitor mode] Fix whitespace
23477a03eNiklas Worschechadded precompiled header for msvc in cpp runtime cmakefile and cpp template
c9034591eAdeel Asghar- Fix build.
8093aaba5Adeel 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."
af5679d62Adeel 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."
45f69f42cOpenModelica Hudson[Janitor mode] Fix whitespace
03e89b57dWilli Braun - added non-linear mixed strategy (use first newton than hybrid) - improved newton solver
3b0c613f8OpenModelica Hudson[Janitor mode] Fix whitespace
527a78480Volker Waurich- do not remove an evaluated, constant function if there is an assert (fix for AssertTest6)
bcd66eeecMarcus Walther- some fixes to get the cpp-runtime running on our HPC machines using MKL
25251018dVolker Waurich- fixed more bugs in BackendDAE.Equation declaration for partial function evaluation (ThermoSysPro)
259963ea9Adrian Pop- reverted Static.mo changes from r20486
02316fb91OpenModelica Hudson[Janitor mode] Fix whitespace
f2bced529Martin SjölundRemove cjson from the rml makefiles
12b7158a4Volker Waurich- flag controlled dumps for partial function evaluation - fixed bug for wrong BackendDAE.Equation declaration (QualifiedCrefArg.mos)
a02065460Martin SjölundAdd cJSON to SimulationRuntime/c since the bootstrapped compiler and OSX won't fail to build (Hint: cmake never solved anyone's problems)
c7b395451Adrian Pop- generate correct target platform from CMake
89992fb08Adrian Pop- propagate flags from top level to CMake when building cJSON
f72ca580bAdrian Pop- add cjson to bootstrap-dependencies
1b4fa441fAdrian Pop- add -lcJSON to bootstrapped linker flags
234f3f76eMarcus Walther- another day, another try to add cjson to HpcOmBenchmarkExt.cpp
54312b83bVolker Waurich- reverted function evaluation, updated testsuite
4761dee79Volker Waurich- give it a try and see what breaks when using partial function evaluation as default (will be reverted after the tests)
5d2f43a37Vitalij RugeCleaned up optimization folder.
f516d9c6eVolker Waurich- function evaluation of Shared objects like parameters.just some first functions
3dd9ea842Volker Waurich- fix bootstrapper
616889709OpenModelica Hudson[Janitor mode] Fix whitespace
1e7543ad2Volker Waurich- try to fix bug at InlineArrayEquations.mo, lets see if it breaks something
de18331daOpenModelica Hudson[Janitor mode] Fix whitespace
6f0bf6cc0Vitalij Ruge- fixed initial guess in optimization with external input
a4023091fLennart Ochel- add time point to some log messages
d32dfb684Martin SjölundDon't inline simplify match-expressions that return tuples
43b666b4eMartin SjölundSimplify `match () case () then exp; end match` to `exp`
c4178ca17OpenModelica Hudson[Janitor mode] Fix whitespace
2f9ccd913Willi Braun - fixed debug stream print
437155695Marcus Walther- revert r20442,20445,20446,20450 and 20451
8f5fe9a2dAdrian Pop- add cjson to omc-rml deps too
d737ce962Marcus Walther- another fix
c42530623Martin SjölundForce binary for Windows
bafb80b94Marcus Walther- I still try to fix the cJSON bug...
d101bb489Marcus Walther- try to fix clang-build
6b739532cMartin SjölundHandle the case when we do not need to match against any pattern
ff310c721OpenModelica Hudson[Janitor mode] Fix whitespace
c6d05d8f7Marcus Walther- included cjson into build and HpcOmBenchmarkExt.cpp
d1b2327f3Vitalij Ruge- fixed merge 20440
b94a9ad42Vitalij Ruge- fixed 20413 Thanks Willi!
fc34bd124Martin SjölundChange Error_rml to do the same thing Error_omc does (it works as long as you call the functions through dynload)
bf16b2485Martin Sjölund#2683 Do not generate self-assignments for tail-recursive calls
b58e19d6fNiklas Worschechfix in cpp runtime cmake file for clang
9732d1a1eMartin SjölundFix includes
e7abe4d56Martin 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)
fd5c79cb8OpenModelica Hudson[Janitor mode] Fix whitespace
9c7992487Lennart Ochel- fix debug output
966196939OpenModelica Hudson[Janitor mode] Fix whitespace
04463b5fbAdrian Pop- add a whitespace to check the SVN post-commit hook behavior
e0ccfbccfAdrian Pop- add a whitespace to check the SVN post-commit hook behavior
1df29e94ePer Östlund- Fix RML.
31de92b2ePer Östlund- Cleaned up some code.
a656c4cc9Vitalij Rugerevert -r 20413-20418
4c4f3c8ceMartin SjölundUse throwStreamPrint instead of assert to try falling back in case a non-linear solver generates asub indexes depending on guesses...
5b2a4141dVitalij Ruge- added header
241b839fdVitalij Ruge- added header
23b418963Vitalij Ruge- added header
7e1bd00f1OpenModelica Hudson[Janitor mode] Fix whitespace
418f45d64Vitalij Ruge- improve optimization - scaling - cheaper function evalution - improve data structure - preprocessing for derivations - improve evaluation goal function + constraints - mathematical background - improve hessian structure
482763f07Adeel Asghar- Allow opening multiple files.
eb9b6b45dOpenModelica Hudson[Janitor mode] Fix whitespace
9d1a1fac0Volker Waurich- added function: BackendDAEUtil.replaceKnownVarsInShared - extended Expression.getComplexContents for ASUB and cref defined arrays - extended ExpressionDump.dumpExpStr for ASUB BOX and UNBOX
022365ce5Martin SjölundUse some qwt6 features also for qwt6.0
2568dd346Volker Waurich- update partial function evaluation to fix CascodeCircuit
2aa729e84Martin SjölundFix capitalization
f19e3dc8bAdeel Asghar- Only use the custom scale draw for Qwt 6.1.0.
ef961cd7cMartin SjölundAdd the article to the correct list
52834919dMartin SjölundAdding journal article openmodelica.org:sjoelund:mic:2014
101dfa645Adeel Asghar- Add missing parenthesis.
2056ca7f8Niklas Worschechadded cflag variable to cpp runtime CMakefile which is used in cpp template
b4dd5a3beAdeel Asghar- Another try to fix build.
a930ec6afOpenModelica Hudson[Janitor mode] Fix whitespace
cb3c7e88cAdeel Asghar- Fix build.
e1330157cAdeel Asghar- Do not use the Qt's file dialog on Windows. Use the native file dialog on Windows.
42e7a122fVolker Waurich- some fixes for partial function evaluation (one dimensional records, tuple including scalar record values)
bb3890706OpenModelica Hudson[Janitor mode] Fix whitespace
bed4b48caOpenModelica Hudson[Janitor mode] Set auto-props
cdd4f6b02Martin SjölundSilence make clean
fc52108f5Adeel Asghar#2679 - Fixed "When the grid is not shown, the y-axis and x-axis are drown slightly outside/below the real axes"
4aebc1218Per ÖstlundFix for #2665: - Rewrote section on time in DrModelica.
407db93feMartin SjölundThe linking to msgpack is not needed
14b3a650eMartin SjölundUpdate bootstrapping tarball
3856a1951Martin SjölundRemove the modpar library as it has been disabled for a long time
5a7e51c7aOpenModelica Hudson[Janitor mode] Fix whitespace
a00607566Martin SjölundFormatting
1d019a01dMarcus 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
d9f313cc1OpenModelica Hudson[Janitor mode] Fix whitespace
a4a870872Marcus Walther- rereverting my previous commit, but this time without the c++ - code
13a2ea545Martin 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)
0fb421abeOpenModelica Hudson[Janitor mode] Fix whitespace
5528a3a03Marcus Walther- Cycle based clock is now available for linux systems - HpcOmBenchmark module is now able to read execution costs from xml or json files
6b5f1d710Lennart Ochel- change LOG_SOLVER dump
d3c6bd8caPer Östlund- Added check for invalid modifiers on external objects.
4e6148b6dPer ÖstlundFix for #2681: - Make Expression.dimensionsAdd handle more cases.
fb5fc17b9Martin Sjölundgcc fix
cbfe92704Martin SjölundSilence clang warnings
65a0927ebMartin SjölundDo not generate unnecessary strlen variables
828ec551fNiklas Worschechadapted cpp runtime build to use configured installed gcc version
1e7832187Adeel Asghar- Indentation.
b760d0b93Lennart Ochel- remove obsolete functions
7e7cd31a9Adeel Asghar#2679 - Fixed "The grid is usually too detailed. There should at least be an option without the detailed."
4ac819f1eAdeel Asghar#2679 - Fixed "If the grid is left out, there is an additional line drawn on top and to the left".
00c6b817cLennart Ochel- update last commit
fc4e5c28dLennart Ochel- fix/hack for #2563
fd7a5b9dfMartin SjölundRevert r20341 (breaks systems without g++-4.4 packages)
40c445022Niklas Worschechchanged g++ version for cpp runtime (workarround)
047d2a990Niklas Worschechadded debug falgs to cpp template
8ce953942Niklas Worschechtry to fix fpic error in cpp template
1cc8562cfNiklas Worschechreverted commit 20323
2e3ae6304Martin Sjölund#2680 - Fix for detecting unix
2f173e7fcMartin SjölundAdd PREFIX/lib/omc to the OSX rpath
e51f66425Niklas Worschechchanged build type in cpp runtime make file to release with debug info
cc1d513a5Martin Sjölund#2680 - Fix OSX OMEdit rpath
633502d43OpenModelica Hudson[Janitor mode] Fix whitespace
972856378Niklas Worschechfix typo in Cmakefile, fix in kinso for NAN in residum
5afa9fb9bOpenModelica Hudson[Janitor mode] Fix whitespace
e2868d387Volker Waurich- check initEquations for states when updating varKind
3985a57e3Lennart Ochel- experimental support of overdetermined initialization problems
397663485OpenModelica Hudson[Janitor mode] Fix whitespace
5172cf200Volker Waurich- extended partial function evaluation for various statement types - some bugfixes
e4b991a16Niklas Worschechadded cmake function to create precompiled header for cpp runtime for gcc
b2da5dd3fMartin SjölundAdd new API call for OMEdit to query valid config flag options, like `getConfigFlagValidOptions("profiling")`
6b3ea471cMartin SjölundAdd new API call for OMEdit to query valid config flag options, like `getConfigFlagValidOptions("profiling")`
0241f4c36Martin SjölundGCC fix
3949791c0Martin SjölundFix for gcc
582a9886cMartin 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
8502e45d5Martin 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
67ddee0bbMarcus Walther- removed scorep-tracing-commands
8af25fc12OpenModelica Hudson[Janitor mode] Fix whitespace
c6e18be68Martin SjölundWindows fix
962072d3dNiklas Worschechfix in cpp template for heatlosses example
1a2c36b42Per Östlund- Got rid of some Clang warnings.
cd7688364OpenModelica Hudson[Janitor mode] Fix whitespace
39a749e45Niklas Worschechfix in Kinsol of cpp runtime
9eb9cbf21Martin SjölundMove some things around for OMNotebook to use source files from within OMEdit...
fed79a635Martin SjölundMove some things around for OMNotebook to use source files from within OMEdit...
01efb2c4cMartin SjölundMissing file in OMNotebook
654a0b7bcMartin SjölundMake profiling open up the transformations browser
1c0f99d55Marcus Walther- some scorep-tracing commands added for performance-analyzation
3f070954eOpenModelica Hudson[Janitor mode] Fix whitespace
5147fd983Martin 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
9eece3accMartin 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
f0a2ed8baNiklas Worschechfix for some array functions in cpp template and cpp runtime
1524561f0Marcus Walther- fix hpcom test
df2062218OpenModelica Hudson[Janitor mode] Fix whitespace
75df3a97fVolker Waurich- fixed bug at partial function evaluation
a9c8b6378Marcus Walther- try to fix bootstrapper
88993e114OpenModelica Hudson[Janitor mode] Fix whitespace
cbac82356Marcus Walther- fix for previous commit
f55a25cb9Marcus 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
ee1e767f1OpenModelica Hudson[Janitor mode] Fix whitespace
977978898Volker Waurich- rewritten ifStmt - prediction
fd0c1608dMahder Alemseged Gebremedhin+ Fix bootstrapping.
91f6ff41dOpenModelica Hudson[Janitor mode] Fix whitespace
090bdf63bOpenModelica Hudson[Janitor mode] Set auto-props
5c93afc09Mahder Alemseged Gebremedhin+ Added the task graph implementations.
a7a5c11fdOpenModelica Hudson[Janitor mode] Fix whitespace
de667642eVolker Waurich- rewritten evaluation of if statements - removed some unused stuff in EvaluateFunctions.mo
ff516f609OpenModelica Hudson[Janitor mode] Fix whitespace
42ce73752Marcus Walther- added kinsol support to ANALYZATION_MODE - simple scorep-trace macro for cvode-initialization added
1b251bed4Adrian Pop- use normal malloc / free as GC_malloc seems to have issues
deb3809f5Adrian Pop- crappy MSVC compilers do not know stack array of size given by input argument
db5f42d02Adrian Pop- give build/lib/omc to -L on Windows - copy libqjson.dll* to build/bin so that OMEdit can find it
1da8afabdMartin SjölundImprove make clean
8337c897bMartin SjölundFix the include directory
5145f408bMartin SjölundSome improvements to make qtclean
0ca4136f4Martin 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
b9c8d32dfMartin 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
67b87e28fOpenModelica Hudson[Janitor mode] Fix whitespace
61dfb88aeVolker Waurich- update partial function evaluation
e5e79f27eAdeel Asghar- Added variability, initial & derivative attributes for ScalarVariable tag for fmi 2.0 modelDescription.xml file.
3e723dcbfMartin SjölundAvoid using the susan_codegen directory since it does not use the configured OMC
b93d35ef4OpenModelica Hudson[Janitor mode] Fix whitespace
f67bc64f4Volker Waurich- added debug dump flag for partial function evaluation - fix for removing replacements in tuple assignments
90ba752baOpenModelica Hudson[Janitor mode] Fix whitespace
caa8811ccVolker Waurich- added function to output the SimCode.SimEqSys for a given var index
b0600d6edNiklas Worschechmodified Kinsol for cpp runtime (fix for NaN)
23d2543fcOpenModelica Hudson[Janitor mode] Fix whitespace
d6e70f57dVolker Waurich- update varKind after partial function evaluation
5490f3b68Martin SjölundFixes #2675 (functions returning function pointers)
70820de48OpenModelica Hudson[Janitor mode] Fix whitespace
6324d8f03Per ÖstlundFix for #2642: - Rewrote handling of builtin attributes to be less repetitive. - Added detection of duplicated modifiers on builtin types.
18d6156cbMartin 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
be7769ae8Martin 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
7aebf91c3OpenModelica Hudson[Janitor mode] Fix whitespace
6ae89c337Volker Waurich- some fixes for tuple statements in partial function evaluation
e9abc0059OpenModelica Hudson[Janitor mode] Fix whitespace
09b5ee3fcNiklas Worschechmodified Kinsol for cpp runtime
decae7ffcMartin SjölundCannot refactor everything that the compiler gives notifications about
909f51a4dMartin SjölundFix for libraries that begin with the same prefix
1302eba4eMartin SjölundFix info.json-file - Generate all equation kinds - Tested by parsing all generated json in the testsuite - Generate function names
dc89026cdOpenModelica Hudson[Janitor mode] Fix whitespace
f3cfdd208Per ÖstlundFix for #2644: - Make iterators have precedence when evaluating interactive statements.
263877e19Niklas Worschechadded array functions for promote,transpose, create_from_shape
227a29bfaVolker Waurich- fixed getSimEqsOfSimVar for state variables
8128b724cOpenModelica Hudson[Janitor mode] Fix whitespace
f2352478fLennart Ochel- add EquationKind to BackendDAE.Equation
deae72268OpenModelica Hudson[Janitor mode] Fix whitespace
05a47013fAdeel Asghar- Added ModelVariables tag for fmi 2.0 modelDescription.xml file (not complete yet).
cc344daebPer Östlund- An empty matrix is always constant.
599f6c777Volker Waurich- some features for partial function evaluation: cast support, expand tuple equation
b4466e2f8Per Östlund- Fix tests.
abe375db2Per Östlund- Fix rml compilation.
bfefaaa45Per ÖstlundFix for #2668: - Fixed simplification rule for matrix +/- array so that it doesn't swap lhs and rhs. - Some optimizations for ExpressionSimplify.
7d6b0fb2cNiklas Worschechfix for Kinsol in cpp runtime, added scaling of variables vector
536a88f9bAdeel Asghar- Validate the FMU version argument.
0a4d7edfbOpenModelica Hudson[Janitor mode] Fix whitespace
e72c964b6Niklas WorschechFixes for KinSol in CPP Runtime (now default)
f7daf5c2bMartin SjölundCXX=$(CXX)
d0ce70122OpenModelica Hudson[Janitor mode] Fix whitespace
3bb32eb96Adrian Pop- replace list with Env.Env - FFrontEnd: * add names for edges * resolve component types after constrainedby and class extends
6bcf8a5c2OpenModelica Hudson[Janitor mode] Fix whitespace
bdc2615d4Adrian Pop- some small fixes and changes
5c052ac6aAdrian Pop- propagate build flags! - add more deps
253787831Adrian Pop- more dependencies.
f43464282Adrian Pop- more linking
3631fc065Adrian Pop- bah, of course the freaking bootstrapped stuff needs to be different.
b5e40d008Adrian Pop- add proper dependencies for GraphStreamExt*.c* - import Util, duh
654202451Adrian Pop- fix Linux build - call the viewer from share/omc/java, not 3rdParty
237be590aAdrian Pop- actually build libnetstream.a on Linux.
e8198d33fAdrian Pop- include unistd.h for sleep
a4e635a53OpenModelica Hudson[Janitor mode] Fix whitespace
635021119OpenModelica Hudson[Janitor mode] Set auto-props
4f9d823d7Adrian 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
884cfb421OpenModelica Hudson[Janitor mode] Fix whitespace
7b72abd2aMichael KloeppelFixes issues with some of the test cases
70778470bMartin SjölundFix the broken merge of r20192 and r20194
79ac4334bMartin SjölundRemove unused assignments
804a17570OpenModelica Hudson[Janitor mode] Fix whitespace
29db969acVolker Waurich- next working status for partial function evaluation
670d4afd0OpenModelica Hudson[Janitor mode] Fix whitespace
9be37e8beWilli Braun - fixes for fmi-export(#2664) - removed ringbuffer usage - activated logging - fixed InOutTest testcase
405996641Martin SjölundRemove some more unused bindings
102a3ad7eAdeel Asghar- Added TypeDefinitions & DefaultExperiment tags for fmi 2.0 modelDescription.xml file.
84d622cd7Adeel Asghar- Added ModelExchange tag for fmi 2.0 modelDescription.xml file.
fd129449aAdeel Asghar- Added model's description/comment to fmi 1.0 modelDescription file.
60e8e2a2dAdeel Asghar- Generate the fmiModelDescription tag for fmi 2.0
0cd7e1d12Per Östlund- Type fixes for outerProduct.
07a0428b2OpenModelica Hudson[Janitor mode] Fix whitespace
1a29f88d5Martin SjölundUpdated the script to remove a few more unnecessary bindings
d159d9ffdVolker Waurich- try to fix bootstrapper
65fb20795OpenModelica Hudson[Janitor mode] Fix whitespace
abee0671bVolker Waurich- addded functions getSimVarsInSimEq and getSimEqsOfSimVar
4f87cb23aOpenModelica Hudson[Janitor mode] Fix whitespace
1c5fc4c4dVolker Waurich- extended BackendMapping with matching information and dependency graph - added function getReqSimEqsForSimVar
d4bcfaa9cWilli Braun - fixed #2667
530fedfefOpenModelica Hudson[Janitor mode] Fix whitespace
63b588b14Per Östlund- Some cleanup of SCode.
876732adaMartin SjölundAlso ignore git directories
62d4c2117OpenModelica Hudson[Janitor mode] Fix whitespace
a5e8d5c36OpenModelica Hudson[Janitor mode] Fix whitespace
448352e92OpenModelica Hudson[Janitor mode] Fix whitespace
f30c28d31OpenModelica Hudson[Janitor mode] Fix whitespace
a8d62d9e6Martin 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
7331c110bLennart Ochel- move InlineSolver.mo to Compiler/Unused/
b5b94854aVolker Waurich- added SimCode.BackendMapping to store mapping information between backEnd structure and simCode structure
4a0fb3ffeAdeel Asghar- Generate separate include folders for fmi1 & fmi2. - Create a definition & make file for fmi2.
8f66424d9Adeel 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
4103dcb4aAdeel Asghar- Trim the whitespace.
d227c75e5Adeel Asghar#2666 - Handle %par, %name, %class & %% in the text annotation in a more better way.
454d886b3Martin 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)
479bd3734Martin SjölundUpdate OMEdit copyright notices
c1e3cd238Martin SjölundStrip out some old copyright notices on donated code
8ace1b5a9Jan KokertCorrecting mail address in readme
72567e062Martin SjölundSkip assertion
e01dca8b4Martin SjölundFix bad typo
568de058cMartin SjölundActually pass a struct...
5d4cc5af0Martin SjölundImprove code readability
08493ff8dMartin SjölundRe-run susan to remove copyright notice...
fa5453374Martin SjölundUpdated copyright notices to 2014 - The script uses regex to update copyright notices since we have different years in there
aad940631Martin SjölundUpdate license headers
a54fce9f5Martin SjölundDisable SerializeModelInfo until we update the bootstrapping tarball
21476b875Martin SjölundFix unparsing of newlines in string comments
863ecbb33Martin SjölundUpdate runtime code to OSMC-PL 1.2 runtime license (BSD 3-clause, GPLv3, or OSMC-PL conditions)
dd13b0aa0Martin SjölundRML fix
c1eae01c5Martin SjölundVarious fixes - Fix bootstrapping - Fix unparsing of string comments - Update OSMC-PL header in Compiler/*/*.mo
62f4a2e3ePer Östlund- Handle caching of function type instantiation better.
80df834a3Per ÖstlundFix for #2662: - Remove equations and algorithms from base classes too when instantiating a function type.
c8275d3feMartin SjölundComment out import like I intended to
1eaa01350Martin SjölundSwitch the msgpack serialization for JSON using Util/File.mo
f99bd9a74Adeel Asghar- Update the model source code when line annotation is updated.
5b8623521Jim NutaroUpdates and fixes for the Adevs backend
a42b035a3Leonardo Laguna- Adds List.fold3r function
483c72e2fPer Östlund- Fix configure.
8410870ecWilli Braun - fix non c89 comments
b9be1dfcdWilli Braun - added some white lines to dumpeqninorder to make it more readable
61edba131Willi Braun - added differention rule for DAE.WILD()
97a7c2a58Michael KloeppelChanged step sizes in numeric evaluation of the Jacobian
3206e8e2fMartin SjölundAllow external objects to be passed in polymorphic function calls
c15067e49Adeel Asghar#2626 - Support fmiset* and type generations for the co-simulation FMUs.
931b06141Martin SjölundImprove error-message for type mismatch in function calls when there is only one candidate function
823982233Martin SjölundCheck the path without +d=failtrace
39d0daee6Martin SjölundOnly run templates if the omc executable exists
fcd664742Martin SjölundUse the nolink target
5890f748bAdeel Asghar#2623 - Use the extracted FMU path for resources.
6498a4c96Volker Waurich- do not take all useless statements in the partial function
ac1d0e91aMartin SjölundOSX fix
0b9695ef3Willi Braun - added zero cases for differentiation rule of pow
98a0a9ff0Adrian Pop- if -lcdaskr is part of -lSimulationRuntime remove it from config.h Windows linking flags!
a19abcad4Per Östlund- Functions are also classes.
0da428054Martin 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
2cbc4481eVolker Waurich- optimized replacement management in partial function evaluation - changed BackendVarTransform.removeReplacement, it only needs a key and not a replacement
4c4d7061bMartin 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)
4c5375f2dAdrian 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.
80dc8da80Adrian Pop- another attempt to fix OSX build
094125f16Adrian Pop- fix CPP runtime compilation on MinGW (static libcminpack.a on MinGW)
5da5b0469Adrian Pop- attempt a OSX build fix
1b661e9bdAdrian Pop- fix Windows MSVC stuff in SimulationRuntime/c/math-support/CMakeLists.txt as some files vanished
f66d1b88aAdrian Pop- attempt to fix non-Windows builds
afb13111cMartin SjölundFixed a bug where a polymorphic function input is a function variable returning two values, one of which is of polymorphic tuple type
cb9febecaAdeel Asghar- Link with static lib of CMinpack for Windows.
5e248e566Adrian Pop- attempt to fix Windows build (vasprintf)
1f888988dWilli Braun - switch non-linear solver hybrid from f2c version to cminpack version. - fixed some issues - removed old f2c version from math-support
5f020a04dVolker Waurich- added function BackendVarTransform.removeReplacement
31e17f097Volker Waurich- added debugflag implOde to activate implicite codegen
0783070feMartin SjölundAdd missing file
9c895fb5aMartin 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()
0672a5a90Martin SjölundAdd logotypes without need for having the correct fonts installed
798eb008aMartin SjölundIncrease margins
df5e73719Adeel Asghar- Generate the multiple type definition code only once.
0adf6b6d8Volker Waurich- push next working status of partial function evaluation including: - correct path names for new functions - prediction of if-outputs with not-evaluable cases
a6b57e5a4Martin SjölundDo a real string unescape for the Include annotation
9941187ddVolker Waurich- preserve the element type in DAEUtil.varCref - added function DAEUtil.getTupleExps
ee92903faAdeel Asghar- Use the mapping function to convert integer to enumertation for generated Modelica code from FMU.
8956c5d10Martin SjölundAdding new DAE.Element: INITIAL_NORETCALL (for initial equation sections)
280dea420Lennart Ochel- fix typos - add functions to dump matching information
55169d205Adrian Pop- rename impure to impure_
8eba76618Martin 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
a56f496d1OpenModelica Hudson[Janitor mode] Fix tabs
acc25bf27Willi Braunadded a damped newton heuristic
629c114caPer Östlund- Fix bootstrapping test.
b67654fd8Per Östlund- Attempt to keep RML happy.
0d2aecdeaPer ÖstlundFix for #2556: - Implemented support for qualified crefs as external function arguments. - Removed Static.isTuple (duplicate of Types.isTuple).
62ae24770Vitalij Ruge- fixed LOG_IPOPT_ERROR
4608a24aaVitalij Ruge- improve update model data in optimization - improve initial guess for inputs - fixed constant initial guess
1e5cdab03Lennart Ochel- fix typo
1aaf77d60Michael Kloeppel- fixed bugs in algorithm, which prevented the efficient solution of linear systems
4946a97b3Vitalij Ruge- improve update model data in optimization
3b5662acaPatrick Marcel Taeuber- remove unused inputs
a0e5c7f2dAdrian 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
9cad2f6beAdrian 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.
34093c181Vitalij Ruge- improve evaluation of mayer term
d2792b295Vitalij Ruge- improve evaluation for hessian in optimization - objective function
86525841fVitalij Ruge- improve evaluation for hessian in optimization
f6a8c9a95Martin SjölundMaybe libgc.so not depend on mkbuilddirs since that makes it perform the copy even if it was not needed
449b40cb2Vitalij Ruge- improve evaluation jacobian,gradient in optimization
20e2c3d8aAdrian Pop- revert r20005 and r20009 as previous duplicate definitions from daskr are now prefixed since r20024
c6c2b6fdbWilli Braun - revert r20006
0560a88cbWilli Braun - updated the daskr package (added a prefix to all functions)
3bcd2165cLennart Ochel- keep tolZS > 0
af01810a4Martin SjölundMove the Modelica3D headers into the library instead of directly in the omc includes
bee0999ddMartin Sjölundextern "C" ifdef to ModelicaUtilities
3f42307ddNiklas Worschechadded getNominalReal to Algoop interface and hybrj solver in cpp runtime add empty as output format to cpp runtime time and cpp template
483db26f2Leonardo Laguna- Removing duplicated type declaration (breaks my code analyzer)
00541ba18Vitalij Ruge- restructure data for optimization - fixed indices for nonlinear constraints
b2e8146aeMartin SjölundUpdate to the modelica.org version of ModelicaUtilities.h
1418a0e8fVolker Waurich- function evaluation of tuple-functions, removeSimpleEquations after function evaluation, fixed bug with missing statement - updated tests - added function Expression.isTuple
84136718fAdrian Pop- change the order of libraries with duplicate symbols when linking otherwise the solver cycles forever. - use tee in windows testsuite
edc5e2147Martin SjölundRemove dlinpk.c since the nightly builds complain about duplicate symbols
b236ab867Willi Braun - fix cppruntime
e3cc6738dAdrian 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
8f75537f7Adrian Pop- remove removed files from CMakeLists.txt
e1bc34a37Martin SjölundUpdate cdaspk with fixes for printing strings that are not NULL-terminated
66da2af5cMartin SjölundMake sure we use the new dassl by not linking in the old files (removed from svn to make sure)
1f16b0415Martin SjölundFix static analysis warning
50d55a606Adrian Pop- last ditch effort on trying to be clever
46dbc8573Adrian Pop- va_list is implemented in so many ways in different compiler, skip initialization as it doesn't work on all platforms.
c59b99dceAdrian Pop- fix Linux builds ... duh!
a802444d2Adrian Pop- fix Windows build: the order of imports matter somehow.
cd12582fdWilli Braun - changed order of linking libraries
7e332fbd3Martin 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
08d64f0b0Leonardo Laguna - Minor fix to uncertainties code
8dcadeafcOpenModelica Hudson[Janitor mode] Fix tabs
c5b1d0ff9Willi Braun - switch to newer dassl version (daskr without f2c) from 3rdParty - rename LOG_DASRT to LOG_DASSL
61ac42694Adeel Asghar- Handle the enumeration types in the Modelica code generated from FMU.
837128c1cVitalij Ruge- improve step size for numerical hessian
51904e408Martin SjölundFix bootstrapping
161dc4895Martin 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)
953b0a516Adrian PopFix bug: #2650 - proper prefixing of outer when you have same name several times in the prefix. - added testsuite/flattening/modelica/scoping/InnerOuterSamePrefix.mo
27323cf2cAdrian Pop- re-enable MessagePack.mo and SerializeModelInfo.mo as now they work on Windows. - link with -lmsgpackc
e30ddd06cMartin SjölundUpdate msgpack-modelica.h for Windows
190f34b81OpenModelica Hudson[Janitor mode] Set auto-props
306e9d3aaAdrian Pop- delete all unused files - add README.txt
efd6fa0d3Adrian 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
a66c321c7Adrian Pop- cheat the dependency analysis to get non-separate bootstrapping compilation working. - how did it worked before??!!
873860c94Willi Braun - belongs to r19965: adjust also numberOfIntervals
f54776b69Adeel Asghar- Some fixes for TypeDefinitions code generation.
60a8ecaa1OpenModelica Hudson[Janitor mode] Fix tabs
510bdf5cdAdeel Asghar- Support TypeDefinitions when importing the FMU.
726545cd1Martin SjölundHandle NORETCALL for reduction expressions
16192f6dfAdrian Pop- properly include omc_msvc.h on all paths so we have OMC_INLINE defined!
a8438dccdAdrian Pop- fix Windows build: include omc_msvc.h and use OMC_INLINE instead of inline
54c7e9d98Willi 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
d9e871583Martin SjölundAdd times for reading init.xml and info.xml to the stats
a5046fd4fAdeel Asghar- Fix build.
1ce25d1a3OpenModelica Hudson[Janitor mode] Fix tabs
d9b5fe6deMartin SjölundRefactoring: Remove some unused as-bindings
d3f12f6b9OpenModelica Hudson[Janitor mode] Fix tabs
7550ab732Adeel Asghar- Generate TypeDefinitions in the FMU modelDescription xml file. - This might break FMI tests.
9c14b9937Patrick Marcel Taeuber- deleted redundant functions in Tearing.mo - renamed Cellier-tearing from "tearingSystem1_1" to "CellierTearing" - set default heuristic for Cellier tearing to MC3
ac9e008aaMichael KloeppelFixed a typo which prevented the usage of the metis library when ./configure --with-METIS=DIR is used.
b0c8f3e6cMartin SjölundRemoving dead statements with the script
1a84f6f89Martin SjölundPrint the number of compared signals for verified results
f2aa44592Martin SjölundSome more inlining for arrays
33c7044f2Adrian Pop- fix coding style
0e76eb587Adrian Pop- partial commit FFrontEnd, more to come
629525159Martin SjölundWhy???
86bee880fMartin SjölundDon't pretend you are in svn, HpcOmSchedulerExt.unix.h.in
2a98995f5Martin SjölundCleaning up HpcOmSchedulerExt
85b63ea5eMartin SjölundConvert matchcontinue to match
a6c53f6c6Martin SjölundFix stringUpdateStringChar by writing the 0-char at the end...
5e17f81c5Martin SjölundFix string_array code to match code generation
72388bc6eAdrian 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
ad5d5dff1Martin 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
31852a8ccAdrian 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
299f73803Willi 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
b7e5c39daWilli Braun - fixed output of execstat
812018ad7Martin SjölundRML fixes
053a3631eMartin SjölundAdd various warnings if you try to compile with non-free packages
ac620a62fMartin SjölundFix code generation for TSUB(ix=2) and similar
efb025152Volker Waurich- fixed bug at evalConstFuncs when adding various constant functions
77f8d9ab9OpenModelica Hudson[Janitor mode] Fix tabs
a565e5d6aMichael 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.
72d818bf7Martin Sjölund- Handle boxptr function with NULL arguments - Generate a temporary for tuple pattern-matching to avoid calling a function twice
f32668769Martin 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'''''
87d0fc343Niklas Worschechupdated cpp runtime tests
83c8ea93bVolker Waurich- added additional index to the pathname for the new partial function
188af0ad9Lennart Ochel- use named qualifier
2b046f678OpenModelica Hudson[Janitor mode] Fix tabs
70d62e589Patrick Marcel Taeuber-added information what tearing is used for to tearingdump (e.g. simulation, initialization,...)
b62f02cf8Per ÖstlundFix for #2643: - Remove default values on record members if the are given a binding by a modifier.
970ddecc3Vitalij Ruge- improve num hessian
866f0a0d0Adeel Asghar- Do not insert the ENUM comment in the XML file.
8b6168a7dVolker Waurich- moved partial function evaluation to EvaluateFunctions.mo
b7260c7f2Volker Waurich- added function Expression.isNotComplex and ComponentReference.crefInLst
3f9172d56Vitalij Rugefixed memory leak in scaling
e2345a558Vitalij Ruge- restructure data for optimization (continuing) - using stored alg vars for initial guess
29ce82eacOpenModelica Hudson[Janitor mode] Fix tabs
8edde0ca4Niklas Worschech - add cat_array and sum_array to cpp runtime
1fffee0cdVitalij Rugesome fixes from static analysis
39c217e00Vitalij Ruge- some fixes from static analysis
d52ecece2Martin SjölundFix UTF-8
efa43eee1OpenModelica Hudson[Janitor mode] Fix tabs
7810c2480OpenModelica Hudson[Janitor mode] Set auto-props
550af6e1bAdeel Asghar- Almost empty template for FMI2.0 export.
16e495b22Vitalij Ruge- independent memory for constraints,objective, alg vars in optimization
9c6572459Vitalij Ruge- added helper var - counter for collocation points
45b9a39f3Vitalij Ruge- independent memory for gradient in optimizatio
5b56d62aaVitalij Ruge- independent memory for jacobian in optimization
1b0cfe629Vitalij Ruge- Removed unused variables in optimization - restructure data for optimization (continuing) - diminsion counter for all variables - default value for gradient
2eb4aaf32Vitalij Ruge- improve numeric in hessian
19e43c422Martin SjölundFix the broken tests by outputting error messages thrown when trying to find zero crossings
2cac3cabbAdrian Pop- properly fold (don't loose stuff) when traversing SCode.ALG_IF in SCode.traverseStatements2
016bd4512Vitalij RugeRemoved unused variables in optimization
8db075200Vitalij Ruge- restructure data for optimization (continuing) - derivations - fixed small bug in sparse structure for hessian
7eb7b66dfVitalij Rugeimprove scaling, thanks Kshitij Kulshreshtha
aa117f8e1Vitalij Ruge- restructure data for optimization (continuing) - scaling - improve scaling - added helper var for interim results
93b83f3baAdrian Popvoid function should not return 0!
b9336a523Vitalij Ruge- Removed unused variables in optimization
9cd5abaa4Martin SjölundFix compiler warning
5154bd76fVitalij Ruge- restructure data for optimization (continuing) - bounds
cfb70f6b5Adeel Asghar- Renamed the interface file to avoid conflicts.
9795b80faAdeel Asghar- Fix fmi path for msvc simulation runtime.
0dcdffc98Adeel Asghar- Forgot to move files in the last commit.
7e3bb357aAdeel Asghar- make separate folders for fmi versions.
c6cf635a5Vitalij Ruge- restructure data for optimization (continuing) - helper pointer for collocation
9c0a69e39Volker Waurich- try to fix bootstrapper
a2ba67d2dAdeel Asghar- Fix Linux build
a6e0d46d0Vitalij Ruge- rm unsused variable in optimization - fixed preSim flag in optimization
d4a4718acVitalij Ruge- restructure data for optimization (continuing) - structure Jac, Hessian
4c7331d33Volker Waurich- push current status of partial function evaluation
90060e53dVolker Waurich- added some frontend-functions and some dump functions
6e21dee7dVolker Waurich- added function List.filter1OnTrueSync which does the same filtering synchronously on a 2nd list
f79e10301Adeel Asghar- Kill old FMI import.
bcbb3063dVitalij Ruge- restructure data for optimization (continuing) - time vector
5e6b3cdd0Adeel Asghar- Removed the old FMI import implementation.
eb9728ee8Vitalij Ruge- restructure data for optimization (continuing) - poly coeff
3954a9fe8Vitalij Ruge- restructure data for optimization (continuing) - time grid
fce0e09b2Vitalij Ruge- restructure data for optimization (continuing) - quadrature weight
b8e6fa3e1Martin SjölundSome fixes from static analysis
434954c29Martin SjölundUse noreturn attribute also for cppruntime
ce8190e8eMartin SjölundFix for some rpm-based Linux
eacff81a9Martin SjölundFix compilation errors
a424099c6Martin SjölundSome -Werror fixes (including missing headers, making sure noreturn functions never return)
6fba80d30Martin SjölundFix return type
1e135bfb6Adeel Asghar- Fix OMPlot compiler warnings.
1142ca225Per ÖstlundFix for #2366 and #2640: - Implemented evaluation of default arguments in function calls.
3bed79240Marcus Walther- simple changes in the makefiles to activate ANALYZATION_MODE more easily (Part 2)
8d9131faeMarcus Walther- simple changes in the makefiles to activate ANALYZATION_MODE more easily
75f20f703Marcus Walther- fix for analyzation_mode on Linux
7a1582eb1Adeel Asghar- Set proper message for MAC.
15287c2f4Niklas Worschech- fix in cpp template for function calls with state vars
546d17c1dMarcus Walther- small fix for analyzation mode
8c06cc030Adrian Pop- attempt to fix OpenModelica_BUILD_AND_TEST_CPP_RUNTIME job
68106d547Adeel Asghar- Fixed OMPlot memory leaks and warnings.
3fa2e4665Adeel Asghar- Fixed FMI memory leaks and warnings.
5815df4b5Adeel Asghar- Fixed OMEdit compiler warnings.
b1c5d8efdVitalij Ruge- rm num_diff_symColoredObject
763bcb5d3Martin SjölundFixed some compiler warnings
ae6830267Martin SjölundFixed some compiler warnings
3ac1b311aVitalij Ruge- restructure data for optimization (continuing)
d27f938e5Martin SjölundUpdate installation instructions
9ebfb741aVitalij Ruge- starting restructure data for optimization
eccb8ebf1Vitalij Rugeimprove code for optimization based on (updated )static analysis, thanks Martin
3af86b8d9Martin Sjölundclang analyzer does not like reasoning about struct pointer member variables, so fix false positive
5268a6340OpenModelica Hudson[Janitor mode] Fix tabs
b5b0cda64Patrick Marcel Taeuber- Added some tests for new Cellier heuristic - deleted interface TearingMethodFunction
0b817b634Marcus Walther- improvement for level-scheduling added (is not working with mingw at the moment)
326a4347bMartin SjölundFix petrol test
13f3f2c95Vitalij Ruge- improve solver_main.c code based static analyses, thanks Martin - added missing SOLVER_LOGs for solvers
bc1af6783Martin SjölundAdded targets to handle runtimeCPPinstall dependency on msl-external-libs
e31f3af02Vitalij Ruge- improve solver code based on static analyses
81ab0f343Vitalij Ruge- improve code for optimization based on static analyse thanks Martin
2b3a32a02Adrian Pop- handle DAE.CAST in SimCodeUtil.createNonlinearResidualEquationsComplex [fixes an issue in a model from Tom Short]
80b91b326Adrian Pop- fix Windows build, ansi c
c83f3d09bAdrian Pop- this one was not so useless as dirname can play with the string
0cb84096bAdrian Pop- kill more GC nightmare code, move from getString() -> clearBuf -> printBuf to saveAndClearBuf -> restoreBuf
cc88faa4fAdrian Pop- remove more useless GC_strdup
5d071643aMartin SjölundMove stdarg.h include
eb6fe37a4Martin SjölundIt's called modelica_integer_max, not int_max...
5a52d24f7Martin SjölundAdd required includes
adb1b098aMartin SjölundRML compilation
8331cb158Martin SjölundCleaning up compiler warnings, generating code that should generate fewer warnings
f16bc7d30Martin SjölundGuard open_memstream better
471dd615aMartin SjölundTypo
7207f27d6Martin SjölundOSX fix
63ed05a88Martin SjölundFix OSX path
53bb71fe7Martin Sjölund- Look for msgpack headers in correct directory - Fix msgpack target dependencies
f8f300a76Martin SjölundAdd missing sources
44225e0b5Martin SjölundFix Patternm.mo ugly RML syntax
b01222b30Martin SjölundAdd non-symlink
716f7bc9dMartin SjölundAdd a non-symlink of MessagePack.mo
0b2a0bd57Martin SjölundAlso add the missing include
5a7130c3cMartin 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
3300e29b0Adrian Pop- remove useless GC_strdup as the buffer will be copied yet again in *mk_scon
284ec25e7Adrian 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
69437bbeaAdrian 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
11261efeeOpenModelica Hudson[Janitor mode] Fix tabs
acf9488f4Jim NutaroCorrected code for initialization in the adevs backend
96d30c3f7Martin SjölundFix some warnings
46bb5711aMartin SjölundAdd runtimeCPP dependency
2e5aa8d76Martin SjölundCompile modelica3d with gcc instead of clang
a5be7e6c5Adrian Pop- kill GC nightmare code
d5d3490f2Martin Sjölundmatch new[] with delete[]
abdc145aeMartin SjölundBetter fix than r19761
dcb342896Martin SjölundMake a static variable to avoid returning a pointer into the stack frame
1636ff082Martin SjölundFix dangerous VLA declaration
272656e4dAdeel Asghar- MetaModelica array handling support for debugger.
e53b7a039Martin SjölundAdding attribute noreturn to relevant ModelicaUtilities functions
1cafe93caLennart Ochel- move ResidualCmp.mo to Compiler/Unused/
6aed0d060Adrian 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)));
d4834ee5eNiklas Worschechupdated cpp tests
ac2b965e4Adeel Asghar- Remove the unused definitions.
f72a26662Vitalij Ruge- missing rule
198232b40Adrian Pop- another attempt to fix the build.
e73c54bedAdeel Asghar- Removed the extra implementation of realpath. - Better debugging function. Just use 1 instead of 4.
c98c79fd6Adrian Pop- fix the emptyHashTable reference from the correct package.
b609b87adAdrian Pop- same package, don't use qualified references
98d89b461Lennart Ochel- move function getArraySubs from SimCodeUtil to ComponentReference - move functions getZeroCrossings and getRelations from SimCodeUtil to FindZeroCrossings - make some functions from package SimCodeUtil protected
3ba34e3f5Martin SjölundFix dylib version
07a7ae95bAdeel Asghar- Fixed Windows build. Added the required CFLAGS for msgpack.
afd379207Martin SjölundClean msgpack on make clean
0f58b4f75Martin SjölundAdding makefile target to build libmsgpackc
ca6a66926OpenModelica Hudson[Janitor mode] Fix tabs
807bc6fdaMartin SjölundActually add the files the last commit was supposed to add...
20129a6a1Martin Sjölund#2641 Added a locale-independent version of strtod (taken from ruby)
72629c018Martin Sjölund#2641 Added a locale-independent version of strtod (taken from ruby)
c11a138beVitalij Ruge- guard again c<0 for sqrt(c*e) => c1*sqrt(e)
0b8cea1a8Vitalij Ruge- added rule for sqrt(c*e) => c1*sqrt(e)
77826cf11Adrian 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!
46bac05f4Adrian 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
7049f6068Adeel Asghar- function to get all the information of the tuple element. Used by debugger.
fbf364c07Vitalij Rugeadded rule for (e * e1) * e => e1*e^2
83dd3edc4Martin SjölundGuard against str+str => 2*str
281b5e694Vitalij Ruge- fixed a + a = 2*a
ed42237c7Martin 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
340afbf03Vitalij Ruge- improve case 0/x for makeProductLst
46a684483Martin 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)
e024c4f2eVitalij Rugeadded in makeProductLst two cases for x/0
a1d80593eAdeel Asghar- function to get all the information of the option element. Used by debugger.
9b6b0f640Adrian Pop- meta_modelica_real.* are gone.
c9800552cMartin SjölundTry to fix Windows builds
b135fe898Vitalij Ruge- simplifyBinaryCoeff -> checking for x/0 - fixed inverseFactors for 0/x (not possible 0/x)
ce485b04eLeonardo Laguna- Adds wrapper function Dump.unparseElementArgStr needed by MathCore
d2cf3f9ccAdeel Asghar- Added missing arguments.
fb64da956OpenModelica Hudson[Janitor mode] Fix tabs
8b7ac24ccNiklas Worschechupdated cpp runtime tests
15c63b4abOpenModelica Hudson[Janitor mode] Fix tabs
a03fe4ebaWilli Braun - simulation throw now directly an error if a non-linear system isn't solved proper
73eb44c74Martin 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
c745e93ceLennart Ochel- make function replaceExp protected
06e7b61daLennart Ochel- minor code simplifications
7876872daMartin SjölundFixing boxptr for record constructors
fee49fb21Adrian Pop- more mmc_alloc_words_atomic for #if !defined(RML_STYLE_TAGPTR) - works much better in Windows where omc is a 32 bit process
811640ffbAdeel Asghar- Set +d=initialization as default in OMEdit.
ffe9a0c8aAdrian 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
909fc761bMartin SjölundAdd the r19697 changes also for OSX
2e41014cdMartin Sjölund#2635 - Add rpath to qt clients using gc
fcd909077Martin Sjölund#2635 - Add rpath to qt clients using gc
0cdbced09Martin Sjölund#2635 - Add rpath to qt clients using gc
e4fc27634Martin Sjölund#2635 - Add rpath to qt clients using gc
5ad287832Martin SjölundMade Graph.allReachableNodes not spin infinity if we try to get the reachable nodes from a non-existing node
c63437001Martin SjölundFix separate code generation for boxing external objects and generating constructor/destructor functions
c05c10421Martin Sjölund- Avoid some unused expression warnings for failure(_ = fn()) - Fix the variableFilter regex for OSX
fdc58e2a4OpenModelica Hudson[Janitor mode] Fix tabs
835a63561Niklas 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
711af1cadAdeel Asghar- convert list item name to string.
b86a356cbMartin SjölundTry to fix OSX nightly
01bedd56aMartin SjölundUse $ORIGIN and $ORIGIN/../lib/omc as origins
3cb1b4a3fAdeel Asghar- Grid lines option for custom views.
b0cf76a38Martin SjölundUpdate the bootstrapping build scripts to support packages in packages (so we can create nicer package structures)
7fb3709f9Lennart Ochel- remove unused function differentZeroCrossing
cc7bdf269Marcus Walther- simCodeEquations are now ordered correctly when using taskdep-scheduling
aa7ab85c7Martin SjölundDump () for empty argument list in external functions
f98bfed0dAdrian Pop- ansi C.
899e0df1aLennart Ochel- remove space characters
d8071647bMartin SjölundTry to make msvc happy
714685aa1Lennart Ochel- fix #2633
12a4a19e9Marcus Walther- openMP 4.0 task dependency support added for CodegenC
0d881d0c1Martin Sjölund- Fix scoping issue for MatchDotNotation (wrong component env) - Added the new language extensions to Basic-Exercise-MetaModelica.onb
5dfb5d02eMarcus Walther- fixed generated code for level scheduling - cpp-codegeneration with enabled hpcom-flag is working again
ee1a077f6Adrian Pop- ansi C.
1b9cc0ae2Adeel Asghar- Properly get the length of the pointer.
c1d710c3aMartin Sjölund- Output fewer errors when doing partial function type instantiation
025b74ad4OpenModelica Hudson[Janitor mode] Fix tabs
f3a991d45Patrick Marcel Taeuberintroduced some modified heuristics to Cellier tearing
01f0579c4Per Östlund- Forgot to commit changes to AbsynDumpTpl.
0cce23791OpenModelica Hudson[Janitor mode] Fix tabs
12fe7dc9ePer Östlund- Added back unparseClassStr and unparseClassList in Dump.
3f792b805Martin 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
c2b870854Adeel Asghar- Don't fetch the latest news items if "Show Latest News" is disabled in settings.
03953a917OpenModelica Hudson[Janitor mode] Fix tabs
870fd2b5dOpenModelica Hudson[Janitor mode] Set auto-props
9fcf37bf8Marcus 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"
9235b88bfAdrian PopAttempt to fix: #2627 - disable +a (+keepArrays) when evaluating the graphical API
110eb6331Adeel Asghar- Fixed the argument number.
795c77bbcAdeel Asghar- function to get all the information of the list item. Used by debugger.
e34d97f48Adeel Asghar- Do not return the value.
67adbd976Adrian Pop- ansi C please!
61b63ab42Martin SjölundDon't use empty dependencies...
4a990f9dbMartin SjölundTry a different guard so make clean works better
556e11c91Martin SjölundRemove Dependency.mo and AbsynDep.mo as they were unused in OpenModelica and replaced by more robust SCode dependency analysis
f07f98e43Adeel Asghar- function to get all the information of the record element. Used by debugger.
f97adf508Martin 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''
ee6618fbbPer Östlund- Fixed compilation.
4519450b2OpenModelica Hudson[Janitor mode] Fix tabs
7f20c6eb0Marcus 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..."
6037fc275Martin SjölundRevert r19617 to unbreak unix builds. Windows-specific copying goes into Windows-specific makefiles
4bff18935Adrian Pop- avoid recursive *public* dependency between AbsynDumpTpl and Dump as MetaModelica/RML will consume all memory.
941c2801fPer ÖstlundReplaced unparsing parts of Dump with templates.
4b2ca6a48Niklas Worschechmodified make file to copy minpack dll to build/bin folder
cbf706e1fOpenModelica Hudson[Janitor mode] Fix tabs
daad0c5cbNiklas Worschechadded call to state selection in CVode solver
9c1e51f61Adeel Asghar- Display the bitmap is library browser. - Handle the extends class bitmaps.
0976f4121Volker Waurich- push an intermediate status of evalConstFuncs (mostly handling of if/elseif/else) - added function Debug.bcallret2_2
6c46801deLennart Ochel- move findZeroCrossings to FindZeroCrossings.mo
54716f492Marcus Walther- changed the boost_thread library to optional
9f0c09088Adrian 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
69ffaa8dfWilli Braun - fix bad calculation of the range in zero-crossings search. (occured in #2621)
976905576Marcus Walther- support for boost threads added (required for hpcom)
b3a919971Marcus Walther- revert my previous commit
447c8a97eVolker Waurich- extended Expression.isConst for records
2bc497500Marcus Walther- support for boost threads added (required for hpcom)
f5a16f2fdMarcus Walther- analyzation flag for hpcom added - cpp code generation has now support for hpcom-pThreads
f9cffd583Lennart Ochel- move optimization module 'resolveLoops' to ResolveLoops.mo
1fd72aaaeMartin SjölundAdd missing sources
63c3e4c11Lennart Ochel- fix #2336 - move optimization module 'inlineArrayEqn' to InlineArrayEquations.mo - add description for optimization module 'inlineArrayEqn' - remove unused modules
989344c2aMartin SjölundCall destructors for external objects created locally in functions
116ead430Adeel Asghar- link -lgc in OMNotebook for Windows.
2a96d050aAdeel Asghar- link -lgc in OMNotebook for Windows.
f40a3c6afMartin SjölundAdd -lgc for OMNotebook
a288aa9b9Martin SjölundAdd library path
2d51401ccMartin SjölundAdd library path
ad0ba8968Adeel Asghar- Fixed loading of bitmap shapes within a component.
dca776cdbMartin SjölundAdd missing include
872e61f32Martin SjölundAdd -lgc also for omplot. Add gc as dependency in the makefiles
3302924d9Martin SjölundAdd -lgc also for omplot. Add gc as dependency in the makefiles
09b22f27eMartin SjölundAdeel forgot to add -lgc...
0b2449d92Adeel Asghar#2598 - Fixed plotting of CSV result files.
690669109Adeel Asghar#2598 - Fixed plotting of CSV result files.
7ba3267fbAdeel Asghar#2598 - Fixed plotting of CSV result files.
0f3fa9c97Willi Braun - improved fix to #2510 and also the testcase for enumeration, interger and boolean.
9cf3f1ec7Vitalij Ruge- improve stepsize for num hessian
2c4aec27aVitalij Ruge- fixed LOG_IPOPT_ERROR
64360fd67Vitalij Rugeremove redundant case
7ded586f3Vitalij Ruge- split generation for jacobian structure in the optimization - improve output format for LOG_IPOPT_JAC
a2415e747Martin SjölundCheck for negative dimensions
fb92e2b51Martin SjölundFixes for ModelicaCompliance.Algorithms.For.BoolRange
ced95190cWilli Braun - fix for #2510. Substract one to map modelica index(1:n) to c index(0:(n-1))
b0931998dVitalij Ruge- improve sparsety structure for hessian
87c14b137OpenModelica Hudson[Janitor mode] Fix tabs
90708f75aAdeel Asghar- Handle auto detection of language. Use QLocale::system().name() to find the default language.
8a0c80341Niklas Worschech- added index parameter to stateset methods, in order to distinguish between different statessets - fix in hybrj for initialization of linear systems
e2d0700b6Adeel Asghar- No QTextCodec::setCodecForLocale for Windows.
6dc125be4Martin SjölundUse Absyn.pathCompare(...) instead of stringCompare(pathString...)
07bc649e0Martin SjölundDon't compare strings 3 times
42c9e6de7Vitalij Ruge- improve scaling
76f7f8d2bAdrian Pop- ANSI C please! - fix Windows builds (VS)
402280febMartin SjölundAdding function DAEUtil.avlKeyCompare instead of hard-coding this
ae0d26c1fLennart Ochel- add error message for #2614
47163a75dPer ÖstlundFix for #2616: - Handle DAE.DEFINE in InstUtil.moveBindings.
491550aafAdeel Asghar#2552 - SaveTotalSCode is supported now.
aff3eaf3fAdeel Asghar- Check all models recursive.
bbc022e64Henrik TidefeltFix/improve error messages for implicit Integer to enumeration conversion
b8df1614eWilli Braun - remove an accidentally commit change
038198339Willi Braun - more fixes DEBUG_OUTPUT, added debugStreamPrintWithEquationIndexes
7d7ec63fdWilli Braun - fixed compiling of DEBUG_OUTPUT further
35720bc17Adrian Pop- attempt to fix the coding style job.
37b1a3d42Willi Braun - fixed DEBUG_OUTPUT compilation
50b0d523bHenrik TidefeltAllow integer instead of enum constant when compiler is invoked with +intEnumConversion
cad390d94Martin SjölundBetter printing of differentiate
180e7f58fLennart Ochel- fix last commit
7f9e35d6dLennart Ochel- some code simplifications
58557630bNiklas Worschechfix in cpp template initialize equations
9ea166d9bVolker Waurich- commented out 2 cases in Expression.isConst, that hopefully fix the tests
a59b19c6bMartin SjölundRemoved not needed import
dbdc4fa54Niklas Worschechfix in cpp tempalte for initvars
a3cd32541Volker Waurichhandle complex functions in evalConstFuncs
597dca7ccMartin SjölundDo inlining of arrayGet by default (halves the cost). - OMCC: Use unsafe arrayGet in the parser (eliminates the cost of arrayGet almost completely)
5c77736dbAdrian Pop- switch back to 1.9.1Nightly
c85f59eb8Adrian Pop- update version to 1.9.1 Beta2
73430dd7dMartin 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
21d3185b5Vitalij Ruge- improve output format
0d0aa16ebVitalij Rugefixed pre simulation for optimization
b68af4158Martin SjölundAdd -fno-stack-protector as a default flag since it messes with some systems
245ad85bcVitalij Ruge- fixed warning
13dec42c3Adrian Pop- support multiple indexes for ASUB (subscripting of general expressions like function calls) in XMLDump.mo
fc5a2466dDietmar WinklerRemoves erroneous keyword (probably "butter fingers")
f33818f19Dietmar WinklerAdd link to local license file.
eab6461d1Dietmar WinklerTypo fixed.
f6f2cad87Dietmar WinklerRephrase the contribution section.
a0f4d6d7fDietmar WinklerInitial version.
b7570b305Volker Waurich- added a case for record expressions to DAEDump.dumpExpStr
40537d65cAdrian Pop- fix Windows build include omc_inline.h to make VS happy
2c3d86a1aLennart 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)
9be13ce01Per Östlund- More punctuation.
cc8c7df25Per Östlund- Punctuation.
c84bd029dVolker 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"
374b6bb9fMartin SjölundUse newly added MetaModelica.Dangerous.listReverseInPlace to save a little more time in the OMCC lexer
31afccab1Martin Sjölund- Inline some more MetaModelica functions - OMCC: Combine the Absyn.INFO lines/columns into the OMCCTypes.TOKEN directly (1 fewer allocation)
fcd56fed3OpenModelica Hudson[Janitor mode] Fix tabs
9b9b39b57Niklas Worschechfix in cpp template for changed stateset jacobian names
fd641b4aeNiklas Worschechfix in cpp template for call of executable in Linux script
1f9d33c12Lennart Ochel- revert r19458, since it breaks working test cases
13f27fb71Willi 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).
3995d2cc9Martin SjölundFix whitespace
737761e27Martin Sjölund- Add MetaModelica.Dangerous.stringGetNoBoundsChecking - Change LexerCode.action to return a token with index=-1 instead of NONE()
9c23fef5dOpenModelica Hudson[Janitor mode] Fix tabs
0d172aecbNiklas Worschechfix for typo in cpp template
4d92d0668OpenModelica Hudson[Janitor mode] Fix tabs
b8b4f3870OpenModelica Hudson[Janitor mode] Set auto-props
7f9dae544Martin 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)
c5a851089Niklas Worschechfix in cpp template for linux executable name
c2634e273Niklas 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
7650787f4Martin 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
3c381255cVitalij Ruge- temporyry fix for optimization with output file
d0660ecc0Willi Braun - fixed initial guess for optimize
937b5ea4cAdeel Asghar- Removed PySimulator since it is moved to github. - Only creates the OMPython directories when user installs it.
0ee1e91d7Martin SjölundAdding MetaModelica builtin stringGet (returns a byte as Integer)
e782576d5Lennart Ochel- fix initialization by matfile
e90e5dee9Adrian Pop- optimize template unparsing a bit (mostly memory but also speed)
64794761eVitalij Ruge- improve output format
ac1dc0db2Vitalij Rugefixed time grid for optimization
0f18ca41bVitalij Ruge- fixed ipopt warning
97d283561Vitalij Ruge- cheking ipopt max iter
edaea71b1Per ÖstlundFix for #2607: - Take associativity into account when printing expressions.
dcedca09fMartin 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)
9a2cdce8eOpenModelica Hudson[Janitor mode] Fix tabs
cfcb3b0c8Willi Braun - moved also calculation of jacobians of dynamic StateSet from SimCodeUtil to Backend module
1b3bdf22dWilli 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
438dc6e4aVitalij Ruge- fixed output format
db8c0342bVitalij Ruge- fixed output format
95bd57bcfMartin SjölundAdd mingw Makefile so make clean works
b3272f960Martin SjölundAdd code to generate a main entry-point easier
b7f69cdc8OpenModelica Hudson[Janitor mode] Fix tabs
a3e30c7c1Willi 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.
263c98e2bVolker Waurich- removed some comments, unused code and debug-prints from resolveLoops
ef10d3177Martin Sjölundmake clean bootstrapping
01e48735bVolker Waurich- resolve a loop when the no.outVars+1 <= no.InVars
ac33c30cdVitalij Ruge- changed default linear solver for ipopt
ade3134c8Volker Waurich- bugfix for sortPathsAsChain1 (resolveLoops)
f4f8e16ebPer Östlund- Got rid of datarootdir warning in Makefile.in.
95ab57761Martin SjölundShave a few seconds by not re-linking shared objects if nothing changed
adc729e8cVitalij Ruge- improve max_iter flag for ipopt
a7a1c4e3bVitalij Ruge- improve max_iter flag for ipopt - max_iter=1e6 now support
e3cda0561Martin SjölundAdding Modelica 2014 reference
325a0db28Mahder Alemseged Gebremedhin- Moved to branch.
0dcb9033aVitalij Ruge- added LOG_IPOPT_ERROR for following max error in the optimization - added example for LOG_IPOPT_ERROR
549b7c824Vitalij Ruge- added flag: max_iter for ipopt
4b04b28d3Vitalij Ruge- improve external input
85dbfe27cMartin SjölundFix depends on shared library...
a8092ee6dMartin SjölundCopy the shared library for the shared version, not the static
a6d46c666Martin SjölundProperly build shared and static versions (were swapped before and the shared ALSO linked all objects)
b03eee1bbMartin SjölundAllow static linking
161a3192cMartin SjölundTry to guard against inclusion
54568a1a8Martin SjölundAdd Peter's new book
3543bb0e3Martin SjölundUpdate targets for bootstrapping
35a65afb4Martin SjölundAdded targets to bootstrap with the new build system (Compiler/boot)
1379148acBill JanssenRemoved use of $ in XML element tags
4ab1c8effVitalij Ruge- fixed initial guess and pre simulation for optimization
c97e66afeVitalij Ruge- fixed intial guess for optimizer - fixed pre simulation in the optimization
06add8128Vitalij Ruge- fixed optimization - writing of results
4804f96c8Martin SjölundSome files to generate sources for bootstrapping
4540fdadfAdrian Pop- improve a bit the division by zero message
2a5d29a44Lennart Ochel- typo
73d9d4d07Adeel Asghar- Avoid index out of range errors.
17c718f2eLennart Ochel- recover r19259 and r19260
df9c73bbbMartin 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
dcfe9f62fWilli Braun - remove algorithms completely, if all statement are removed.
485654cf2Volker Waurich- detect loops that form loops, updated test
f92973774OpenModelica Hudson[Janitor mode] Fix tabs
1519d7524Willi Braun - added config flag for genaration of symbolic jacobian and linearization
b63a956beWilli Braun - fixed function differentiation for protected variables
88bb1ab07Adrian Pop- fix coding style * UTF8 encoding (mahge930 please set your workspace to UTF8 no BOM in Eclipse).
70cf37ff9OpenModelica Hudson[Janitor mode] Set auto-props
79453cee3Mahder Alemseged Gebremedhin+ Let the scheduler implement it's own executor.
39220e035Martin 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)
fcb3d1cc9OpenModelica Hudson[Janitor mode] Fix tabs
a7b6ececbVolker Waurich- output graphml for every equation system - fixed bug at partitionBipartiteGraph
c0e3abf51Marcus Walther- try to fix hpcom tests
d057cbe52Martin SjölundSend options to SCodeDumpTpl. Replace some old unparsing functions with the template ones.
3e21f104eMarcus Walther- GraphMLNew.mo removed from trunk
566d76791Marcus Walther- try to fix bootstrapper
09d6ec0dcMartin SjölundIncrease JS memory to 768MB
5f73ebef6OpenModelica Hudson[Janitor mode] Fix tabs
812366023Marcus 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
c2b25f4deOpenModelica Hudson[Janitor mode] Fix tabs
5c6c2c68cMarcus Walther- changed GraphML-Dump to GraphMLNew-Dump
45f8d31ddVolker Waurich- some resolveLoops changes (resolveloops_main as matchcontinue, heuristic to priorize the equations that could be replaced)
4a0ef1899Martin Sjölund#2603 - Handle escaping strings where the string-length does not change
c9f5ab764Martin Sjölund- Copy expat.h at the correct place
f0542ca48Adeel 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.
0a61f6b45Martin 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)
b84a10960OpenModelica Hudson[Janitor mode] Fix tabs
cb0c3634bVitalij Ruge- fixed input update - improve interpolation for input - improve initial guess
05b9ab59dVitalij Ruge- improve initial guess
af9978827OpenModelica Hudson[Janitor mode] Fix tabs
35279c32eVitalij Ruge- dev functionality for ploting structure of jac and hessian matrix
8240524d3Martin SjölundRefactoring
cee4d60caMartin SjölundRefactor code (remove duplicate sections)
755e452ebMartin SjölundConvert from int buffer to string; the nodejs function does not accept int buffers
391dc0245Martin Sjölund- JavaScript target: Use separate xml-files instead of embedding in the JS - Backend: Propagate "protected" boolean to SimCode
0650772bdMarcus Walther- adapted hpcom code to the cpp - class structure
7248a9d52Marcus Walther- openmp parallel code for all hpcom-scheduler now available
98e964d0aMartin SjölundAdd a "play" button to run a javascript-based simulation in the browser
15c7772caOpenModelica Hudson[Janitor mode] Fix tabs
8c08c7578Vitalij Ruge- improve initial guess
6720a2eebMarcus Walther- try to fix clang test
f7c051609Volker Waurich- changed handling of loops with variable-crossNodes (resolveLoops)
76e2d02e4Martin Sjölundmake emcc now downloads a minimal set of mdpad files
f420147c9Vitalij Ruge- improve initail guess
1a464fa54Marcus Walther- try to fix bootstrapper (forgot to upload one file)
154784115Marcus Walther- try to fix bootstrapper
c4d327974Marcus 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
dc6a8d92eOpenModelica Hudson[Janitor mode] Fix tabs
702128142Vitalij Ruge- added pre simulation for optimization - using startTime from Optimica
4b581812eMartin Sjölundmake emcc in the root directory now installs all the dependencies
c57408b00Martin Sjölund- Partially revert r19289 (broken bootstrapping tarball) - Fix JavaScript target - Fix bootstrapping
d24eea441Adrian PopFix bug: #2412 - propagate program inside CACHE so we have access to it even if there is not symbol table available.
e44589430Adrian 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.
42a4e11afMartin SjölundDisable the link-time optimizer. Download the binary files when doing make emcc
a391652ceMartin SjölundAdd description to FMU
e51ffea03Martin SjölundAdd description to the _init.xml
ebcf3b970Martin SjölundMore information in the logs
3e3ef6cc4Martin SjölundUpdate legend
3e11736adPer Östlund- Fixed character encoding.
1e3665b31Martin SjölundCopy to .so-files as expected
a67ca3a45Marcus Walther- pthreads_spinlocks are working again in hpcom
9e61d3179Volker Waurich- fixed small bug at resolveLoops (traverse partitions)
0de3ec08fMartin SjölundCreate the xml-file and then convert it to a C literal since Susan performance suffers if we do it in memory
7aeec1118OpenModelica Hudson[Janitor mode] Fix tabs
363d961cbOpenModelica Hudson[Janitor mode] Set auto-props
42c645bafMahder 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.
e79923726Per ÖstlundFix for #2593: - Fix circuit in IfClause.onb of DrModelica.
fac68fe41Volker Waurich- changed evaluateLoop function for resolveLoops
0ada9915aLennart Ochel- revert r19259 and r19260, because it breaks the optimization
7f220c955Adrian Pop- fix typo
3da7db82cOpenModelica Hudson[Janitor mode] Fix tabs
d0ea8da4dVitalij Ruge- seperate output file for inputs vars
35d80c730Lennart Ochelnew warnings for alias sets with different nominal values - maybe this should be hidden per default and only displayed with some new flag
fe6d1e2eaLennart Ochel- minor simplifications - change "Alias set with several start values" warning
f747deccdLennart Ochel- move initSample call
10522ee1eLennart Ochel- remove obsolete workaround
6ef983831Lennart Ochel- remove obsolete workaround
313fb0335Martin SjölundAdd target to build libModelicaExternalC and libModelicaTables using the JS implementation
cc97e9cc7Lennart Ochel- fix *_init.xml file generation for variable attributes - fix #2597 - fix #2601
49f46e5ebLennart Ochel- move some post-initialization procedures - change stream for a assertion notification
b958f611aMartin SjölundJavaScript performance - less setjmp (limited max number of setjmp allowed in emscripten)
455c8486bMartin 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
1a8e0b5aaVitalij Ruge- improve output - modefiy example final parameter in parameter
f0f56a3c2Lennart Ochel- fix incompatible pointer types
73061b18cBernhard BachmannFixed output format
0255d9ef9Vitalij Ruge- changes from Willi for r19242
9f9d3ed9eVitalij Ruge- changes from Willi for r19242
4d143e116Martin SjölundUse the chosen stopTime, etc in the javascript .md template
b743411b5OpenModelica Hudson[Janitor mode] Fix tabs
88767132fVitalij Ruge- improved preliminary functionality for external input file - initial point - added missing .h file to Makefile
1c4f6e60bWilli Braun - fixed solving tuples for correct variable - that break some avm models, but there for we need to fix ticket(#2599)
0d7e46f5aLennart Ochel- fix nominal values for the *_init.xml file (see #2597)
7339d12e2Martin Sjölund#2555 - Enforce casting of the value of a binding, in addition to the expression
f8de6d6cfOpenModelica Hudson[Janitor mode] Fix tabs
2dcb155c5Bernhard Bachmann- improved preliminary functionality for external input file
dc33e54aeVolker Waurichfor resolveLoops: - rewrote sortPathAsChain - bugfix at replacing heuristic
33aeef488Martin SjölundUse omc_error instead of the simulation streams (since expressions can be called from the function run-time)
9df053952Martin SjölundDo some run-time array bounds checking
d114913b2Volker Waurich- dump graphML after resolvingLoops - resolve paths which connect 2 simple loops - bugfix for sortPaths
55d079185OpenModelica Hudson[Janitor mode] Fix tabs
dd30eafe9Vitalij Ruge- added functionality: read external input from csv for dassl and optimization - for cheking input or initial optimization
f851f83c5Adrian 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
2950d4546Willi Braun - revert r19222 for now, since some other issues raised with it
3765d7973OpenModelica Hudson[Janitor mode] Fix tabs
79aa7424aWilli Braun - fixed solving tuples for correct variable - added more cases for solving tuples
612854894Lennart Ochel- prepare time events
e94dab921Lennart Ochel- Oops! revert r19216 and r19217
599bd3286Lennart Ochel- update templates
0160ccce4Mahder Alemseged Gebremedhin+ Option to dump simulation systems as arrays of functions.
8cb5c9a4eLennart 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)
99a54fa19Lennart Ochel- rename attribute initial_ to start
a1cd02e14Vitalij Ruge- improve counter for hessian
39f36491aVolker Waurich- added function List.hasSeveralElements
a0184e023Volker Waurich- restructure resolveLoops - changed some heuristics to replace equation and to find the loops for resolveLoops
081b34fa1Lennart Ochel- add Modelica-like output for dumpindxdae using +d=dumpTransformedModelica (just a prototype)
47a684341Martin SjölundFixes for no kinsol
8f3cfe3dbVitalij Ruge- reduce one add in hessian
7dd064e92OpenModelica Hudson[Janitor mode] Fix tabs
febc91924Vitalij Ruge- improve counter for hessian - small changed in c-code (mv, del)
5be1a1d2bOpenModelica Hudson[Janitor mode] Fix tabs
bc1bf77d1Vitalij Ruge- reduce hesse elements - fixed output for constraints - fixed matching for constraints - active testcase for alias constraints
2ce1ebc90OpenModelica Hudson[Janitor mode] Fix tabs
747f9c8b9OpenModelica Hudson[Janitor mode] Set auto-props
e24b66303Mahder Alemseged Gebremedhin+ update missed configure script.
2a7e1e29bMahder Alemseged Gebremedhin- Rearrange parmodelica includes to the new include structure.
0a0a6bb66OpenModelica Hudson[Janitor mode] Fix tabs
6df0be9dfNiklas Worschechfix in CVode of cpp runtime, initialization of zeroSign vector was not correct
8dd444b98OpenModelica Hudson[Janitor mode] Fix tabs
13713d718Vitalij Ruge- print -Inf and +Inf for to big or to small numbers in optimization
3f82dc698OpenModelica Hudson[Janitor mode] Fix tabs
9ebde03deNiklas Worschech-separated calculation of Jacobian's of cpp Modelica system in extra class
04b7cf0ebWilli Braun - don't simplify in differentiationExp it's too slow - fixed differentiation of for loops - fixed differentiation of scalar product
bed94e98dMartin SjölundFix kinsol stuff...
78e890733Vitalij Ruge- useNominal = true, after update - fixed 19146 for start value - fixed output for optimization
f992efa7eMartin SjölundHandle Modelica.Utilities.Streams.error in simulations
1ea3bb055Martin SjölundFix kinsol dummy wrapper
ded5eebbdMartin SjölundMove ModelicaUtilities.h to the root of the includes, since the specification says it should be included with , not
c0614ad16Adeel Asghar- Changed instantiate/check model from QDialog to QWidget. Some platforms doesn't support Qt::WindowMinMaxButtonsHint.
85d3d9113Adeel Asghar#2590 - Create a unique folder for each user.
81b38390bMartin SjölundFix MSVC crap?
106c7258eAdeel Asghar- Added OpenModelica Scripting & Modelica Documentation menu items under Help menu.
9a0fc13c7Martin SjölundHandle NULL threadData
14e3ebd66Martin Sjölundmake clean now also cleans the bootstrapping directory
6528bd0b0Martin SjölundFix warnings
0331a47c6Adeel Asghar- More window flags.
f33ace6f3Martin SjölundRemove the global jump buffers; do the jumping via threadData instead
4fa340ca2Adeel 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.
6f3800640Adeel AsgharMaximize button for instantiate/check model dialog.
b62d44208Per Östlund- Fixed bibliography.
bb0dfd40fPer ÖstlundFix for #2587: - Added simplification rules -{e1, e2, ...} => {-e1, -e2, ...} and -[e1, e2, ...] => [-e1, e2, ...]. - Improved Static.elabMatrixCatTwoExp so it handles more cases.
0ffd50d45Per ÖstlundFix for #2587: - Added simplification rules -{e1, e2, ...} => {-e1, -e2, ...} and -[e1, e2, ...] => [-e1, e2, ...]. - Improved Static.elabMatrixCatTwoExp so it handles more cases.
2fb07f443Martin SjölundRevert r19152 (should be re-done without adding additional argument to all functions; keep ERROR_HANDLE inside threadData_t)
d9537dce0Martin SjölundMove the C includes to build/include/omc/c. Probably fixed bootstrapping
27e281a07Bruno Scaglionifixed bibliography/openmodelica.bib
e65e445aeMartin SjölundActually fix the bibtex database
6f82e98b3Bruno ScaglioniFixed bibliography
21306871fOpenModelica Hudson[Janitor mode] Fix tabs
412b2660eWilli Braun - passing error-handle round all runtime function to remove it from global scope
4ba83026aMahder Alemseged Gebremedhin+ Fix bootstrapping. Hunted down the culprit.
e3f3a873bAdrian Pop- spelling of: backend -> back-end jacobian -> Jacobian
31982035fMahder Alemseged Gebremedhin+ Update include paths for FMI/FMU and bootstrapping.
1408d0d0cVitalij Ruge- fixed initial guess for optimization
cf37d212bVitalij Ruge- fixed setting of bounds for input in optimization
303db6575Per ÖstlundFix for #2585: - Handle cardinality on arrays properly.
95a5c5b2cMahder Alemseged GebremedhinFix includes in Simulation runtime. Keep them relative. Keep simulation runtime header structure in build directory.
b55429fb3Per Östlund- Fixes for DrModelica.
b4c99c488OpenModelica Hudson[Janitor mode] Fix tabs
51ac34f35Vitalij Ruge- join constraints and algebraic vars
dfe54a3fcMartin SjölundSome more Tpl functions now use match instead of matchcontinue
7784fdcbaMartin SjölundFix MetaModelicaDev tests
774eb5923Per Östlund- Only return the new classes in Main.handleCommand2, not all loaded top-level classes.
80d1ffa09Martin SjölundFix if-equation translation for omcc
a2baf5cd5Vitalij Ruge- add function for pick up input attributes - missng free
f893e2296Martin SjölundAdded a better error-message for using subscripts in modifiers
09f61ef1cMartin SjölundAdded a better error-message for using subscripts in modifiers
2ce27fdd5Bruno ScaglioniUpdated bibliography
f1a8ed13fVitalij Ruge- new simplify rule for a + (-b)/x = a - b/x
83335f9d2Willi Braun - removed linear flag for SimCode.createEquation - allow also no-linear for jacobians - fixed function for linearization
413a0d99fLennart Ochel- remove unused flag +d=dumpderrepl - auto-enable +d=backenddaeinfo if either +d=stateselection or +d=discreteinfo is used
d19da6de8Vitalij Ruge- fixed r19122
4fc8a1680Lennart Ochel- revert r19122
84ce63388Lennart Ochel- fix r19111 - get ./simulation/libraries/3rdParty/ThermoSysPro/ThermoSysPro.Examples.SimpleExamples.TestJunctions4.mos working again
a862e2f33Vitalij Ruge- restruct constraints (optimization) - new VarKind for constraints - new SimVars for constraints
d55215513Martin 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)
26d7bf3dbLennart Ochel- fix #2583
892ff1908Martin Sjölund+d=backenddaeinfo now prints to the Error.mo buffer instead of stdout
f3dd3cf5earunkumar palanisamyupdate DrModelica exercises, fixed=true
e3ce9bd5dMartin 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)
cf70e5e73Martin SjölundDump info regarding linear system density
170cb6ca0OpenModelica Hudson[Janitor mode] Fix tabs
158b10e3bVitalij Ruge- split DAE and ODE in the context of event
33558ce92Vitalij 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
f223a224fLennart Ochel- add "discrete states" to +d=backenddaeinfo - see #2397
4603d975aVitalij Ruge- removed duplicated simplification
436cded66Vitalij Ruge- simplify tsub
2d3b254e9Vitalij Ruge- fixed last commit
a4c0882a9Vitalij Ruge- checking const tsubs for derivations
f4bcb63f5Willi Braun - work-a-round for index reduction, don't differentiate tuple for now - fixes for avm models
690d22b7eVitalij Ruge- update initial guess solver
33f62ec43Vitalij Ruge- changed default values for ipopt
706b552eeWilli 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
4a9f69dd9Lennart Ochel- move warnings for parameters from front end to back end - get rid of false warnings
26cc5078aOpenModelica Hudson[Janitor mode] Fix tabs
d62d21513Vitalij Ruge- fixed numerical gradient for lagrange term
57424fb07Vitalij Ruge- added numerical gradient for objective function
9e973d7c9Lennart Ochel- add new initialization test case for parameters - minor changes to LOG_INIT and LOG_SOTI
f23ff3bb0OpenModelica Hudson[Janitor mode] Fix tabs
c84465054Vitalij Ruge- improve last commit
05c949836Vitalij Ruge- added dense numerical jac
b6f1f207cOpenModelica Hudson[Janitor mode] Fix tabs
c37f13027Vitalij Ruge- num jac for optimization (num gradient missing) for compare num and sym jac
465ac1b71Lennart Ochel- update initial comment for generated *_08bnd.c files
16b774503Lennart Ochel- update function name to its new functionality (updateBoundStartValues -> updateBoundVariableAttributes)
9c04f9678Vitalij Ruge- remove unless code - optica flag don't break simulation code
d3308a600Vitalij Ruge- detailed output
250bc6292Lennart Ochel- second try: fix parameter dependent attributes (nominal, min, max)
c5f4afa63Lennart Ochel- revert r19076 (some cppruntime and hpcom tests seem to became non-deterministic)
ef4bdf650Lennart Ochel- fix parameter dependent attributes (nominal, min, max)
dfd56c58eMartin Sjölund- After suggestion by Adrian, order the pattern-matching in a smarter way: do cheap patterns before more complex ones
4011c6688Willi Braun - just function renaming from greate to create
0a7036fa7Vitalij Ruge- added warnings for optimizations flags
17615feeaVitalij Ruge- remove unused operation
78f21e855Lennart Ochel- fix duplicate warnings - there are still some duplicate warnings from the front end (Adrian is working on that)
e80d15456OpenModelica Hudson[Janitor mode] Fix tabs
3be0cff1fMarcus 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)
620770693OpenModelica Hudson[Janitor mode] Fix tabs
a6179aff1Niklas Worschechworkaround fix for discrete relations in cpp tempalte reactivated jacobians in cpp template
16aeaf9ebOpenModelica Hudson[Janitor mode] Fix tabs
87bb6b3c8Vitalij Ruge-improve r19056
a005f08eaMartin SjölundThe order of the base classes matters
c5640a57cMartin SjölundDeterministic identifiers in generated svg
64d687f93Vitalij Ruge- split function
9a9ce0d3dVitalij Ruge- add warning for optimization
c81b058bdVitalij Ruge- split function
37546f505OpenModelica Hudson[Janitor mode] Fix tabs
796667a3dVitalij Ruge- split function
25b970a30Vitalij Ruge- remove function call
6d7ab38aeOpenModelica Hudson[Janitor mode] Fix tabs
88105019cVitalij Ruge- spliting function
e8b562a38Adrian Pop- small speed improvements in some of the connection handling.
54859fa68Willi Braun - add functionTree to shared
c8f9e5349Lennart Ochel- improve last commit
f1c2b5522Lennart Ochel- fix #2566
6215eeee7Adeel Asghar- Fixed crash report text.
b3c758802Martin SjölundRevert accidental change in r19041
7676bdad5Martin SjölundBump MSL 3.2.1
7d5805374Vitalij Ruge- fixed constraints (thanks Willi)
fa663547aAdeel Asghar- changed minimum limit of numberOfIntervals to zero.
f726aa176Martin 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
a439a531bAdrian Pop- add presentations about parallelization.
b265ebb91Per ÖstlundFix for #2570: - Print parentheses when dumping empty annotation with Dump module.
84fc52336Martin 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)
b0f07aa1cWilli Braun - fixed #2574
7b818029bWilli Braun - fixed #2575
833fb628aAdrian 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
ab1137d6cOpenModelica Hudson[Janitor mode] Fix tabs
2f845d711Vitalij Ruge- fixed lagrange term - new test for timetable
a1772cc42Adrian PopFix #2566 in the FrontEnd - report parameter T p(start = value, fixed = true) and use the start value.
bca2a7990Adrian Pop- apply evaluation of rooted and isRoot at the same time to save time.
0920e8722Adeel Asghar- Removed duplicate code. Moved the implementation to parent class.
8c34e0e5dMartin SjölundRevert r19001 (missing CodegenC.tpl changes and changes to the jmpbuf structure)
07a4d1589Martin Sjölundlis only create x-vector once
1ce72d5adOpenModelica Hudson[Janitor mode] Fix tabs
bdb0d222aPer Ö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.
7098ffa81Martin Sjölund#2571 - Return valid values for getSimulationOptions
182184fbeWilli Braun - try to handel simple division by zero errors
3f16ac288Adeel Asghar- Save the Interval in experiment annotation.
43d978704Martin SjölundRemove the third argument of the DIVISION macro, passing equation index instead (for debugging)
391cfbad0Per Östlund- Changed DAEDump to always print out modifications after the variable name instead of after the type name.
681db07baMartin SjölundFix some variables and comments for the documentation generation
ad9b86ae7Niklas Worschech fix for array state variable assignment in cpp tempalte activated sorting of simvars in SimCodeUtil for cpp runtime
147c0231dAdeel Asghar- Draw the rectangle after drawing the grid lines.
4ed11eecfPer ÖstlundFix for #2062: - Better handling of cardinality.
547770cb9Adeel Asghar- Fixed few graphical glitches.
01548be82Lennart Ochel- fix warning
3359575afLennart Ochel- fix #2566
15e7f395aMartin SjölundUncomment icons creation
cc6abef3eAdeel Asghar- Fix deletion of connections where port component might be NULL.
ea0435474Niklas Worschechremoved no longer used functions from SimCode to calculate state variable index which were used in cpp template
3b2f89a90OpenModelica Hudson[Janitor mode] Fix tabs
609426244OpenModelica Hudson[Janitor mode] Set auto-props
9b5c701b5Niklas Worschech-separated writing of simulation results of cpp Modelica system in extra class
62aca377cLennart Ochel- fix #2561
d25c7f562Adeel Asghar- Save the OMC flags option.
0a3ae7e03Martin Sjölund#2554 make distclean instead of make clean
75feaf4bfLennart Ochel- fix #2504
ca9967256Adeel Asghar- minor updates.
d78bf0427Adeel Asghar- some modifications in the layout.
e39978ddfAdeel Asghar- Make few long labels elidable.
606cda2bbAdeel Asgharfix linux build.
38ea0edbeAdeel Asghar- Option to enable/disable save class feature before simulation.
ffd45e7d7Adeel AsgharFixed layout.
36e9d57acAdeel Asghar- Generate separate files for Linux users.
6c9a31c2fMartin SjölundFix library testing script spinning
5a6fb3642Adrian Pop- implement alarm in Windows (using thread/sleep/kill process)
59ae47669Martin SjölundAdded new API alarm(seconds) - a timeout before omc is killed. alarm(0) unsets the alarm
8804e1eb8Martin SjölundRML compilation
7babbaf9eMartin SjölundAvoid matchcontinue
5190e5e4aMartin SjölundRenamed crefEqualStringCompare to crefEqualVerySlowStringCompareDoNotUse - crefEqual now uses crefEqualNoStringCompare - only cppruntime uses crefEqualVerySlowStringCompareDoNotUse
6b9437c43Martin SjölundTruncate before making the string valid xml
640c5c037Adrian Pop- switch back to 1.9.1+dev
29db00521Adrian Pop- redo 1.9.1 Beta1 (request by Adeel as he fixed some stuff in OMEdit)
1b6192ba9Adrian Pop- strange as it sounds -v affects -t in ulimit, remove -v
dfb0867c1Adrian 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.
7e3423d1fAdrian PopFix for #2557 - propely display the warning message - add the line number information to the warning message too
cd10624ddAdeel Asghar- Save the model before simulation.
d27739e9bOpenModelica Hudson[Janitor mode] Fix tabs
ed1f6da42Adeel Asghar- Set the default elide model to Qt::ElideNone.
359e01cadVitalij Ruge- new initial guess option for optimization
9301cda44OpenModelica Hudson[Janitor mode] Fix tabs
3813fafa1Vitalij Ruge- added new flag: higher print level in ipopt
aa7ada5ffVitalij Ruge- added new flag for checking JAC and HESSE in optimization
2054cbac9OpenModelica Hudson[Janitor mode] Fix tabs
1fd7d441aVitalij Ruge- added flag: swtch hesse in ipopt e.g. BFGS
3c5c7da62Martin SjölundSet ulimit -v for BuildModelicaRecursive.mos
e7824ef7fMartin SjölundFix printing of negative real numbers that look like integers
9c81a0e6fMartin 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
de9fa7f47Lennart Ochel- fix #2557
4f9caa5e8Martin SjölundTry to fix OSX weird problems
aa51830a1Adrian Pop- switch back to 1.9.1+dev
91640fbb5Adrian Pop- update version to 1.9.1 Beta1
46d772424Adrian 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?)
4cede07aaAdrian Pop- susan_codegen needs omc!
1bff85393Adeel Asghar- Mark the Simulation progress text as richtext.
8e51c2d3cMartin SjölundReturn the exit status we got from the simulation runtime
f78c9a686OpenModelica Hudson[Janitor mode] Fix tabs
afd9951c8Marcus Walther- try to fix bootstrapper bug
04bbc9fa1Marcus Walther- Template for hpcom-cpp target added to the template-folder - Changed EXIT(0) to return 0 in _main_simulation_runtime
8a17ec83bAdrian Pop- flag +d=disableWindowsPathCheckWarning (Disables warnings on Windows if OPENMODELICAHOME/MinGW is missing).
cf8385aeeOpenModelica Hudson[Janitor mode] Fix tabs
815a10b08Niklas Worschech-separated initialization of cpp Modelica system in extra class
f185de193Volker Waurich- round graphCosts - updated referenceGraphs
bfd99326aAdeel Asghar- Show the nested equations. Useful for nonlinear systems.
db09538d8Volker Waurich- round the values for serialTime, parallel Time, critical Path - always use num_threads from the flag +n=.. for level scheduling
6de7e5699Martin SjölundFix doi link
1ef26bc65Martin SjölundOnly use --enable-64bit on x86_64 CPUs for antlr
c3a409912Martin SjölundTry to override LDFLAGS in case it in part of the environment
c137cbcfeAdeel Asghar- More better & robust implementation for elidable QLabel.
5e1120ff0Adeel Asghar- subclass QTreeWidget for equations tree.
077eaf8c0Adeel AsgharDo not copy the old OMInfo to the new variable/equation.
fc9b8131cMartin SjölundBump MSL 3.2.1
949c06d19Martin SjölundRemove antlr3 header on make clean (needed to actually make the gcc hudson job do a clean build)
c5cb3660aMartin SjölundPass the CC since antlr uses different typedefs and includes depending on compiler
78acc07adAdeel Asghar- Added a Label with elide feature.
49b1f34e1Adeel AsgharSave the Transformational Debugger window geometry & state.
0b9278941Martin SjölundEnable 64-bit code generation for antlr
302a02da0Martin SjölundChanges for FreeBSD compilation
219be0623Martin SjölundFix antlr compilation
1b5131c0bAdeel Asghar- Mark the debugged equation highlighted.
6552ff462Martin SjölundAdding makefile dependencies
8a6f62f3bMartin Sjölund- Run ./configure in antlr-3.2 to ensure a valid configuration is generated
94197ffe8Adeel Asghar- Transformational Debugger show/hide options. - Generate operations tags options.
1ec6eff8aAdeel 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.
aee3534d6Martin SjölundSome updates to the README
742025b4dMarcus Walther- the hpcom speedup is now printed to stdout with an accuracy of two digits after the decimal point
45cfb62cfMartin SjölundNew revision for new nightly
82dded391Volker Waurich- output whole dae graph as graphml when resolving loops
ee566e39fLennart Ochel- revert r18840
ed4127751Lennart Ochel- fix #2553
e6fb779fdAdrian Pop- more fixes for Mac OS
b7ab08e5bMarcus Walther- debug output removed
3028466d1Marcus Walther- bootstrapper fixed (sorry, it took a little bit longer to localize the issue)
e9b98f0a8Adrian Pop- fix bootstrapping (some bootstrapping bug here, see my comment inside the code)
1ef176fa6Marcus Walther- bug fixed: hpcom taskgraphmeta is not longer invalid, if the model contains more than one EqSystem
6ff3ce88fAdrian 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#
66a2bd9d6Adrian 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));
3a155cb93Adrian Pop- no .so on Mac OS, use $SHREXT instead
e35af1d47Adrian Pop- attempt to fix MacOS handling of libcminpack
c76c90f36Adrian Pop- copy to build/lib/omc not to build/bin! - also use 3rdParty/CMinpack/install/lib*/ as it might be lib64 on Linux!
db499b427Christian SChuberttry to fix build for cpp runtime with cminpack
f1b3a191fMartin SjölundPatch for emcc (javascript runtime) from tshort
a977dfca1Adeel Asghar- Read the nested equations indexes for the nonlinear equation.
31bf767dfVitalij Ruge- fixed constraints
3a339cee0Niklas Worschechfix for ticket #2548. Added case for msvc for external library directory linker path
d7c0e9cfcNiklas Worschechfix in cpp tempalte: gcc make file, link to ModelicaExternalC
f6f2ec04aVitalij Ruge- better time grid for optimization
0673e6cf5OpenModelica Hudson[Janitor mode] Fix tabs
e4bd0389cVitalij Rugefixed r18817
6cb7e3050Vitalij Ruge- free memory for analyticJacobians structure
a5e7a6a4bNiklas Worschechrenamed ModelicaExternalC lib in cpp runtime without prefix OMCpp
394f7c2a1Niklas Worschechadded clean in cpp runtime make files
c75d65f02OpenModelica Hudson[Janitor mode] Fix tabs
87168ff47Vitalij Ruge- missing free()
0e141acd4Vitalij Ruge- fixed constraints size
24c7c44a1Adrian Pop- reverted r18808 as it breaks some tests and make some tests run forever even if we have ulimit -t
7bde9cb76Vitalij Ruge- fixed constraints size
d535f310eVitalij Ruge- small fix for constraints in hesse
bae0da5cfNiklas Worschechextended cpp tempalte for external C- functions
8dd822883Adeel Asghar- Top status bar for transformation browser. - Better views for variables & equations.
17f07e748Volker Waurich- try to fix build_clang
3ff6740abVolker Waurich- implemented a heuristic whether to resolve a loop or not, some rewriting
359db39e8Leonardo Laguna- Reverted bad commit
4ed9d5ae0Leonardo LagunaFixing bug in VarTransform.replaceExpRepeated
f597bc5daChristian SChuberthopefully, this commit will fix the build of cminpack together with the cppruntime
635d750a4Martin SjölundOnly output variables that are actually in the reference results (use outputFormat="empty" if not checking reference files)
45c18232eMartin SjölundFix generation of all models again
d44efefcaNiklas Worschechfix in cpp template for algorithm array assign
a4e5e4b8aAdrian Pop- more fixes for Windows MSVC (int32_t header included) - fixed the filename in SimulationRuntime/c/simulation/results/CMakeLists.txt
b57e06c8aAdrian Pop- fix Windows build (htonl is in some other header)
493a89f77Martin SjölundRemove some unused headers
e3fdb3bf7Martin SjölundFix compilation
e407ad420OpenModelica Hudson[Janitor mode] Fix tabs
60040a048Michael TillerAdding support for wall files
fadf2cffbAdeel Asghar- Fixed go to line. Compare the current & parent models filename.
d07f71667Adeel Asghar- Read the flattening operation from the info XML file.
cf1154b82Adeel 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.
7b0a94cf7Niklas Worschechadded -fPIC Compiler flag to ModelicaExternalC lib of cpp runtime
90ea88bdfMartin SjölundEnable tracing the flattening operation (from SCode to DAE)
7f4f0b166Niklas Worschechdeactivated hybrj solver again, clean Minpack build before does not help
2653de062Niklas Worschechsecond try of activating hybrj solver with make clean build of CMinpack
9c7538397Christian SChubertadded cminpack-clean to clean target, building cminpack with visual studio when building runtimeCPPmsvcinstall
d7b436cd8Niklas Worschechfix in cpp template for algloop file names.
d003fb126Niklas Worschechdeactivated hybrj because of build errors
22185ddb8Vitalij Ruge- update scaling hess
fc023bef5Niklas Worschech-Activated hybrj solver in cpp runtime -changed generated cpp file names with fileNamePrefix
578d38e6fNiklas Worschechadd find call for CMinpack library and header files to cpp runtime cmakefile
eb2f79bc5Vitalij Ruge- fixed indices for constraints (optimization)
23307a65bChristian SChubertattempt to fix windows build (strict checking of msvc regarding c coding conventions)
0348d0871Niklas Worschechchange ModelicaExternalC library from cpp runtime to use c files form MSL. Adapted cpp template for external objects removed unused files in cpp runtime
57aba426dVitalij Ruge- fixed constraints scaling
f5ba88d5fMartin SjölundHandle single quotes and spaces in URL's better
ef3e06d31OpenModelica Hudson[Janitor mode] Fix tabs
5a3d1aa4cOpenModelica Hudson[Janitor mode] Fix tabs
7fbf5e9a2Volker Waurich- additional output for -lV=LOG_LS_V
c5fc1bf47Vitalij Ruge- simplify constraints (optimization) - fixed jacobian size (optimization)
b5b9fb89cVolker Waurich- added a function to get the loops in a complex bipartite graph (just for testing)
353241808Adeel AsgharDo not pass the same instance of ComponentInfo to different objects instead clone the object.
80051776cOpenModelica Hudson[Janitor mode] Fix tabs
7f884c26aPatrick Marcel Taeuber- modified Cellier-Tearing to solve mixed Systems - fixed some problems with Cellier-Tearing
29bbd287eMartin SjölundGuard against divisions by zero
a16f99020OpenModelica Hudson[Janitor mode] Fix tabs
632f717e0Per ÖstlundFix for #2532: - Fixed slicing of qualified crefs.
81e2c12fcVolker Waurich- fix bootstrapper
0e1ead3c7Vitalij Ruge- fixed hessian for constraints (optimization)
3d90ff3a3Volker Waurich- rearranged code for resolveLoops - some bugfixes for resolveLoops - introduced resolvedLoops as a postOptModule that handles StrongComponents (not yet finished) - updated tests
2d017f179Vitalij Ruge- fixed hessian for constraints (optimization)
65c24df42OpenModelica Hudson[Janitor mode] Fix tabs
41253bc7dVitalij Ruge- support constraint block (optimica) - add example
cb2d66c58Martin 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)
9635f1c6eMartin 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)
0cfe45fd0Willi Braun - removed global optimization functions
a31dc78ddMartin SjölundBy default don't export svg elements with display="none" since some renderers do not ignore these elements...
1923024e2Willi Braun - fixed issue of r18708 (missing function definition).
eb31a2e84Martin SjölundHandle in class comments
a99b042f9OpenModelica Hudson[Janitor mode] Fix tabs
351ffb9f1Vitalij Ruge- jacobians for nonlinear constraints (optimization)
9d4d0d59eAdeel Asghar- Improved the creation time of variables tree.
7f5cfae4cJan KokertFixed CR/LF in script for Windows
213515f64Per Östlund- Preserve enum literals in Static.elabCrefSlice.
f8c15518bAdrian PopFix for bug: #2385 - expand array elements added to expandable connectors - add test: testsuite/flattening/modelica/expandable/ConnectorTest.mos
30ef637c8Willi Braun - removed rounding step-size work-a-round
095936ba1Adrian 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.
5d3e3be12Martin SjölundFixes #2376, simplification of slicing array crefs
853fb3ea8Volker Waurich- resolveloops: the resolved equation has the form 0 = ... in order to simplify the expression on one side - updated tests
a8b6da1f6Willi Braun - added fix for stepSize calculation and output intervals #2539
6a6b9fa19Martin SjölundFix LOG_INIT stream
f457fe10bAdeel AsgharPrint the error message and the actual XML output if the parsing fails.
d63e6a985Willi Braun - fix bootstrap compiler
f46533d92Willi Braun - added an interface function for partial derivatives of functions
19d7ed0deMartin 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}.$$ }}}
637c11419Per Östlund- Merged the cases in SCodeInst.instFunctionCall, since RML unifies them incorrectly.
3ec058838Martin Sjölund- Makes omc search for more locales than the given one (to make a good effort of getting LC_CTYPE=UTF-8)
c5a3489ccAdeel Asghar- Use QLocale instead of strings.
e0be5b5cbJens Frenkel- workaround for nonlinear torn systems
bd25e9ec3Jens Frenkel- bugfix tearing for nonlinear systems
abfdb04c2Jens Frenkel- bugfix tearing for nonlinear systems
4cb5597c6Martin Sjölund- Fix gettext charset when not using +locale=..., relying on env.vars instead
de00b3d98Adeel Asghar- gettext uses environment variable so don't use setlocale for windows. - Pass the OMEdit locale to omc.
3597a7e3aAdeel Asghar- gettext uses environment variable so don't use setlocale for windows. - Pass the OMEdit locale to omc.
d6219051fJens 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)
7a44ca111Martin Sjölund- Finished swedish translation
6cb08dbd9Martin Sjölund- More translations
06e4cffdcPer Östlund- Changed the configure check for qwt to include qwt6.
671edab42Jens Frenkel- save time, do not update incidence matrix
c09d41bb2Jens Frenkel- bugfix removeSimpleEquationsPast
e1fa93f92Martin Sjölund- Improved translations
d1b80fa7aJens Frenkel- tearing, bugfix for array equations
e378b33e0Adeel Asghar- Fixed build for windows.
0ad152d18Per Östlund- Removed some cases for handling stringified crefs.
52e981188Martin Sjölund- Marked some files in the runtime as translation targets
f6276e959Per Östlund- Merged Flow and Stream in SCode and DAE into ConnectorType.
fe7aeda66Martin Sjölund- Enable interactive/interactiveCorba modes again
849786604Martin Sjölund- Avoid printing multiple copies of the usage if +help is given on the command-line
206157a7dMartin Sjölund- Enable translation strings for many config flags
60d29cd7bJens Frenkel- fix uninicialised variable
f931d19daAdeel Asghar- Fixed setlocale warning for windows.
6f956338eJens Frenkel- implement handling of array equations in BackendDAEOptimize.derive
24da7fb72Martin Sjölund- Updated translation guide
cb16a9a1fMartin Sjölund- Adding German language stubs to the translations
b28cd7939Martin Sjölund#1767 - Marked strings for translation in Error.mo - Removed some useless whitespace from a few error-messages
66d0c0029Jens Frenkel- do not exceed next time step while search forward for event in reference
0a66154f6Niklas Worschech-fix in cpp template for algortihm no retcall
acb3222a3Jens Frenkel- improve SimulationResultsCompare, now the left and the right value of an event are compared
a9433deccMartin Sjölund#1766 - Only set locale for messages so we do not screw up numbers
b19c0e44bJens Frenkel- update Loop handling
f22664567Jens FrenkelDo not hand over the scalar incidence Matrix because following modules does not check if scalar or not
57188b47bJohanna 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”
71e0caa43Martin Sjölund- Check for gettext
e89017774Martin Sjölund- Fix clean command (OMOptimBasis)
85dad2356Martin Sjölund- OMOptimBasis path
0a96687e5Martin Sjölund- Fix OMOptimBasis paths
74f857533Niklas Worschech-changed simulation arguments to program_options, modified CevalScript for cpp simulation call
d6af7698aMartin Sjölund- Remove debug print
c30941ab0Martin 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.
c4c5f0e83Martin Sjölund- Adding directory for translations of the omc kernel
ca6738c09Jens Frenkel- avoid memory leaks - use absdouble()>epsilon for double==double in SimulationResultsCmp
1ff5a0153Martin Sjölund- Remove results from list of keywords
0f1e19989Jens Frenkel- get rid of bootstrapping warnings
59eac3b4bJens Frenkel- remove unused local variable with same name as input to avoid segvault by bootstrapped compiler - remove fastht from BackendDAE.Variables
9d23a7f4fNiklas Worschech-changed cmake file for lapack and blas lib
973149ce2Niklas Worschech-removed tabs
62257c622Niklas Worschech-renamed cpp shared libs and executable with OMCpp prefix -changed executable call for cpp runtime in CevalScript
52320a7c4Adeel 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.
ae17f83ddJens Frenkel- fixes for if-equations
593c7bedfMahder Alemseged Gebremedhin+ Remaining support for Class Attributes (objectives) for optimization class of Optimica extension.
1c4cd274cJens Frenkel- add missing functionality for if equations
1d6b0ee09Adeel Asghar- New API call to check if the nested class is protected or not, + isProtectedClass
0353c9ff9Jens Frenkel- add BackendDAEOptimize.simplifyIfEquations - move evaluation of parameters with annotation evalute=True to backend - move handling of if equations to backend
7c852ac0dJens Frenkel- remove transformDAE,mapTransformDAE,transformDAEWork,restartMatching from BackendDAEUtil.mo
97174c459Jens Frenkel- test new interface for index reduction
cd759d139Niklas Worschech-changed loading algebraic loop solver library in cpp runtime
8b3d44bc8Niklas Worschech-added exception for not supported output format
55b08f092Niklas Worschech-fix removed space in include string
f7f18de28Niklas Worschech-changed simcall in CevalScript for cpp runtime
382a3bb83Niklas Worschech-fix in cpp template for algloop include's
679c347d0Niklas Worschechchanged instantiation of Algloops in cpp template because of assembler errors
ace519069Adeel Asghar- If the adding component class is partial then declare the added component as replaceable.
7d4e0bc92Pavol PrivitzerC# codegen template little improvements - proper enum support - initial algorithm for bound params support - added (my old) Susan_TODO.txt
35bac1f45Jens Frenkel- add BackendFlowDiagram, try to give a overview on all tasks the backend has to do
8c8a1bd94Jens Frenkel- rename evaluteParameter -> removeevaluteParamters - add evaluateFinalParameters and evaluteParameters,
e490c51c6Lennart Ochel- fix sparse jacobian for initialization
084eed4acLennart Ochel- add interface to get real sparse jacobians - use sparsity pattern for initialization using ipopt - correct indentation in CodegenC.tpl
1761dd059Jens Frenkel- bugfix rooted
6dcf76789Jens Frenkel- implement evaluation of "rooted" in ConnectionGraph.mo
79639569dPavol PrivitzerCleaning of the internal stuff out of the susan_codegen/ - delete susan_codegen/SimCode - move SimCode_design.txt to susan_codegen/
03ae782cbJens Frenkel- get some loops working
4fc487a3eLennart Ochel- generate constant indices for each symbolic jacobian
6669fcd72Lennart Ochel- fix tests using simflags
524e70702Jens Frenkel- continue loop handling
a532cf7f0Niklas Worschech-fix in cpp template giveZeroFunc
b0d80ac58Jens Frenkel- grammer
9f7cbb1bcNiklas Worschech-fix in cpp template for make file generation
556cae34cLennart Ochelfix for ipopt in std-directory
6df315f7cLennart Ochelfix tab-errors
cf7164653Lennart 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)
87f08c25eJens Frenkel- update OnRelaxation for loops
8743e3270Adeel Asghar- New API calls to check class restriction, + isOperator + isOperatorRecord + isOperatorFunction
f385d68ffNiklas Worschech-fix for algorithm for loops in cpp template
0568425ccNiklas Worschech-added struct and Literals generation to cpp template
b8e5f018eJan SilarFixed bug in C# template - FunDAE - mexed_equation_system. Redundant "," causing nonbuildable generated code.
8c27a19e7Jens Frenkel- add Flag to set cheapmatching algorithm - bugfix for pantelitis index reduction
8e7c9cf15Jens Frenkel- bugfixes index reduction and matching
1be7d9640Jens Frenkel- fix bugs
1b7e191beJens Frenkel- remove tabs
b1383453fJens Frenkel- listNth -> listGet - update old matching and index reduction to new interface - update DynamicStateSelection, Pantelitis for wrapperles code
01262d233Jens Frenkel- try some things for loops
3e72ebd93Niklas Worschech-fix in cpp template for algorithm tuple assign and start values
24f9b1079Jens Frenkel- add module removeFinalParametersPast
58657c17fJens Frenkel- rewrite some set functions
8b7c5e50aJens Frenkel- add cases for unaray and asub to Expression.mo - do basic simplification for expAdd,expSub,expMul
da3ff3266Jens Frenkel- search also in simple and initial equations for zerocrossings
2f5e8a580Martin Sjölund- OMOptim build fix
8ec5db594Jens Frenkel- remove unused when clauses from BackendDAETransform.traverseBackendDAEExpsEqn
8c3708589Jens Frenkel- remove index from WHEN_EQ and keep condition of when equation in when equation - install-openturns depends on mkbuilddirs
97db29317Adeel Asghar- Merge the process standard output and standard error streams.
949b38a68Jens Frenkel- fix tabs
a50d8c840Jens Frenkel- add code for multi body relaxation, not yet finished, kinematic loops still fail
ffe7af586Martin Sjölund- Look for paradiseo build directories as well
c7eaf7910Martin Sjölund- Added index to FOR_EQUATION
5530d12cbMartin Sjölund- Added utils directory as well
258f730beMartin Sjölund- Some paradiseo autoconf
a15367081Jens Frenkel- bugfix evaluate parameter evaluate=true
ac364ddffJens Frenkel- bugfix if equation for elabelements
a244a6675Martin Sjölund- paradiseo "help"
f29ff6625Jens Frenkel- handle if equations in Derive and BackendDAETransform.traverseBackendDAEExpsEqnWithSymbolicOperation
0e09cc7b6Jens Frenkel- handle if equations in inline
7c4868e85Jens Frenkel- handle if equations in incidence matrix
fdf9c9487Jens Frenkel- add condition to when equation - handle elsewhen branches in incidence matrix
6e0a8ade1Jens Frenkel- add size information to when equation
28ac9962cMartin Sjölund- Check for include/qwt5, then check the header for QWT5 macro (using grep)
2caa5f56aJens Frenkel- inline condition of when equation only once
eec678d11Jens Frenkel- bugfix tests
e5b37d52eJens Frenkel- bugfix tests
f316bf652Jens Frenkel- add some more support for if equations in backend - add module for evaluate parameter with evaluate=true annotation
b175adc46Niklas Worschech-removed tabs
1334d9776Niklas Worschech- adapted numeric/bindings header files
361d05618Niklas Worschech- extended cpp template for sparse jacobian
414dfb259Adeel Asghar- Better parsing of Text Annotation.
ff050fe41Jens Frenkel- switch evaluateAnnotation on
dbffe8ce8Jens Frenkel- change implementation of removeFinalParameters and removeProtectedParameters to handle several equationsystems
1f83bf326Jens Frenkel- remove some unused imports - add Env.Cache and Env.Env to BackendDAE.Shared
5e46b5e53Adeel Asghar- Fixed parsing.
021f21cc3Jens Frenkel- use traverseBackendDAEExpsNoCopyWithUpdate to geep the simplified expressions and not the old one
4668b42fcJens Frenkel- bugfix Tearing
ee7a7024fJens Frenkel- Bugfix getVar - Bugfix BackendDAEEXT.setAssignment - use vars and eqns for BackendDAEUtil.analyzeJacobian - bugfix Tearing
f4a7b4125Martin SjölundFix testsuite
91d7bfb78Martin 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
e17f1ac63Martin SjölundSome minor documentation updates
f00a8738fMartin SjölundAdded expansion of if/for, fixed some expansions of algorithm sections (expand the whole sections instead of individual statements)
543b49ff1Jens Frenkel- fix comment for systemSize - fix counting of algorithm outputs
abb60e1bbJens Frenkel- BackendDAEUtil: avoid Zero entries in JacMatrix - fix order in equationToExp for arrayEquations - fix order in createNonlinearResidualEquations for arrayEquations
13c4858e1Jens Frenkel- remove debug output - update tearingnew
4a4eea2d8Jens Frenkel- fix tests
8cc472bc8Jens Frenkel- fix tests
fc6d3b175Jens Frenkel- fix tests
131854b3fJens Frenkel- fix tests
74443b896Jens Frenkel- fix constant liniear system
996dc805eJens Frenkel- fix initial equation issus with function equationtoScalarResiduals - add some util functions
fb4dede5dNiklas Worschech- Switched CVode as default solver for cpp runtime - removed unused cpp case in SimCode createEquationsForSystems - added test model BouncingBall to cppruntimetest- folder
041f44001Martin Sjölund- Added missing testcase function1.mo - Do not expand array-assignments (keep non-expanded as it is not needed to scalarize them)
ef3d89cfcMartin Sjölund- Fix typing of [:] in function context - TODO: Fix this also for expression, not just declarations of components
40e107ff3Per ÖstlundPre-vacation code dump: - Added List.accumulateMap. - Replaced InstUtil.print* functions with the template based InstDump. - Lots of connection handling and other fixes.
b3ed55815Niklas Worschech-removed tabs
0abd27dc9Adrian Pop- more equation printing in InstUtil.mo - more expansion (not quite right) in SCodeExpand.mo - fail again in Typing.mo in typeFunction.
a0dfae958Jens Frenkel- filter constant initial expressions
adb7fd657Adrian Pop- ignore deleted components in Typing.typeConnectorCref2. - better error message in SCodeExpand.mo. - V6 engine gets to expansion now but fails there.
1ec5cf297Niklas Worschech-changed output format of cpp runtime to csv
bf927bc44Jens Frenkel- fix compilation
dbaa16041Adrian 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.
fff85d6a9Martin Sjölund- Check linking before we assume sundials is recent enough
8be4c2a35Adrian 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).
f59164e58Jens Frenkel- revert some pices of last commit
f1d941b02Jens Frenkel- fix compilation
3ee3517aeJens Frenkel- the End of the WRAPPER Era
63ed8ca64Martin Sjölund- Added typing of array allocations
7d0bb6d02Martin Sjölund- Add dependency not to assign to an array before it is allocated
721f3b063Jens Frenkel- fix count of equations, Expression.sizeof, add a fiew more types
c7fede3d6Martin 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
130424a7cNiklas Worschech- fix for algorithm if and reinit statements in cpp runtime
7a95b67acJens Frenkel- use CheckModel for checkModel
0d932bd6dJens Frenkel- fix coding style
3b84ccfcdJens Frenkel- fix compilation
e58222a52Jens 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
dfebfce82Jens Frenkel- Inline.mo,BackendVarTransform.mo bugfix for Algorithms - ExpressionSimplify.mo: symblify Range(1,5)+2 -> Range(3,7) - BackendDump.mo: bugfix print If-Equations
155704895Niklas Worschech- fix for algorithm when statements in cpp template
dc2c4fb6fAdrian 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).
8902cbf7cJens Frenkel- fix compilation
9e6d2118bJens Frenkel- Inline.mo: add inlineExpOpt and use it in inlineVar - BackendDump: add dumping of If equations
c10ebf002Martin Sjölund- Sort initial bindings of variables in functions
f6c20d426Jens Frenkel- fix bugs in BackendVarTransform.addExtendReplacement, prior not all necessary extendsions added
34dfc7dcfJens Frenkel- fix bugs in BackendVarTransform.addExtendReplacement, prior not all necessary extendsions added
7b1fb8d5cJens Frenkel- add boxptr_arrayUpdate, to use arrayUpdate with List.fold1r
eeaf1d709Adrian 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.
dc801709dAdrian 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.
097a678c6Adrian 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.
6e0ef54f2Martin Sjölund- Only look for duplicates in the current scope when adding elements
bf7c4b41cPer Östlund- Added variable declarations to function_sampleInit.
34fafeaeaMartin Sjölund- Some more function typing
7be649f76Jens Frenkel- fix partitionIndependentBlocks for nowrappereqns - continue nowrappereqns
d9f46ecc2Jens Frenkel- fix testsuite
510b58568Jens Frenkel- fix bootstrapp compilation
0c31730f9Jens Frenkel- fix bootstrapp compilation
e1a0b1bd5Jens 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
583428032Jens Frenkel- start to ged rid of the wrapper equations
4649fe617Jens Frenkel- BaseHashTable.mo: print also key string in case of an error - Util.mo: add function consN to concate n times an ellement
35225bb0aNiklas Worschech- fix in cmake file for Modelica system
181efacaaJens Frenkel- ComponentReference.printComponentRefStr us match - ExpressionDump.printListStr use stringDelimitList and List.map
395fe1207Jens Frenkelremove tabs
469a679a3Jens Frenkel- remove last idea for dynamic state selection
ed5eb02f3Jens Frenkel- bugfix dynamic state selection
58c5b513cNiklas Worschech-fix for linking new windows boost libraries in Simulation.exe
cda4cb344Jens Frenkel- finish symbolic calculation of determinant of a square matrix
7c4ee0d61Jens Frenkel- switch to dummyderivative - remove unneeded code
6c6c59e2aJens Frenkel- try improved dynamic state selection
2917868b2Per Östlund- Added comments to InstSymbolTable and BaseHashTable.
8c72acd0fMartin Sjölund- Tab cleansing - use burning fire
64bab5bf0Niklas Worschech- Added cppruntime test folder
355925933Jens Frenkel- and switch back to dummyderivative
b3820bad1Jens Frenkel- remove Old getVar helpfunctions - fix bug for dummy state selection - try dummystateselection
7edba3c72Niklas Worschech- modified boost version to 1.49 for windows compilation
5c98b7e60Jens Frenkel- print more information in case of pure discrete equation systems
2fa354c81Jens Frenkel- and switch back to the old dummyderivative
691223420Jens Frenkel- try dynamic state selection
5450e132aJens Frenkel- fix expandCref for Records
b57bced03Jens Frenkel- fix expandCref for Records
0013def2dJens Frenkel- fix expandCref for Records
569873a87Jens Frenkel- fix expandCref for Records
0accc51bbJens Frenkelfix compilation
1e4f28e18Jens Frenkel- speedup expandDer - improve BackendVariable.getVar - rewrote a fiew functions tailrecursive in SimCode.mo
1e1e6f84fJens Frenkel- move a fiew functions to CodegenUtil.mo - add some dependencies in makefile
4df27f04fAdrian Pop- add Compiler/BackEnd/MathematicaDump.mo to testsuite/bootstrapping/LoadCompilerSources.mos - fix output parameters in Compiler/BackEnd/MathematicaDump.mo
478d80371Jens Frenkel- remove print from call simulate
0615b00fdJens Frenkelfix tests
c35b460c5Jens Frenkel-fix loading of settings file in cpp runtime
769634149Adrian Pop- use only Windows commands to get rid of "pause" in pyot.bat.
8b0083c86Jens Frenkel-fixed linker path in cpp template
5438bcb03Adrian Pop- tab removal.
970705de1Niklas Worschech- fix equationInfo field
aef44310aJens Frenkel-fixed dynamic libarary loading with path names
ce3718871Jens Frenkel-fix include names in cpp template
51fb58f95Martin Sjölund- More expansion of functions
9d6cd1c83Niklas Worschech- fix testsuite - add CodegenUtil.tpl/.mo
1c52a6104Martin Sjölund- Start of function expansion
cd4907c33Peter AronssonAdded user guide for uncertainty computations.
66acada68Leonardo Laguna- Implemented MathematicaDump.mo for uncertainty calculations
2e98d0e66Per Östlund- Fixed compilation.
9f2d46d74Per Ö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.
c80f0935bNiklas Worschechfix tests
acfec95dcMartin Sjölund- Fix compilation
01b1c8603Niklas Worschechfix tests
c7b91e6d5Niklas Worschech- move tpl from susan_codegen to Template
bbf4a5ffeJens Frenkel-fix for calling cpp simulation exceutable
7852a63a4Martin Sjölund- Make string escaping also handle Windows-style newlines
3ce6b809fPeter AronssonFixed bug with parameter being evaluated when building openTurns interface.
e95a418fdNiklas Worschech- fix for algloop include names
630a8dc72Jens Frenkel- fix testsuite
d172acde3Niklas Worschech-fixed include names in cpp template
f55679845Jens Frenkel- fix testsuite
3462e9ecdAdrian Pop- remove some extra checks.
95145e06dNiklas Worschech-fix in Euler CMakefile additional library dependencies
e24d43708Adrian Pop- fixes to OpenTurns to support parallel execution.
1fd2900feJens Frenkel- fix cpp installation
458b21cbdJens Frenkelfix runtime cpp for compilation Makefile Source/*.*
334a77213Mahder Alemseged Gebremedhin- Fix for unallocated arrays in records. And some passing tests.
af4d6d4dbNiklas Worschech- fix testsuite
2ac285693Martin Sjölund- Provide UTF-8 interface for OMEdit
4eed977d3Martin Sjölund- Fix iconv errors
67c7e9d65Martin Sjölund- Add a HT
ccce539e8Jens Frenkelreplaced includes of Settingsfactory with SettingsFactory
0a02ede57Jens Frenkelreplaced all utils/extension includes with Utils/extension
038cbb305Per ÖstlundFix for bug #1750: - Fixed propagation of visibility for extends.
400994e76Martin Sjölund- Finished propagation of FunctionHashTable
94168990bMartin Sjölund- Fix OMNotebook compilation
73da0ea11Jens Frenkel- add targets for runtimeCPP
c0ca49e19Jens Frenkel- add make files for cpp runtime call cmake
2caac13c4Martin Sjölund- Propagate functions further
e87e1183fMartin Sjölund- Updated copyright holder
fe5c44ebeMartin Sjölund- Updated copyright holder
5db3873afMartin Sjölund- Updated copyright holder
a52e23f2dMartin Sjölund- Updated OSMC License
f9aed1733Jens Frenkel- fix testsuite
7aa712a9dJens Frenkel- fix tests linearization
45b1d2425Martin Sjölund- cmake is stupid and evil, and people write as poor cross-platform files as make, why use it?
9cea235f7Jens Frenkel- generate for each equation only one function in c code
5377f98e0Jens Frenkel- use state index direct instead of search for it in markStateEquations
85006083cNiklas WorschechMoved boost::extension to Source/utils/ folder
331b859d5Martin Sjölund- Propagate more functions
a50e841dfMartin Sjölund- Fix bootstrap compilation
57acd81adJens Frenkel- continue to implement uniqueEqIndex for simcode
f7d423673Jens Frenkel- start to implement uniqueEqIndex for simcode
4d47482efMartin Sjölund- Don't install-openturns on sane systems
8931a07f4Martin Sjölund- Propagate more functions
4256d35a2Adrian Pop- fix windows compilation.
0077476cfJens Frenkel- add index to each SimEqSystem
97e830fc5Martin Sjölund#1751 - Changed the ModelicaInternal_getenv definition to match the declaration
f19610cf6Jens Frenkel- fix bug in calculaton of jacobian, in case of state jacobian have to generated for der(x) not for x
fa0fa4e24Adrian 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
afa4ea5e4Jens Frenkel- and tearing off after test
bee4633a6Jens Frenkel- try testsuite with tearing
356756e09Jens Frenkel- and tearing off after test
feac7ea84Jens Frenkel- try testsuite with tearing
d9cbf5179Jens Frenkel- fix bugs for tearing
15a3d75ebJens Frenkel- and switch back to tearing off
eeaa1e032Jens Frenkel- test how many tests fail if tearing is used
cc9ce655dJens Frenkel- minor fixes for tearing
975079a54Per Östlund- Fixing the testsuite again.
8bc10898bJens Frenkel- fix some bugs for tearing
4b30bc791Per Östlund- Forgot to commit Error.mo.
19ef8f063Per Östlund- Added error message when trying to redeclare nonexisting element.
cf6d6f111Jens Frenkel- dump more tearing information
fd49aaed1Jens Frenkel- minor changes to derivall for tearing - remove depug outputs from tearing - bugfix AdjacencyMatrixEnhanced - dynamic state selection, set start value of contition not static
acd39ae9aWilli 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
7b4031880Adeel Asghar- .ico file is required to generate icon for executable on Windows.
2fe083b7aJens Frenkel- fix strange infinit loop in c_runtime by reverse the order of the equations in strong component
9abd2daecJens Frenkel- remove BackendDAEExt from tarjanAlgorithm - use function transformBackendDAE in Uncertainties
56f61ec00Martin Sjölund- Propagate some more information so we can store functions in the future
52d7c5144Leonardo Laguna- Updated algorithm for equations extraction in uncertainties calculations. Note: no test has been added since we haven't defined the final output
edb69954fPer Östlund- Fixed prefixing of function variables in SCodeInst.
4b7fc6bb3Martin Sjölund- Added tail-recursion for NORETCALL statements
1b69f3c07Martin Sjölund- Started work on sending additional options to simplify
b9f3dbe53Jens Frenkel- fix compilation
c03486dafPer Östlund- Removed deprecated workplan.
2783af706Peter Aronsson-Implemented xml file for Uncertainty interface with OpenTURNS.mo -Updated CantiliverBeam.mos testcase
9462043d0Jens Frenkel- use simplifyTimeIndepFuncCalls module
2357b68daJens Frenkel- minor fixes for new dynamic state selection
1e14e3ef4Jens Frenkeladd module simplifyTimeIndepFuncCalls
710c46785Jens Frenkel- fix bug for loopIndexTester model from forum
c04aee278Martin Sjölund- Inst&Type if-statements
653486889Martin Sjölund- Added vector-graphics icon for OMNotebook so it looks ok on modern window-managers
6cead72adMartin Sjölund- Typing/Expand of algorithm sections are now propagated properly (but only for some of them)
349bad682Jens Frenkel- fix compilation
110776292Jens Frenkel- continue new dynamic state selection
0bd16d6c0Jens Frenkel- fix compilation
97f1cf63eJens Frenkel- remove (again) all the unnecessary local BackendDAE.BackendDAE variable declarations
d2a450976Martin Sjölund- Fix compilation (double errors 2 commits ago; fixed only 1)
e505b35bfMartin Sjölund- Fix names of outputs to correct ones
af510b4edPeter 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:
357d5dcffLennart 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)
97dfd9f96Martin Sjölund- Fix tab errors
8584f8261Niklas Worschechfix in cpp template for array of models code generation
5b2989524Adrian Pop- MODELNAME is not required.
e8851d88cAdrian Pop- use a defined variable for the wrapper name.
20220de35Per Östlund- Some conditional component improvements in SCodeInst.
e0d5efbe7Per Östlund- Updated workplan.
7e6170077Adrian Pop- planning Excel sheet.
151d50bb8Per Östlund- Fix connector type check in SCodeInst for connectors derived from basic types.
f1373a007Per Östlund- Moved the benchmark test models from doc/performance/benchmarks/tests to testsuite/benchmarks. - Added benchmark models from Marco Bonvini.
d85b676c1Jens Frenkel- fix compilation
60679287aJens Frenkel- remove local var declaration
6144e7981Jens Frenkel- remove tabs
380711895Jens Frenkel- remove tabs
7ce136c80Federico BergeroFixing bug in QSS target
6aa7a95fcJens Frenkel- bugfix compilation
3e36ec303Jens 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)
4e69e96dcPer Östlund- Removed tab.
6b855d615Per Östlund- Added support for x = func(...), where func returns multiple values. - Some fixes for expandable connectors in SCodeInst.
ec56b8530Martin Sjölund- Tabs are evil
44545c5e6Peter 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)
9f551390cMartin Sjölund- Fix dependency analysis
8e0c50c42Martin Sjölund- Refactoring EQ_NORETCALL (store Exp to simplify implementation/traversal)
b2e4ae1d0Martin Sjölund- Added support for varargs-style functions in SCodeInst
face260e2Martin Sjölund- Refactoring: SCode.ALG_NORETCALL now takes an expression to simplify traversal
c00395c75Martin Sjölund- Updated examples
2e3b512c8Martin 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
27a84b1ecMartin Sjölund- Spelling
7578b392eJens 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
9c77c45b1Jens Frenkel- Inline.mo: splitt function inlineEqOpt in two functions (inlineEq,inlineEqOpt) - Expression.mo: add functions traversingDerAndComponentRefFinder, expHasDerCref, traversingexpHasDerCref
70ec769a0Niklas WorschechAdded Ida solver to cpp runtime
d1234c096Per Östlund- Allow expandable connector components in connects for SCodeInst.
e38f3d7faMartin Sjölund- Instantiate more statements
2be404c5dMartin Sjölund- Changed structure of SCode.ALG_FOR to be nested instead of a list of iterators (to mimic the EQ_FOR structure)
f0b40291aMartin Sjölund#1753 - Fix typo
2303359b1Martin Sjölund- Fix compilation
9a78726fdMartin Sjölund- Fix compilation
1bb2a3119Martin Sjölund- Changed the range of a for-loop to Option to account for implicit ranges in a more visible manner
e3731e0dcMartin Sjölund- Handle inst of if-statements
865f64424Martin Sjölund- Fix the getInstanceName() documentation
11d183393Martin Sjölund- Also generate MetaModelica documentation
335369433Martin Sjölund- Added documentation for referenceEq - Made Builtin.mo load MetaModelicaBuiltin.mo using the correct filename+line numbers - Added fileName argument to val()
f9f4c9742Martin Sjölund- Do not re-run lrelease unless something changed
c041b9434Martin Sjölund- Do not rebuild sample client every time
7299a6571Martin Sjölund- getClassNames now handles classes with a constrainedby clause
c01ab90aaPer Östlund- Forbid Real priority in potentialRoot calls.
175ebcab8Willi Braun - updated gantt workplan with frontend tasks
5268c978bMartin Sjölund- Adding a function type
f2a813367Adrian Pop- attempt to fix testsuite on Windows and Linux CLANG
55104a48dLennart Ochel- fix undefined behaviour
6b6046014Lennart Ochel- fix memory leaks
51fbb3be8Willi 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.
ee222fb2cAdeel Asghar- match constrainedBy clause with NONE().
609d55e47Adeel Asghar- Check the constrainClass while fetching the classnames.
b16c5da1fJens Frenkel- bugfix compilation bootstrapped
f8b12c5adJens Frenkel- bugfix compilation bootstrapped
c0a638da7Jens Frenkel- add modules tearing, coundOperations
8021e9fc2Adeel Asghar- Fixed a missing { in getExternalFunctionSpecification. - Also updated the test.
c49b9d26dAdrian 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}}
7302fe482Per Östlund- Instantiation/typing of functions for SCodeInst.
5c26799e9Lennart Ochel- undo changes in initialization.c from last commit
271ff37cdLennart Ochel- minor fixes - add initialization test case
ae62475a8Pavol Privitzer- assert() support in C# simulation code
a5ca9b17cLennart Ochel- fix for last commit
9e28fc06cLennart 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
681afab45Per Ö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.
cba45016eMartin Sjölund- cp -u is a GNU extension; we support non-GNU systems...
7426d6a4dAdrian Pop- attempt to fix Windows compilation and testsuite.
80f8fda03Martin Sjölund- Do not add LDFLAGS twice
ff0642d75Martin Sjölund- Link with Sundials only if requested
419bf192aMartin Sjölund- First step towards compiling without sundials
50ab12a56Jim NutaroFixed event handling in the adevs backend
535901daaJens Frenkel- bugfix linker realRand, intRand
6cf9f7cdbMartin Sjölund#1746 - Fix for asub in functions
b4cf1fbf9Jens Frenkel- add function getVarDAE
b6eae6c62Jens Frenkel- bugfix tearing
2395631dePer Östlund- Fix iterator typing in for equations for SCodeInst.
1335932baNiklas WorschechResolved name conflicts for some member variables of AlgLoop System in cpp runtime.
9f5bf0993Mahder Alemseged Gebremedhin+ Part of support for Class Attributes (objectives) for optimization class of Optimica extension.
82e875258Per ÖstlundFix for bug #1738: - Check variability of first argument to reinit.
c2e589d32Martin Sjölund- Update the UTF-8 error message
3f54593e4Niklas WorschechResolved name conflicts for some member variables in cpp runtime.
837aa467bMartin Sjölund#1744 - Add OMDEV to checkSettings() result
8bde5e65aAdeel Asghar- fix testsuite.
22aba21a3Adeel Asghar- Try -rdynamic instead of -ldl.
74ecd440eAdrian Pop- no -ldl on MinGW! duh.
5283f2ae7Adrian Pop- mind the space.
d8759fd64Adrian Pop- attempt to fix the testsuite? - add -ldl with -whole-archive
341fc7a1aAdrian Pop- squash the tabs.
f26242429Bill Janssenremove extra 'apply' around matrix XML dumps (bug #1743)
e3e74f773Adeel Asghar- load all symbols defined in libSimulationRuntimeC.a into the simulation executable.
8da1bda64Niklas WorschechFix in event iteration of cpp runtime
45829f7e5Adeel 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.
b593b626fPer Östlund- More cats.
3ad7dd323Adrian PopOpenTURNS changes - added Makefiles for mingw. - updated to OpenTURNS v1.0. The wrapper .dll generation now works.
3454ba71ePer Östlund- Adding missing file.
1ba159f2bPer Östlund- Implemented a new template based expression dumping. - Updated test suite.
0fb15e7b5Adrian Pop- removed tabs in CodegenAdevs.tpl
81edf9cf6Jim NutaroUpdated and cleaned-up the Adevs code generator
05c977e38Adeel Asghar- Fixed lapack linking for FMU code generation.
8040c5117Adrian Pop- fix to make OMC happy.
b290a51e7Federico BergeroFinal version for article. All three example working
5214007c8Adeel Asghar- Fixed simulation for windows. -llapack is called -llapack-mingw on windows.
1d97dc78fWilli Braun - changed THROWS back to WARNINGS (it seems that not all variables, a present in a dymola result file.)
902ff5813Lennart Ochel- get rid of some type mismatch warnings
dcbeb28cbBill Janssenfix for #1740, typo in string literal
dce291e9aLennart Ochelresolved dependencies between math-support and simulation/solver
94f3d6e49Adrian Pop- remove the nominal warning for now. Lennart, please put it back when ready.
fba9e0744Adrian 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
942a72d0cAdrian 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.
1b4113b1bFederico BergeroFixing replacement error
0648c1a11Federico BergeroCreating the makefile
39cc21d02Federico BergeroWorking prototype
ffee0ad74Lennart Ocheladded new initialization method: -iom kinsol NOTE: new OMDev needed, do Subversion update on your OMDev!
e58fd6f3cMartin Sjölund- Recommend omniORB in configure
0bf736710Martin Sjölund- Add -I. to MICO CFLAGS
bca6824a5Jens Frenkel- dump id for matrix row
02a26d2bdJens Frenkel- take care of replace <,>... everywhere in dumpXMLDAE
f54f7f145Martin Sjölund- Fixed getInstanceName() to work for packages and top-level models
9a201720cJim NutaroUpdate to Adevs code generator for new simulation runtime
047ebd662Adrian Pop- tabs instead of spaces.
8e78c88adWilli Braun- fixed testsuite for last commit
e12edd64dMartin Sjölund- Some Makefile fixes
3bc9c3534Federico BergeroUpdating algebraic loop code
3f8f48005Federico BergeroUsing crefEqual
bb6a96ce7Willi 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.
736d0dedaPer ÖstlundFix for bug #1733: - Fixed connection of complex arrays with subscripts.
7977c3302Per ÖstlundFix for bug #1731: - Fixed connection of arrays with subscripts. - Updated testsuit due to changed equation order for connects.
49b2b3327Willi Braun - fixed debug output for symbolic jacobians
a328249daJens Frenkel- bugfix coding style
413ad7244Jens Frenkel- bugfix coding style
14467ca3dJens Frenkel- compareSimulationResults: report vars in case of file not equal and print error messages if command failed - msl31/simulate: delete all generated files
677602dbbMahder Alemseged Gebremedhin+ Fix windows compilation. update r11840. random and srandom. Moved defines to openmodelica.h.
b4af0a115Jens Frenkel- XMLDump: fix implementation to handle also several indipendent systems - BackendDump: add function debugStrEqnStr
318847e50Martin Sjölund- Use srand/rand instead of srandom/srand on non-POSIX platforms
677e97b1bWilli Braun - fixed array exp in symbolic jacobians
9f106c1aaWilli Braun- fixed coding style
a104c51efWilli 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
f9251d861Martin Sjölund- Added better System.*Rand functions based on srandom() and random()
731cb1bc7Per Östlund- Added check that the first argument to reinit is a subtype of Real.
67041ced1Per Östlund- Removed failtrace from Expression.subscriptIndexExp, since the function is expected to fail sometimes.
4fe6b1f07Willi Braun - included functionTree to BackendDAE - create from removeUnusedFunctions a pastOptModule
1fc44f219Adrian PopBackEnd/BackendVariable.mo - use ComponentReference.printComponentRefStr to also print the subscripts.
8edc12ecdAdrian 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.
bf89fcdd6Adrian PopBackEnd/BackendVariable.mo & FrontEnd/DAE.mo - better error message for variables with values outside the [min, max] interval.
6b08675e6Adrian PopBackendVariable.mo - display the min/max limits for the variable in the assert message.
0393072a1Jens Frenkel- add boxptr_intMin - bugfix setPastOptModules -> postOptModules
f7a34983bJens Frenkel- minor changes to dummy state selection heuristic
26ba7dcddJens Frenkel- BackendDAEOptimize: doReplaceScalarArrayEqns more generic - BackendDAETransform: simplify code, use stateorder for differentiated equations - PlanarMechanics: set initialconditions - Update testsuite
0ce3c23c8Jens Frenkel- add function rand to System
4c54d9382Jens Frenkel- move ModelicaConfic.inc to /include/omc/cpp
6f4640950Jens Frenkel- use full path to include ModelicaConfic.inc - copy LibrariesConfig.h to OM_HOME/include/omc/cpp because this is in include path
691577ee5Jens Frenkel- fix typos
f81249ea1Jens Frenkel- improve handling of complex equations - improve evaluation of parameters with Evaluate=True annotation - add built in functions to set machtingalgorithm - update testsuite
60da35af4Adeel Asghar- Fixed the spaces problem.
54ad96e68Adeel Asghar- Updated the pro and readme files according to omniORB4.1.6
820863090Adeel Asghar- Updated the pro and readme files according to omniORB4.1.6
d18b7a24cAdeel Asghar- Updated the pro and readme files according to omniORB4.1.6
e1994a78ePer Östlund- Fix for previous commit.
9cd50de1cPer Östlund- XMLDump fixes from Bill Janssen.
b36aabf08Federico BergeroGenerating a linear algebraic loop solve function and a header for parameters
994de6d36Per Östlund- Fixed compilation.
f1861b7e3Per ÖstlundSCodeInst fixes: - Improved instantiation/typing of equations. - Handle deleted components in connections. - Improved propagation of prefixes, now also propagates class prefixes.
8526c9481Martin Sjölund- Only enable python interface if we use omniorb
ae54abfe1Federico BergeroMinor modifications to code
056549099Jens Frenkel- fix testsuite
2f5cb926bJens Frenkel- bufix bootstrapp compilation
bfef39edbFederico BergeroGenerating when handlers
33a4aa37bWilli Braun - removed some tabs
158fe0827Willi Braun#1728 - added proper message to findDiscreteEquation - added some failure cases
2bb07f700Per Östlund- Fixed bootstrapping, and improved an odd error message.
c9ecce66dPer Östlund- Replaced tabs and converted files to UTF-8.
fcd72635fPer Östlund- Added Util.arrayFold. - Implemented a phase in SCodeInst which marks all structural parameters, to allow proper constant evaluation.
78c1eb6fdPer Östlund- Replaced even more tabs.
f34139457Mahder Alemseged Gebremedhin- Moved the OpenCL runtime to SimulationRuntime
22be9a1aePer Östlund- Replaced tabs.
0c2bb2ff0Niklas WorschechFix for Idas Solver. Initialization of idas memory,initialization zero functions, added RTol and ATol to solver settings.
bc65ed978Adeel Asghar- some corrections in the english text and translations. - Italian translations (Thanks to Massimo).
fdecfb39cFederico BergeroChanges to the QSS target. Replacing variables and discontinuities
19513ae28Martin Sjölund- Apply the iconv if using non-UTF8 target
bc30c30f2Mahder Alemseged Gebremedhin- Adding support to enable XML export of Optimization Modelica models (Optimica Extensions).
92d539dd3Adeel Asghar- Removed ptplot.jar and ptplot_license.txt - some translations.
1b55166f8Adrian Pop- some more Romanian. - fixed an English typo.
055ec874dAdeel Asghar- Removed plot2, plotparametric2 and the script files associated with it.
3c152cda9Henning Kiel- added missing closing brace to translatable string - german translation complete, needs to be checked for consistency
21c4acdb8Leonardo Laguna- Fixed small bug in setPos function. - Changed the scope of map1r to public
008244d76Adeel Asghar- Fixed connect equation indexing problem (thanks to Henning Kiel). - Properly check annotations before creating a redbox.
45597ea68Lennart Ochel#1721 fix for initial()-operator
4c880a2a7Martin Sjölund#1719 - OMEdit: Handle pathnames with quoted identifiers that contain dots in the last part
a2df03be8Martin Sjölund- Added testcase for checking a recursion limit of any class (maximum depth=100)
8bed502d6Martin Sjölund- Run lrelease on the project
1479b8fe3Martin Sjölund- Update all ts-files regardless if they are in a makefile or not
fdf4f6e48Henning Kiel- added spanish language
ac26004f7Martin Sjölund- Avoid segfault on UTF-8 error
276d31d23Adeel Asghar- Load Qt qm files for windows.
077db9e7eAdeel Asghar- Minor modifications for chinese translations.
cc39bd70fAdeel 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.
26432f3d9Martin Sjölund#1723 - Automatically load dependencies of a model (uses annotation) upon instantiation
fed810e18Per Östlund- Save modifiers that only makes a component final in Absyn2SCode. - Handle modifiers that does nothing in SCodeMod.
af3cff6edPer Östlund- Improved the swedish translation of OMEdit.
7e126e651Martin Sjölund- Regenerate all qm-files
f1d436a16Martin Sjölund- Add PARTEVALFUNCTION to the list of called functions in a function
7ff8a33d9Adeel Asghar- Use ./ in makefile.
077e74844Adeel Asghar- Fix hudson.
bd356642cAdeel Asghar- Fix hudson build.
73c308ad6Adeel Asghar- Fix build and some minor changes.
4529c6ea0Martin Sjölund- Check Absyn->SCode before accepting a string or file as valid abstract syntax
3851b500aAdeel Asghar- Fixed isReplaceAble API. - Added testcases for some APIs. - Added French & Romanian to language dropdown. - Moved the translations file to OMEdit/OMEditGUI/Resources/nls/.
5e1236c1eAdeel Asghar- Fixed isReplaceAble API. - Added testcases for some APIs. - Added French & Romanian to language dropdown. - Moved the translations file to OMEdit/OMEditGUI/Resources/nls/.
a75cc69eeMartin Sjölund- Don't return loadFile("package.mo") success on error
b54e2b3b4Martin Sjölund- Don't return loadFile("package.mo") success on error
543172144Adrian Pop- fix the English typo. - add partial Romanian translation. - small fix in the Swedish translation.
ffc09d287Henning Kiel- added some more german translations
6194d5aa2Henning Kiel- added some more german translations
a7e47bab6Adeel Asghar- Fixed getNthImport.
26fba7684Adeel Asghar- Added french translation file.
09edc2e4ePer Östlund- Fixed better messages for modifier errors in SCodeInst. - Added better control over constant evaluation in Typing.
67ffcc914Martin Sjölund- Added Japanese translation stubs
bc9c2f435Henning Kiel- added some german translations
7fd8f056cMartin Sjölund- Added German language to the combo-box
50badcf74Martin Sjölund- Revert r11711 as it is plain wrong
d080b848eAdeel Asghar- Changed the utf-8 error to warning. - getErrorString() only returns messages that have severity = ErrorLevel_error
3193c2df4Martin Sjölund- Fix for the type system when calling getGlobalRoot with a non-boxed lhs
fd71517efJens Frenkel- replace some matchs again inputs with wildcard
bcb9f9b67Jens 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
ce6c2eb85Martin Sjölund- Move the printing of some config flags around - Added +help=flagName option
a09de84c3Martin Sjölund- Some German translations for OMEdit
faa326d47Jens Frenkel- add flag "matchingAlgorithm" to select the MatchingAlgorithm
cd6e069d2Martin Sjölund- Swedish translations
905201bacAdeel Asghar- Don't translate Modelica keywords.
c7d541910Martin Sjölund- OMPython docdir removed
ca0014338Adeel Asghar- Swedish translations. - Use -noobsolete flag to remove the obsolete translations in the files.
80d1c3d5aJens Frenkel- bugfix removeSimplequation alias der - bugfix alias a=der(var)
389c8c590Anatoly Severin- added some tr() in OMPlot - OMEdit: added translation of OMPlot in .ts-files
12bf1bd59Anatoly Severin- added some tr() in OMPlot - OMEdit: added translation of OMPlot in .ts-files
2e680399dAnatoly Severin- added Russian translation
3d29be7d7Adrian Pop- fix equalityConstraint function return type.
792a78894Adeel Asghar- Allow automatic width for options list. - Remove multiple initializations of Helper::noColor
89e2fcb45Adeel Asghar- PTII environment variable not required anymore. - Changed PTII to OMPTII. - Removed OMPython-UserManual. OMPython documentation is moved to OpenModelica usersguide.
1fafe8a46Adeel Asghar- PTII environment variable not required anymore. - Changed PTII to OMPTII. - Removed OMPython-UserManual. OMPython documentation is moved to OpenModelica usersguide.
ab4cf0b0aJens Frenkel- got rid of bootstrapped warning
83b0013caAdeel Asghar- SVN id tag.
a65ac59dfAdeel Asghar- Some more fixes for the translations. - Added the missing Q_OBJECT macro. - Removed stupid Qt default buttons as they are not translated.
df6fd9f43Martin Sjölund- Install OMPython documentation
d8785dd03Adeel Asghar- Fix build.
06d9d9a61Adeel Asghar- Swedish translations. - Language drop down in the options widget. - Changed the files tab width. - Allow users to unset the modifiers value.
2e5c84c3bMartin Sjölund- Fix testsuite
554a5b320Martin Sjölund- Some fixes to dumping as corba string
fedb0ed60Per Östlund- Changed simplification of scalar-array operations with an empty array to return an empty array, instead of an array with one element.
cf18e072ePer Östlund- Fixed correct types on array-scalar and scalar-array operations. - Updated test cases due to changed operation order.
afb5d6095Martin Sjölund- Added API call setInitXmlStartValue
88e8c362eMartin Sjölund- Make checkSettings() less verbose
fa893b27eMartin Sjölund- Set OPENMODELICAHOME
af2f6103aMartin Sjölund- Fixed the Java DefinitionsCreator
2c46dcc01Adrian Pop- added isShortDefinition API and tests in testsuite/interactive/interactive_api_calls.mos for it.
5c616980cAdrian Pop- fixed "setParameterValue" API in Interactive.mo to update the program. - added tests for this functionality in testsuite/interactive/interactive_api_param.mos
89af2bc97Adrian 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.
37f28bed4Martin Sjölund- Some fixes for Java interface
9ee95e059Martin Sjölund- Added scanReal ceval
754b7f902Martin Sjölund- Handle Modelica.Utilities.Streams.* external functions without generating so-files
fbf52519fWilli Braun - added a figure of the overall structure drawn with dia.
e88393991Per Ö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.
eebdf96dbPer Östlund- Fix RML compilation...
5d9e5f5c2Per Östlund- Fixed bootstrapped compilation.
405a23f23Martin Sjölund- Fixes for getAstAsCorbaString
de0e2daa8Federico BergeroChanges in the QSS version.
091ea5112Martin 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)
35f074645Martin Sjölund- Make omniidl command more suitable for parallel jobs
141ab87a1Martin Sjölund- Make omniidl command more suitable for parallel jobs
c9c91e389Martin Sjölund- Make omniidl command more suitable for parallel jobs
a654e8cf9Martin Sjölund- Fix make install
ef74725f1Martin Sjölund- Install OMEdit nls files
1c211bbb6Adeel Asghar- Release notes.
d27a35615Willi 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
42954a3f1Martin Sjölund- Expected output, etc
44dd6b969Martin Sjölund- Fixed some of the testcases (tries to simulate packages, instantiate functions)
dc0a8fab1Martin Sjölund- Add a check for uses-annotations being fulfilled before starting inst/translate model
3711751e4Mahder Alemseged Gebremedhin- Compact free_memory. Check parallel variable type in Template. Generate one more file for ParModelica.
01fa03a8aMartin Sjölund- Fix translation (r11632 broke) - Updated timestamp translation
4263885cfPer Östlund- Better error message for non-connectors in connections.
a62b230c6Adeel Asghar- Catch the std::runtime_error. - Better checking for translations file.
cdc61a948Mahder Alemseged Gebremedhin- Proper naming.
c397800ecAdeel AsgharFix for bug #1722 - Removed the Ambiguous shortcut.
e1e8462f1Martin Sjölund- Load NLS files based on OPENMODELICAHOME, not relative to cwd
002a342fdAnatoly Severin- OMEdit: added localization
63b48f990Martin Sjölund- Removed the need for DRMODELICAHOME env.var
91fa00685Martin Sjölund- More detailed parser error
d0a3630b4Mahder Alemseged Gebremedhin+ Added the OpenCL runtime.
823d9287eWilli Braun- fixed coding style
6b95e134bWilli Braun - changed compilation flag for fmu-export from -O2 to -O - added String support for fmu-import - added MultiBody.DoublePendelum test
f1ede9923Mahder Alemseged GebremedhinFix error in template and remove Tab.
e88c8c845Mahder Alemseged Gebremedhin+ Handling of parallel variables in the Back-end. Mostly fall-through. + Limited handling of parallel variables in Code generation.
8cb443b58Per Östlund- Remove tab.
07e5ba7b4Willi Braun - fixed some fmi-export memory leaks
7f531f226Niklas WorschechFix for assert expressions in cpp template
8045440beJens Frenkel- fix tests
ba32d939cWilli Braun -fixed CODING_STYLE
4e31a8a44Willi Braun - fixed FMI-Export Alias variables
e0432cedaJens Frenkel- add comments to flags, add flags - bugfix removesimpleequationspast - update teststuite msl31/simulate - add experiment annotation for M.M.Rotational.ElasticBearing
d5ff66a13Adeel Asghar- More documentation. - New chapter for OMPython in OpenModelicaUsersGuide.
466b80da6Adeel Asghar- More documentation. - New chapter for OMPython in OpenModelicaUsersGuide.
539c9e65fJens Frenkel- add function dumpEqnsSolved, to dump the equations in the order of calculate them
c5f65169eJens Frenkel- Bugfix codegeneration for tearing system, use index from original system
65242fc32Willi Braun - removed some tabs
daa007878Willi Braun- aded fixes and tests for fmu-export and fmu-import
4826c6496Adeel Asghar- Check for simulation executable crashes. - Only send simulation flags if user specify them.
1a77c3ae3Per Östlund- Initial support for equations in SCodeInst.
fd1e6c09fMartin 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
4f93a145aMartin Sjölund- Parser now supports the BOM
6e22793e8Martin 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)
be8625e6aAdeel Asghar- Added OMPython doocumentation to OpenModelicaUsersGuide. - Moved the OMPython docs from PythonInterface to doc/OMPython.
7fa8efee4Adrian 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/*
0824b1146Martin Sjölund- Use system isnan
7a57eee00Adrian Pop- do NOT define isnan in a header! it will conflict with other C headers.
2a7729336Jens 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
dee3a7408Martin Sjölund- PythonInterface make clean
c6c7d60bfAdeel 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.
38855c87fMartin 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
b3bc4aa16Martin Sjölund- Add flag so we can --disable-python-interface
6683e2808Adrian Pop- fix the UTF-8 encoding.
7f3048c51Adrian 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
98b6610e1Adrian 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
cc3c12460Adeel Asghar- Moved OMPython manual.
42848c11dAdeel Asghar- Fixed compilation for MAC. - Added version numbers for settings.
16097f140Adeel Asghar- Support for simulation flags.
26c0f4b5aAdeel Asghar- Support for simulation flags.
a577b75d7Martin Sjölund- Succeed on success
41368a7e6Martin Sjölund- Use suffix .in for in-files
eb24dfa95Martin Sjölund- Conversion to UTF-8
c13c989b3Martin Sjölund- Verify that string literals are encoded in UTF-8
42f2f7e5aPer Östlund- Got rid of tabs.
0d38da2ebMartin Sjölund- Converted the older libraries to UTF-8
8633dd7edMartin Sjölund- Fixed the encoding of the remaining files (added .tpl, fixed some illegal chars in interactive)
00aca314eMartin Sjölund- Fix encoding in CPP and interactive
b2e92d22dMartin Sjölund- Fix C-runtime encoding (UTF-8)
5bfeaf71fMartin Sjölund- Converted OMOptim/OMShell to UTF-8
b99a42fb3Martin Sjölund- Converted OMNotebook to UTF-8
28a8d0f4cMartin Sjölund- Converted some files to UTF-8
7be2fbe3dMartin Sjölund- Converted some files to UTF-8
49db26a92Martin Sjölund- Added make target utf8-error
d34760991Willi Braun - fixed Makefile for FMI
0f1d979bbWilli Braun- fixed FMU-Export - fixed FMI-Import - moved FMI-Import to SimulationRuntime
64677d456Adrian Pop- report an user understandable error message when trying to instantiate or check an model that does not exists.
544986d32Martin Sjölund- Fix typo
d1def1447Martin Sjölund- Remove tab
32253b8f3Mahder Alemseged Gebremedhin- Coding style.
3c58c05b0Mahder Alemseged Gebremedhin+ Added filing of arrays from range expressions. - Avoid previous unnecessary array copies.
2f9db908cMartin Sjölund- Moving python interface
8d132413aMartin Sjölund- Added simulate(..., simflags="flags") option. It will be passed to the simulation executable in the future
40550d9dfAdeel 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.
ad94da8c4Adeel Asghar- Added keyword tag.
38b7402efAdeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
63f6e977fAdeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
ad42b2901Adeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
1acd91d17Adeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
0cdef7b17Adeel Asghar- Auto generate the stub files for clients. - Added/Updated README.txt files for all clients.
5f273efe6Per Östlund- Added check for connect equation in initial equation sections.
617a2e786Adeel Asghar- Added $Id$ tag.
49a099eb0Martin Sjölund- Better SimCodeDump for when-equations
f514b5aeeMartin Sjölund- Fix for linear systems with the same index (why add these in the first place?)
8019b4df6Adeel Asghar- Updated the instructions.
a4da03bd7Per Östlund- Got rid of more compiler warnings.
b671be503Martin 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
51a70884fMartin Sjölund- Simplify matrix+asub {{...},...,{...}}[1,2] => ...
91baa06d9Per Östlund- Get rid of some compilation warnings in interactive.
6ebabb3ecMartin Sjölund- Fix segfault
6fdb6d64dPer Östlund- Added checks for valid class types of components in SCodeInst.
c1a751939Martin Sjölund- Some fixes for the gnuplot connection and log-scale of zero measurements
ac140bdfbMartin Sjölund- Adding some more function calls to the profiling
fc93863f0Martin Sjölund- Some fixes for gcc 4.7
5cb466fcaPer Östlund- More improvements to cref prefixing in SCodeInst.
7f88639f1Adeel Asghar- Generate code with +d=gendebugsymbols flag.
920611fdcPer Östlund- Fix compilation.
ae31ec6b4Per Östlund- Preserve subscripts when prefixing crefs during instantiation.
b70132948Per Östlund- Fixed broken compilation due to RML stupidity.
09eec6356Per Östlund- Implemented better handling of component names in SCodeInst.
d2a27b490Mahder 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.
09e244b36Jens Frenkel- remove taps
2a829f1a5Jens Frenkel- fix compilation
aca6b7ab0Jens 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
10b0e8ff5Willi Braun - inverted +v flag. By default are all arrays crefs vectorized. One can set a still a Limit to aviod that.
47ea9e78dAdeel AsgharFixed python API Interface for Linux.
6ed8d93e3Adeel Asghar- Fixed typo.
b5a78a95bAdeel Asghar- Generate python stubs in stubs folder. - Added the setup.py script to install python API.
60cef440dAdeel Asghar- Fixed hudson build.
e427f8f43Adeel Asghar- Changed Parser to OMParser.
c52b87c41Martin Sjölund- Allow omniidl-python fail on OSX
110242405Martin Sjölund- Fix to make sure python interface is built - Check if using omniidl, else don't create it
c34408d61Martin Sjölund- Better copying of ompython
5d7f83e6dMartin 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
72982a62eMartin Sjölund- Renamed error.h to omc_error.h
6f0de69d5Adeel Asghar- Fixed build.
eac486867Adeel Asghar- Added +d=gendebugsymbols flag to generate code with debug symbols for standard Modelica.
e7a9b1405Pavol PrivitzerSmall C# template update
8b6b2b214Adeel Asghar- Updating OMDEV is required. - Added ompython to Compiler/scripts (From Anand).
6b764044aAdrian Pop- fix a case of "how the beep did it worked until now"? - EQ_NORETCALL should be returned instead of ALG_NORETCALL
cacbb9296Jens Frenkel- bugfix for complex equations in strong connected components - add test for complex equation in strong connected component
e3481167cMartin Sjölund- Create the result.xml in the correct directory
84f65b602Per Östlund- Refactoring of SCodeInst.
66e74ab3eHenning Kiel- remove stray "*/" - change calloc to malloc for immediately initialized memory
99c6b7505Henning Kiel- remove typo
f6fcb08b4Martin Sjölund- Fix columns
7abb904acMartin Sjölund#1408 - Removed support for min/max(string) as only enum,bool,int,real are allowed
4006b9ddaAdeel Asghar- Fix the tabs :)
dbc97451dAdeel Asghar- Fixed OMEdit to handle new changes of importFMU.
225778b2cAdeel Asghar- Fixed the importFMU. - Removed the moGenerator::getDecompPath(), omc should sent the right output directory to fmigenerator.
bd1da5c33Martin Sjölund- Fix coding style
07d4c53cdMartin Sjölund- Increase ulimit
5750dc42dMartin Sjölund- Changed order of cells
001cbb08aPer Östlund- Fix application of redeclares in SCodeInst.instExtends.
367e8e772Martin Sjölund- Try to run the simulation in BuildModelRecursive.mos
a6da3c246Martin Sjölund- Terminate the find regex so we do not find .h0 files on some OSes
1d3425c77Martin Sjölund- Remove some tabs from sources
fe108e6b1Martin Sjölund- Remove some tabs from sources
88cad0cb8Martin Sjölund- Improved tab detection
dbd429c42Martin Sjölund- Improved tab detection
b5a0193a7Martin Sjölund- Added make target tab-error
72a80eabfMartin Sjölund- BuildModelRecursive.mos now sets a ulimit on time
b11e136c2Per Östlund- Removed invalid 'external' prefix from external functions in SCodeDump.
86b309d22Jens 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
42e2194eaJens Frenkel- bugfix derivative of ASUB
d1b07d89fMartin Sjölund- Make sum(scalar) an error
1db0c8881Jens Frenkel- fix for Bug [# 1596] Simple equation not found - fix name problem for mosfiles/BouncingBall2
84994474fJens Frenkel- remove unused code
0bdd5fe78Jens Frenkel- fix test
20e9f4a2eJens Frenkel- break loop in Derive by providing information about inline success
1facf25e3Jens Frenkel- ~10% speedup for removeSimpleEquation
220370b51Martin Sjölund- Removed support for enum and Integer being compatible types - Testsuite still runs - But probably still problems in MSL31
63c01d5a5Adeel Asghar- Check for the extent points value before calculating the boundingRect.
e04e6ccacMartin 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
581b865d2Martin Sjölund- Moved connect(a,a) warning to Inst instead of SCode
a0e391040Jens Frenkel- report Error Message in case of Discrete Equation Systems
936176605Jens Frenkel- remove rule for min/max (enumeration, int)
145c6ffd5Adeel Asghar- Changed UTF8 to UTF-8.
7399c0c01Per Östlund- Improved handling of bindings and deduction of array dimensions in SCodeInst. - Added List.lastN and List.stripN.
f440455aaJohanna Schneider- bugfix tearing
e01ca0430Per Östlund- Implemented class extends support in SCodeInst.
0be4f0feaMartin Sjölund#1710 - Check filename for invalid characters
92118aa88Jens Frenkel- simplify min/max(enumeration) - set min max from enumeration for variables (maybe should be done in frontend)
51d48dfacAdrian Pop- fix the CodegenC.tpl for T_ARRAY (be more specific). - expected output in testsuite/parser/ParseFullModelica3.1.mos
76c40398eAdrian Pop- MAKE CLEAN is highly recommended!
f0ec20670Jens Frenkel- lower enumerations to discrete vars like integers
8d091bca6Jens Frenkel- Var is either continous or discrete
44cf4ed1cAdrian Pop- division.h: switch __FILE__ and __LINE__ in DIVISION macro as they are expected by division_error function.
3588d1c90Adrian 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.
a1420dff5Jens Frenkel- fix test
34e306bdaJens Frenkel- fix compilation
348541cc7Jens Frenkel- add Incidencematrix type SOLVABLE - add compleqs to traverseBackendDAE and checkBackendDAE functions - use traverseBackendDAE in PartFn -> easier maintainance - more information if createOdeSystem fails
fdedaa2f4Lennart Ochel- fix for mapToDymolaVars
666585e4aAdrian Pop- OpenTurns updates.
3ea6b2962Adrian Pop- consider also partially evaluated functions and also do union as we seem to get duplicates.
af5e49a0eAdrian Pop- also consider external functions! duh :) - expected output for some tests.
13085f10dJens 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
810dea936Lennart Ochel- import from matfile supports now variables with dymola names
64c3e3396Jens Frenkel- simplify size operator helps media
ffdf6c750Per Östlund- Removed some deprecated code from SCodeInst.
79b0f32eaJens Frenkel- break loop in Derive
c9c77b7fcLennart Ochel- stop the simulation, if an error occurs
285bca3c2Per Östlund- Partially implemented error message for cyclic dependencies in SCodeInst.
12cc2f8d7Jens Frenkel- fix for bug [# 1693] , use type of expression for mul when calculate the derivative of DIV_ARRAY_SCALAR
afbf0902bLennart Ochel- minor fix
2f1ad8bb3Lennart Ochel- add two optimization methods from OM1.8.0 (simplex and newuoa)
5c4f06cc2Per Östlund* SCodeInst fixes: - Instantiate cref subscripts. - Correct instantiation of function names.
e319c11e6Martin Sjölund- Parse comments in correct order
0eb0a969eJens Frenkel- bugfix blt, do not check continues vars in relations - update path in interaktive readme
298dabc55Jens Frenkel- if derivative of function does not exist force inline to get media examp working
5e46962e9Jens 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
0486c5507Jens Frenkel- add missing code for functions return records in optimisation modules
b053c7736Jens Frenkel- do not force inline for complex equations helps TestMedia
a0dac2654Adrian Pop- changes in backend considered in XMLDump.mo too - dependency seems to be broken, i think we also need to consider protected imports.
9b8585efaJens Frenkel- implement support for functions return records down to code generation, code generation works for record = f(); f() = record
0b4881927Adeel Asghar- Fixed the stupid OMSketch code. Now OMNotebook doesn't hang while opening. - Some other minor changes.
bd395b598Adeel Asghar- Added OMOptimLib.pro
fb7c68296Adeel 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.
7c07c88e3Adeel 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.
f0cdf47dcMartin Sjölund#1707 - Add support for functions returning arrays of strings
8fe51640ePer Östlund- Fix correct propagation level for modifications in extends in SCodeInst.
b506495beAdeel Asghar- Integrated OMPlot with OMNotebook. - Saving the embedded plots is reopening it is also possible now.
cea7ec08bAdeel Asghar- Integrated OMPlot with OMNotebook. - Saving the embedded plots is reopening it is also possible now.
061d24bfcAdeel Asghar- Fixed isReplaceable API, check separately for public and protected elements. Added case for the extended classes as well.
3f54d84aeMahder 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.
9468fdc14Adrian Pop- update OpenModelicaBootstrappingHeader.h broken some commits back.
f4f0e99dbAdeel Asghar--new-window flag for visualize API.
ef257dcbcMartin 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)
309dc85f5Martin Sjölund- Fixes illegal xml generation when using measureTime=true
b6b1210c9Martin Sjölund- Fix for external noretcall functions
65d9d4578Lennart Ochel- fix init-file for constant expressions - fix initialization by mat-file
25fb5ebe3Per Östlund- Fix MainTest.
1dc0ec2c2Per Ö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.
5a7544b20Jens Frenkel- dump Statistic about the system with +d=backenddaeinfo
e894cf84cAdrian Pop- expected output. - got rid of print in Inline.mo
807dd761fAdrian 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 :)
480165cb8Adrian Pop- do not do equiv type checking when MetaModelica as they might be not! - fix some of the expected output in some models.
10dac1503Jens Frenkel- remove forgotten dump call
468ee7cb3Jens Frenkel- check if extension of records was succesfull - remove forgotten dump call
4110066f0Jens Frenkel- compare types before inline expression
0461f31edKaie KubjasFixed a bug in CodegenCpp.tpl
bbcd20245Adeel Asghar- Fix build.
3fbfd1dcdAdeel 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.
e8bed5e4dPer Östlund- Implemented better handling of extending basic and array types in SCodeInst.
023983e80Martin Sjölund- Don't remove single quotes
307f047b3Mahder 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.
c0817019fMartin SjölundPartial fix for #1702 (enum == Integer is not an allowed relation) - This was also updated in MSL
47166c1c2Per Östlund- Implemented prefix propagation in SCodeInst.
66179bbb6Niklas WorschechModified interface method giveZeroFunc in cpp runtime, eps parameter is not needed. Fix in CMake file of Modelica System
bcc2d830eMartin Sjölund- Added target bom-error to test for BOM in files
fff231e84Kaie KubjasFix typo in AlgloopsolverFactory class
6fc393323Martin Sjölund- OMNotebook now depends on OMPlot
2b1f1721eAdrian Pop- remove forgotten unused SimCodeC.tpl.
dced95389Martin Sjölund- Updated auto-generated file
e0455397eMartin 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
0cbef5676Niklas WorschechModified event iteration in cpp runtime. Using checkConditions instead of setZeroState from solver
4c24901a2Niklas Worschechfix for mixed system iteration in cpp runtime fix in CVode for calculation of event state
83b420370Per ÖstlundFix for bug #1700: - Fixed type of sum.
0338eebfcLennart Ochel- update for importStartValues
c53eb8477Jens Frenkel- copy table to avoid loss of data by memorypool
e7233912aPer Östlund- Fix type dimensions in SCodeInst.
a963de49eMartin 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
8e46ab316Martin Sjölund- Added rule Real(i1:i2) => Real(i1):Real(i2)
62a9eca19Martin 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)
44e8413ebAdeel Asghar- Fix build.
eaa745ac8Adeel Asghar- Qt 4.8 rewrites the Modelica links from Modelica:// to modelica:/ so we must compare CaseInsensitive.
7a11a4211Adeel 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 :)
622864fa2Adeel 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.
1712a6b05Adrian Pop- gee, shouldn't we return what we compute??!!
fc18a625eAdeel Asghar- some changes in the Plot API family to support OMNotebook embedded plots.
c05306dafPer Östlund- Implemented expansion of bindings in SCodeExpand.
5656a89bfMartin Sjölund- Simplify ew array division/multiplication ({1,2}./{2,2}={0.5,1})
2ea4635faKaie Kubjasadded 2 flags and made some small changes for reduction methods
1625165c2Per Ö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.
d3b5a74cfMartin Sjölund- Gave MODELICA_TERMINATE a complete type (gcc ignores)
bdb511f38Niklas Worschechchanged prefix of variable names in cpp runtime
920b75ca0Martin Sjölund- Fixed the fix-bom command (removed some BOM)
6dca03acdMartin Sjölund- Added fix-bom target
3c2a60ba7Niklas WorschechAdded get and set method for conditions vector in IEvent interface
dca4dc436Martin Sjölund- Re-enabled generation of mosh/src/Makefile
f3d5af857Martin Sjölund- Added LD_LAPACK to configure.in
6ca9d13e4Niklas Worschechmodified cpp runtime CMake file for system initialization
715ea486fAdrian Pop- got rid of references to c_runtime in configure.in.
aa105743cAdrian 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.
184602939Adrian 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.
f9041571fAdrian 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.
c5bda889dNiklas Worschechchanged implementation of condition variables for zero crossing variables in cpp runtime
57e3faca5Adrian Pop- copied qss files from c_runtime
b4830e501Mahder 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.
999ea7004Lennart Ochel- avoid initialization and use start values instead: simulation-flag "-iim none" - avoid initialization and use existing results instead (matfile): simulation-flag "-iif -iit
25a986ff8Adrian Pop- fix typo in CodegenC.tpl - use CodegenC instead of old SimCodeC in SimCodeDump.tpl - fix some of the deps.
9104bf817Martin Sjölund- More logical sorting of paths
ad7d0f90cPer Ö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.
954bf435eMahder 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.
5af302a05Adrian Pop- empty commit to test that OpenModelica subversion repository post-commit hook trigger Hudson builds ONLY when we commit in trunk and nowhere else.
50395e721Adrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
70cf07cbfAdrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
7f4c22e55Adrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
dfedc49a6Adrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
7a7f496edAdrian Pop- empty commit to test that Hudson trigger builds ONLY when we commit in trunk and nowhere else.
78c52e3feMartin Sjölund- Remove dependency on Compiler/runtime/omc_communication.o
bb1b66fdfDietmar WinklerNo need to replace %20 in FindFiles.sh since this was taken care of somewhere else.
19ea7b7c4Per Östlund- Implemented handling of conditional component in SCodeInst.
9006250f3Martin Sjölund- Some more toHtml()
eb6f743f4Martin Sjölund- Sort output
74d6c60b4Martin Sjölund- Filename-escape
e3992743fNiklas WorschechAdded ISystemInitialization interface to cpp runtime
399b8824cAdrian Pop- empty commit to test Hudson
eebc1f156Adrian Pop- empty commit to test Hudson
b68b1fbe2Per Östlund- Initial support for enumerations in SCodeInst.
8ef0418d9Adrian Pop- empty commit to test Hudson
412bdeafbAdrian Pop- empty commit to test Hudson
6dcab2eb0Martin Sjölund- Fix some illegal generated html - Add
 tags to LAPACK again
a152ea8acMartin Sjölund- FIlter out EngineV6
21b678a6eDietmar WinklerMake Tidy.py a little bit more talkative and remove usless lines.
94b3371f6Adrian Pop- do not depend mosh on omc!
302790fb2Martin Sjölund- Only run soup if tidy says the file is ok
3c93052a5Adrian Pop- added testPar target.
47332a776Dietmar WinklerSynchronised with the changes done for the MSL release script.
31537d801Per Östlund- Improved modification handling in SCodeInst.
fe1db8828Martin Sjölund- Also load ModelicaTest in the mos-files
ff5209e18Martin Sjölund- OMPlot: Build lib before exe so parallel builds succeed
e62562ae8Martin Sjölund- OMPlot: Build lib before exe so parallel builds succeed
c07be781aLennart Ochel- minor initialization fix
b3f715237Lennart Ochel- minor initialization fixes
29256d675Dietmar WinklerStyle sheet modifications to make the headings look nicer.
853b481dbMartin Sjölund- Partial fix for LineForceWithTwoMasses (preprocessor macros now do not fail)
28ecd8de6Martin Sjölund- omc +t now dumps info about unary ops
9d09d7696Per Östlund- Ugly, ugly hack to keep anyString and getTypeOfAny from segfaulting on function pointers.
39f9b13edMartin Sjölund- Changed location of java_interface
63308b779Mahder Alemseged Gebremedhin+ propagating parallelism for variables through SCode. Everything just falls through.
2bec83baaMartin Sjölund- Add ModelicaTest if running MSL3.2 - Skip BaseClasses
98d51a535Niklas Worschech-fix in cpp writeoutput template, variables has the correct order now, modified giveZeroFunc cpp template, zero functions can not be exactly zero now.
59efbbec9Martin Sjölund- Symlink the correct path
e82116a26Lennart Ochel- fixed detectImplicitDiscreteAlgsStatemens for tuples
3b6880c5bMartin Sjölund- Wrong order in header
a12c3afd9Martin Sjölund- Build all models
dac7bc3d4Martin Sjölund- Avoid problems if omc crashes
e1689be8aHenning Kielfix array access out of bounds static variable buf does not allow reentrance here (would be better put on stack = not static)
2bdf3ac4aNiklas WorschechAdded fix to KinSol solver for linear systems
a1bba53b2Niklas WorschechAdded improvement for event handling to CVode solver in cpp runtime
e36aff93cMartin Sjölund- Print user-friendly times (not 7.83e3 sec...)
d9d3bb3a8Willi Braun - update the algorithms for coloring and sparse pattern
36886ee3eMartin Sjölund- Add total time taken to BuildModelRecursive.mos
0c3dc3912Martin Sjölund- Fix MainTest.mos
be69cddafMartin Sjölund- Filter out some more models that are auxilliary
716645992Martin Sjölund- Updated BuildModelRecursive.mos - Outputs a pretty colour-coded html table - Added some more realtime clock functionality to the API
6440acdc9Martin Sjölund- Added ceval support for String(real,significantDigits=xxx)
796ae91fdMartin Sjölund- Removed debug output
72b69e88aMartin Sjölund- Forgotten file in last commit
535053df6Martin 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
bf8cf55d6Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
d1106dbbdAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
dd6b85881Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
a45356b3cAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
bf0d92a96Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
8a53c25f6Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
1cc48694fAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
88b095f9aAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
9f6cabbdbAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
287ffe38fAdrian Pop- test building
7a3e5684eAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
8e007b8cbAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
21322e3d6Adrian Pop- small update to test build on http://test.openmodelica.org/hudson
48089d136Adrian Pop- do not clean java_inteface as it no longer exits!
30ce1bd5dAdrian Pop- small update to test build on http://test.openmodelica.org/hudson
ce5510eb0Adrian Pop- rebuild SimCodeC.tpl in the susan makefile. - update SimCodeC.mo
d53817d2bAdeel Asghar- fixed a typo.
1c7cfc282Willi 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
69aa66923Martin Sjölund- Log what files we have started writing to so we can see the progress
b57a908aeMartin 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
7614b72f1Martin Sjölund- Added scriptable API functions: isPartial isModel regularFileExists - Added script BuildModelRecursive.mos to systematically try to build every example in MSL
09c676a30Adeel Asghar- a minor fix for plotParametric.
297cb69f5Martin Sjölund- Die with fire
32fcf0db8Per Östlund- Implemented deducing of array dimensions from bindings in SCodeInst.
2c79d2e00Adeel 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.
4fb173042Adeel 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.
cec3f45f6Adeel 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.
dde7ac139Martin Sjölund#1684 - Generate code for assignment to record
35b0ff2a6Martin Sjölund- Removed the static keywords from the ModelicaExternalC C-files instead of using preprocessor macros since that messes with OSX
fdb858363Martin 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)
af9f206eaPer Östlund- Fixed error message in BackendDAEOptimize.partitionIndependentBlocksSplitBlocks for over/underdetermined equation systems. - Updated dependency/Modelica.Mechanics.MultiBody test.
7e7a4fbfdMartin Sjölund- OSX cp doesn't have -u
e015a73efPer Östlund- A lot of changes to SCodeInst, mostly related to typing of components. - Hijacked SCodeMod and moved modifier handling code from SCodeInst there.
ebce39fcdPer Ö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.
2e895140dAdeel Asghar- We should close the simulation result file after reading the results e.g variables, val, dataset etc....
6bc678476Adeel Asghar- We should close the simulation result file after reading the results e.g variables, val, dataset etc....
0fe4c1b9eAdeel Asghar- We should close the simulation result file after reading the results e.g variables, val, dataset etc....
1f1b1f14bMartin Sjölund#1683 - Don't convert unicode to latin1...
8b99f1835Per Östlund- Applied patch from forum user janssen to close MathML if-expressions correctly in XMLDump.
c608e2ca5Martin Sjölund#1686 - Added a parse error for connect found in an element list
68a85db1bPer Östlund- Changed the unbalanced connector error to be a warning.
09b24f96cNiklas WorschechAdded Kinsol solver source to cpp runtime
a13f06f05Henning Kiel- fixed function protottypes
7bc545093Adeel Asghar- Some minor fixes.
7b8adf8b9Adeel Asghar- Added some new APIs to get equation and algorithm items.
7bb82a710Adrian Pop- first draft of OpenTurns wrapper for OpenModelica generated code with uncertainties
98b818e85Henning Kiel- move if condition out of for loop
9e1537d81Henning Kiel- substitute goto statement by do-loop
02614d27cAdrian Pop- copy replace-startValue* with the other scripts.
434824ddaMartin Sjölund- Inline homotopy since it's not yet supported fully
bbaa32eefMartin Sjölund- Includes
d83e26162Martin Sjölund- Fix Makefile.in
c8c428580Martin Sjölund- Configure error
0d582c601Adeel AsgharFixed the makefiles for simulationruntime
f8832fa35Martin Sjölund- Fix compilation errors
8a285a344Martin Sjölund- Some descriptions of optimization modules
41a885223Adrian Pop- one for Windows too.
d9a7d55d5Adrian Pop- homogeneous line endings
f6b4e160cAdrian Pop- more Linux stuff
e51468b7aAdrian Pop- support any type of value
a30239eacAdrian Pop- not .exe for Linux sake :)
26b770d30Martin Sjölund- Fix for bootstrapping
4c66abd9aAdrian Pop- small comment update
1e68f8280Adrian Pop- a XSL script and a driver to change a start value inside a Model_init.xml
122db4999Martin Sjölund- Some documentation updates
c10da1f17Martin Sjölund- Simplify CAST(-arr) = -{CAST(exp),...}
b8b909170Martin Sjölund- Fixed codegen for boxed non-uniontype records containing function pointers
41817020eMartin Sjölund- Updated GenerateDoc
1245a5626Jens Frenkelevents.h: bugfix function definition generational.c: avoid warning (vs)
0239c8e47Jens Frenkel- bugfix remove simple equations for uncertainty computations, nobody knows if i or j is the variable or the derivative
849c04a82Willi Braun- removed OMC_SEED_HACK - improved evaluation of jacobians
4c9afd1ddMartin Sjölund- Fixed compilation of MainTest.mos, but some warnings remain
7d5a2bf35Martin Sjölund- Fixed some uncertainty compilation errors
dd5d12c5bNiklas Worschech- fix in cpp template for non linear systems, replacement of state variables
c32f65583Leonardo Laguna- Implemented support for uncertainty computations
0ddc05772Martin Sjölund- Better error message for equationToExp failed
a00b9666aAdeel Asghar- Fixed the parameters visibility problem. - Added the scrollbar when there are many parameters to display.
1905f0a38Niklas WorschechFix in cpp template in mixed systems discrete vars iteration
80577716cLennart Ochel- fix dump-messages - fix scaling-coefficients
18068ccc7Niklas WorschechExtended cpp runtime and cpp template for mixed systems
72e3c81abPer Östlund- Handle time in SCodeDependency.
208e97dcfPer Östlund- Improved notification on language standard changes.
c7de83f0cJens Frenkel- update CMakefiles
10df2537dMartin Sjölund- Renamed trunk to 1.8.1
8d7644879Adeel 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.
cc4f7d0d8Adeel 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.
5463c7de4Martin Sjölund- Flush some more
a9e94a13dAdrian Pop- add a prototype for void *mmc_alloc_bytes(unsigned nbytes);
9392b5ac2Jens Frenkel- change AC_PREREQ([2.65]) to AC_PREREQ([2.63]) to support also CentOS
9a7889986Adrian 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).
de4f237b8Mahder 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
03e55d563Martin Sjölund- More robust GenerateDoc.mos
941864be6Lennart Ochel- removed redundant equations for initialization - removed unused code - renamed SIMCODE attribute initialEquations to startValueEquations (in order to avoid confusion)
7f04f5fc3Kaie KubjasIn SimCodeCpp.tpl fixed a bug with arrays and extended functions for doing reduction.
9ea937014Mahder Alemseged Gebremedhin+ Improved operator elaboration. (normal and overloaded)
6df54792cLennart Ochel- fixed generating of initial equations - removed unneeded stuff from BackendDAEUtil.mo - renamed functions: initializeDataStruc_X_ -> setupDataStruc initializeDataStruc_X_2 -> setupDataStruc2
25030ded4Martin Sjölund- Warn about : in generated code
9379161c4Lennart Ochel- clean createInitialResiduals - fix debug outputs
3b0cc4102Adeel 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.
d70a82f01Lennart Ochel- fix under-determined initialization without initial equations - fix error output for nonlinear systems
71cfa4ffeWilli Braun- fixed bootstapping MainTest.mos
0c6ae42a4Willi Braun - fixed compilation error for Main.mo - fixed bootstrapping MainTest.mos
42ecbb121Martin Sjölund- Use BeautifulSoup (Python HTML library) instead of Perl html::Parse since that library destroys too much formatting
d36c58395Willi Braun- fixed FMU testsuite
b000ddba6Willi Braun - added graph coloring algorithms to utilize the sparse pattern for a faster evaluation of the analytical jacobians - usage by solver method="dassljac"
41894316dAdeel Asghar- A minor fix.
49946676fAdeel Asghar- set named annotation values.
b18704989Martin Sjölund- modelicaLine with extra #
afacb1200Martin Sjölund- Switch back to as_HTML as as_XML breaks some HTML entities
9181dd002Martin Sjölund- Use as_XML instead of as_HTML as it doesn't seem to move stuff around as much
cd403aca8Martin Sjölund- Fixed parser errors
ba99769afMartin Sjölund- Add transitional doctype
e1191e900Martin Sjölund- Some more documentation
e1e3e3381Lennart Ochel- fix for under-determined initialization problems - update initialization-tests
d7ac56798Mahder 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.
a47da8cfcAdeel Asghar- More better checking of exit code.
1e7abfc3eAdeel Asghar- Fixed the simulation unexpected finish on Linux.
8dffb4fcaMartin Sjölund- setStackOverflowSignal is now inlined in bootstrapped omc
c5ed3e637Martin Sjölund- autoconf
b5fbfe71eMahder 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.
f07bc3046Mahder 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.
539bbe69fPer Ö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.
25bfcc6a8Martin Sjölund- Some header dependencies
41a2c53e0Martin Sjölund- Documentation fix
497478d5dJens Frenkel- implement smoothness=Smoothness.ContinuousDerivative for CombiTable2D using Akima interpolation
e05fb1a19Jens Frenkel-Update CMake Files
b7cccec95Lennart Ochelrenamed functions: - bound_parameter -> updateBoundParameters - initial_function -> updateBoundStartValues
1f9931178Martin Sjölund- Added Kristian's lic to the webpage
9f113c7c9Jens 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
70fe4f8d3Adrian Pop- ö changes
92a2699afMartin Sjölund- Use liblpsolve55_pic.a when using static linkage
43056701aMartin Sjölund- Don't link every file against ModelicaExternalC; the modeller is supposed to add this dependency
c42a1f288Martin Sjölund- EOL style on templates
9d62fe282Adrian Pop- revive the ö in LinkÖping - remove the Windows.h include.
6d34cda4fMartin Sjölund- Don't send 0 memory states when using dynamic number of OMP threads
b1e6a82a9Martin Sjölund- Tail-recursive pop_message
3d8444614Martin Sjölund- Set svn-eol-style on a few files
eae654a85Martin Sjölund- Set svn-eol-style on a few files
56a2aa903Martin Sjölund- Set svn-eol-style on a few files
f314c7edeMartin Sjölund- Make clean now cleans up a bit more of the mess
d16b2cbfaMartin Sjölund- Make clean now cleans up a bit more of the mess
29c14adefPer Östlund- Implemented handling of attributes of builtin types to SCodeFlatten.
fcd8489c5Martin Sjölund- Remove file before ar to be sure nothing remains
0112e0d69Martin Sjölund- Also clean a-files
30a250a64Martin Sjölund- make clean now cleans all files in the simulation runtime
8ad59d32cMartin Sjölund- Do static inline
a0fc944d6Mahder Alemseged Gebremedhin+ testsuite fixes for parallel extensions. + Added parallelism attribute to all variables.
61607e3c6Lennart Ochel- removed temporary prefix _X_ from DATA-structure
0f7ced876Willi Braun - added determination of sparse pattern
1b48768dbMartin Sjölund- Removed configure script as all systems have access to autoconf
1c5e33f76Martin Sjölund- Fix for OSX compilation (Error.h exists in multiple places)
4804f625bMahder Alemseged GebremedhinAdded parallelism attribute to all variables.
c4f26c7f8Martin Sjölund- Link ModelicaExternalC with dynamically loaded functions
32c65ac0eMartin Sjölund- Push to the memory pool when using dynamic function loading
2ed111519Martin Sjölund- Clean make now succeeds again
8bb948d30Willi Braun - switch function generation also to new simulation runtime - linking Compiler/runtime to new sim runtime.
9ff6a5576Per Östlund- Redesigned handling of redeclares in SCodeFlatten so that redeclares are replaced in the correct order.
deccb2df5Martin Sjölund- Include builtins
70fbe866eMartin Sjölund- Added check for non-array iterators in for-loops - Added codegen for pre(matrix[sub1,sub2])
3dda2810cMartin Sjölund- Only copy headers once
0832aaf76Martin Sjölund- Fix MetaModelica testcases using the new runtime
1e6d78601Willi Braun - Switch to new SimulationRuntime as default SimulationRuntime. - all simulation tests work as before. - This will break interactive and qss stuff.
e86e43d39Adeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
7df1ce8b0Adeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
71314c230Adeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
dd053729aAdeel Asghar- Fix compilation. - Remove bin directories from trunk as they are created automatically after qmake.
23d076b9dAdeel AsgharRemoved the unused and windows specific files from trunk.
d9519270eAdrian Pop- remove sendData.
087e0e57fMartin Sjölund- Removed OMPlotWindow as it uses the old plot commands
72e361c98Martin Sjölund- Removed OMPlotWindow as it uses the old plot commands
e420ac352Martin Sjölund- Removed sendData from the compiler
19d1b1006Martin Sjölund- Removed 3D support from OMNotebook
7d03d7a9fMartin Sjölund- Removed 3D support from OMNotebook
620bf1e0eMartin Sjölund- Remove use of Pltpkg2 in OMNotebook
007e66759Martin 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)
5148d4bc7Martin Sjölund- Removed notebooksocket.{h,cpp} as it seems unused
2f1435ad1Martin Sjölund- Moved isPackage to the scripting enviornment - GenerateDoc now splits the index page between libraries and builtin environment
48b5d5915Martin 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
f54383b8cMartin Sjölund- Fix configure for without-static-readline
f1695b55bMartin Sjölund- Added configure option --with-static-readline
8424e02feMartin Sjölund- Added configure option --with-static-readline
9788eb126Martin Sjölund#1674 - Fix dimensions of splice expression
5dc2427fcAlexey LebedevAdded a draft of a document about processing arrays in separate compilation of Modelica
c1839f2a6Adeel Asghar- Check for simulation executable result. If it crash show error rather than plot window.
37b502279Martin Sjölund- dtoa fix for 32-bit Linux
e5bbbb1ffJens Frenkelfix for bug Bug [# 1608] - functions with inputs (parameters and discrete) have zero derivative - Derive, BackendDAEUtil, BackendVariable - BackendDAETransform: update Debug code
45b6ecebaJens Frenkel- otpimize DAE.IF_STMS while do replace Bug [# 1503]
0a154cfa6Martin Sjölund#1673 - Reject models that contain external declarations
c094e25e0Jens Frenkel- bugfix last commit
760ad7170Jens Frenkel- fix for Bug [# 1671], use real last type
882102593Jens Frenkel- fix for Bug [# 1671], look for crefs without last subscribt
0abaa7703Martin Sjölund#1672 - Allow empty config string lists (pre/postOptModules)
eaa36f766Willi Braun[newSimulationRuntime] - fixed bug with delay and string parameter
186231086Lennart Ochel- cleanup
56ca4a771Lennart Ochelintroduce scaling-coefficients for initialization
9564748f7Niklas WorschechExtended cpp template for solving linear systems
73d3b28e9Lennart Ochel- erroneous commit fixed in solver/solver_main.c - avoid pitfalls in error.h
659417320Martin Sjölund- Documentation update
1c9fb12bdMartin Sjölund- Added debug option +d=delayBreakLoop - If the delay has a bounded lower limit, we allow it to break algebraic loops
977f2a4a8Martin Sjölund- Don't run modpar if +d=openmp is used
a80c5eca5Henning Kielmake simple functions static inline to save the jump instructions
97a1bb2e9Henning Kielremoved obsolete file (is integrated in openmodelica.h)
f209e4dc9Lennart Ochel- activate new_cruntime again
ed7fd2d2cMartin Sjölund- Disable new_cruntime while compilation errors are being sorted out
198b4993fMartin Sjölund- Handle paths with dots in the (quoted) identifier
91dcf7d60Martin Sjölund- Documentation, ReleaseNotes
81bc7ab24Willi Braun[newSimulationRuntime] - activated jacobian in DASSL again - added some memory frees to get rid of valgrind claims
0e1e27b9bHenning Kieluse malloc instead of calloc becuase memory is immediately initialized after allocation
9c2869a4dHenning Kielthere is no element d_type in OMDev's struct dirent put #ifdef around code section to make file compile again in OMDev
353df92fbPer Ö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.
6da4e719cMartin Sjölund- getNamedAnnotation now works on ENUMERATION
f6bff07d5Martin Sjölund- Don't try to load txt-files as if they were packages stored as library (in fact: we ignore them)
c1f50f8c1Martin Sjölund- Small typo
3daeb7da1Martin Sjölund- Meta-documentation
70be4aedbMartin Sjölund- Comments should not strip valuable characters
da1b5856dMartin Sjölund- Updated documentation
c8b77402bMartin Sjölund- Added list API to get short class definitions only
cb882043bMartin Sjölund- Removed old ModelicaReference as they are not needed (trunk version of ModelicaReference is safe to use as it contains no models)
1abebec8eMartin Sjölund- Stupid Qt software allows users to compile software only on 1% of the world's operating systems
f73a83474Adeel Asghar- Added the missing OMSketch images.
ce2e074d4Adeel Asghar- Added the OMSketch files to the .pro file.
4d7513224Adeel Asghar- Integrated OMSketch with OMNotebook. - Removed the extra main.cpp file.
06bc302d1Adeel Asghar- Deleted Visual studio related files.
67ad62a60Martin Sjölund- A function with no public elements isn't really a function; it's only used to take up space
1bc3c0d4aKaie KubjasFixed a bug in SimCodeCpp.tpl:outputIndices.
1d0871d41Martin 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
a13dd0bf9Per Östlund- Changed Dump to print out 'constrainedby' instead of 'extends' for constraining classes.
343de6de1Martin Sjölund- cell.cpp:119:4: error: calling 'qDebug' with incomplete return type 'QDebug' qDebug()<<"Cell \n";
dbc25de92Martin Sjölund- Added omshell-terminal icon
b42d921c3Per ÖstlundFix for broken media tests in r10763: - Do not use the cache in CevalScript.evalCodeTypeName, for it is subtle and quick to anger.
6aa4b04caMartin 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...
0ec9ffd95Jhansi Reddy Remala- OMSketch
072b06bd9Jhansi Reddy Remala- OMSketch
524081ec9Jhansi Reddy Remala- OMSketch
4dde283fdMartin Sjölund- pdf links now work in GenerateDoc.mos
cd7f07926Martin Sjölund- Massive performance gain for GenerateDoc.mos
64052b38eMartin Sjölund- Additional speed-up for GenerateDoc.mos
9c15aba0dMartin Sjölund- Faster GenerateDoc.mos
7f7d3500aMartin Sjölund- Moved evalutation of typenames from static to cevalscript
0f3330b7cMartin Sjölund- Also look for pdf's, report duplicate resources
9f9faf75bMartin Sjölund- Strip annotations when listing the interface
6af8413c0Martin Sjölund- Don't use debug-version...
422a85c28Martin Sjölund- Documentation generation now adds a function interface when appropriate
4477b309bMartin Sjölund- Added option list(func,interfaceOnly=true), which only lists the public parts of a function
4ecf20eeaJim NutaroUpdates .mo file for SimCodeAdevs
6e8a01317Jim NutaroFixed return type for sqrt in adevs backend
24321feedMartin Sjölund- loadModel() documentation
279353712Martin Sjölund- Compilation errors found by make clean (not found by RML dep.analysis)
88956c8dbMartin Sjölund- Some more documentation
d14ffa97cMartin Sjölund- Some more documentation
694602a01Martin Sjölund- getNamedAnnotation now works on overloaded functions - Improved rooted() description
a2e5daecfAdrian Pop- details on "rooted" operator
437b6a5b0Martin Sjölund- Some documentation annotations
dde9374d9Martin Sjölund- Fix for bootstrapping
28ab0ef3fMartin Sjölund- Also generate documentation for OpenModelica
116346e09Martin Sjölund- Also add library versions
33fbc6feeMartin Sjölund- GenerateDoc now generates and executes one single script for all regex
6356a78deJens Frenkel- Update CMakeFiles
09de863f1Martin Sjölund- getVersion(className) now returns the version-annotation as string
3f96430e3Martin Sjölund- Fixed copyright notice - Added some more libraries to generate documentation for
2383a5142Martin Sjölund- Interactive.buildEnvFromSymboltable now caches its result
301951015Kaie 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
49340eb5bAdrian Pop- fixes for Visual Studio
ec0661079Adeel Asghar- getLocalVariables(M1) - Returns the list of local variables defined in a match exp. Returns the same output format as getComponents.
f4afedc81Martin Sjölund- Don't mangle non-link modelica:// references
c952ca061Martin Sjölund- Dereference symlinks
e93ad2eecMartin Sjölund- Added basename/dirname API calls - Updated GenerateDoc example to generate an index page and copy the images to the tarball
9a72a543dAdrian 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.
7bb0f98c9Adrian Pop'*' cannot be part of a filename in Windoze.
2cd73bbf6Adrian Pop- msys fixes (') becomes part of the file, eh, is not *n?x.
7ee1dd7bbMartin Sjölund- Added a simple documentation generation script I worked on at the MDM to the examples directory
b750dc5c4Lennart Ocheladd min/max/nominal attribute to ./SimulationRuntime/c/
5fd55195ePer Östlund- Implemented prefix propagation for redeclares in SCodeFlatten.
cab1614abPer Östlund- Added System.appendFile to bootstrapped runtime.
35c28959bPer Östlund- Updated debug flags with descriptions from Jens.
0176633b8Martin Sjölund- Added sort=bool option to getClassNames (which sorts the paths)
0ff0d373aMartin Sjölund- Added append file API
c103c3ec2Adrian 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.
f28d566a3Adeel Asghar- Fixed for new getClassNames.
844634cadAdeel Asghar- Added the preferredView annotation.
78ea4b7acMartin Sjölund- Added some more scripting functions
7db42bb34Mahder 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
f5f484f70Adeel Asghar- getImportCount(M1) and getNthImport(M1, 1).
cbc06b8dbMartin Sjölund- Ninja edit
9c1cd55efMartin Sjölund- Allow typenames to be retrieved from the symboltable a:=$TypeName(Modelica); list(a); // equiv. to list(Modelica)
c17501038Martin Sjölund- Fix for getDocumentationAnnotation
6e8f6e762Martin Sjölund- Made some builtins impure
0b6fd346bLennart Ocheladd min/max attribute to *_init.xml
628f3dcc7Mahder 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
1eac5e224Martin Sjölund- Moved getDocumentationAnnotation(...) to CevalScript
583310878Henning KielSimulationRuntime/c/util - complete overhaul implemented some missing functions
e42a5506eHenning Kielc_runtime: complete overhaul implemented some missing functions
5d5b70468Henning Kieloptimized for loops replaced calloc by malloc where allocated space is immediately initialized by function
b09af2ccfAdrian Pop- check assignments to inputs in patterns. - only top level patterns in cases are allowed to be inputs (maybe we should disallow that too)
9e90ac262Adeel Asghar- Use quotes for getComponents API.
2fd29574fAdeel 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.
4c09eb6eeAdrian Pop- add scripts to test each CircuitLX. - shuffled a bit the models in BigModel.mo
f2cec718fMartin Sjölund- Some clean-up and testing of the priority queue working for static scheduling
19e27d93cWilli Braun[newSimulationRuntime] - fix compile with senData
3e4acff2bMartin Sjölund- Ran autoconf
19bde3ddfWilli Braun[newSimulationRuntime] - fixed compilation for windows
d72b578c4Willi Braun[newSimulationRuntime] - solved some unneeded dependences, thefore reorganised some functions - rewritten Makefile
7cc859876Martin Sjölund- Started using priority queue for greedy static scheduling
14807b99eAdeel AsgharRemoved the extra catch section.
0711327cdAdeel 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.
9bb780872Adeel 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.
6c5d843cbMartin Sjölund- Added a basic priority queue
ac13eb076Per Östlund- Call Static.canonCref before prefixing the cref in InstSection.instAssignment2, to get rid of some failtrace. - Changed unbalanced connector warning to an error.
d9a3eb5fdPer Ö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).
203000fabPer Östlund- Handle element redeclarations in SCodeInst too.
cea9f4283Per Östlund- Fixed assignment to record in CevalFunction so that Ceval can find the binding. - Added makefile for siemens testcases.
57c22bc7eMartin Sjölund- Some documentation
3b60260b3Martin Sjölund- Provide loadString(..., encoding="...") option
a789be661Per Östlund- Fixed handling of partially bound record in CevalFunction.
7812ec39eMartin Sjölund- Added routine to translate token names to string - Fixed output of ANTLR3_UNWANTED_TOKEN_EXCEPTION
3c991ba50Adrian 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.
2926222d7Adrian Pop- big model for tests from Peter Aronsson @ MathCore.
82db98b85Adeel AsgharFix OMC compilation, - Removed the extra */ - Copy the iconv-2.dll
1ad41bd99Adeel Asgharremoved unnecessary qdebug.
f2b41a565Adeel 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.
b07837e66Adrian Pop- windows fixes, switch includes.
905a165baAdrian Pop- fixes for windows (const char*) - added -iconv to link with omc.
3ee93e893Martin Sjölund- Added scripting function iconv(str,from,to)
dde1e5821Per Östlund- Added SCode instantiation prototype.
937ed80a5Martin Sjölund- Disable debug checks
f6ac1dc92Martin Sjölund#1663 - Fix for data_of_integer_array on 64-bit platforms (copy the array before sending it to the external function)
24f9b90efLennart Ochelfix for parameters with nominal-attribute
cbbf705e3Martin Sjölund- realString: Output 0.01 instead of 1.e-02
c512d51f7Martin Sjölund- Fix correct length in realString
231ced32dMartin Sjölund- Only simplify max(real,real) if the arguments are real
bb59ec774Martin Sjölund- Do MMC_CHECK_STRING just in case
a0ec292ceMartin Sjölund- Fix issues with too small buffers, etc
c9a746e41Martin Sjölund- Do not do mk_scon() on a MetaModelica-style string ;)
91683667fLennart Ocheladd nominal-values to xml-file
eb898faa4Martin Sjölund- Use new dtoa-based realString
01af979dbMartin Sjölund- Use the old simplifyIfExp as it's "better"
9bbb249dbWilli Braun - update generated FMI import model (works now with new CSimulationRuntime also on linux) - adjust FMI export for new CSimulationRuntime
1f6ccae08Jens Frenkel- Expression.mo -add missing case for enumeration - ExpressionSimplify - report if ifexp is simplified
70c7e8d38Martin Sjölund- Removed use of unsafe unification in matching
9b09476f6Willi Braun[FMIimport] - added forgotten header for va_arg(function logger)
468602b39Willi Braun[newSimulationRuntime] - update FMU Export code - fixed bug in initialization
1054196e5Willi Braun[newSimulationRuntime] - added and adjusted FMU export for new simulation runtime(need more work)
1ac926dd1Martin Sjölund- Do not use unification in functions with potential side-effects ;)
45d0d7c6aJens Frenkel- fix for bug [#BUG-1661]. Now BackendDAETransform.differentiateEqns check if a equation has continuous variables before differentiting it.
23dbef25fAdeel Asghar- new API calls, + getInitialAlgorithmCount + getNthInitialAlgorithm + getInitialEquationCount + getNthInitialEquation
0f5a3e24dAdeel Asghar- Fixed getAlgorithmCount and getEquationCount - New API call getNthAlgorithm and getNthEquation
3c72b9023Per Östlund- Removed check for redeclaration of protected elements, since it's actually allowed. - Implemented support for cardinality of connector arrays.
cd44d7a04Martin Sjölund#1662 - Type-check == <>
eeac5b79dNiklas WorschechAdded CMakefiles for Idas an Cvode to cpp runtime
93011dfe9Martin Sjölund- Fix loadModel() for modelica.org trunk
17c7503e9Martin Sjölund- Remove the last expressionsimplify fixpoint iterations reached in the testsuite
363b450cbPer ÖstlundSome fixes for flags: - Consume -- so that it works as expected for the boostrapped compiler. - Print error messages for unknown long flags.
e96b091bdMartin Sjölund- Avoid failure to reach fixpoint for some simplifications
e73c8073bAdrian Pop- log scale.
d8b75d45cAdrian Pop- added comparison to 1.6, 1.7 and one commercial tool.
278c7b2d0Adrian Pop- made them work in previous versions of OpenModelica.
7c7dcc21eAdrian 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!
847331dc0Adrian 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!
33c500088Adeel Asghar- new API commands getAlgorithmCount(M1), getEquationCount(M1)
3690dce8aMartin Sjölund- Some rewrite rules for a*(b^(-r)) => a/(b^r) and similar expressions
6f300fb79Martin Sjölund- ExpressionSimplify: Added new rules: - a^e*b^e => (a*b)^e - a^e/b^e => (a/b)^e
dacb29d0aMartin Sjölund- simplify: sqrt(x^2) => abs(x) (abs previously not present)
78cdd8a12Martin 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)
bdb83cb60Martin Sjölund#1658 #1657 - Removed use of unary operators .- and .+ - Removed operator DAE.UPLUS and DAE.UPLUS_ARR; these are handled directly by elabExp
d0948deb8Martin Sjölund- Fix ExpressionDump: -(a+b) is now printed correctly (previously was printed as -a+b)
4c39590e6Willi 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
896f16af7Mahder 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
590fbc336Mahder 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.
193778ee9Per Ö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.
ff47d105fPer Östlund- Changed nX to : in some functions in PartialTwoPhaseMedium to make them work as intended.
c9512f366Martin Sjölund- Allow long strings sent over CORBA on Linux
99ca4798dAdrian 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).
e21725ca3Adrian Pop- do not delete Modelica.Fluid anymore!
a9d2ad348Martin Sjölund- Disable newsimruntime
39ae73b54Per Ö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.
04649a907Martin 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)
6fdd71fecAdrian 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.
8af2054a2Niklas WorschechFix for division in cpp runtime and cpp template
cc6446f82Per Ö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.
dd9cf7400Per Östlund- Reverted changes from r10570 and fixed *only* System.tolower.
d12bdf0fePer Östlund- Fixed System.tolower.
7d94895f2Willi Braun[newSimulationRuntime] - ported bug fix from r10562 - fixed some alias and results bugs - mosfile 30 of 155 failed
16f170237Adrian Pop- function to check if a list has exactly one element.
4bdbbf311Adrian Pop- remove commented code as is no longer needed (already present in Types).
5c0e49df2Willi Braun[newSimulationRuntime] - added dassl support
6ec4b0545Adrian Pop- added Dymola style scripts for testing.
f57a34db5Adrian PopFixes for BUG: #1652
d00e8ec8dAdrian Pop- updates to the .xlsx by Oliver Lenord
ff2eef6aaMartin Sjölund- Do not output #line 0 as it's disallowed by clang
5f09fe3c4Adrian Pop- performance benchmarks.
35884404eAdrian PopError.mo - typo fix
a3f224d14Adrian Pop- update a bit the omi_Calculation.cpp with things that are done before callSolver.
a3c87a8abAdrian 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
d088e81a2Federico BergeroRemoving stand alone solver from the runtime
287ba6b0eFederico BergeroUpdating code for QSS
fc230f878Adrian Pop- add fmiclean target.
c78aeee86Per Östlund- Changed List.filter*OnTrue and List.removeOnTrue to fail if the given functions fails.
4c3edef3ePer Östlund- Fix broken compilation due to r10543.
bfecc2a20Niklas WorschechExtended cpp code generation for Modelica Tables
56f15b75cWilli Braun#1651 - fixed Bug [#1651] - added test case
114161ff7Willi Braun - fixed compiling error
927a7d35cWilli 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
eea2f4eedWilli Braun[newSimulationRuntime] - fixed csv output - fixed lookup in ringbuffer - fixed solver(euler,rungekutta)
7ecc74d8dWilli Braun- revert r10533 it break the fmi testsuite and anyway it overwrites many correct fixes!
99518f228Wuzhu Chen-- some bug fixes -- new functionalities for parsing model description file -- some warning messages removal
0af1212e9Willi Braun[newSimulationruntimeC] - setup the solver_main to work on new data structure
97349d63bLennart Ochel- provide lookup for ringbuffer
4e96a46acWilli Braun - updated FMI import and moved fmu to test suite
2c4aa8ceaWilli Braun[newSimulationRuntime] -added support to read all static varinfo data from xml file
e96631141Martin Sjölund- Bib typo
b9c26a893Martin Sjölund- Fix bibl
bcfe9bcd5Martin Sjölund- Bib update
2c4b496d6Adeel Asghar- testcases and getDocumentationAnnotation fixed.
81d84be70Adeel Asghar- getDocumentationAnnotation returns {"info","revision"} with info as the first element and revision as the second always.
b61ff1efdAdeel Asghar- getDocumentationAnnotation returns {"info","revision"} with info as the first element and revision as the second always.
9cfa56cefAdrian 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
12b535493Adeel Asghar- Documentation annotation fixes.
f17c30eb7Adeel Asghar- Documentation annotation fixes.
8b1653135Martin Sjölund- Avoid stack overflow in all CORBA calls
0bda1359cJens Frenkel- copy fix from r10507 to SimulationRuntime/c
cfa3f1d6cAdrian 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.
1c702b44eAdrian Pop- last resort fixes for the memory_pool.c (to get the fmi not to crash when calling stuff from the generated dll).
61d7295d5Martin Sjölund- Added getClassNamesRecursive(void) API call
a4502e86cJens Frenkel- finish results implemention based on new data structure
af1c551e8Adeel Asghar- Create sections for documentation. So we know which HTML section belongs to info and revisions.
37c2ae568Martin Sjölund- Use the resul*t*s instead of the resuls
3bae6aa75Martin Sjölund- Don't #include as there is no such thing on some platforms... - Use stdlib.h from the C standard instead
d9b8b1887Wuzhu Chen-- more tested FMU examples -- fixed of bugs -- test version under windows
606d2f12dJens Frenkel- update simulation resutls (TODO mat,plt)
d744768abLennart Ochel- update_DAEsystem() -> update_DAEsystem(_X_DATA *data)
52e023a10Lennart Ochel- _X_DATA-initialization update
31c4f1a12Jens Frenkel- bugfix parameter value definition
0f826323eJens Frenkel- set variable filter for _X_DATA
ab1b03bbdLennart Ochel- _X_DATA-initialization update
be22ddcccJens Frenkel- add _X_DATA to functiondefinitions
242ad1eb2Willi Braun[newSimulationRuntime] - for now deactivated DASSL to rewrite solver_main
d4c469555Jens Frenkel- rename deInitializeDataStruc -> callExternalObjectDestructors
735368b2bLennart Ochel- continue using new simulation_data struct in initialization
4842db01bJens Frenkel- do not use this very good vararg macro
b307ca9a5Martin Sjölund- make clean now does not run the depend command
8f16f7b93Jens Frenkel- update bltdump - fix fmu generation for multiple backendaes
92510be84Willi Braun [newSimulationRuntimeC] -added static data from xml-file
a28ccf94bLennart Ochel- start to use new simulatio_data struct in initialization - fixed log-messages
18af01166Jens Frenkel- bugfix tables read csv file
57d142b8bJens Frenkel- bugfix tables.c - try to implement csv file support
7cdb59b88Lennart Ochel- add some debug-outputs - fix deleted else in simulation_runtime
3fc4fe383Adrian Pop- show the number of failed models and the models that failed.
19fc8eef2Jens Frenkel- bugfix mercurial mingw error for static arrays
8a022491dWilli Braun[NewSimulationRuntimec] - added ASSERTS for calloc
f0bc1d04dWilli Braun- [newSimulationRuntime] - fixed bug in initial DASSL Data
90731d39bWilli Braun- changed max and min to fmax and fmin
5c9bf5afbWilli Braun- changed solver_main to c - added a lot of bugfixes
59171cd23Lennart Ochel- bugfix in error.h
2e56a5bd5Jens Frenkel- add header to some Makefiles - us ld for long int - tables.cpp -> c
f976eff65Lennart Ochel- bugfix in list - introduce type-free list
156e678c4Willi Braun - update makefile for ModelicaExternalC
a572f5b25Jens Frenkel- continue tables.cpp convert to c-style
45412eee2Lennart Ochel- update delay
ff4e6dab0Lennart Ochel- some error-output macros
21b9b9787Martin Sjölund- Unix compilation
3b0265509Martin Sjölund- Unix compilation
c0278601aAdrian Pop- more fixes so it compiles.
1ef7611e4Jens Frenkel- start to convert tables to c-style
c13417ad2Adrian Pop- make the new sim runtime C at least compilable.
f8e50e19fLennart Ochel- some utility functions
f7ef6355bLennart Ochel- adjust makefile for interactive
68ea632b2Jens Frenkel- update cmake files
41a821879Jens Frenkel- update cmake files
5078739a2Jens Frenkel- update cmake files
b635c344eJens Frenkel- use ${CMAKE_CURRENT_SOURCE_DIR}
679f18da3Jens Frenkel- add nosendData
eaba34907Jens Frenkel- sendata CMAKE build not sendata if QT is not Found
dc0503147Jens Frenkel- sendata CMAKE build not sendata if QT is not Found - bufgix solver_main
f37c42a03Jens Frenkel- function predefinition
f15b1a782Jens Frenkel- events: do not free if not malloc - error msg style
fde99a0b4Adrian 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.
310f22c3eLennart Ochel- renamed some math-support files
3ab735ad1Jens Frenkel- bufix missing link
018a1ee22Jens Frenkel- add Makefile.common - use longjump in simulation_main - start with _X_DATA
2acad3995Martin Sjölund- M.E.D.E.Adder4 now compiles
ef52124d3Martin Sjölund- Some fixes for parameter enumerations
2e9be046dMartin Sjölund- Unix compilation
7fc7cf5e0Martin Sjölund- Use the configured CXX
3d3facc86Martin Sjölund- Configure fix
c766a7cb1Jens Frenkel- fix compilation
25cab0525Jens Frenkel- make list usersave ;)
e647c8d91Jens Frenkel- Bugfix MakeFile
69c783c7bPer Östlund- Moved global root indices to Global.
b0290130aJens Frenkel- update CMakeFiles
3558e1570Lennart Ochel- moved math-support
925266a2dLennart Ochel- first try of defining new structs for simulation datas
9795f9862Martin Sjölund- Clean compilation
3d57a3000Jens Frenkel- ged rid of sum waring - use time to call storeDelayedExpression, so globalData is not needed in simulation_delay
7530c3bc2Niklas WorschechAdded code generation for extern functions Functions.h in cpp template
d8afd1f0bJens Frenkel- get rid of some warings (mostly size of data type not equal) - clear includes
0327ac93dPer Östlund- Removed inline for alloc_elements in memory_pool.c, for clang compatibility.
1e3d8b181Per Östlund- Fixed mistake in DAEUtil.mergeSources.
a6dd9ac3dJens Frenkel- improve setTermMsg
bd108c900Willi Braun - added some more fixes for Makefile
ba58cf645Jens Frenkel- bugfix list.c - bugfix TermMsg
25be6da04Jens Frenkel- bugfix free
befd9e440Jens Frenkelgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@10418 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
bceb1f8e0Jens Frenkel- bugfix c-standard - add utility.h
410231c0cJens Frenkel- bugfix print debug - assert to exit
0b8e2513aJens Frenkel- bugfix list init in simulation_events - bugfix TermMsg
b704e3199Willi Braun - merged some fixes
c5f5038dcLennart Ochel- bugfix for initialization
595315e5bMartin Sjölund- Add some equation info to the generated code - Comment out some useless code :)
c630f5ce3Jens Frenkel- simulation_events.cpp -> c - add list for simulation_events
a92e82366Lennart Ochela small fix
128900d9fChristoph HögerFix PHONY targets
efb65ea9fLennart Ochel- .PHONY fix for makefiles
8e059bb4dJens Frenkel- c-stile comments
242bfaf27Jens Frenkel- simulation_delay.cpp -> c
6aa3db78eJens Frenkel- update CMakeFiles - simulation_init.cpp -> simulation_init.c
a9d22fbdeJens Frenkel- bugfix mscv
1a75e6dc6Lennart Ochel- conert ringbuffer from cpp to c
77d3ba76bNiklas WorschechAdded fix from Adrian for ModelicaTables to cpp runtime
880e4f0ecJens Frenkel- add CMakeFiles to SimulationRuntime
704f50baeAdrian 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).
efc63a610Martin Sjölund- Use long as modelica_integer type
5694905b1Willi Braun - added once again Makefile
452e009d6Willi Braun - added again Makefile to SimulationRuntime/c
f647f871cWilli Braun - added one Makefile more to SimulationRuntime/c
a06ec3127Willi Braun - some more fixes on SimulationRuntime/c for testsuite/mosfiles (only 7 tests failed)
2e88f66d0Jens Frenkel- copy bugfix to SimulationRuntime/c
dfdc7a56cJens Frenkel- update makefile
79dcdcd01Jens Frenkel- update makefiles
231c25e3eJens Frenkel- fix makefile
4cc9bbdb2Willi Braun - more SimulationRuntime/c
89b21cb53Willi Braun - changed the Codegen for SimulationRuntime/c
6bda1dc89Jens Frenkel- fix install
934becbaeJens Frenkel- fix warnings
0984349deWilli Braun - more Makefile stuff
3210774f4Jens Frenkel- fix warning
da4f41007Willi Braun - get rid of tons waring massages
598443942Jens Frenkel- fix clean
49bbb298dJens Frenkel- build SimulationRuntime/c
257b1ebfcWilli Braun - correncted Makefile.common in SimulationRuntime/c
eb8cb5afaWilli Braun - added Makefiles for simulation folder
dd2512a62Jens Frenkel- update makefile
8332b2bc5Martin Sjölund- OMDEV compilation
367b40291Willi Braun- fixing Makefiles for SimulationRuntime/c
2b0794d7cMartin Sjölund- Share some matrix literals
fd67fccdaJens Frenkel- update CMakeFiles - include inline.h in memory_pool.c - bugfix for vs us sqrt(double)
7f94d3c79Martin Sjölund- Use the configured make command
17721d85bMartin Sjölund- Add MAKE=xxx to the configure script (to be used to change the make version used by OMC)
c5ec63c4bLennart Ochel- bug-fix inside the ringbuffer, because of losing the order during expanding
05ce47c0dAdrian Pop- table data does not have to be monotonous increasing, it can be equal too!
6e30627adMartin Sjölund- Ceval the cref without subscripts if we have variable subscripts
e0885ad6aWilli Braun-fixed compiling issues in SimulationRuntime/c/meta
f9e871e1aMartin Sjölund- MetaModelica: Use C89 instead of C++
7be63b313Lennart Ochel- sync with c_runtime
aba4452f5Niklas WorschechAdded ModelicaTabels from c_runtime to cpp runtime
90316a77fMartin Sjölund- Fixed compilation of util package
f7a407d35Willi Braun-added the forgotten openmodelica.h
99fa31e85Willi Braun- added Makefiles for building every subfolder an own library
4eaabe1cfLennart Ochel- changed default optimization-method for initialization
520b5cceeMartin Sjölund- Moved read_write back to c_runtime as it seems to break things after a make clean
6cd3a9467Martin Sjölund- Use multiple regions for the memory pool
376161084Willi Braun- added TerminateSimulationException class to tables.cpp
eaca23572Martin Sjölund- The memory pool now uses only one buffer for all data
bad8ce57bMartin Sjölund- tables.o should not use odd defines
681b03a52Martin Sjölund- Configure the SimRt/c makefiles
470b349feWilli Braun -added Makefile.in to SImulationruntime/meta
ed9a4d7ccMartin Sjölund- Copy read_write.h to the headers
219575954Martin Sjölund- Fix clean compilation
6d4bfd9daWilli Braun - added updates for new c simulation runtime
b718cec52Willi Braun - added new structure in SimulationRuntime/{c,fmi}. Copy almost all stuff from c_runtime to SimulationRuntime.
aca7f575eLennart Ochelbug-fix for handling initialization with command-line arguments
1a0059f19Martin Sjölund- Moved read_write to Compiler/runtime
5e9628b37Niklas WorschechAdded Idas Solver source code to cpp runtime
ccc702a5eMartin Sjölund- Create temporary functions for all equations as GCC runs a lot faster on this code
d92ec2a01Martin Sjölund- Do not configure with OPENMP as the macro is broken on OSX
3c8b3498aPer Ö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.
91346164cWilli 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.
b1f5a6fa8Willi Braun-forgot to add one figure
a9d1bd6d1Jens Frenkel- yet another try at making Compile.bat work correctly (adrpo)
36d045b45Niklas Worschechadded Cvode solver source code to cpp runtime
b3b907d15Willi Braun- update a section about separation of variables
05ffb34c0Federico BergeroCalling function_initMemoryState
40420cbb7Martin Sjölund- Restructured memory pool (it's now an array of pools)
cbbe21ecfAdrian Pop- fix to bootstrapped compiler
ff9527b25Martin Sjölund- translateModel now works more like buildModel
0194570f0Martin Sjölund- Avoid segfault when init-file does not exist
29b57cc3bAdeel Asghar- typo corrected.
7a8f5087eMartin Sjölund- Unix compilation
8c56b8956Adrian 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).
e10a1deffAdeel Asghar- Added the time stamps to omedit commands log file.
47b60a136Adeel Asghar- Log omc output. - Creates a file openmodelica.omc.output.OMEdit in user temp directory.
d16e1eb45Willi Braun-fixed makefile for simulation runtime draft
27f548e79Willi Braun- added first draft for the redesign of the simulation runtime
7b22ec155Adrian PopInteractive.mo - run all graphical API commands with checkModel, nogen and noevalfunc ON. - merge graphical API handling functions into one.
f738129b7Adrian Pop- logging is not good unfortunately for the soul of the testsuite.
bca75f907Adrian 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.
f39e00403Adeel Asghar- fixed documentation widget scrolling and text clipping. - models popping out of packages fixed. - some other minor fixes.
d8f21effaAdrian Pop- be consistent with execstat v.s. execStat.
523e3a8dbNiklas WorschechAdded forgotten AlgloopsolverFactory Interface
8d937a027Adrian Pop- update 3.4.5 to 4.4.0 (this might be the problem for the people that get libgmp-3.dll issues).
ff571fc77Willi Braun- FMI-Import: added first FMI import test(really simple) and it works for now only on windows.
a65d9720bNiklas Worschechfix in algloopsystem of cpp runtime for Modelica function calls
c216f8e70Per Östlund- Add crefs from component modifier in Inst.updateComponentInEnv to get rid of some error messages.
1e9dab7d3Martin Sjölund- Fix for rml (prim_once returns the success/failure status, not the value...)
81b004505Martin Sjölund- Parse der(cr) := exp; Inst needs support for this though...
3c2b1dcf3Martin Sjölund- ClassLoader: Do not load a library if a subpackage fails to parse
5754cd4e7Per Östlund- Added some preprocessor ifs to OMPlot and OMEdit to make them compile with QWT 6.
07fa7ae12Per Östlund- Added some preprocessor ifs to OMPlot and OMEdit to make them compile with QWT 6.
5bad00091Adeel Asghar- Fix start col for first row.
9a5e612e3Per Östlund- Initial commit of new documentation.
764293179Adeel Asghar- write command log before sending the command.
ba6258dd5Willi Braun- FMI-Import: changed name of the generated file
b9e658156Per Ö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.
ebc5d32abWilli Braun- fixed makefile for FMI-export.
0019bda88Martin Sjölund- Parse first token correctly
f0c7fc754Willi Braun- fmi-import: get rid of some warnings
e39bb1444Willi Braun- fmi-import: more fixes, correct indentation, adjust debug informations
154542221Willi Braun- added fix for fmuBoolean to Modelica Boolean
995ec6cf2Willi Braun- fmi-import: fixed some more bugs
ed846cc17Willi Braun- FMI-Import: fixed some more memory leaks
14cd37ad1Willi Braun- FMI-Import: fix almost all calloc calls by swap arguments
e3c8d66c7Adeel Asghar- horizontal scroll bars for tree views - removed an extra progressbar during simulation.
3999e6281Adeel Asghar- Fix the model browser expand collapse issue. - Updated the simulation ProgressDialog.
3784b12f1Adrian Pop- fflush the log and error messages in c_runtime. (is good for knowing where things crash).
4abc68847Martin Sjölund- Better fix than r10268 (but we keep the debug print disabled)
79bc48354Willi Braun - fixed bug with array with size 1. - uncommented print of communicate status (breaks the testsuite)
2a24207f9Martin Sjölund- OMEdit/simulation: Use -port XXXX to send status updates to OMEdit. TODO: Implement this in the GUI (Adeel)
e370306e8Martin Sjölund- OMEdit/simulation: Use -port XXXX to send status updates to OMEdit. TODO: Implement this in the GUI (Adeel)
6ac155efdAdeel Asghar- Fix the documentation text clipping.
7674c2ee8Adeel Asghar- Fix simulation for Linux.
66c9c5332Martin Sjölund- Added preOptModule: residualForm
3643c727fMartin Sjölund- Spelling of SIGUSR1
b1a8e79b6Willi Braun#1641 - added fix for Bug 1641 (constant linear system) write the constant value also as startvalue - added testcase
ae97eb5e1Per Östlund- Fixed infinite loop in DAEUtil.evaluateParameter. - Updated test suite.
782a606e2Per Östlund- Fixed correct type when elaborating the builtin cat operator.
fcf291596Per Östlund- Added balance check for connectors extending a basic type.
5e34f0d61Adrian 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.
c1abafcd0Adeel Asghar- copy required FMI header files.
91da498b3Adeel Asghar- FMI import note.
c51dc4615Adeel Asghar- minor fixes.
827fa0582Niklas WorschechFix for compiler error in SimCodeCpp.tpl for new ode equations structure
d4ebcac45Niklas WorschechExtended cpp template for generating code for non linear systems
8ae91bcb8Niklas WorschechExtended cpp runtime for solving non linear systems
4ff09533aWilli Braun- Added bug fix for algorithms. Not all algorithm outputs are discrete.
c55719265Per Ö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.
7c32c3f4fMartin Sjölund- Fix clang warnings
b673ae98cMartin Sjölund- Revert previous changes as they cause heisenbugs
abced6f9dMartin Sjölund- Avoid clang warnings and segmentation faults (see r10238)
e50520c8ePer Ö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.
1d2087700Martin Sjölund- Avoid clang warnings...
b409f87f0Per Östlund- Fixed bootstrapped compiler by implementing setLanguageStandard and getLanguageStandard in bootstrapped runtime.
22e50bcbbMartin Sjölund- Fix error kind for COMPONENT_NAME_SAME_AS_TYPE_NAME
32255d671Adrian 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.
e5e4238daMartin Sjölund- Do not rollback the memory pool in external functions as the output still needs to be allocated
fb922206aMartin Sjölund- Makefile parameters should contain the include dirs, not the include itself
ab2cc4cf8Adrian Pop- allow protected constants in functions to be able to compile functions such as Modelica.Media.Water.IF97_Utilities.BaseIF97.Basic.v3b_ph.
0034ef807Adeel Asghar- Show multiline error messages in a single line and when user mouse hover then show full message in toolTip. - selectAll with context menu.
a70ee4c97Adeel Asghar- key bindings for problems tree.
091996f50Adeel Asghar- Display multi line errors.
68bc36d46Adeel Asghar- OMEdit improvements.
3c8db167aPer Ö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.
e07e94d3dAdeel Asghar- removed unused stuff.
87267eb17Martin Sjölund- Improved error message
0f88037ddMartin Sjölund- Removed the "General" tab
ab925a602Adeel 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.
0a920d372Martin Sjölund- Install nls files correctly
1c6205386Per Östlund- Fixed redeclaration modifiers for arrays, i.e. 'each redeclare'. - Implemented SCode dumping of defineunit. - Updated test suite.
11c489049Martin Sjölund- Use Ctrl-O to open file
787e1a780Martin Sjölund- Translated marked strings in OMShell to Swedish - Also removed the useless toolbar and cleaned up the code a bit
2356e2206Martin Sjölund- Added translation support to OMShell
e41134de3Adeel Asghar- Show icons for menus.
173b79077Martin 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
6b48856c2Martin Sjölund- Fix in case omc_communication.cpp will be used by the .pro in the future
49839c45cAdeel Asghar- fix compilation
1d6b7165dAdeel Asghar- Major change. - Uses getMessagesStringInternal() instead of getErrorString(). - Uses buildModel() instead of simulate(). Now one can cancel simulation as well.
d8b24ababMartin Sjölund- Open errLogFile before trying to use it
84159c5f8Martin Sjölund- Fixed profiling report title (TITLE was not that great...)
0d7e17ab1Martin Sjölund- Moved setClassComment to ModelicaBuiltin.mo
cb6673ebeMartin Sjölund- Fix last commit (compile error)
457797c6fMartin Sjölund- Added loadFileInteractive{,Qualified} to ModelicaBuiltin.mo
fcbda6784Martin Sjölund- Fix parseFile
729013309Martin Sjölund- Refactoring
2675f8ce1Martin Sjölund- Moved getPackages() to ModelicaBuiltin.mo
ea58f1211Martin Sjölund- Moved getClassNames() to ModelicaBuiltin.mo
29badad44Martin 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
8271ad7dfMartin 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
9cd09e9a1Martin Sjölund- parseFile defined in ModelicaBuiltin.mo - List OpenModelica package in OMEdit
2bc3b27fdMartin Sjölund- parseFile defined in ModelicaBuiltin.mo - List OpenModelica package in OMEdit
d25b2b165Martin Sjölund- listVariables now part of ModelicaBuiltin.mo
8e14aeb2eMartin Sjölund- listVariables now part of ModelicaBuiltin.mo
563c8387eMartin Sjölund- Don't strcmp NULL-pointers
7b0e7fe00Adrian Pop- chain the redeclares.
e6403a62fWilli Braun- fixed small bug in calculate analytical jacobian
1a3f8529fPer Östlund- Add info to some error messages in Ceval.
274f961c8Per Östlund- Allow unknown array dimensions for now, since it fixes some problems with Media and Fluid because we instantiate stuff without modifiers.
b4ac1924bPer Östlund- Simplified Inst.updateComponentsInEnv2 a bit.
58636bc6dMartin Sjölund- Fix for bootstrapped compilation
222b369eaMartin 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)
cccd4625bMartin Sjölund- Use log-scale for measureTime=true
771a3d8a9Martin Sjölund- Fixed typo
289d9975aMartin Sjölund- Avoid some more double-free
636f8ef0eMartin Sjölund- Allow external objects to pass through simcode
af7d25e06Martin Sjölund- Bootstrapped compilation
692de30d5Martin Sjölund- Avoid some double free so we don't cause segfaults
33e3a2b17Martin Sjölund- Call fmigenerator directly from ModelicaBuiltin.mo
27114a7a5Martin Sjölund- C89 FMI compatibility
a2cad9addMartin Sjölund- Fix some compilation warnings
733f3851eMartin Sjölund- Only copy fmuWrapper.h to the include directory - Moved some header includes around to avoid including unnecessary headers
1da1595d7Adeel Asghar- Copy required FMI header files.
233c73ab6Adeel Asghar- Check simulate messages return in case of error.
8fd3f97d8Martin 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];
038857d9aPer ÖstlundFluid fixes: - Better handling of redeclare modifiers in SCodeDependency. - Updated DrumBoiler tests and moved them to working tests.
5e95cf70fPeter 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
77c7ea13bAdrian Pop- got rid of some of the warnings in Compiler/runtime.
1df805c2fWuzhu Chen-- fixed variadic arguments compatibility
bbf77e724Adrian Pop- missed one
e310e5ebcMartin Sjölund- Refactoring of Error.mo: Use uniontype/enumeration to send message type/severity instead of strings
43d9b4a42Martin Sjölund- Added draft of better getMessagesStringInternal API (less client-side parsing)
7cd5f1b04Martin Sjölund- Moved functionODE_residual to the runtime instead of templates (compile once, link many times)
95c729d41Adeel Asghar- Add modifiers implemented.
97fa78f98Adeel Asghar- Update LineNumberArea whenever ModelicaEditor setPlainText is called. Otherwise the ModelicaEditor hides on the left side.
07d7cf673Adeel Asghar- Fix ModelicaEditor text cursor for linux.
d2ad9d91eMartin Sjölund- Disable Werror
cb745f392Martin Sjölund- Force generation of headers before trying to compile fmi
6f9768c1fAdeel 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.
ab07757b7Adeel Asghar- Changed QTextEdit to QPlainTextEdit. QTextEdit is way tooooo slowww......
03f37fb71Adrian 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.
1e4ee6b56Adeel Asghar- FMI Import widget files
f25af768aAdeel Asghar- Interface for Importing FMU. - Better result checking for simulate command.
1233674e9Adeel Asghar- Output Directory can be specified for importFMU.
ba495513fAdeel Asghar- increment the index even when no condition is satisfied.
5fe1e82c0Martin Sjölund- OMEdit: Check getErrorString() after loadModel()
cc2b046a7Martin Sjölund- OMEdit: Check getErrorString() after loadModel()
8ca6eb2e8Adeel Asghar- Don't append errors to the error file. Always write the current import errors.
b6a6c1bbfAdeel Asghar- Changed fmuWrapper.a to libfmuWrapper.a - FIX fmi compilation on windows
4a6f96809Adeel Asghar- don't return error for default case because then the API will fail.
8463e0affAdeel Asghar- getLastError() is wrong its GetLastError.
f0d4f62e0Martin Sjölund- Some fixes to equation index of distributed systems
6598124ceMartin Sjölund- Some fixes
7edea585cMartin Sjölund- Use unzip
b54a03559Martin Sjölund- FMI fixes
4489df75cMartin Sjölund- FMI fixes (use .a-files)
b7c50d473Martin Sjölund- Added +d=openmp, which slows down simulation in most cases (at least on 2-CPU systems)
4c152c8beMartin Sjölund- Fixed OMEdit crashes when the MSL cannot be found
e7880c347Adeel Asghar- Interface for adding libraries - Some documentation of the code. - Changed all buttons pressed signal to clicked. Pressed signal is bit weird.
3c35df178Martin Sjölund- Fixes to compile using clang
f56a2b590Martin Sjölund- Fix moGenerator compilation errors
0a7336852Martin Sjölund- Remove unused
659511db5Wuzhu Chen- Some bugs fixed in moGenerator, unzip cannot handle recursive directory creation - Remove excessive amount of warning messages
b61cecd68Martin Sjölund- Refactoring
b52a7b4d9Willi Braun- added new solver: Dopri5. An implementation with step-size control and dense output by Thomas Schmidt @ FH Bielefeld.
1e349403bAdeel Asghar- writing a log file of all omc commands.
8eb97e06aAdeel Asghar- breakprocess section in Makefile.common - step to create BreakProcess.exe
33d8fa6e3Per Östlund- Fixed stack overflow in ControlledTanks fluid test by qualifying redeclares properly in SCodeFlatten. Also gets rids of some other error messages.
96419b459Martin Sjölund- Show all loaded libraries dependent on the ones listed in the config
66c125bfdAdeel Asghar- Add ModelicaServices as well.
de5508607Martin Sjölund- Added a QSettings section for the libraries to load by default, e.g. [libraries] Modelica=default ModelicaReference=default Modelica_LinearSystems2=default
10ceab47cMartin Sjölund- Disabled collapseIndependentBlocks by default as the whole backend+code generation now handles independent equation systems
0e9b0ae9cMartin Sjölund- XMLDump now working for independent eq.systs
f156cfecaMartin Sjölund- Some fixes for indep.eqsyst
9cb4f58dcMartin Sjölund- Fix for createParameterEquations when not collapsing indep.eqsyst
e0e66730fMartin Sjölund- Reset tmp ticks more often in generated code
9cd410a2aMartin Sjölund- Do not generate duplicate statements for functionAliasEquation when partitioning independent equation systems
692c5ccfcPer Östlund- Fixed record component assignment in CevalFunction. - Removed nogen and noevalfunc flags from fluid tests that don't need them. - Removed some unused code.
cd7b1fa1bMartin Sjölund- Adding Modelica 3.3 draft spatialDistribution to the builtin env
0965a5ca3Martin Sjölund- Fix bootstrap comilation warning
3e9703061Martin Sjölund- Added Modelica 3.3 (draft) operator getInstanceName()
86a21e464Martin Sjölund- Added some documentation
af2b8548dPer Östlund- Implemented RTOpts.setDebugFlag for the bootstrapped compiler.
4705f66afMartin Sjölund- Fix POSIX compilation
19a95dab9Martin Sjölund- Include malloc
1e057ab63Wuzhu Chenlog file generation, platform dependency handling, more functions for xml parsing
7c3c183d8Martin Sjölund- Use ModelicaBuiltin.mo to describe skew
9fc8fde9aMartin Sjölund- Added cross to ModelicaBuiltin.mo
e02f2eeb3Adeel Asghar- Check for cycles.
aea416c98Martin Sjölund- Force nogen for Interactive.getComponents
b8aeed806Adeel Asghar- Removed >> from log
ad6d3aea5Niklas Worschechfix in cpp template for generate matrix code
1f39f144eMartin Sjölund- Unparse the version string
12ffd6becMartin Sjölund- Remove uesless config lines
90c935284Martin Sjölund- Reduce the number of warnings clang gives about the GC macros
1084a94beMartin Sjölund- Added support for quoted identifiers in functions
6a526fc1fMartin Sjölund- Removed the Compile script on Unix platforms (call make directly)
160e54254Martin Sjölund- Fix C++ compilation error (it's ok to call functions with too many arguments in C apparently)
7f7316ba7Adeel Asghar- step to create fmigenerator.exe
a76e71f75Adeel Asghar- Media is not deleted from MSL now.
96affb022Adrian 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).
0fd12a150Adrian 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.
6af170520Adeel Asghar- better error message for FMI.
37722d687Adrian Popbug #1159 - do not use /B in Compile*.bat as Windows XP will crap out - delete .log .exe .dll when compiling.
e29ac3f4bAdeel Asghar- some minor changes for FMI.
fd1d479c9Martin Sjölund- Use System.getExeExt instead of hard-coded values
b401db03bAdrian Pop- fix compilation on Windows. - delete also .log to be sure is actual.
1678bfa69Martin Sjölund- Access dates
e6528fcc5Per Östlund- Fixed stack overflow in Inst.updateComponentInEnv for some fluid models.
58380b828Martin Sjölund- Remove file before compilation starts and check that it exists after
e0e142fb5Martin Sjölund- bibtex update
55b2ec3afPer Östlund- Relaxed the check for cyclic dependencies in Inst.instElementList, to avoid false positives when if-equations are used.
02a5d558bPer Östlund- Fixed elaboration of stream operators on empty arrays, which fixes flattening of some fluid models.
babf633d4Martin Sjölund- Some bibtex updates
8d49c6a27Martin Sjölund- Removed some unused functions, fixed some compiler warnings
db7d701b0Martin Sjölund- Removed some old stuff from Builtin.mo
72f94538eMartin Sjölund- Implemented linspace in ModelicaBuiltin.mo
c7c8a9a09Martin Sjölund- Added outerProduct as external "builtin"
07315ca39Adeel Asghar- hide welcome page on library item show up. - plot window layout updates.
c351b69d6Adeel Asghar- minor fixes of FMI import
9768d6b8dAdeel 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.
062132f18Martin Sjölund- Removed .substring from the Builtin env
0d49175aeMartin Sjölund- Generate header from template
cc0cb7779Martin Sjölund- Set LF props
cec9b11e3Martin Sjölund- Removed elabBuiltinRem elabBuiltinMod
74f12aa48Martin Sjölund- Removed elabBuiltinDiv
dc9ce930dMartin Sjölund- Moved abs() from Builtin.mo to ModelicaBuiltin.mo
26182070bMartin Sjölund- Removed boolean() from Builtin.mo as it is not a legal Modelica call
511f0b789Martin Sjölund- Implemented function overloading
4e36173b9Martin Sjölund- Add dumping of overloaded functions
d35462f01Martin Sjölund- Fix for vectorized delays
5be56ad0cMartin Sjölund- Some more compiler warnings
865b1f3bcMartin Sjölund- Fixed some compilation warnings
abbd90fcbAdeel Asghar- using unzip instead of 7z.
983ae1fe7Martin Sjölund- Fix for vectorizing delay() calls
a4a6f5997Martin Sjölund- Some fixes for FMI import to compile under UNIX
2bf3a71b4Martin Sjölund- Corrected linking order
b89a5e2bcMartin Sjölund- Fix OSX compilation
e32c441e5Martin Sjölund- Make USR1 print some simple simulation status to stdout
e7e92831cAdeel 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.
c9cbf43ecPer Östlund- Remove Util.stringDelimitList, since it's builtin now.
19d85e58eMartin Sjölund- Use -enable-auto-import only for win32
6ddd8b055Martin Sjölund- Use -enable-auto-import only for win32
a3608de10Adeel Asghar- more style updates.
debc14f4eAdeel Asghar- minor style updates.
bb4e53287Adeel Asghar- Recent Files feature with a welcome page.
d40243659Martin 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
8707c5b2aMartin Sjölund- Added List.selectFirst1
b0f8c700dAdeel Asghar- pro file fixes. - some other minor updates.
c651ad28aAdeel Asghar- pro file fixes. - some other minor updates.
70c8c9711Martin Sjölund- Fix bootstrapped compilation
2c9c7cb91Martin Sjölund- Improved the error for imbalanced systems (prints all of them instead of only first)
4794a39d1Martin Sjölund- Allow startTime=stopTime in OMEdit
82a6ca0c4Adrian 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.
b46a25160Adrian 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.
2a1e27784Adeel Asghar- FMI export and import icons.
e065d852bAdeel 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.
64af87d2eAdrian Pop- use Types.elabType instead of Algorithm.getTypeExpType - use match instead of matchcontinue in ClassInf.getStateName
80e91894ePer Östlund- Changed the error messages from constant id + lookup list into just message constants.
5c2f777b7Martin Sjölund- Added Modelica'2002
83222b18aPer ÖstlundFix for bug #1627: - Pass the subscripts correctly in elabCrefSubs so that the bounds checking works correctly on qualified subscripts.
346ba57a6Martin Sjölund- Fix extraPolate
9d8abbd81Martin Sjölund- Some compiler warnings
c5aba3341Martin Sjölund- Changed the extraPolate macro so we don't get warnings because variables contain $-signs
3ba4b5ca8Martin Sjölund- README update
b36be1c17Martin Sjölund- Allow compilation without Java
97412445fPer Östlund- Updated the OMC usage text.
e26d09a47Martin Sjölund- Added ceval of stringDelimitList
ed85bf655Per Ö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.
43c3ef904Adrian Pop- getting the testsuite closer to 100% - more fixes are on the way for redeclares.
fa183e9acAdeel Asghar#1612 - getDefaultComponentName and getDefaultComponentPrefixes now supported.
ba4a7a809Adeel 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.
85127e407Adeel 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.
8cde145ceJens Frenkel- remove unused parameters from functions
4dc59b25dMartin Sjölund- Patternm: Only output a single error for patterns
0a8d302a3Martin Sjölund- Patternm: Only output a single error for patterns
160a956d8Martin Sjölund- Added boxptr_stringDelimitList
107ff29a6Martin Sjölund- Typographical issues (capitalization of MetaModelica, etc)
b44374d9cPer Östlund- Added check for components with the same name is it's type specifier. - Enabled testcase mofiles/Lookup8.
31302f09dMartin Sjölund- Added a few conference papers (mainly Modelica'2011) to the database
0bd84d81aMartin Sjölund- Added missing function boxptr_listDelete
6f8d93557Adrian Pop- WARNING: NEW RML is needed for this revision! Update your OMDev for Windows and RML for Linux. - stringDelimitList is now a runtime function.
94fea1212Adrian Pop- small typo fix
6790a17ffAdeel Asghar- Information about AccessControl plugin.
77b3dfbe2Adeel Asghar- Updated the version number. - Fixed the temp path issue. - other minor fixes.
c6a8a6264Adrian 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
e8d6f2136Adrian 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
a749d6b67Wuzhu ChenFMU_Import: some files missing
01475ee72Wuzhu Chenprototype, refactoring still in process
8a6cd47a7Per ÖstlundFix for bug #1621: - Handle enumerations inside modified models correctly.
70f68a650Per Östlund- Added test validation tool, useful to check tests when equation order changes.
923f0c08ePer Östlund- Changed the error message for public non-formal parameters in functions to be understandable without reading the specification.
c3a0e9ebbPer Östlund- Moved list functions from Util to a new List package.
c482c7794Martin Sjölund- Added a few conference papers
cf1375f16Martin Sjölund- Added Edgar's thesis to the publications
28ac57189Martin Sjölund- Generate the master's theses as well
1fb16888dAdeel Asghar- Some editing of dialogs.
f40e6008eAdeel Asghar#1604 - Fixed the connection of arrays. - Text annotations updated. - better omc logger - save file fixed for linux.
cbae92102Martin Sjölund- Some additional details for dissertations
25aaf4932Martin Sjölund- Generate also phd-theses citations
0f9687fe8Martin 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
90073492aAdeel Asghar- Fixed the temp path problem. - Use mkpath instead of mkdir. - removed the Helper::tmpPath since its not needed.
e14d6d2c3Adeel Asghar- Changed the OMEdit temp path.
f645074d0Jim NutaroRemoved dead code from the adevs backend.
2b1497ffaMartin Sjölund#1623 - Produce a good error-message when a pattern variable is not found in the local scope
05d8fa755Adeel Asghar- Fixed the line conversion problems.
9b1171e75Jim NutaroCode generator works again. Still needs to have unnecessary code removed.
7a361e34aJim NutaroFixed issue with lambda, still working on other problems
f465197ccMartin Sjölund- Some fixes for indep.eq.syst
26a92ba8dWilli Braun - replaced the calculation of the jacobian by a fast column-wise method
d0ee53db8Martin Sjölund- Don't inline functions for clang to work
014bb8429Martin Sjölund- Added builtin function stringDelimitList to MetaModelica
0b034fd3cMartin Sjölund- Some bugfixes for indep.eq.syst
70fdddd71Martin Sjölund- partitionIndependentBlocks now succeeds all the way to codegen. Will need to check if it produces the correct result, too
3fddbaef7Martin Sjölund- Force #endModelicaLine at the start of match-expressions for the debugger
9ef59e2c3Martin Sjölund- Builtin functions no longer use the weird _rettype crap
ff88ecaccMartin Sjölund- Parallel eqsystems
5e18b957cMartin Sjölund- getPathedClassInProgram now also looks for builtin classes (making MDT display builtin functions in any project)
ac416a742Martin Sjölund- Fixed codegen for if-expressions of array crefs
ba37dd0e5Martin Sjölund- Skip writing huge comments for each rhs in generated code
5b6ab9490Martin Sjölund- Some more changes for indep.systems
6a10ec02aMartin Sjölund- Fix convert_lines.pl so we can debug files that have digits in them...
c77d682a6Martin 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
1a251ee11Adeel Asghar- change the standard streams buffer size.
8915aefc9Martin Sjölund- Made changeStdoutBuffer run also on Linux
71828982bAdrian 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).
d5cbf060dMartin Sjölund- Some more refactoring
ae112f623Martin Sjölund- checkInitialSystem fixed for indep.systems
5fd8b44e5Adrian Pop- added stdio.h for gcc 4.4 compilation.
405f3aeb9Martin Sjölund- SimCode.generateHelpVarInfo now works for indep.systems
15b4e6944Martin Sjölund- The createSimCode handles independent eq.systems a little better (still not close to done)
7e7490d7cMartin Sjölund- Some additional changes for independent eq-systems in SimCode.createSimCode (needs larger changes later on)
1cbf8dfc8Adeel Asghar- Fixed text visibility problem for MAC. hopefully it will work on linux as well.
bfbfaff31Per Östlund- Added check for public non-formal function parameters, and fixed the compiler code and test cases.
c65a89ca4Martin Sjölund- matching,index-reduction and past-opt modules now handle independent eq-systems
d2369cca8Per ÖstlundFix for bug #1619: - Implemented support for boolean ranges.
115cd2ebcMartin Sjölund- Refactoring: Started using the BackendDAE.MATCHING for sending assignments/strong components in some places
f1f06d355Per Östlund- Cleanup of tests in mofiles. Activated some working tests and deleted some invalid/redundant tests.
f61b7df1bPer Östlund- Changed argument order of Util.listMap01 to conform to the map(list, function, extra args) convention.
f4cc8a791Per Östlund- Removed the scalar field from DAE.MATRIX, because a matrix should always contain scalars.
2001c11b5Martin Sjölund- Minor refactoring, adding field for storing matching information in each eqsystem
fab1baa33Per Ö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.
3ab68877bMartin Sjölund- Fix bootstrap compilation
d272489e0Willi Braun - get rid of tabs in source code - corrected indentation
338855a0fWilli 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
1dcb9f567Martin Sjölund- Refactoring of matching/index reduction to take EqSystem/Shared as input instead of the whole DAE
d77c79a6bMartin Sjölund- Fix for exptype of crefs in connections of composite names
652905155Adrian Pop- updates to FMI import (from Wuzhu Chen)
b193e6386Martin Sjölund- Better error-message for createEqSystem when the system is imbalanced
3b8711424Martin Sjölund- Fixes for bootstrapping
80b1a83abAdrian Pop- added the first draft of FMI import (from Wuzhu Chen)
fd6be1c16Azam ZiaFixed FMU makefile.
4f1a8f049Lennart Ochel- revised initialization -- including full support of start-values -- including scaling
6a8212703Martin Sjölund- Do not generate code for known external C function like Modelica.Math.sin
b88c1a217Martin Sjölund- Minor performance increase by reordering modules
38fbc3d38Willi Braun#1617 - workaround for bug 1617 restart matching if it fails after dummyder method has applied and matching is wrong.
8f1cbdd37Martin Sjölund- Added support for collapseIndependentBlocks, made the (default) preOpt modules support this and enabled the partitioning of equations by default
c619bed04Niklas WorschechFix in cpp template for accessing array elements
9e3bf3caeAdrian Pop- set properties - small typos fixed
4e999c5daAzam ZiaCorrected FMU Makefile.
5aab8f009Adeel Asghar- MessageWidget content margins adjusted.
835f7499aAdeel AsgharFixed some MAC bugs, - Mainwindow's splitters handle width is adjusted. - Tabs margins are fixed. - Library expanding, dragging and double clicking issue is fixed.
b81bca261Willi Braun#1614 - added fix for Bug 1614( delay with events) - added testcase
89aead2d4Niklas Worschechfixes in cpp template for Modelica functions and arrays
345db746dWilli Braun - added small fixes to isDiscreteExp
28ea55c3bWilli Braun- fixed some bugs in event handling - changed debug output for events fprintf
93295ed70Martin 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)
fbdf37d43Per Ö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).
3c1fa652dMartin Sjölund#1609 - Fixed reductions that contain a constant if-expression
32ac96ce3Martin Sjölund#1607 - Use a nominal type system for external objects
b34aab415Per Östlund- Added check of function variable types.
1a4e8055dMartin 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
79c5c2416Per ÖstlundFix for bug #1601 - Implemented support for using Boolean as array dimension.
85560f4a8Jim NutaroCorrected a save/restore issue in the adevs backend
a64bd948bWilli Braun- added sample events support for FMU export
35b3e52feAdeel Asghar- changeStdoutBuffer, Mingw based gcc has block buffer policy for stdout. we need to change it. Windows crap!!!!
e223f613fPer ÖstlundFix for bug #1104 - Report error on recursive definitions.
bbf897adfPer ÖstlundFix for bug #1605 - Report error for duplicate redeclarations in the same scope.
e390e8e06Martin Sjölund- Fix to allow reading from result-files given an absolute path
dcdf16c8fWilli Braun - fixes for fmu export. Event-based model like BouncingBall should now work. Right now only time events are missing like sample.
97eaef03cPer ÖstlundFix for bug #1602 - Fix vectorization of parameter arrays with slice subscripts.
960a23984Martin Sjölund- Do not allow enum(A) to be assigned a value of type enum(A,B)
2536ca02dWilli Braun- changed fmu export for event handling - added bug fix in event handling - removed one old unsed variable
362a6c725Per Östlund- Fixed elaboration of scalar to work on any array, not just 1- and 2-dimensional ones.
956eb40f7Per ÖstlundFix for bug #1598 - Implemented elaboration of matrix function.
51544515aMartin Sjölund- Backend refactoring: Initial Equations stored with shared data (as they are not handled in the same way as the ordered eqs)
019df3a1eJens Frenkel- prefer as alias connector variables and avoid record or array elements, the result equations are much better readable
efb606424Martin Sjölund- Some minor partitionIndependentBlocks changes
eccb9df54Martin 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.
f12ddbeacPer Östlund- Reimplemented connection handling to be more efficient.
e406f143bTuomas MiettinenAdda interface documentation draft added.
7b2e829e7Jim NutaroFixed problem in the linear system solver for the adevs backend
bcd894846Martin Sjölund- Removed support for sum(scalar) as it is not valid Modelica
36e007de3Martin Sjölund- ndims() now always returns constant variability (as it always returns an integer literal)
48a0d39feMartin Sjölund- Additional sum fixes
14c8dc10bMartin Sjölund#1595 - Simplify sums better
d618069fdAdeel Asghar- getOptionValue is changed to isOptionNone.
de132dc4cJim NutaroFixed initialization problem in adevs backend
6ac62c65aMartin Sjölund#1372 - Fix codegeneration for Modelica.Math.Matrices.norm (tuple subscript among other things) + Added testcase from the bug report
d46b225e1Martin Sjölund- Added runtime function identity_alloc_real_array
5c71435abAdeel Asghar- getOptionValue to return NONE or SOME based on option's value.
a4862ff93Martin Sjölund- Fix some F77 code generation issues (char* vs. char**, etc)
e1cb93735Martin Sjölund#1591 - Don't check if a singleton record in a uniontype has the correct CTOR; we can just assume they match up
ae1c9cd57Martin Sjölund#1595 - Do not be overly optimistic about the number of dimensions in elabBuiltinSum (now works also for 3-dim arrays)
d3e8bf293Martin Sjölund#1594 - Fix types when simplifying arrays/matrices with 3 dimensions
ca0858f1bMartin Sjölund- Add template error if vector() calls remain
7a94fae23Martin Sjölund- OMEdit: Check if file exists before assuming you can read it
00ef3d822Martin Sjölund- Removed unused code
4d98cc020Martin Sjölund#1591 - Removed calls to typeOfValue for crefs (ceval does *not* change the type)
f134901a7Martin Sjölund- Improved crefVectorize (data[:].b)[2] => data[2].b instead of previously (wrong) data[:].b[2]
62fd636dcJim NutaroSet number of interpolation points for the adevs backend to the recommended number
1bde1e311Martin Sjölund- Fixed potential loop with simplifyAsub
9e3b3af5dMartin Sjölund- Remove commented code
40acb4bb8Martin Sjölund- Do not do unsafe operations like saying ceval arr[i] = arr just because we are in a for-iterator scope...
0b1b5b332Martin Sjölund#1591 - Don't convert a value into a type just to get its dimensions
27c139951Adeel 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.
1b7761ceaJens Frenkel- us -O2 by default for FMU
b036421dbJens Frenkel- bugfix fmu - check sim_result before calling - clean object files in fmu.makefile
a8b3ec81cMartin Sjölund- Backend: Trace expanded derivatives
d88b51ed3Jens Frenkel- c-interace for fmu
0b473d49aJim NutaroUpdates to Adevs template
96df5232aJens 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
68de43136Martin Sjölund- MetaModelica: Create a new scope when inst'ing a metarecord
828a4febaMartin Sjölund- Backend refactoring: Moved Inc.Matrices into the EQSYSTEM (it's passed with the dae instead of extra arguments now)
2f1855c74Martin Sjölund- Add support to print zero-length arrays
d379a94d8Martin Sjölund- BackEnd: Refactoring
bd7434051Martin Sjölund- Removed now unused linear system macros
793add88eMartin Sjölund- Linear equation systems are now allocated on stack instead of the memory pool
d90df7d81Martin Sjölund- BackEnd refactoring
f3ed07bf6Martin Sjölund- Refactoring
73c24ebf4Dongliang Liupdate cpp template
f39e6905dMartin Sjölund- Backend refactoring
173cc05bfDongliang Liupdate cpp template
8034f362dMartin Sjölund- Refactoring
8bc8b7cafJens Frenkel- check allocation of Samples in initSample - do not use large number of simulation time in fmu, causes error in allocation Samples in initSample
183a19ae7Jim NutaroAdded bound_params function to the adevs backedn
d7684500bAdeel Asghar- removed unused functions. - fixed bootstrapped compilation for windows.
eb130e4e0Jim NutaroMore work on automatic intialization for the adevs backend
4bbd5941bMartin 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
f79a08871Martin Sjölund#1590 - Correct truncation on 64-bit platforms
4eac2fbd6Martin 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
b0a15bc40Jim NutaroAdded automatic initialization to the adevs backend
c282f9660Martin Sjölund- Backend refactoring of ordered vars/equations
c35b42df0Martin Sjölund- boxptr_arrayGet
50509fa0dMartin Sjölund- Fix comment for removedEqs
3f87492bdMartin Sjölund- Fix compilation using real C-compilers
3a8bbf979Adeel Asghar- getNthListItem function to return the particular index value of a list.
5b58e020cAdeel Asghar- getTypeOfAny function to check the datatype. - lisCount function to return the size the list.
e15c17ef9Martin Sjölund- Removed duplicate line (same function ran twice)
dba7b34d8Martin Sjölund- Unused pattern
e5d81e8cfMartin 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)
262a3bc55Per Östlund- Fixed compilation of bootstrapped compiler.
378877d6eMartin Sjölund- Util.listContains -> listMember, etc
ce64bda92Martin Sjölund- Mark ceval'ed parameters as final
ed2cc61d1Adeel Asghar- OMEdit connector types updates. - Users guide updated with new features of OMEdit.
3332e62e2Adeel Asghar- OMEdit connector types updates. - Users guide updated with new features of OMEdit.
24cd6c5d0Jens Frenkel- fmu: replace . with _ in MODEL_IDENTIFIER
9d4208c82Martin Sjölund- Also return the updated cache in elabAD2...
e4ed7fd9bMartin Sjölund- Use updated cache in elabArrayDims2
76587ad8cMartin Sjölund- Renamed the SimCodeDump target to Dump
3d74a8e01Martin Sjölund#1503 - Optimize elseif statements in the traversal
9be4ddfbeMartin Sjölund#1503 - Optimize if-statements a bit when traversing the DAE
dede75fc9Martin Sjölund- Indentation
8e82caaadMartin Sjölund#1543 - Load text settings before creating the widget
badf640aeMartin Sjölund#1543 - OMEdit now asks for the default monospace font instead of default system font
8189f9584Martin Sjölund- Fix OSX compilation using macports gcc
0fe2bee22Martin Sjölund- changeToTempDir now tries to execute the correct path; full path names returned by simulate() except when running testsuite
e55033d3cMartin Sjölund#1407 - OpenModelica extension: Functions now accept "parameter input" and "constant input", which simply requires an argument to be a parameter/constant expression
3bfbff050Martin Sjölund- Some fixes for loading SimpleVisual
c49129381Martin 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)
25c2a8889Martin Sjölund- Removed unused constants
8b539f002Adeel Asghar- unparsing the string received from OMC.
9b214bb34Martin Sjölund- Configure with static Coin/SoQt
aa65adb35Martin Sjölund#1420 - min({time,...,time}) = time
3098119dfAdeel Asghar- Fixed the back slashes issue. - Speed up the diagram load time.
703d525c7Martin Sjölund#1420 - Share constant literals in generated simulation code
bd7926d40Martin 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
05abc5e7fMartin Sjölund- traverseExpTopDown: Handle DAE.PATTERN
33fb64c02Dongliang Liupdate cpp template for modelica function part
d9bb936d8Martin Sjölund#1588 - Avoid putting crefs to empty arrays in the flat Modelica
0d9cdd4dbAdeel Asghar- Fix the empty annotation of new models.
4c33c733bAdeel 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.
8651ec988Willi Braun - changed BackendDAEUtil.calculateValues to reduce Backend compile time - fixed small bug from r9599
ca19e212dMartin Sjölund#1587 - Fix codegen for allocation of 0-length boolean array
5e9228d06Martin Sjölund- Error-handling
8e5177554Willi Braun#1584 - simulation terminate now if non-linear systems are solved wrong
7e909431cAdeel 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));
8d824b737Adeel 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));
ad14f12f1Martin Sjölund- Spelling error not caught by RML
e577801daWilli Braun - added bugfix for dassl tolerance - added relative comparison for testsuite
9a3ec0019Martin Sjölund#1447 - Vectorize calls with one foreach argument, even if its dimensions are unknown
8e8159183Jens Frenkel- update dynamic state selection
719afa259Martin Sjölund#1583 - Fix codegen for asubs of if-expressions
3e96aaeeaMartin Sjölund#1582 - Don't ceval ranges that are not constant
f9e6d6718Per Ö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.
182730c39Martin Sjölund- Configure fix
5819dfd08Martin Sjölund- Better error message
3a509ada5Martin Sjölund- Make searching for rml.h simpler
adfb3dc12Martin Sjölund#1562 - Some F77 fixes
1c60eb9a6Martin Sjölund#1580 - Type-check fill(), just in case someone wants a String[:,:] as array dimension :)
8cb721172Dongliang Liupdate part of Modelica function in cpp template
fffbb3eccMartin Sjölund#1579 - Simplify cast(fill(1,...)) => fill(1.0,...)
4c31b5e03Martin Sjölund- Added fill_alloc_real_array
0988891b3Martin Sjölund- Added simplify rules for the cat() operator
15ec366e5Martin Sjölund- Fix type of 2D-matrix integer matrix that is type-converted to a real matrix with first dimension of unknown size
bfafe339fPer Östlund- Fixed bootstrapped compilation.
3e52b7228Adeel AsgharNew README-BUILD-RELEASE-NSIS.txt file.
f91c01055abhinn kothari->Combined the Connector Array Menu for both the start and the end port.
90ca7f268Jens Frenkel- clean up code for dynamic state selection (add comments, remove unused code, change function names)
b0db4ba77Martin Sjölund#1578 - The cat() operator now does basic type checking :)
7206d4dafMartin 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 :)
a031d7dadJens Frenkel- improve dynamic state selection
04b57c47eDongliang Liadd list for constant variables; update cpp template for arrays
8f061bdccJens Frenkel- handle vars with StateSelect.prefer as states
77883d13fMartin Sjölund- Added boolean array fill function
a0d68bda0Adeel AsgharFix for bug #1404 #1532 - Updated the file saving functionality. - Fixed some minor issues in connectors.
a75415cb8Martin 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]
3ddfb6720Adeel Asghar- Fixed some minor problems. - Removed some unused stuff.
373590af1abhinn kothariEnhanced the speed of component browser and movement of connectors
23c26141eMartin Sjölund#1576 - BinTree update using hashing
d42e30ecbJan SilarSimCodeCSharp.tpl - changes to zeroCrossing template - the domain zc approach
c8f688095Martin 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
feb75337eabhinn kothariSome Minor Corrections
df11aec50abhinn kothariAdded the facility for adding connections on components which have a connector array , now making the connection at a specified index.
c4986d003Martin Sjölund- Fix for deleteConnection where the equations have subscripts
867af129aAdeel Asghar- Fixed some problems of file dropping feature. - Now user can select multiple files and drop them on OMEdit.
68b2d7553Adeel 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.
9db2da6b0Jim NutaroCompleted (I think) the support for when clauses
523077eecMartin Sjölund- Tail recursion
ee3d89b58Martin Sjölund- Tail recursion
08f4798d3Jim NutaroMore work on when clauses for the adevs backend
372af652aAdrian 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();
6c16ff171Jim NutaroMore work on when clauses for the adevs backend
13df74781Jan SilarSimCodeCSharp.tpl - case NEQUAL added to daeExpSimRelation
fc7632f13Martin Sjölund- PartFn.elabElements tail recursion
a69084ec4Martin Sjölund- Tail-recursive listMap3
49b0dfd6fMartin Sjölund- Reverted part of r9497 as it does something funky with the bootstrapped compiler
c5d445e06Jim NutaroStarted work on support for when clauses in the adevs code generator
fa1f725f8Jan SilarChanges to SimCodeCSharp.tpl - templates daeExpRelation and daeExpSimRelation.
e7ea55090Martin 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
e78392f1cFederico BergeroRemoving edge function call
5c7223338Adeel 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
d6435e231Martin 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)
ef519b747Martin Sjölund- Removed old stuff
c324b4c17Adeel 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.
50d33beacMartin Sjölund#1572 - Added check for external function output assignment
51e05564cMartin Sjölund#1572 - Check external function for illegal sections ([initial] algorithm)
4c4c5f43eMartin Sjölund- Fix OMEdit compilation
383ca4e03Adeel 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.
7c597c0c4Martin Sjölund- Some backend tail recursion for checkEngineV6.mos (many equations)
93de92220Martin Sjölund- More tail recursion
924490e15Martin Sjölund- More tail recursion
c505f9130Martin Sjölund- More functions on tail-recursive form
1ae2f26acMartin Sjölund- DAEUtil.getParameterVars tail recursive
25af17e0fJens Frenkel- fix initialisation of models using dynamic state selection
d28fcbaadJens 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 :) )
08f233be3Martin Sjölund- DAEDump.dumpEquationsStream tail recursive :)
a4dd44398Martin Sjölund- Tail-recursive splitElements
faccd9c0fMartin 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)
85d6d37ddMartin Sjölund- Fix for ctor index -1 (bootstrapping C runtime)
494b3108eMartin Sjölund- Fix for bootstrapping
948d8ccafMartin Sjölund- Fix boxptr_intMax for negative arguments
0356ec001Martin Sjölund- Some fixes for LAPACK routines in the bootstrapped compiler
16f30cd42Dongliang Liupdate cpp template for array part
2f66a5438Martin Sjölund- Missing external argument
2c70d222cMartin Sjölund- Fix a problem for bootstrapping
7fe9408efMartin Sjölund- More tail-recursion is needed than before since the size of the stack frames have grown
09c169cf5Martin Sjölund- Made the bootstrapped testsuite more deterministic
b882cdc61Martin Sjölund- Avoid overly optimistic switch-optimization
36a38dc88Martin Sjölund- Bootstrapping: Fix SimulationResults.close()
e4ac0ea5aMartin Sjölund#1568 - Check class inference for function/non-function of some statements: - reinit - when - return
acc80178cMartin Sjölund- Fix testsuite
9c491c113Martin Sjölund- Warning; not error
bd591d981Martin Sjölund- Fix testsuite
93b7a2377Martin Sjölund#1520 - Added check for shadowed function input variables before performing tail recursion optimization - Removed all such occurances from the compiler sources
0752e1b71Jens Frenkel- update new index reduction method
0c6ddd997Jens Frenkel- Util.mo: make function listRemoveOnTrue more abstract
5f2a665c6Martin 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
ac899b371Martin Sjölund- Fix some bootstrapping issues (unassigned outputs in external function)
208cdfd17Martin Sjölund- Added tail recursion of match-expressions
b6c608893Martin Sjölund#1520 - Added tail recursion of if-expressions
8dc2c987fMartin 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
b21dd74e1Martin Sjölund- Moved fields in DAE.CALL around; started tail recursion optimization
47a0be732Martin Sjölund#1555 - Too many error messages
13dea54a1Martin Sjölund- Added warning for multiple algorithm-sections in functions
ba26c9e4fJens Frenkel- BaseHashTable.valueArrayList2: add case for empty last element from hashtable
af1d9649bMartin Sjölund#1555 - Produce an error message for variables with unknown dimensions and no binding equation
e5fcba5a1Martin Sjölund#1559 - Fix code generation for sum(real_array), ranges that are not integers without explicit step
9773df5aeMartin Sjölund- Removed Option (dim) from Ceval.ceval as it is no longer required
0deae749dMartin Sjölund#1567 - Only calculate duplicate delay-expressions once
a65b92fb3Martin Sjölund#1567 - Simplify some delay-expressions
ab5415af4Martin Sjölund#1566 - Only parse a mos-file if it exists
1e0235e0bPavol Privitzer- C# template progress
f720dc6fbPer Östlund- Allow if-expressions in constant functions to be non-constant, because Lookup is stupid. - Updated test suite.
027af3bd7Per Östlund- Added Absyn.Info to Ceval.Msg for better error messages from Ceval. - Updated test suite.
29375de8bPer Ö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.
c2a177acbPer Östlund- Added a missing space in dumping of external functions in SCodeDump.
8b3d1a215Per Ö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.
51ff59679Per Östlund- Added some missing bits in the runtime to get bootstrapping to work again.
dc9884df9Per Östlund- Small fix for modifiers in SCodeDumpTpl.
ba0d37cacPer Östlund- Optimized Env.getEnvPath to speed up some Media models a bit.
a5af394c9Per Östlund- Changed instantiateModel to only instantiate the class once, and not twice if it fails the first time.
815b27c5cPer Ö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.
eb8bcb559Martin Sjölund#1559 - Some fixes for unknown end-expressions by removing DAE.END(), replacing it with calls to size(cr,dim)
bfa10f889Martin Sjölund- Crazy indentation, tabs
a3d29836bMartin Sjölund- Add checks for record/connector containing algorith sections
d688cabdcMartin Sjölund- Changed class inference for found equations,constraints slightly (all in one record)
c2b717b86Per Östlund- Changed print in Types.typeToValue to failtrace.
7335ea970Per Ö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.
f936496c5Adrian 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.
4a4fe6388Adrian Pop- fflush(stderr);
008a480acNiklas Worschechsmall fix for typo in event iteration of cpp simulation runtime
baaec60f3Jim NutaroAdded support to the adevs code generator for mixed nonlinear systems.
23ac647ebPer Ö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.
091670f5eNiklas WorschechAdded new Euler methods to cpp simulation runtime
f4b9d8857Adrian Pop- C comments not C++ comments in a C file - set some vars to 0.
775f1ffc6Adrian 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.
5fe246582Adrian Pop- meaningful error message.
4b6d03b2dJim NutaroFirst working version of the backend for adevs
c6508117fAdrian 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
cc0c1f43aPer Östlund- Fixed type mismatch errors for checkModel in Modelica.Media. - Updated Modelica.Media test case.
32cffc21eAdrian Pop- more complains :)
a1580cc8dMartin Sjölund- Fix last commit
6ce0e5b30Martin Sjölund- omniORB configuration
546618875Adrian Pop- update SVN props.
877f707cfAdrian Pop- some updates to some readmes.
ae887192eFederico BergeroRenaming Simulator class to SimulatorQSS
89e66c6cfMohsen Torabzadeh-Taritested the Linux/unix FMI export
dd3301026Willi Braun - added workaround for algorithms from modelicaML models - added also a testcase for that issue
1fdf39328Azam ZiaAdded linux compilation commands to FMU makefile.
e59c02837Azam ZiaUpdated FMI Modules. Simple models without events are working now. Removed try catch from fmu_model_interface.c as its not standard C.
107969283Per Ö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.
dffe067cdPer Östlund- Fixed invalid type in BackendDAETransform. - Updated testsuite.
2f56d942aPer Ö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.
b256c6f32Adrian Pop- small improvements to Relation.mo
c88cb2c7bJens Frenkel- update new index reduction method
08153c5bfPer Östlund- Get rid of annoying types.
eb8fd4c9cPavol Privitzer- updated C# template - fix C template: use Util.escapeModelicaStringToCString() (instead System.escapeString()) to escape also \n in comments of SIMVARs in globalDataVarInfoArray() template
72e099e39Adrian Pop- found another bug in the RML compiler, it doesn't check for duplicate names, just takes the last one.
1f9812166Adrian Pop- a generic relation Relation.mo between two objects.
76662889bAdrian 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.
dc17354f5Per Östlund- Print attributes for derived classes in SCodeDump.
5050a94dfAdrian 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.
6945de454Martin Sjölund- Use the tmp-path returned by OMC instead of making up your own...
9235d769cFederico BergeroAdding simulation_input_xml to the object list of the QSS runtime
16be42677Martin Sjölund- Don't create OMNotebook_tempfiles directory anymore (unused)
ba160a327Jens Frenkel- bugfix getIndexReductionMethod
1bdb63570Jens Frenkel- minor changes to reduceIndexDummyDerX
1a42c08dfMartin Sjölund- Use configured flags
476cafa8dTuomas MiettinenOPC interfaces documentation.
8ac6f1077Per Östlund- Some SCodeDependency fixes for modifiers and derived classes.
86cd2567aPer Östlund- Added more error checking for size.
deb79237aJens Frenkel- bugfix fmi, set and get real variables - ling FMU not with interactive
f1e8bf24aDongliang LiAdd list of string in SimVar, for the number of element in array
53a3c19e9Niklas WorschechFix for calculate zero crossing index in collectZC and collectZCAlgs
69943013eJens Frenkel- change MIXEDEQUATIONSYSTEM, now it is easier to handle algorithm and arrayequations in compination with discrete equaitons
71a22c506Jens Frenkel- add type for MIXEDEQUATIONSYSTEM to StrongComponent
05ee96ba0Martin Sjölund- Check for expat.h
c8d9c4386Jens Frenkel- use flag for debug print in reduceIndexDummyDerX to run testsuite
e44740f40Jens Frenkel- add error msg for expressions "der(der(DAE.CREF(_))", see Bug [#1551]
e121a632aMartin Sjölund- Fix list() command
779da9d99Jens Frenkel- enable optimisation module constantLinearSystem by default, passed testsuite without errors
6762574bfJens Frenkel- bugfix constantLinearSystem, works now for model from bugtracker
812605f7bAdeel 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.
c859da473Martin Sjölund- configure: Added flag with-static-sqlite
781997c79Jens 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
0185aaa6eAdrian Pop- .pro.user files should not be in Subversion as they are different for each user. - add OMPlotLib.pro to OMTools.pro
fb1c0ad70Per Östlund- Don't link with -lregex on Linux.
04012d706Adrian Pop- link with -lregex and -lexpat on Linux too.
3e680ed76Adrian 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.
b69944f79abhinn 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.
30e2616a9Martin Sjölund- Added testcase for using initial() in blocks that are constant during the initial step
bf7109e7eMartin Sjölund- Fix unparsing of MSL 3.2
b2609f2ffMartin Sjölund- SCodeUtil: Give errors if Absyn to SCode fails
044d2d8ecPer Östlund- Optimized Types.elabType by relaxing equality checks for types.
67aa41eaaMartin Sjölund- Removed Interactive list(cr) functions as their result differs from CevalScript * TODO: Make sure OMEdit list() command handles strings correctly
e287609ddPer Östlund- Some small SCodeDumpTpl fixes.
dab454f46Martin Sjölund- Simplify also (e*e1)+(e2*e)=>e(e1+e2)
3b3acac66Jens Frenkel- update CMakeList files
de7409091Per Östlund- Added missing SCodeTV.mo. - Normalised Absyn.ComponentRef.
60e8daf2eMartin Sjölund- Add simplification (e*e1)+(e*e2) => e*(e1+e2) (for +/- and swapping argument order)
00b5b1d95Martin Sjölund- Changed order of some simplifications (commutative rules)
2098ee0e6Per Östlund- Implemented SCode dumping template. - Changed some functions in SCodeDump to use the new template functions. - Updated test suit.
f556790c6Martin Sjölund- Added ExpressionSimplify.simplifyBinaryCommutative - To be used for commutative rules so we do not forget these cases in the future
7562acd19Per Ö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).
57afb3f14Martin Sjölund- Fix compilation
222ed2d8bJens Frenkel- start to move solving of constant linear systems to BackendDAEOptimize
b9416e9b0Martin Sjölund- simplify: exp * sqrt(exp) => exp^1.5, exp^exp2 * sqrt(exp) => exp*^(exp2+0.5)
e6761593eAdrian Pop- fix quoting of XML strings in SimCodeFMU.tpl
a94b8fa24Adrian Pop- small fix for modelIdentifier in FMU export.
0b9d8941cMahder Alemseged Gebremedhin- a note that OMDev needs to be updated
822877035Jens 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
8c486f1caAlexey LebedevBase of modification processing for non-expanded arrays.
71a7143b5Lennart Ochelreorder include files to avoid unknown references
bf514a58bMartin Sjölund- simplify sin^2(x)+cos^2(x) = 1
9a4e01b35Martin Sjölund- Added simplify rules for some trig.identities * asin(sin(x)) => x * sin(2*x) = 2*sin(x)*cos(x)
4552e821aMartin Sjölund- Some simplification rules, e.g. sqrt(e)^2.0 = e
599ce04c8Per Östlund- Translate Absyn.ConstrainClass into SCode.ConstrainClass in translateAbsyn2SCode. - Updated some redeclare test cases.
56010579fMartin Sjölund- Link with libsql3
625bb6b42Adrian Pop- moved trunk/OMTools/bin and trunk/OMTools/qtdlls to OMDev/tools/OMTools/
7aebef980Adrian 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
be4552ca7Martin Sjölund- Moved part of deinitializeDataStruc from SimCode to simulation_runtime
9ed4b378eMartin Sjölund- Moved part of initializeDataStruc to simultion runtime instead of generated code
db180d4ecPer Östlund- Translate Absyn.ExternalDecl into SCode.ExternalDecl in translateAbsyn2SCode (because Absyn.Annotations are annoying).
3e1463f55Martin Sjölund- Removed getNameReal, etc from SimCodeC.tpl
a3f7696dcMartin Sjölund- Don't link readline with omc
c6c7527acMartin Sjölund- configure: include lp_lib.h or lpsolve/lp_lib.h depending on platform
8a36c715bAdrian 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)
b3db90114Willi Braun - added fixes for initialization (Bug [# 1537]) - fixed builtin function semiLinear()
48aa63bd6Adrian Pop- YOU NEED TO UPDATE YOUR OMDEV FOR THIS! - linked with static libregex. - Error.mo feeding my alignment issues.
d393ac198Martin Sjölund- Forbid assignment to inputs when using +g=Modelica
4aa74350eAdrian 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).
6bba0e48fAdeel Asghar- Changed omniORB414_rt.dll to omnithread34_rt.dll
01d3515c5Martin Sjölund- Fix for omlibrary being updated properly
27d9bbff2Martin Sjölund- OMEdit: Updated for new loadModel
732a6522dMartin Sjölund- Integrated the uses annotation with the loadModel command
2d3378abcMartin Sjölund- Fix read_matlab4.c
d6b5e90a2Martin Sjölund- Makefile dependencies
b649ab792Martin Sjölund- Added description to matlab reader
e443e0cc8Adrian 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.
5592c6609Martin Sjölund- Handle odd string lists {"abc" + "def", "ghi"}
ae268a211Martin Sjölund- OMEdit: Load the ModelicaReference library (latest release preferred over 3.1 version)
9a705582cMartin Sjölund- OMEdit: Load the ModelicaReference library (latest release preferred over 3.1 version)
fd0de5944Martin Sjölund- Prefer ModelicaServices 1.0 over 1.1 (MSL 3.1 > MSL 3.2)
97362566eMartin Sjölund- Fix priority MSL 3.1 > MSL 3.2 - Don't always copy omlibrary (test -d instead of -f)
11273d1fcMartin 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
1f9b57e8cPer Östlund- Renamed tplAbsynExpEEquationLstLst to elseBranches in SCode.EEquation.EQ_WHEN.
2558fdd88Per Östlund- Fixed SCodeFlattenRedeclare.addElementRedeclarationsToEnv for components.
f6ebe49c5Adrian Pop- add SCodeFlat.mo to compilation. - fixes for MinGW compilation of systemimpl.c
cf2cb8f7eMartin Sjölund- Added extra argument to loadModel(Class,{"3.1","default"}) - We can now store multiple versions of the same library on the MODELICAPATH
10890d8a0Adrian Pop- forgot to add two files in the previous commit.
80f65f7e5Adrian PopFixes for bugs: #1430, #1432
52d049ddcParham Vasaielyfix: changeParameterValues fix: changeSimulationTime
99b95da8ePavol Privitzer- update of C# templates: removed Sample zero-crossing generation
7bfbc4140Per Östlund- Fix for instantiation of empty arrays.
27d4f5e5dPer ÖstlundFix for bug #1529: - Don't evaluate non-fixed parameter subscripts. - Added test case mofiles/NonfixedParamSubscript.
b1f67dd94Dongliang Lifixed errors for revision r8974
b9f8fd8aePer ÖstlundFixes for bug #1528: - Add simplification rule pre(constant[index]) = constant[index]. - Implemented code generation for cref asub with one subscript.
94ef3f59bPer Ö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.
b57d7e448Parham Vasaielyfix: reinitialization after stopSimulation fix: wrong references on ssdArray update: setResultData and getResultData update: resetSSDArrayWithNullSSD update: initializeSSD_AND_SRDF
6ff024548Adrian 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.
2ba6ed755Martin Sjölund- Added rule to simplify x+x+x-x-x=x
42ef95b0bJens Frenkel- continue to move analysation of strong connected components directly after blt algorithm, change modpar and TaskGraph to use new strongcomponent type
4d1cbd3d0Adrian 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.
b4b039223Jens Frenkel- continue to move analysation of strong connected components directly after blt algorithm
5f5e414f5Jens Frenkel-start to move analysation of strong connected components behind blt transformation
1ddd47bb8Martin Sjölund- Fix compilation of OMNotebook/OMShell for clean builds
b1b79f846Martin Sjölund- Fix compilation of OMNotebook/OMShell for clean builds
6d8d04beePer Östlund- Element redeclare fixes in SCodeFlatten. - Updated Modelica.Media test case with new errors and enabled now working WaterIF97 example.
e63552ac8Martin 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
f0fd4424aMartin Sjölund- Use simplify1 instead of simplify as it is marginally faster (simplify does nothing extra for DAE.CALL and DAE.ASUB anyway)
7d3842026Martin Sjölund- Disable debug print that fails 30% of the testsuite
05aa1ed45Martin Sjölund- Fix compilation of OMShell/Notebook
13054555cMartin Sjölund- Fix compilation of OMShell/Notebook
c7aa9199eParham Vasaielyfixed stopSimulation
996570c96Martin Sjölund#1493 - Added UTF-8 support to OMEdit
512b9bdd0Martin Sjölund#1539 - Use the configured IDLCMD to compile OMEdit
4eb13170bParham VasaielyDebug stopSimulation function and changeSimulationTime v2
f8c62c884Martin Sjölund- Fix compilation (merge conflict that was ignored instead of resolved)
0444e8533Martin Sjölund- Fix usage
e998252daParham VasaielyDebug stopSimulation function and changeSimulationTime v2
88793abdeParham VasaielyDebug stopSimulation function and changeSimulationTime v2
688ebddbfPer Östlund- Changed OMEdit open/save dialog to always open last opened folder, or the users home folder otherwise.
c8ea940a3Per Östlund- Fixed error message grammar in OMEdit.
e8c0ca008Adeel Asghar- Fix abs_path for Windows-msys.
5eed94a9aMartin Sjölund- Added optimized codegen for ASUB(DAE.ARRAY(__),{index}) (only evaluates the index we are interested in)
5469f7990Martin Sjölund- Fix compilation
c78932da2Parham VasaielyDebug stopSimulation function and changeSimulationTime
5bf4aeecbMartin Sjölund- Use abs_path or gdb gets cranky
d20110322Per Östlund- Propagate replaceable/redeclare prefixes for modifier elements from Absyn to SCode.
4ab151fb5Martin Sjölund- Fix stringCharInt returning negative integers
127a714d5Adeel Asghar- Changed Cwd::abs_path to File::Spec - Added the sub routine for trimming the string, otherwise the regular expressions fails.
920892ff0Per ÖstlundFix for bug #1526: - Implemented support for logical operations (and, or, not) on arrays. - Added test case mofiles/ArrayLogic.
b2186fe8fPavol Privitzer- updated C# templates - little re-formulation of some Susan errors
935d00fe3Per Ö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.
61e5592e1Martin 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
3364065f4Martin Sjölund- Added lpsolve55 binding to System.mo
06d706a01Per Ö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.
e1dccc47aPer ÖstlundFix for bug #1516: - Fixed bad indentation in Dump. - Updated test suite.
a3ddf9cf0Martin Sjölund- Added simplify rules for change(constant) and edge(constant)
b93a1ba24Martin Sjölund- Fixes for CombiTable1Ds
b49347f4cPer Ö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.
8f1ffda90Willi Braun - added fix for Bug [# 1508] terminal() support. - moved mosfiles-msl22/LossyGear1.mos to failingtest
57403244aMartin Sjölund- Revert revision r8974
ab8962104Martin Sjölund- Disable debug trace
7f0ce46dePer Östlund- Removed some inline annotations from SCode, because apparently the bootstrapped compiler doesn't like them much.
4b1b0d1d1Adrian Pop- remove duplicate declaration.
08ed23c8bDongliang 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.
802882cf9Martin Sjölund- Fix bootstrapped linking
36f52f8dbMartin Sjölund- For safety, include math.h
ad0775d16Martin Sjölund- Check if install directory is sane
015dd0cd0Martin Sjölund- Link with ncurses in case someone uses static readline
478cb3e50Martin Sjölund- Fix for Linux versions that do not include NAN/INFINITY
4bddb6337Martin Sjölund- Fix for translateFMU
bc3f96980Martin 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
740949c19Federico BergeroIncluding the cross detector in the makefile
7c0b54a51Federico Bergero* Updating the generation of the pds and code
c695b434dFederico BergeroUpdating the generation of the pds and code
e165ab4eeMartin Sjölund- Made headers more C-friendly
8612206eaFederico BergeroImplementing QSS2
314180103Martin Sjölund- Fix compilation
fc764b872Martin Sjölund- Add Lapack libs to bootstrapped runtime
d457e2eaeNiklas WorschechModified cmake files for build of the Modelica system with generated make file
0b23a14e5Martin Sjölund- SimCodeDump: Print solved linear eq.syst
9ed804c8eMartin Sjölund- Fix for OSX
0717b1fa9Martin Sjölund- Bootstrapped compilation
6245b06a4Jens Frenkel- continue new DAEHandler, works now for multibody elementary pendulum example
4164f5947Martin Sjölund- Retain elementsource for linear system of eq's
ba572492bMartin Sjölund- Evaluate constant linear equation systems in SimCode (wrong place, but that's where it currentlt fits)
f4688aa30Martin Sjölund- Fix for (some) polymorphic functions using array
d576632d1Martin Sjölund- Solved segfault when creating 1-long strings where the character has the high bit set (unsigned/signed indexing issue)
a06c70b18Federico Bergero* Updating structures for the stand alone solver
b6da021f2Federico Bergero* Adding discontinuities
24d584812Jens 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)
412f6bbf4Per Ö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.
3c6da0df3Jens Frenkel- update Workplan-status-estimates
ff55efa96Jens Frenkel- update Workplan-status-estimates
195abdbe4Martin Sjölund- Fix initial value for rhsConstant (previously always returned false)
322f9a088Adrian Pop- fix compilation error on Windows.
e8f4a0406Martin Sjölund#1512 - Added API call solveLinearSystem (same functionality to be used in the backend later)
c1606e7feMartin Sjölund- Use calloc+free instead of new+memset+delete
0cd1cc6b3Jens Frenkel- BackendDump: dump also whenclause - continue with new index reduction method, works now for simple pendulum example /testsuite/mosfiles/pendulum.mo
3a08d790eXenofon Florosbug fixed in creating empty DEVS structs
c7f3db729Martin 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
1b23e5011Martin Sjölund#1518 - Implemented faster power operator for known integer exponents using squaring
7fbbbd51fMartin Sjölund- Added codegen for x^0.5 = sqrt(x) instead of pow(x,0.5) as it is faster
ab0cc371dJens Frenkel- continue new DAEHandler
d90fa6aacJens Frenkel- continue with new index reduction method
2afc1b012Xenofon Florossome more optimizations
ea125f14bFederico BergeroRuntime for the QSS methods
88a031557Federico BergeroCode generation for the stand-alone solver of QSS methods
4a5b83f22Xenofon Florosoptimizing-using tail-recursion in functions
7bf4d71f0Martin Sjölund#1517 - Made Integer^Integer return a Real number as per the Modelica spec - Added simplify rule (e1^e2)^e3 => e1^(e2*e3)
5ee65d20bAdrian Pop- small comment change.
ceff61011Adrian Pop- small naming change and some other small things.
0b60ab9a1Adrian Pop- space before comma.
7cdfeabbaJens Frenkel- continue new DAEHandler
1f9a79891Jens Frenkel- update array only if element is updated
9d7562d4cAdrian 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).
5355467cdMartin Sjölund- New +d=execstat; defined in Debug.mo and includes memory consumption
197e17506Jens Frenkel- continue with new index reduction method - add function setIndexReductionMethod to ModelicaBuiltin
7a82a8f0cMartin 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)
1d08c184aPer ÖstlundFix for big #1224: - Added dumping of function comments to DAEDump. - Updated test suit.
eeee312e5Per Ö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.
6c7904083Per ÖstlundFix for bug #1492: - Only propagate final prefix if the component is declared final.
d86729f86Martin Sjölund- Added builtin function stringReal
61e1aea77Martin Sjölund- Fix bootstrapped compilation
c8b0f5db2Jens Frenkel- improve DAEHandler interface - start to implement new DAEHandler
50813533cMartin Sjölund- Some README updates
034ee89d8Martin Sjölund#1511 - Replace ASUB/CREF subscripts in BackendVarTransform - Do not perform empty backend variable replacements
351d55384Martin Sjölund- Also traverse cref subscripts bottom-up
a33997d62Martin Sjölund- Dump linear equation systems
ff5be766cMartin Sjölund- Remove compiler warnings
5e78c504dMartin Sjölund- Fix compilation
29702b7cdMartin Sjölund- Relax patternm checks
c72de263aMartin Sjölund#1510 - Check that a CALL pattern defines all fields
52203b5b7Adrian Pop- fixes to Compiler/BackEnd/BackendQSS.mo to be able to compile. WARNING! i don't know if my fix is correct!
5f2e4583bXenofon Florossmall changes
aa9716cdeXenofon FlorosDEVS structure generated correctly for whens-reinits-samples This is only a first version. To be updated soon.
8d01c2762Martin Sjölund- Fix compilation
ebdcf5779Martin Sjölund- Generate residual functions for nonlinear,mixed systems
5924dbb32Per Östlund- Better element redeclare support in SCodeFlatten.
640ba8c82Martin Sjölund- Create external objects one by one and free the stack after each object has been initialized
b11b429efAdrian Pop- use gcc instead of g++ because of c++ mangling.
1c0eb55bfMartin Sjölund- Use correct extrapolation for CombiTable1D
5e47e9b92Martin 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)
f447ed658Jens Frenkel- speedup when no optimisation is done
339322cc0Jens Frenkel- compare calls to Debug.fcall and Debug.fprint, --> speedup
4d2f7c5bdAdrian Pop- fix bootstrapping on Windows.
ecd7cbba7Martin Sjölund#1509 #1085 - Make elabArray a little smarter (for Digital)
4c6737583Jens 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
01d2bb776Martin 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)
f0f8eab10Per Östlund- Fixed AVL tree in SCodeEnv so that it's correctly balanced.
c81966120Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
4349c82bdMartin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
5c517afd5Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
88e239d79Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
81ccc53d5Martin Sjölund- Set linker for OSX qtclients - Fix compilation on OSX/g++-4.5
f6e0140feMartin Sjölund- configure libf2c
f5c2a2b10Martin Sjölund- Use the configure-script to create the LinkMain.makefile
dc15eec58Martin 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
aa6a7b5f8Martin Sjölund- Fix for clean, parallel makes :)
b09198a2fMartin Sjölund- Use @CC@/@CXX@ for mosh
2c8de945eMartin Sjölund- Compile qtclients with the configured CXX
cab72409eMartin Sjölund- Compile qtclients with the configured CXX
12c31ea24Martin Sjölund- Compile qtclients with the configured CXX
4ded4eb1fMartin Sjölund- Compile qtclients with the configured CXX
305031210Martin Sjölund- Use the configure C++-compiler as the default compiler
1ae726d8bMartin Sjölund- Fixes for OSX
3bae3e96dMartin Sjölund#1509 - 40% speed-up of Modelica.Electrical.Digital.mos by elaborating a matrix once instead of twice :)
1c2a4089eMartin Sjölund- Use the proper AssertionLevel name in ModelicaBuiltin.mo
02b25dd83Jens Frenkel- remove unused code - bugfix BackendDAEOptimize: remove unused parameter and variables, traverse also whenclauses
72bb96fa4Martin Sjölund- Fixes for modpar+bootstrapping
15c34446bJens Frenkel- Simcode: use only vars from equations for subsystems
8fa44e1eaMartin Sjölund- Build the difftool by default
b7c336a34Martin Sjölund- @DEFS@ is unused, so don't clutter our make logs with it
81a31541eMartin 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.
59e29ccf3Per Ö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.
376d175d4Per Östlund- Removed erroneous check for non-replaceable class definitions in Inst. - Added test case redeclare/FinalRedeclareModifier2.
89d344125Martin Sjölund- Some simple changes to makeProductLst
282603e25Martin Sjölund#1507 - Made ExpressionSimplify more stable
d9a1c37d9Martin Sjölund- Use @CC@
7fce268a4Martin Sjölund- Update README
2ffeb31bfAdrian Pop- make BaseHashTable.valueArrayList2 tail recursive.
a0a9f3f19Adrian Pop- updated Compiler/FrontEnd/SCodeHashTable.mo
4392dec3fAdrian 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.
8659c1b99Martin Sjölund- Bugfix simplify() - only return true if the expression changed
2ea91aa61Jens Frenkel- CevalSrcipt use BackendDAEOptimize.countSimpleEquations for checkModel (speedup testsuite)
2aab27523Jens 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.
ad9067f32Jens Frenkel- DAEUtil.mo: add function getNominalAttr - BackendDAEOptimze: - add optimisation module to remove unused parameters ("removeUnusedParameter") - add optimisation module to remove unused variables ("removeUnusedVariables")
20a565877Per Östlund- Check for protected or constant elements when handling redeclare.
66c19a3f5Jens Frenkel- add heuristic state selction rule "state=var+param" - Expression.mo: add function traverseCrefsFromExp - fix testsuite
81e3f4930Martin Sjölund- Use @CC@
9139e42ebMartin Sjölund- Add wrapper to traverseBackendDAEExpsEqn to reduce the code needed to maintain the compiler
a544bb6fdAdeel Asghar- Added some keywords to notebook highlighter.
2fd7adb8aMartin Sjölund- BackendDAEOptimize.replaceExp now traces symbolic operations
365c28887Per Östlund- Implemented checks for correct prefixes when redeclaring elements in modifiers. - Added test cases to test the new error messages.
050cb68d9Martin Sjölund- Handle removeEqualFunctionCall for unary minus properly
b23f6149dMartin Sjölund- Force 64-bit double precision only for the files that require it
ba3c5deecMartin Sjölund- Fix compilation
b97d88bafJens Frenkel- use fixed attribute for stateselection (fixes msl31/simulation)
8cf994c19Per Ö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.
487f7a748Martin Sjölund- Some extra type-casting for C++-mode
601d72329Willi Braun - added bugfix for Bug [# 1501] and corresponding testcase - clean up directory mosfiles
b1587761cPer Östlund- Cleaned up SCode.makeEnumType.
2d410db67Per Östlund- Enabled SCodeFlatten by default. - Updated the test suite to comply with SCodeFlatten.
25b333862Jens Frenkel- use derivativeNamePrefix from DAE - use function ComponentReference.crefPrefixDer
5d15256baMartin Sjölund- Use @CXX@ for C++ when linking omc
f0c913cdeMartin Sjölund- Add @CFLAGS@ to more Makefiles - Use gcc instead of rmlc to compile generated C-sources
a35a731beMartin Sjölund- Add tracing of symbolic operations for derivative - Consolidate multiple substitutions into a single operation
ff321a519Niklas Worschechadd CMakefile to build generated Modelica System
bbf48c81cJens Frenkel- speedup implementation of BackendDAEUtil.incidenceRow, around 10% for DoublePendulum example
796d5721dMartin Sjölund#1502 - pre(constant) = constant
69b725a26Martin Sjölund- Track some symbolic operations for index reduction
314463b43Jens Frenkel- remove old unused code
fb700187cMartin Sjölund- --with-paradiseo=yes is now default instead of =check (yes now does what check used to do)
1f5c97c77Jens Frenkel- improve SimulationResultCompare
cfb350e5eJens Frenkel- improve SimulationResultCompare
a79bdd8ecMartin Sjölund- Configure using --with-qwt
1772952f8Martin Sjölund- Added error-messages for invalid lhs of external declarations
cb65eaaf1Martin Sjölund- Types.unparseType now prints the name of T_FUNCTION types - External object constructor/deconstructor is now fully-qualified
31c17a20cMartin Sjölund- Added support for array-expressions used as input to external "C" functions/objects - Support for F77 functions that take arrays
ce32b1dc5Martin Sjölund- Add default declarations of external object constructor/deconstructor
0e07701a9Martin Sjölund- Added a save dialog with support for default file suffix
ca1339ec0Jens Frenkel- bugfix for last commit
a1149532aMartin Sjölund#1495 - Check for buildModel errors instead of warnings
b786569edMartin Sjölund- Fix compilation + tabs
632de6556Jens Frenkel- bugfix infinite loop
8df8bb9f9Jens 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
aa5a7af1eXenofon Florosgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@8729 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1e0e8cd88Adeel Asghar- Now one can open multiple models by passing them as command line arguments - simulation options can be saved in the model
5140748cfJens Frenkel- fix some bugs to extend arrays only when necessary - add msl31 simulation to slowlogs
b8726fbbaAdeel 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
f270b01e1Jens 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
ae4a261edMartin Sjölund- Added some extra checks in SimCodeC.tpl
500d33dcbJens Frenkel- fix some bugs to extend arrays only when necessary - move minmax and nominal asserts to simcode, the check is still done in BackendDAECreate
c8be69467Per Östlund- Added analysis of external declarations in SCodeDependency.
9c258b069Per Östlund- Removed abuse of external declaration to mark class extends in SCodeFlatten. - Added some comments to SCodeFlattenRedeclare.
2ff4d827bAdeel 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.
4516d3f3aPer Östlund- Optimized Component::getClassComponents in OMEdit by quiting earlier if the component inherits from a builtin type.
b4677441ePer Östlund- Changed SCodeFlattenImports to also update and return the environment.
1b682df4bPer Östlund- Changed SCodeFlattenImports to also update and return the environment.
a8cdb537dMartin Sjölund- Use $(MAKE) instead of make (enables parallel make)
0e818d414Martin Sjölund- Use $(MAKE) instead of make (enables parallel make)
c8fbbfd74Martin Sjölund- Use $(MAKE) instead of make (enables parallel make)
d85b7ac71Martin Sjölund- Use $(MAKE) instead of make (enables parallel make)
28aa187d7Martin Sjölund- Improve performance of the Interactive API by adding initial support for SCode caching
555475ed9Jens Frenkel- do not add variables with stateSelect=StateSelect.prefer to states - update testsuite
3ac3548f8Martin Sjölund- OMEdit does not depend on OMNotebook anymore
fc67905e5Adeel Asgharremoved reference of OMNotebook
4cd825563Jens Frenkel- bugfix removeSimpleEquation, do not remove toplevel inputs
47066f282Per Ö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.
d530da38aMartin Sjölund- loadModel(Complex) in OMEdit - Fix unparsing of operator XXX in OMC
872e82963Martin Sjölund- loadModel(Complex) in OMEdit - Fix unparsing of operator XXX in OMC
f47093da3Per Östlund- Fixed indentation of record constructor result parameter in DAEDump.
b31251419Federico Bergero* Implementing discontinuities
d6e7781e5Jens Frenkel- bugfix fmi - add test for fmi export
d02ac0db4Adeel Asghar- Fixed MAC application bundle problem. - No error is shown now if you launch OMEdit in MAC.
66f31fab7Xenofon Florosbug in generating connections fixed
867ffa377Martin Sjölund- Fix SimulationResultsCmp.c (use 2-pass algorithm with only 1 malloc) - Fix some read/write errors (strncmp,etc)
5bdbb7e98Adrian Pop- handle DAE.ENUM_LITERAL in several places where it was missing.
c3e989f80Jens Frenkel- BackendEquation.mo: bugfix equationToResidualForm - PartFn.mo: remove DAEDUmp - SimCode: get rid of BackendDAEUtil.equationList
c5cf5354aPer Ö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.
c9344955cJens Frenkel- BackendDAEOptimize.mo: - add failtrace prints, add missing case for traverseIncidenceMatrixList - bugfix SimulationResultsCmp.c - update msl31 simulate
9c1bc6877Martin Sjölund- Added support for #define-macros used in external "C" functions
d50ad5173Jens Frenkel- bugfix SimulationResultsCmp.c - update msl31 simulate
a96b53541Adrian Pop- sane naming - a missed \" inside Env.mo comment killed the parser (no error).
fed024eedMartin Sjölund- Remove references to Cygwin in the README
4ae387b90Martin Sjölund- Fix compilation on Linux (assert.h) - Expected testsuite results - Remove tabs
fb3dd3a78Jens 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
c436c10c8Adrian PopFixes to bug: #1488 - propagate final correctly to the back-end and the DAE. - testsuite/mosfiles/FinalPropagation.mos
7a7e2c3f6Adrian 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.
468a3d0b4Martin 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
d7292c4a6Jens Frenkel- bugfix SimulationResultsCmp.c - update msl3.1 simulation tests
06cfc2a2aJens FrenkelBackendDump.mo: dump final prefix
1d79b465eXenofon FlorosAdded structure/blocks for zero-crossings and cross-detectors
3acad5dffWilli Braun - added some bugfixes for initialization and update some testcase to currect values
191de02f5Adeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
5510cc625Adeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
6e3dd730fAdeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
d07677e1fAdeel Asghar- New tools. - Few updates in OMNotebook, OMEdit and OMPlot.
677af6194Jens Frenkel- handle events better in SimulationResultsCmp.c
b4673301dFederico Bergero* Updating template for the QSS methods * Conditional compilation of some part of the global data of the cpp file
1dab30d79Jens Frenkel- bugfix simulation_result_mat
20c886092Jens Frenkel- add missing try catch block
6fd9b0914Martin Sjölund- removeEqualFunctionCalls now also finds non-CALL expressions
4f15dd7eeJens Frenkel- BackEnd/BackendDAEUtil.mo: change implementation of updateIncidenceMatrix -> speedup testsuite
2760f3b03Jens Frenkel- add abstol parameter to Simulation Result compare - Bugfix remove Simple Equations (this should speedup testsuite)
4cc96f2a5Martin Sjölund- Changed simplify1 to a fixpoint algorithm - No testcase changed result, but more cases in the backend are now covered
769d81378Adrian 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.
47b0b5f35Niklas Worschechchanged make files for cpp simulation runtime to cmake removed all old build files
1eb0bfbedMartin Sjölund- Fix compilation
1f8430185Martin Sjölund- Added API calls parseString and loadString (analogous to parseFile/loadFile)
9165321a7Jens 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
0b60fe6ceMartin Sjölund- Fix for Windows hanging when trying to parse 0-length files
cff400725Federico Bergero* Updating the QSS structure and c_runtime
c5dd73852Jens Frenkel- bugfix BackendDAETransform: traverseBackendDAEExpsEqn and traverseBackendDAEExpsWhenClauseLst
111bbb6b0Xenofon FlorosDEVS structures generated for NON-discontinuous systems
a6e1a0d23Martin Sjölund- Remove garbage
96f010d73Martin Sjölund#1484 - Do cyclic dependency checks also for conditional expressions of parameters and constants
3b28a1bb3Martin Sjölund- man pages!
d4a649529Martin Sjölund- Added OMPlot man-page
40bcb57fdMartin Sjölund- Changes to OMPlot (more sane interface now)
64a0b3dd7Martin Sjölund- Changes to OMPlot (more sane interface now)
fa17737f9Per Östlund- Fix invalid free.
235f58723Federico Bergero* Updating the SimCodeQSS template
e3ef79516Adeel 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.
5f5917aa3Adeel 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.
699bbd6d5Jens Frenkel- Main.mo: update usage - SimCode.mo: delete unused code - BackendDAEOptimize.mo: delete unused code
929b0c246Jens Frenkel- remove old module removeAliasEquations, functionality is now part of removeSimpleEquationsX
622abd8a5Jens Frenkel- use removeFinalParameters,removeSimpleEquationsX,expandDerOperator as default preoptModules - use lateInline,inlineArrayEqn,removeSimpleEquationsX as default pastoptModules
00f4f9190Jens Frenkel- bugfix for compare SimulationResults , Dymola uses a[1, 2], OMC use a[1,2] (no white space)
394041268Martin Sjölund- Remove the crap known as tabs from C sources
b87231229Martin Sjölund- Fix compilation
f4f60c56eFederico 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)
80f7527a9Jens Frenkel- bugfix read_matlab4.c - bugfix compareSimulationResults
ee36b0854Martin Sjölund- Added OMEdit man-page
875f64c27Martin Sjölund- Added OMEdit man-page
5513ee606Martin Sjölund- Updated the OMNotebook man-page
010fa8778Martin Sjölund- Update the man-pages slightly
537e594b3Martin Sjölund- Installation of manpages (added the old ones from 1.4.5 to svn)
0a0f71b9eMartin Sjölund- Installation of manpages (added the old ones from 1.4.5 to svn)
099cddaf8Martin Sjölund- Made the matlab reader/writer more portable (int32_t instead of int) - Use calloc+free instead of new+memset(0)+delete[]
5a23323feMartin Sjölund- Get rid of warnings
9537409c1Jens Frenkel- SimulationResultsCmp.c: - write result/log file
6012c8cb2Martin Sjölund- Fixed a type error in compareSimulationResults C-function
97e8f1831Jens Frenkel- add function to compare simulation results (May not work yet,ToDo: test,remove debugprint)
74d246c9bMartin 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)
60950a13eFederico BergeroAdding functions to the QSS backend
9cd05e0fbFederico BergeroUpdating QSS templates
bcd0cc1ddMartin Sjölund- Simplify after doing type-conversion
ccdddf944Martin Sjölund#1477 - Generate proper array crefs for a[1].b.c (previously it turned into a.b.c)
027b2999dMartin Sjölund- Added information about the inline operation to SimCodeDump - Solved memory leaks and segfaults for read_csv
52b9f5a73Jens 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
32205946dMartin Sjölund- Added SimCodeC.tpl error when we fail to write an initial value to the text-file
81b7d9806Martin Sjölund- Fix testsuite
9fd9b2eafAdeel Asghar- Added the CSV file reader that returns the list of variables for readSimulationsVars.
b412a5dd7Jens Frenkel- added support for dymola mat files
7d68d0f7eFederico Bergero* Adding an extra argument to the template function to pass QSS info
469933933Federico Bergero* Updating the QSS template and adding functions declarations in the SimCodeTV
d768433f7Federico Bergero* Adding functions needed by the template for QSS methods
ad5ea08c0Martin 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--
f115acf78Martin Sjölund- Added simulate() option cflags = "" - Also added a field for this in the OMEdit simulation widget
772acb996Martin Sjölund- Added simulate() option cflags = "" - Also added a field for this in the OMEdit simulation widget
059b1a648Jens Frenkel- BackendDAEOptimize.mo: - replace in all equations exclude the "der(a) = b" equation der(a) with b - add module to remove final parameters
8af055893Martin Sjölund- Disable running perl on normal simulations
6e087b407Martin Sjölund- Unescape comments in Interactive.getClassComment
e3b014323Martin Sjölund- Class comments
b0d15c480Martin Sjölund- Add class comments in Susan-generated code
52d2d1bedMartin Sjölund- svn:keywords
9f2f24d99Martin Sjölund- svn:keywords
d065ef7deMartin Sjölund- Some class comment changes. Some svn properies set.
c1c5a6465Martin 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
9e45c4649Martin Sjölund- Added support for variables with quotes in the name
0473f21d5Martin Sjölund- Added support for variables with quotes in the name
43dcd1fbdAdeel Asghar- hopefully a final fix for linux settransformationorigin problem.
391717ecdAdeel Asghar- another try to fix some linux issue.
65c6b41dfAdeel Asghar- trying to fix some linux issue.
ee8a9fb64Adeel Asghar- some more updates - fixed zooming and sizing issue of plotting.
03ab28bf0Adeel AsgharBug Fixed #1462 - OMEdit now always send absolute path to omc. - Also fixed the OMEdit performance issue.
b2529a810Martin Sjölund- Added missing icon from last commit
2ffcbc36cMartin Sjölund- Added OMEdit support for instantiateModel - Added a QString unparser that works (not just removes first and last char)
e5391b2b3Martin 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
b5bd9797eMartin Sjölund- PlotWindow now uses time as index=1, so the scale is correct
b96c79fbeMartin Sjölund- PlotWindow now uses time as index=1, so the scale is correct
422ebcd08Martin Sjölund- Store negative alias variables in a separate array in the Matlab reader
09e6d3144Martin Sjölund- Fix for mat-files that contain alias of the time-variable
ae30379faMartin Sjölund- Fix indentation (no tabs!)
455641da3Jens Frenkel- improve matlab file writer/reader to handle alias variables accurate
961ceaed0Adeel Asghar- Fixed exception throw problem. Using QApplication::notify now. - Fixed the shared memory problem.
da0326610Martin Sjölund- Added support for plot(der(x)) type-checking
76956c446Martin Sjölund- Made System.spawn return 0 on success in Linux - Added sane minimum width/height for OMPlot
98e8aef82Martin Sjölund- Made System.spawn return 0 on success in Linux - Added sane minimum width/height for OMPlot
8fa923c36Martin Sjölund#1472 - Fixed wrong solving of expressions where one factor is 1/x - See testsuite/mosfiles/TestSolve.mos
875e474cdMartin Sjölund- Print some more debug information
ea5c2849aMartin 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
5e72d747dJens Frenkel- bugfix simulation_result_csv
1bc9bba4cJens Frenkel- BackendDAEOptimize: -improve merging of start values
4f4a3e47dPeter FritzsonUpdate of template programming guide. empty lites, hasindex, fromindex, import of template files, error location
594521e39Pavol 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).
ba7d37d54Xenofon Florosprints removed
1af3c9da2Xenofon FlorosDEVS Structure generation for NON-discontinuous models (probably correct)
66b1de93cMartin Sjölund- Disable type-checking of functions in the CORBA loop
e705affe8Martin 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
43d582e49Per Östlund- Some small fixes in SCodeFlatten.
bc9497a0cMartin Sjölund- Run simplify on any algorithm statement generated
dd0346243Martin Sjölund- Fix compilation on any real OS
14f63d362Jens Frenkel- BackendDAEOptimize.mo: - removeSimpleEquationsX now removes all time independent equations
5f9defac3Adrian Pop- updates to mark-and-sweep GC c_runtime/meta_modelica* - fixes for VS to Compiler/runtime/systemimpl.c
8cc78cb75Adeel 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.
dc73d9c8bAdeel 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.
f70117b04Adeel 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.
d3ad836fbAdeel 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.
410b0c70bJens Frenkel- Bugfix removeSimpleEquationsX, now testsimulation passes all tests
a3b28a14dMartin Sjölund- Disable simplify after elaborating reductions
67a0281d0Martin Sjölund- Disable running simplify after each unary elaboration - Traverse each instantiated equation using simplify1 - cevalIfConstant on VAR variability expressions now does simplify1
f647c6aacMartin Sjölund- Disable running simplify after each unary elaboration - Traverse each instantiated equation using simplify1 - cevalIfConstant on VAR variability expressions now does simplify1
12953dad3Per Östlund- Fix small mistake in previous commit.
8110c5f59Per Ö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.
c14a5defeMartin Sjölund- Guard against some div-by-zero simplifications
a77f153cbMartin Sjölund- Check result of spawnCall in plot3 case
abaa59938Martin Sjölund- Changed ExpressionSimplify to use traverseExp instead of its custom traversal
a8f22b244Martin Sjölund- Make plot3() match plot() API
1fbab5ed9Martin Sjölund- System.spawnCall no longer waits for the process to finish on Linux
45490d23aAdeel Asghar- Fixed the OMPlot path.
002edb018Adeel 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
73cc6b08fAdeel 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
0c30aa889Jens Frenkel- Bugfix removeSimpleEquationsX
afbac907aMartin Sjölund- Use OPENMODELICAHOME/bin/omc instead of OPENMODELICAHOMEbin/omc
d982adc7aFederico BergeroFixing indentation (using spaces)
202d14e97Willi Braun - added bugfix for parameter initialization and activated the testcase - added and changed some debug flag in matrix.h for LOG_NONLINSYS
4db34f5acMartin Sjölund- Remove tabs from sources
2008434d6Federico BergeroAdding functions to the QSS Backend
45344cdb1Federico BergeroAdding function UpdateDiscrete
b46b438bbPer Östlund- Fixed SVN info for SCodeDependency.mo.
3235bfe3bMartin Sjölund- Make code pretty
6c26094d8Per Östlund- Removed unnecessary key check in BaseHashTable.get1.
24fcd2b02Martin Sjölund- Made code pretty
f3cff4e67Martin Sjölund- Flat Modelica now uses "and, or, not" instead of "AND, OR, NOT" - This is to match actual Modelica syntax
621ea261aMartin 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)
d2e1d2d25Martin Sjölund- Remove tabs
e44a35814Adeel 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.
d05837c4cAdeel 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.
ff13e7e50Jens Frenkel- BackendDAEOptimize.mo: - bugfix removeSimpleEquationsX
cc416738eMartin Sjölund#1467 - Disable envCache by default - Performance not affected - Added previously non-working testcase Constant12.mo
0aa00ea2eJens Frenkel- Bugfix removeSimpleEquationsX - Bugfix initialisation c_runtime windows - Util: bugfix arrayMapNoCopy_1 - add testcase testsimulate
011d188bcXenofon Floros- updates to BackendQSS.mo
ead962b34Xenofon Florosmodified the SimCode.callTargetTemplates to include correctly the generation of extra info needed for QSS simulation
bd1033a98Jens Frenkel- do not generate code for constant startvalues
1f708d6c0Jens Frenkel- improve BackEnd/BackendDAEUtil.updateIncidenceMatrix
6d5d46015Martin Sjölund- Indentation
ebc9dc0f5Martin Sjölund- In unelabMod, call simplify before trying to unelab the expression
5bd5f683fPer Östlund- Fixed infinite loop in Inst.updateCompeltsMods for Media models. - Added more redeclare test cases.
00b44917fMartin Sjölund- Started removing assert(true, ...) from algorithm sections (functions)
9ed78954eJens Frenkel- Bugfix removeSimpleEquationsX
102967442Martin SjölundNew runtime option (instead of debug-flags): $ omc +simCodeTarget=[C|CSharp|QSS|...]
56fd274cfJens Frenkel- BackendDAEOptimize.mo: - bugfix removeSimpleEquationsX
cc945f641Willi Braun - fixed Bugs in AliasEquations for clean testsuite - added testsuite case to call only simulation tests
66cc37a3aMartin Sjölund- Fix bootstrapping compilation
7e24d46b5Martin Sjölund- Removed tabs from sources
73eda7385Martin Sjölund- Fix clean compilation of OMEdit
f3d37bcfbMartin Sjölund- Removed "getUniqueColor" from OMPlot as it is bad; use an HSV color map instead
a0b006fb7Martin Sjölund- Also add the legend for parameters
0dbeef007Jens Frenkel- BackendDAEOptimize.mo: - bugfix removeSimpleEquationsX, use var direct to update aliasVars - SimCode.mo: - use flag "qssinfo" to generate structure code QSS
56f845923Jens 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
dcc8c7681Jens Frenkel- continue to reimplement remove simple equation stuff using information of the incidence matrix
0f90cf3acJens Frenkel- continue to reimplement remove simple equation stuff using information of the incidence matrix - Util.mo: add function arrayMapNoCopy_1
a7c1a9d49Xenofon FlorosDEVS structures added
1c5d117a3Federico Bergero* Functions to replace zero crossings on whens * Functions to replace zero corssings on equations
60e920591Federico BergeroUpdating QSS template code generator
58a1b1408Alexey LebedevUpdated a document
16e9fb010Jens Frenkel- continue to reimplement remove simple equation stuff using information of the incidence matrix
a2ae4e711Adeel 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.
44887c49aMartin Sjölund- Fix compilation of OMEdit - Renamed typo of filename
966471baaMartin Sjölund- OMPlot now at least displays an error if it fails to save a file
9965e4463Jens Frenkel- start to reimplement remove simple equation stuff using information of the incidence matrix
ce6fd3debMartin Sjölund- fill() is not a valid MetaModelica call (fix for bootstrapped OMC)
312f27176Martin Sjölund- Added ElementSource to some of the SimCode eq-systems
1110df9e9Jens Frenkel- DAEQuery.mo: delete functions varList, vararrayList and vararrayList2, using BackendDAEUtil.varList
236ad3ec6Jens 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
f1c5aae5dWilli 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
e86bba97dAdeel 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.
90e1efdabXenofon FlorosAdded functions to split equations for each state variable
4b55dd75eWilli Braun - bugfixe for generation of jacobian variables
c0ccd696cWilli Braun - fixed bug in last commit - added AliasEquations testcase
5995f48c3Martin Sjölund- Use the configured CXX also in the generated code
b37aa8a8fMartin Sjölund- Accept CC/CXX flags in more files
d4ef0587bMartin Sjölund- Support CC/CXX flags in Parser/Makefile
6903d1dceMartin Sjölund- Use -lf2c on OSX since -Wl,-Bstatic doesn't work with the OSX linker
66f5d2236Haris KapidzicSmall fixes
ac6c3a1c7Martin Sjölund- Fix some compiler warnings
e7fb28855Jens Frenkel- SimCode.mo: remove case local declarations, use names of record items for match case, user ComponentReference.makeCrefIdent
d30077e29Jens Frenkel- delete BackendDAEUTil.daeEqns use BackendEquation.daeEqns - delete Expression.getCrefFromExp use Expression.extractCrefsFromExp - SimCode.mo fix Warnings (local Declarations)
34063dc8aMartin 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
a4b97ceafMartin Sjölund- Make the preview text editable in the options widget
41441b75dDongliang LiSimCodeCpp.tpl is added. Entry for SimCodeCpp in susan_codegen/Makefile is added.
d74b9fae9Dongliang 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.
8f9314b05Willi Braun- Bugfixes for RemoveSimpleEquations - Bugfixes for Intialization - Support for Alias Vars in result files
9f6997430Adrian Pop- fixes to boostrapped compilation
13bdba976Adrian Pop- fixed the boostrapped compiler compilation.
f0baebb10Adrian 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
99283e06dPer Ö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.
95e550f6aMartin 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)
933828bf9Martin Sjölund- Added pure/impure to the parser. Fixed the column-numbers of some lexer errors.
18b749245Martin Sjölund- Added warnings for numbers that have the form .XXX (they should be written 0.XXX according to the specification)
b3c3a9534Jens Frenkel- optimise tearing algorithm
ed3c70088Martin Sjölund#1434 - Rewrote the OMEdit OptionsWidget to use QSettings API
8cec25085Adrian Pop- removed duplicate target for SimCodeQSS.mo
3e8cc6dfbJens 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
932f82c92Martin 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
fb4943362Martin Sjölund- Fix multi-line strings in the OMEdit ModelicaEditor
3e73985c2Jens Frenkel- uncomment debug print
ad338da44Xenofon Florosinitial qss packages
145af3b8eFederico Bergero* Adding a BackEnd implementation for QSS solvers
751cc0087Federico Bergero* Adding the template to the QSS solver target
3daead3a4Martin Sjölund- Fixed single-line string literals in the OMEdit ModelicaEditor (allow \" inside the string; don't do greedy matching)
f3ad84d5cPer Östlund- Changed popTimerStack in systemimpl.c from double to void, since it doesn't return anything. - Added missing RML_TAILCALLK(rmlSC) to System__setDataPort.
d4a7efb80Martin Sjölund- Added System.timer functions to bootstrapped OMC
45d5b2429Martin Sjölund- Fix off-by-one error in System.substring
395dcdc2aMartin Sjölund- Fix for corbaSessionName not being NULL as it is supposed to
a7a942330Martin Sjölund- Fix for corbaSessionName not being NULL as it is supposed to
7476b8ea3Jens Frenkel- improve bltdump, dump variable names in the order they are solved
2e11e8a29Martin Sjölund- Add MMC_{TRY,CATCH} to in-functions generated for external functions
a2e1d4c67Martin Sjölund- Add support for Array
4d65f0b76Martin Sjölund- Added support and testing of bootstrapped System.getCurrentTimeStr
34a736c85Jens 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
6f3a55579Jens Frenkel- add script functions to set pre and past optimisation modules, ToDo implement function to get pre and past optimisation modules
5de12e975EDGAR ALONSO LOPEZ ROJAS- Some fixes for bootstrapped System.{substring,regex}
f21a9ed20Martin Sjölund- Removed tabs from sources
5ac85b64cJens Frenkel- simplifyBinary: add case for (a*b)/a = b and (-a*b)/a = -b
4111c1f48Jens 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
0f97b0355Martin Sjölund- Better ./configure --help
00919be57Martin Sjölund#1460 - Fixed noretcall in algorithm-sections
7c3fb86daMartin Sjölund- if-equation to if-expr residual translation now ignores NORETCALL, and prints a warning
4e04df2b5Martin Sjölund- Added support for code generation of M.U.S.substring
22114c6f0Martin 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
5e2827faaJens Frenkel- bugfix tearing,relaxation
407a2ee3cJens Frenkel- add optimisation module inlineArrayEqn, this inlines multidim eqs from type array = array, -> smaller equation systems for multibody models
7c6abda27Jens Frenkel- fix outpus for int and bool from result csv
d9ecb0cc5Adeel Asghar- includepath for local files.
0b4ebcb67Per Ö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.
57741360aMartin Sjölund- Allow \r in the lexer
7792d250fWilli 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.
8b4f5a369Martin Sjölund- ./configure now always sets prefix
758e769daJens Frenkel- ExpressionSimplify: bugfix for simplifyVectorBinary0 - fix first part of testsuite
cf6a74322Martin Sjölund- Deleted svn:executable from some source-files
3069ea40dMartin Sjölund- Fix for when libf2c is installed on the system - Also, don't compile our f2c if it is
a003abd30Martin Sjölund- Support setting CC in c_runtime/
d0054a5caMartin Sjölund- Add make clean for OMEdit
1ba9b64e2Jens Frenkel- do not add function return values, now Pendulum simulates
54373244dMartin Sjölund- Implemented ceval of multiple for-iterators
3607af852Per Östlund- Fixed correct type when instantiating equations where the lhs is a record reference and the rhs is a record constructor.
38b59b208Jens Frenkel- improve annotation evalute handling, now equations from MultiBody examples looks better - do not propaged the dummy fixed attribute, do merge them -> ToDo
a5be963e6Jens Frenkel- BackendDAEUtil.checkEquationSize: add case for BackendDAE.SOLVED_EQUATION and COMPLEX_EQUATION
6cf81dd12Martin Sjölund#1457 - Fixed and added test for using Include="#include " for external objects
46a27d319Jens Frenkel- add check size of equation left and right hand side are equal, use +d=checkBackendDAE
1eab902adPer Östlund- Code generation fixes to get Modelica.Media test to work again after r8322.
7d2fb3c1aMartin Sjölund- Suppress GCC warning
9286934f5Per Östlund- More fixes for set/get global root.
9e82f8183Martin Sjölund- Use error() more in Susan
123de492dAdrian Pop- fixes for set/get global root (they use mmc_GC_state->global_roots, so mmc_GC_state cannot be null.
0f9d6b133Jens Frenkel- bugfix for multibody, generate also code for bind expressions of function variables
678e0015cAdrian Pop- SettingsImpl__getInstallationDirectoryPath and SettingsImpl__getInstallationDirectoryPath now return paths with forward slashes on Windows!
105bcdabdPavol 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, ...)
434028da7Martin Sjölund- Also look for index>0 when evaluating subscripts
f9bc7e469Parham Vasaielyupdate support for dassl2 update communication algorithm between runtime server and environment client update English comments
d3011a703Adrian Pop- possible fix to OMI interactive simulation. - use timeValue instead of lastEmittedTime.
2f3e797fdAdrian Pop- fixes to code generation for MultiBody, generate "world__gravityAcceleration" instead of "world.gravityAcceleration"
98015cdf7Martin Sjölund- Added OSX icon-file for OMOptim (only 256 px resolution as I couldn't find an icon with full resolution)
5b39b94deMartin Sjölund- See previous commit
4e5c37162Martin Sjölund- OSX fix due to GNU-specific command arguments
611d4a90aMartin Sjölund- Fixed compilation/configuration of OMOptim on Linux
7ae03d09aPer Ö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.
32083d958Kristian StavåkerUpdated one document
57380ca4cAdeel AsgharNew OMEdit, OMShell, OMNotebook and OMPlotWindow
3de7c982dAdeel AsgharNew OMEdit, OMShell, OMNotebook and OMPlotWindow
dca55e4f9Martin Sjölund- Added support to change the plot format of the performance analyzer (since PowerPoint apparently does not know that the svg format exists)
291cb2d7aAdrian Pop- fixes for Linux
1d8ff494eAdrian Pop- fixes for Linux
b3c585841Adrian 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.
4a31b87c6Martin Sjölund- Off-by-one error
a8484fb5fJens Frenkel- remove alias variables: merge var direction - BackendVariable.mo add functions etVarDirection, used for merge var direction
858e26831Adeel 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.
57cc4eaf9Martin Sjölund- Reverted change to main.cpp in r8278
b4b62ebd4Willi Braun -fixed the bug, that breaks the simulation testsuite last night.
753f997e2Jens Frenkel- remove debug call from wrong possision
b9aea435bHaris Kapidzicchange color, remove left mouse click from toolbar
2f673afa8Haris KapidzicFixed pan,zoom to work together. Print added.
81ff2294fHaris Kapidzicthe resources qrc file
bec5f0721Haris Kapidzicfixes to OMPlot
c0b753634Jens Frenkel- FMU: do not set default startvalues, this is already done
232d724cdMartin Sjölund- min/max typo :)
e58e26ce4Per Östlund- Propagated redeclare prefix for elements from Absyn to SCode.
4041547e1Jens Frenkel- add platfrom to MAKEFILE_PARAMS - FMU: generate directory from platfrom string - FMU: copy source files and delete others
033ec4165Adrian 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})
b8a7ed523Martin Sjölund- OMEdit compilation on real OS's
592ab3263Martin Sjölund- OMEdit compilation on real OS's
55f711624Willi 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}
53d870f5bAdrian Pop- small fixes so that OMC bootstrapping works!
8b8523503Azam 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.
2c634e105Pavol 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 ..."
76eb52300Willi 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
99d7aedd8Adeel Asghar- Integration with OMNotebook. - Interactive Simulation. (untested) - updated OMEdit version to 1.7.0 - Lots of other updates.
71df6bc5cJens Frenkel- bugfix remove alias equations
4002af628Jens 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
292b23fd3Adeel Asghar- Added the code to get the unique color for each curve.
b24474cd6Per Ö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.
c4ce2274fMartin Sjölund- The performance analyzer now outputs correct XML (replaces invalid characters in XML)
519a8ba16Azam Ziafmi eventindicator fixed, makefile changed to create directory structure.
a00793420Martin Sjölund- MetaModelicaBuiltin now uses List and short syntax (no subtypeof) for all builtin functions
a029c9a48Martin Sjölund- MetaModelicaBuiltin now uses List and short syntax (no subtypeof) for all builtin functions
5f6a1ad93Martin Sjölund- Remove tabs from fmu_model_interface
e70ec3f89Azam ZiaAdded code for eventupdate function.
954dff916Pavol 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:
f7550cfa0Pavol Privitzer- added templateError() imported function to be used inside templates to report an "unexpected template error", usage is like this:
3b0f70ec5Adeel 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.
c7a71fb1aMartin Sjölund- Made the configure script not use [0-9] since [ and ] are special in autoconf
ac1c7fe65Martin Sjölund- Added support for List<> and Tuple<> instead of list<> and tuple<>
7be6070aeAdeel Asghar- updated the OMPlotLib.pro file. - Added files to it.
d55aa1ad4Martin 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
b82acce7cMartin Sjölund- Added support for short form of declaring type variables (MM 2.0) - See testcase Polymorphic2.mos
092bdef19Martin Sjölund- Added support for MetaModelica 2.0 "all wild" pattern REC(__) - Has testcase AllWild.mos
0f85d4948Martin Sjölund- Don't use std::{min,max,abs}; use C99 functions instead since that makes VS-users happy
94684abb6Jens Frenkel- fmu: - bugfix - BackEnd/BackendDAECreate.mo: - generate asserts for min/max/nominal not vor constants
c08919278Martin 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)
b19e00fbcPer Östlund- Fixed lookup of components in constant class array instances. - Added test mofiles/RecordConstant3.
6f22f48ebMartin 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
1920e4532Martin Sjölund- mmc_mk_rcon and mmc_unbox_real now do not use a padded struct for allocation/access of data
0991a6016Per Ö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.
ac2d895b6Adeel 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.
a54686c0cMartin Sjölund#1446 - OMEdit now uses
 for non-html documentation
70807bb0aMartin Sjölund#1446 - OMEdit now uses
 for non-html documentation
49dfc7681Martin Sjölund- OSX /bin/echo does not support the -e flag (GNU extension)
38c1da96fMartin Sjölund- Re-enabled QMake macports workaround (it's still present with default MacPorts CFLAGS)
6441bb648Martin Sjölund- Re-enabled QMake macports workaround (it's still present with default MacPorts CFLAGS)
d5e864193Martin Sjölund- Removed the QMAKE workaround for OSX, as MacPorts has now solved the problem
83d472aadMartin Sjölund- Removed the QMAKE workaround for OSX, as MacPorts has now solved the problem
fac56716dMartin Sjölund- Use DIM_UNKNOWN() when a reduction has a guard-expression
f7e424d89Martin Sjölund- Added a separate project-file for building the OMPlot library and GUI
d02d19c1eJens Frenkel- check Min, Max, Nominal asserts of constant false
f66835684Martin Sjölund- Fixed codegen for reductions using guards (except for array-reductions)
b552466dfPer Östlund- Fixed some issues in the workplan.
0e152c5cfAdrian Pop- updated
39fa6f6d6Jens 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
93b914dbeJens Frenkel- add new functionality: - add asserts for basic types attributes min, max and nominal (see ModelicaSpec3.2 page 46)
f2e258b1fJens Frenkel- fix testmos use trunc/testsuite/mosfiles
fcc64fabcMartin 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...)
424b82bf5Alexey LebedevAdded considerations of processing modifications and equations for non-expanded arrays to doc/performance/NonExpandedArraysDesignAndPlan.docx . Also updated older parts of the document.
12292db48Adeel Asghar- some changes to the .pro file.
b1529ce5fMartin Sjölund- Ceval now handles custom reductions (including guard-expressions)
96c4a767aWilli Braun -Workplan update
98628c046Martin Sjölund- OMPlot now compiles on Linux - Made OMPlot not crash if too few arguments are given
4a1885df4Martin Sjölund- OMPlot now compiles on Linux - Made OMPlot not crash if too few arguments are given
f149e1687Haris KapidzicWorks with qwt-5.2.1 version now.
52ed93dbaJens Frenkel- update Workplan-status-estimates.xls
fc52f5e05Martin Sjölund- Improved Ceval of reductions a bit
064709d14Alexey LebedevUpdated workplan
7fa8201f3Martin Sjölund- Workplan update
adeca3e8cMartin 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
18e8d8bc5Azam ZiaAdded code for getEventIndicator function.
c2312aae8Jens Frenkel- start to remove alias equations from simulation calculation, not yet finished
e442e91d0Martin 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)
3ca1659d2Jens Frenkel- update fmi because of new solver interface
2291fb653Per Östlund- Updated some dates in the workplan.
9872bf464Per Östlund- Replaced workplan with improved version by Oliver Lenord. - Updated workplan.
ed77d99eaWilli Braun- removed old dassl solver - adjust testsuite
9f0dc048fPer Ö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.
980b25af2Per Östlund- Don't remove path prefixes when looking up imports in SCodeLookup if we're in an encapsulated scope.
913f539aeMartin 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)
33cb4eb14Adrian Pop- add missing System.removeFile
45a522b40Adrian Pop- fixed compilation of the bootstrapped compiler
a824af443Martin 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
36910f39bJens Frenkel- bugfix dumpXMLDAE, uncomment generation of Tags hashTb and hashTbOldVars because implementation of dumpXMLDAE is not correct, add a fiew error msgs
dc5f8cc6dPer Ö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.
d3e2bf018Jens Frenkel- Derive: - differentiatetime: add case for records and arrays
3ce145399Adrian 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.
a523ca654Martin Sjölund- Added support for list comprehensions using guards
fd5c9d5a0Martin 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)
9bbe9e75aMartin Sjölund- Rewrote Expression.replaceExp using traverseExpTopDown
83d12977eJens Frenkel- FMU: avoid warnings
efa1adebeMartin Sjölund- Remove tabs from C sources
77ee5f835Martin 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
4ef9549ccJens Frenkel- FMU: - use integer as type for enumerations, until implementaion is not complet - do some more tests, add flag for calculate outputs/dependend variables
c1dc77757Martin Sjölund- Use $TEMP/OpenModelica/ as tmp-dir instead of OMShell/ OMNotebook/
4add998bbMartin Sjölund- Use $TEMP/OpenModelica/ as tmp-dir instead of OMShell/ OMNotebook/
916e7f474Per ÖstlundFix for bug #1438: - Fully qualified parent classes InstExtends.instClassExtendsList2 when handling class extends. - Added test case mofiles/ClassExtends5.
44dd99308Martin Sjölund- Added call count graphs to the profiling report
ab30fc030Per Ö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.
7943317acPer Östlund- Removed Interactive.traverseExp and replaced calls to it with calls to Absyn.traverseExp instead.
a8807711ePer Östlund- Changed fail case in Algorithm.makeAssignment to use failtrace. - Updated test cases.
80505f9cfPer Ö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.
b64b46cb6Martin 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)
2cb3e64e6Martin Sjölund- Some fixes for OMNotebookGUI.pro (Coin if configured using it, etc)
0b1cd57b2Martin 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)
309ba0049Martin Sjölund- Fix OMShell compilation on OSX
deb4dbff2Martin Sjölund- Fixed compilation of OMPlotWindow
f6d365639Martin Sjölund- Fixed compilation of OMPlotWindow
9a1d3566fMartin Sjölund- Fixed compilation of OMPlotWindow
bc015effdMartin Sjölund- Fixed compilation of OMNotebook
8e038e785Martin Sjölund- Fixed compilation of OMNotebook
d7fc6e955Martin Sjölund- Fixed compilation of OMShell (changed paths in makefiles)
37e8d617cMartin Sjölund- Fixed compilation of OMShell (changed paths in makefiles)
30eb505b6Martin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
4ab4fade1Martin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
e073c27a1Martin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
cabc171e0Martin Sjölund- Removed Windows-specific generated files that interferes will other OS'es
68dfc58daAdeel Asghar- Changed the settings of all OM clients so that generatedfiles are created in a separate directories. - Few updates of OMEdit
ae88f9b42Adeel Asghar- Changed the settings of all OM clients so that generatedfiles are created in a separate directories. - Few updates of OMEdit
083ec3b3dAdeel Asghar- Changed the settings of all OM clients so that generatedfiles are created in a separate directories. - Few updates of OMEdit
9e40c974dAdeel Asghar- Changed the settings
564540498Adeel Asghar- Added OMTools, used to built all tools OMEdit, OMShell, OMNotebook and OMPlotWindow
871f1fd8dAdeel Asghar- Added the OMShell resource files
67f5a2bd3Adeel Asghar- Removed VC++ stuff and now mingw is used to compile omnotebook and omshell.
892a4054dAdeel Asghar- Removed VC++ stuff and now mingw is used to compile omnotebook and omshell.
744719f35Adeel Asghar- Removed VC++ stuff and now mingw is used to compile omnotebook and omshell.
ab0dc8cd6Martin Sjölund- Removed tabs from sources
a15e54871Adrian Pop- more updates
7f9d895a3Adrian Pop- update the readmes a bit.
04cedc4c8Adrian 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.
c0d0d6d3cJens Frenkel- fix typo
3e9baabb0Jens Frenkel- improve fmiSetExternalFunction
c4b7b4c89Martin Sjölund- Set OPENMODELICAHOME in Main.main to work around issues with sendData
dad6a1d5dJens Frenkel- use cref because #define A.B is not allowed because of "." error C2008 (Visual Studio)
88befc8caMartin Sjölund- Use vfork instead of Qt's process creation in sendData (on OSX/Linux) as it causes weird issues
366ed4e47Jens Frenkel- implement causality for fmu
daf6f8fe1Adrian Pop- fixes to errors when starting on Windows.
194202859Martin Sjölund- Added missing file
ad122088dMartin Sjölund- Improved configure finding qwt when guessing it existing in $PREFIX
17d636bbfAdrian 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.
e6ddb2e10Adrian Pop- fix the gnuplot on Windows in simulation_modelinfo.c - get rid of the warninging in simulation_result_mat.cpp
cf3e03871Martin Sjölund- Hardcoded xsltproc and gnuplot paths for simulations on Windows
a05f00982Adrian Pop- fix Linköping - fix missing %s in print.
55a301244Adrian 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.
c2c31c5e1Martin Sjölund- simulate option measureTime=true is now working; testcase MeasureTime.mos has been added
ccbc97ebaMartin Sjölund- Added configure checking of libqwt
a80e39aa7Martin Sjölund- Added configure checking of libqwt
8528f87b3Martin Sjölund- Removing qmake-generated Makefile from svn as it will conflict with Unix OS'es
0b05027f5Martin Sjölund- Fixed the field names of DAE.ExternalDecl (the names and types were off-by-one since the translation from RML)
f9b5640a2Haris KapidzicOMPlot 2D plotting tool. Uses Qwt for plotting. Plots .plt .csv and .mat files. Supports plot, plotAll, and plotParametric.
e35732679Jens Frenkel- compile dll for fmu
b605a2191Martin Sjölund- Fixed line endings of several files
25f0b5794Martin Sjölund- Fixed line endings of several files
f04455326Martin 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
c80960148Martin Sjölund- Removed tab from fmu_model_interface.h
d908592b2Azam ZiaUpdated variable ids for c and xml files.
e387022e5Jens Frenkel- get first fmu example running (no event handling)
f4749463dMartin Sjölund- Added simulate() option measureTime=false - Not used for now, but will replace the -mt option of simulation executables
e0f32bf01Martin 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
2ccc988cdJens Frenkel- update c_runtime/CMakeLists.txt - fix bug for FMU DefineDerivativeVariables no ";" at the end of derivatives
f9b8da9d8Martin Sjölund- Removed unused CevalScript functions
03b43735fMartin Sjölund- Don't use globalData in modelinfo.c
e186a008aMartin 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
dd89f9da8Per Ö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.
fca7b301bMartin 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)
4c043e587Jens Frenkel- remove unused functionality
f49830edcJens Frenkel- run remove simple equations also in past optimisation phase
9c202be76Martin Sjölund- Time measurements now use a binary format instead of csv (a format description is part of the generated xml)
9f2dcd2a6Jens Frenkel- remove unused code - rewrite collect zero crossings function interface to run it only once(not in lower and matching)
8898c8f3eJens Frenkel- bugfix for MinGW (undef ref to assert)
f370a087cMartin Sjölund- Fix compilation on OSX
6124afecfJens FrenkelBackendDAETransform.mo,SimCode.mo: - remove unused function calls Main.mo - bugfix typo
f10a6fef4Adrian Pop- fixes for MinGW windows
e55546c16Martin 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)
42a3a82eaPer Ö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.
7d828b16fJens Frenkel- first part of new interfaces for equation system pipeline ToDo: DAEHAndler part
8ffaa4d7bPer Ö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.
6942d2021Martin Sjölund- Use .mat outputFormat when using the +s option to command-line omc
920eb526bMartin Sjölund- Fixed compilation on a clean trunk
ded5d0f06Adrian Pop- use PERL=perl instead of PERL=\"perl\" - updates to clients OMNotebook.exe, OMPlotWindow.exe, OMShell.exe
973a06709Martin 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
8de7a45d2Martin Sjölund- Use the new OMShell icon in the application (about dialog, etc)
b1d18ea00Martin Sjölund- Fixed the small resolutions of omshell.icns
41fbce9fcMartin Sjölund- During startup, switch the omc working directory to TEMP/{OMShell,OMNotebook}/ so we have a directory with write access
7462b256aMartin Sjölund- During startup, switch the omc working directory to TEMP/{OMShell,OMNotebook}/ so we have a directory with write access
43260560fMartin Sjölund- Don't let the CORBA implementation free() tempDirectoryPath
73080166eMartin Sjölund- Don't let the CORBA implementation free() tempDirectoryPath
7e30b0160Adeel Asghar- Removed the extra INCLUDEPATH from project file. - New build of OMEdit.
595500c7eMartin Sjölund- Added a better OMShell icon
9cd836275Martin Sjölund- Always filter the dummy derivative from the result-file
448401bd1Martin 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)
dea972f82Martin 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)
04b7dc072Martin Sjölund- Use --prefix as the guess of the omc executable if OPENMODELICAHOME is not given (not all platforms install omc on the PATH)
13a1bf4b0Martin Sjölund- Use --prefix as the guess of the omc executable if OPENMODELICAHOME is not given (not all platforms install omc on the PATH)
41f910b14Martin Sjölund- Use --prefix as the guess of the omc executable if OPENMODELICAHOME is not given (not all platforms install omc on the PATH)
f2c1d042bMartin Sjölund- Install .app's to /Applications/MacPorts
701078fe4Martin Sjölund- Fix compilation of OMEdit
9cc2de7baMartin Sjölund- Updated OMNotebook/OMShell commands.xml
af18aa170Martin Sjölund- Added scalable icon to OMEdit.app instead of the default one
91c8a72afMartin Sjölund- Install .app's to /Applications instead of prefix/Applications
bb4e15391Adeel 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.
d5ac6e4c8Adeel 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.
d2e77eb6bMartin Sjölund- Install .app's instead of executables in OSX
890b6dc70Martin Sjölund- Install .app's instead of executables in OSX
977f37580Martin Sjölund- Install .app's instead of executables in OSX
e42fc636aMartin Sjölund- Install .app's instead of executables in OSX
d9e6a8fd0Martin Sjölund- Fixes compilation of OMEdit when using Qt 4.6.0
e275c992dMartin Sjölund- Only link omniORB statically on OSX; it gives -fPIC errors when building shared objects on 64-bit Linux
a1d04dfc3Martin Sjölund- Fixed a plot/plot2 typo
36bf735b0Martin Sjölund- Statically link omniORB on OSX/Linux
867a83b55Martin Sjölund#1399 - Moved the remaining scripting functions from CevalScript.cevalInteractiveFunctionsOld to cevalInteractiveFunctions2
1738ca1aaMartin 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
41928da12Martin Sjölund- Updated enableSendData(true) to use the variableFilter option of simulate() instead of using the setVariableFilter API call - Removed the setVariableFilter API call
5cb457560Martin Sjölund#1399 - Moved plotParametric{,2} to ModelicaBuiltin.mo
7986a00c8Martin 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()
2719121b0Martin Sjölund- Added support for the variableFilter option when using outputFormat="mat" - This does not filter parameters (this matrix is rather small anyway)
fc2f87fe0Martin 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
ae0fa6cf6Jens Frenkel- Bugfix replaceExp RELATION - use mosfiles-dassl for testmos (cause mosfiles does not exist any more)
bf39adc16Martin 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
f452c9a33Martin Sjölund- Fix compilation of bootstrapped OMC
41c372bf0Martin Sjölund- ModelicaBuiltin.mo formatting
8f9d63fd8Martin Sjölund- Updated documentation with references to the default format of result files
36c394692Martin Sjölund- When calling val() on a .mat file, use the right limit if we find an exact match of a time stamp
dbb175359Martin Sjölund- Call SimulationResults.close() before running a new simulation
7a39a8e7aMartin 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
ab52ae8b0Martin Sjölund- Added support for readSimulationResult using .mat-files - This is ~5x faster than reading .plt even for files with few variables
57334028bMartin Sjölund- Disabled some debug tracing in InstExtends.mo
7693ab6e6Martin Sjölund- Added API call readSimulationResultVars(filename) - The visualize call now uses this functionality (which works for both plt and mat files)
9184a0fd4Adrian Pop- add -lregex to the compilation in Windows.
909f7c1d6Per Östlund- Added function Util.listMapAndFold1. - Rewrote updateComponentsAndClassdef in InstExtends and SCodeFlattenExtends to use Util.listMapAndFold1, to make it tail recursive and easier to understand.
7abfd0de4Martin Sjölund- Added readSimulationResultSize support for .mat format
24b8a3534Willi 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.
6494fa9d7Per Östlund- Improved dependency analysis of crefs in SCodeDependency.
ab5f4afd8Martin Sjölund- Expression.terms now uses an accumulator instead of listAppend
7a2659464Martin 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
547ebc5d9Adeel Asghar- Fixed the size of the MSL search suggestion box.
dc507922eAdeel Asghar- A minor flickering effect is fixed in MSL suggestion box.
69b2b4383Adeel Asghar- Added the suggestion completion box for MSL Search.
eaed403e5Per Östlund- Better handling of class extends in SCodeDependency. - Added test case mofiles/ClassExtends4.
58e39c4adAdeel Asghar- Fixed the text annotation resize problem. Although still requires some improvement.
2fd3f2bb4Sébastien CombelRefactoring design document
6dbfa8407Per Ö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.
5dbf28750Per Ö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.
4558e2859Adeel 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.
ae4c2f2c3Adeel Asghar- Fixed the switch (int) problem.
6615bd1daMartin 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
b4b23497fPer Östlund- Added missing SCodeDependency file.
3d07acba6Per Ö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).
f73b1bfe4Martin Sjölund- Some bugfixes for read_matlab4.c
ea5b1ee4aMartin Sjölund- Added C runtime for reading the .mat format
56c487b1bAdeel Asghar- Added the Search with Modelica Standard Library - Added very basic export to OMNotebook.
1b8cfa6c2Haris KapidzicDeleted unnecessary stuff
49f409db2Haris KapidzicAdded text widget that allow user to specify fontsize and more. Fixed text width further.
818ab5995Martin Sjölund- Fix for .mat output-format on 64-bit Linux (use uint32_t instead of long)
cc2fb5f8fMartin Sjölund- Fix default x-label of the plotParametric command
bae39ab50Martin Sjölund- Calculate better start-values for the init-file by interpreting function calls in the backend
b6ef61defMartin 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
8740ef5bfMartin Sjölund- Added support for boolean min/max operators
805990a27Willi Braun- changed default solver to dassl2 (or from now it's called dassl) - for now old default solver renamed to dasslold
049801c6aMartin Sjölund- Updated users guide (variableFilter option) - Added a ModelicaBuiltin.mo reference to the help text
eb204c4d6Martin 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
c32a130beJens Frenkel- Update CMakeLists.txt files for c_runtime
83123033dAdrian Pop- added README about 3rdParty directory move.
7a87a1a35Adrian Pop- added README about omniORB-4.1.4-mingw
fd27a4645Martin Sjölund- Now runs convert_lines.pl in simulation and function makefiles
ceb9d8aebWilli 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
57316de09Martin Sjölund- Made the code for LibraryWidget a little more extensible
c7c474f78Martin Sjölund- Added stringCharInt, intStringChar boxptr-functions
5b166cb0dAlexey LebedevProcessing of fill(val,dims) with parametric dimensions in the case of non-expanded arrays.
71863724fJens 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.
c1dcbb7b5Per Östlund- Fixed incorrect type when generating if-equation for actualStream. - Added test case streams/ActualStreamCodeGen to test the fix.
4798b5a97Jens Frenkel- add space in init file to number of parameters line, now looks like the others
ed30b830fNiklas WorschechAdded cpp simulation runtime SimulationRuntime/cpp Binaries copied to trunk/build/bin/cpp and trunk/bin/lib/omc/cpp
39f9ad19bAdrian Pop- Absyn.crefHasSubscripts has a new function to check if a component reference has subscripts
3aef3ef63Martin Sjölund- Added check for ClassInf.trans when instantiating equation-sections - Packages and functions containing equations now fail
d98da61dfMartin 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)
8676882c3Adrian Pop- add -lregex for linking in Windows.
dcfef2fc3Per Östlund- Implemented constant evaluation of array reductions in Ceval.
0e380635cMohsen Torabzadeh-Tariobserver
b62b79373Martin Sjölund- Added regex and regexBool scripting functions, and a testcase
bd0622417Per Östlund- Added support for wildcard assignments in CevalFunction.
375e398b3Per Östlund- Fixed problems with local function variables with flexible sizes in CevalFunction. - Added test case mofiles/FunctionEval10.
684d308b2Martin 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)
b21bfeff6Martin Sjölund- Added scripting function readFileShowLineNumbers - It's implemented in OpenModelica script instead of MetaModelica itself
4535d12edPer Östlund- Added symbol table to CevalFunction.
9154341d4Per Östlund- Fixed correct limits for reductions on 64-bit platforms. - Added simplification of reductions of an array with one element. - Updated test mofiles/NonConstantReduction.
c52165770Per ÖstlundFix for bug #1412: - Removed error message for non-constant reductions. - Added test case mofiles/NonConstantReduction. - Fixed test case mosfiles/val.
6d4cd6094Martin Sjölund- Added Absyn.Info comments for statements in the generated C-code
005aa8816Per ÖstlundFix for bug #1422: - Fixed incorrect type on ranges when doing type conversion. - Updated test mosfiles-dassl2/nonConstantParam and added test mofiles/SimplifyRangeInCall.
2d7a8ce1fMartin Sjölund- val() is now part of the builtin environment
5d8d0ec8bPer Östlund- Fixed proper handling of encapsulated in SCodeFlatten. - Fixed test mofiles/Sequence and added mofiles/Encapsulated4. - Detabbed some comments.
140bca3dbMartin Sjölund- Moved more scripting functions into the builtin environment - Some even have a bit of documentation attached now
a767bd176Per Östlund- Fixed correct scope type when adding new classes to the environment in SCodeFlatten.
d08c03d99Per Östlund- Added support for enumeration redeclarations in SCodeFlatten.
83f902cfcMartin Sjölund- Added support for OpenModelica.Code.TypeName - checkModel can now be represented in the builtin environment
264187dfbPer Östlund- Added flattening of array dimensions to SCodeFlatten.
be6bcd243Per Östlund- Fixed flattening of short class definitions with modifications that depends on the extended class.
6137bfd8fPer Ö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.
9dbc91dc4Martin Sjölund- Propagated cache+env to BackendDAEUtil
d44c008a3Martin Sjölund- Some fixes for compiling SCodeFlatten using bootstrapped OMC
5579ef703Per Ö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.
0909f0ecePer Ö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.
8a15ea471Per Östlund- Fixes for redeclare modifiers in components for SCodeFlatten.
8f4c79604Adeel 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).
fca3700bbPer Östlund- Propagated Absyn.Info from Absyn.ElementSpec to SCode.Element in SCodeUtil. - Replaced print with proper error message in SCodeEnv.checkUniqueQualifiedImport;
5b99a68b8Alexey LebedevModified non-expaned array processing so that DAE.RANGE is not used anymore.
d9dcf7513Martin Sjölund- Added Absyn.Info for Absyn.IMPORT(...)
16a6f00b2Martin Sjölund- Removed some warnings about duplicate variable info being generated by not generating these anymore.
3f0f24654Per Östlund- Better comments and error messages in SCodeLookup.
3285478fbPer Östlund- Implemented better support for match/matchcontinue expressions in Absyn.traverseExpBidir. - Fixed better error messages from SCodeLookup.lookupName.
b9011541dMohsen Torabzadeh-Tarispel correction DrControl, StateSpace.onb
098890ec2Martin 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 ...
21e74d6c6Per Östlund- Implemented better support for MetaModelica in SCodeFlatten.
744f70aa8Martin Sjölund- Added a guard against algebraic types in the Modelica3 parser (list<...> only available with +g=MetaModelica)
5951d7e3cMartin Sjölund- Fixed codegen for some reductions - ExpressionSimplify: + min/max({exp}) => exp + min/max({exp1,exp2}) => min/max(exp1,exp2)
df8e10c39Martin Sjölund- Added Absyn.Info to Absyn.REDECLARE and updated SCodeUtil - Fixed a bug in ExpressionSolve.mo
09601a504Haris KapidzicAdded an text shape and bitmap shape. Implemented functionality to the shapes, (change size, insert picture).
d68edcfffPer Ö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.
186a48fbfPer Östlund- Added simple check for recursive short class definitions in SCodeFlatten, to avoid stack overflows.
99e9e864eWilli Braun- correct a mistake from r7788
6e177f3a7Jens Frenkel- bugfix for BUG-1409 introduced in 7745
8e17c9f19Willi Braun- Bugfixes for generation of jacobian matrix added testcase for that issue
f3fe405e2Martin Sjölund- Added expression simplification for asub of ranges, e.g. (1:2:10)[2]=>3
487f97bd9Per Ö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.
a640039d7Martin Sjölund- Added ceval of more arguments to scripting functions
610c8b6d1Adrian Pop- split SCodeFlatten.mo into several files: SCodeEnv.mo SCodeLookup.mo SCodeFlattenImports.mo SCodeFlattenExtends.mo SCodeFlattenRedeclare.mo
e9026c2cbPer Östlund- Implemented redeclaration of variables in SCodeFlatten.
7cd722c3dPer Östlund- Fixed small mistake in SCodeFlatten that caused compilation to fail.
7375f067aPer Ö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.
06dd617faMartin 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
dc9e35642Per Östlund- Added spliceFunction as a builtin function, since it's used in Modelica.Fluid (it's probably a Dymola builtin function).
2d127f0f7Per Östlund- Fixed bug in SCodeFlatten.qualifyRedeclare where the merged path was incorrect.
0fcde286aPer Östlund- More redeclare fixes in SCodeFlatten.
487c201e8Adrian Pop- builds of clients using VS - small changes to make VS compile some files.
37300d47cAdrian Pop- builds of clients using VS - small changes to make VS compile some files.
b1a94324cMartin Sjölund#1399 - Removed set/getClassNamesForSimulation from Interactive.mo - Moved strictRMLCheck() API call to CevalScript from Interactive
3ff621713Martin 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
24cdc00fbAdeel AsgharChanged the about text.
13f57d124Martin 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
06757b02dAdeel Asgharanother try to remove tabs form the file.
31830a67cAdeel Asgharremoved tabs form the file
1e272b6f1Adeel AsgharFixed the cells cut & copy bug.
1fd271475Martin 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)
359dce1e1Lennart Ochelfixed handling of known variables for symbolic jacobian
6d93004b6Martin 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
de971455dJens Frenkel- bugfix for r7745
31a72ac43Martin Sjölund- More inline calls
2c6a6eeb4Martin Sjölund- Cleaned up boxptr-functions for record constructors
6524d68f0Jens Frenkel- perform remove simple equations also for removed equations - check if there are inputs insight the parameter equation candidate
6597f8487Martin 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)
7b83fd41fMartin Sjölund- Moved elabType of "complex" types that have a regular base type (no longer uses a slot in the memory)
0e97306a2Martin Sjölund- Added inlining of Util.if_
1bdae17eeAlexey LebedevImprovement in non-expanded array processing; new testcase.
6cf97d712Martin 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
83125e9b5Martin 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
92d5d031dWilli 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
73ce75c86Martin Sjölund- Removed more Builtin.isXXX functions (Modelica.Math.min/max/cross/transpose do not even exist!)
b7d1f952dPer Östlund- Fixed handling of redeclares in variable modifications and extends clauses in SCodeFlatten lookup. - Ported optimizations from Env for the AVL tree to SCodeFlatten.
b90a913daMartin 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)
a6fc8daceMartin 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
70f444bb3Martin 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
8d6fbe077Martin 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)
b725b2e3fWilli Braun- modified comments for findZeroCrossing
9d8fddaf7Martin Sjölund- Fix Dynload sending boxed reals on OMDEV
53dd8459eMartin SjölundChanged impl. of boxed reals for OMDEV
eeb50b327Martin Sjölund- Fix meta_modelica_gen_string_lit.sh for Windows
cc0a0d3c5Willi 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
7e046aad7Martin 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)
12cb779e8Per Östlund- Fixed bug in SCodeFlatten where for-equations didn't create a new scope. - Implemented support for class extends in the SCodeFlatten lookup.
f741d6767Martin 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
f55523c05Martin 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
0add8133dMartin 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
7b76dc394Martin 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)
365d36ea0Martin Sjölund- Display "no classes loaded" instead of instantiating builtin class OpenModelica when calling OMC from commandline
e5c0caaa6Martin Sjölund- Don't disable ceval of builtin functions when +d=rml is activated
1229bcb9fMartin Sjölund- Split setsEqual into multiple functions
e3e57c70aMartin Sjölund- Rewrote crefPrefixOf, crefEqualNoStringCompare and setsEqual using match instead of matchcontinue (~20% speedup of checkEngineV6_analytic for bootstrapped OMC)
21a4faf0aMartin Sjölund- Removed DAE.ExpType from DAE.LIST/CONS - Added some expression simplifications for MetaModelica (cons, listReverse, listAppend)
381791690Per Östlund- Fixed Static.makeASUBArrayAdressing so that it doesn't create unnecessary ASUBs. - Added test case ArrayIndex2 that tests indexing of arrays with arrays.
cb757c5b9Martin Sjölund- Changed malloc.h to stdlib.h since malloc.h does not exist on OSX
04e43da67Martin Sjölund- Removed some useless stuff from Builtin.mo
57a2a1c4aMartin Sjölund- Avoid gcc warning about malloc being implicitly defined
bb7b666ffPer Ö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.
860d89202Martin Sjölund- Use initialized data in rtclock.c on Windows/OSX
91b6d0f62Martin 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)
ff158d25aAdeel Asghar- Added the omniORB 4.1.4 compiled with mingw. - Added the PSD's used for OMEdit icons.
9f7b6288aMartin 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)
2d6c77685Martin Sjölund- Added support for expanding the number of RT clocks during runtime
94241c8a0Martin Sjölund- Fix some gcc warnings for mmc_mk_bcon, etc
2d5115fe2Martin 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)
7026706a3Martin SjölundFix rtclock compilation on OMDEV
6526b397eMartin Sjölund- Moved rtclock from Compiler/runtime to c_runtime - Started using the rt clock to do time measurements in simulations
3be780f5cAdeel Asghar- Added the View Documentation button in the StatusBar of models.
74fba7ec1Martin Sjölund- Added the tests for doing compiling bootstrapped C-files separate. - The file does not link due to referencing previously unused external functions
c3673a52aMartin Sjölund- Added file missing in last commit
597b34dd1Martin 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
eb41dbe88Martin 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)
cf2900c5cMartin Sjölund- Added support for inlining code that has function pointers as input
a81dd749eMartin 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
d8d188bd9Martin 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)
37b8d394eMartin Sjölund- Tabs to spaces
2a2773566Martin Sjölund- Tabs to spaces
eed9d43e1Martin Sjölund- Tabs to spaces
3a29506a5Martin Sjölund- Reverting tab changes to Template/*.mo as Susan needs them
4236ad05bAzam ZiaWorking copy for setstartvalues function
7557fc461Azam ZiaAdded code for initialize and setstartvalues function.
391e07f96Martin 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)
526721bb2Martin 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
a03358fe2Martin 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
441450c9aMartin 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
19223511aMartin 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)
067386cfbMartin Sjölund- Removed more unused local declarations
e6a88b74dMartin Sjölund- Removed ~30 more unused local declarations
3923591b1Martin Sjölund- Removed a few hundred more local declarations
b1633d9e1Martin Sjölund- Removed another ~1800 local declarations
e38940cf6Martin Sjölund- Removed another 1014 local declarations
e8fd45ed6Martin Sjölund- Removed 138 more unused variables
bd8db466fMartin Sjölund- Removed 1213 unused variables (automatically, using testsuite/bootstrapping/refactor-mc-to-m.sh)
2ba0e58b7Martin Sjölund- Added debug flag to disable moving the last statement of a match case into the result expression
dabab7b9eMartin Sjölund- Added debug flag to not remove as-bindings from case patterns if they are unused
d8c14bd6bMartin 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
f8d81a29fMartin Sjölund- Added pattern simplification (mostly tuples that do not match against anything; they can be replaced with a single wildcard pattern)
9f4ab8af0Martin 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
365cde402Martin 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
f660cf5a5Martin Sjölund- OpenModelicaBootstrappingHeader.h now uses constants for records without fields
a3af0e565Martin 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)
35804023fMartin Sjölund- Use Static.makeBuiltinCall in more places
eebc8d9c4Martin Sjölund- Some more Makefile dependencies
1f34bff1fMartin Sjölund- Increased the size of the types memory array
733c42e2cMartin 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
66b0b7a23Adeel AsgharRemoved the testing Message Box added.
58040e2a0Adeel Asghartesting the temp path
3e6c6a195Adeel 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.
d8122c1ceAdeel AsgharFixes for bug #1395 - Added the key bindings for OMEdit.
97766f5cbMartin 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
929edbc78Martin 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
998029534Martin 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
6f37ffb17Martin Sjölund- Added pretty-printing of the cases in match-expressions (which used to be ignored)
f93f6ba7aMartin Sjölund- Improved BackendDAEUtil.treeGet slightly for bootstrapping (more efficient, but not tail-recursive) - Made BackendDAECreate.lower tail-recursive
4292e8406Martin Sjölund- DAEUtil: Stopped using matchcontinue in addComponentType,traverseDAE2,transformIfEqToExpr
fa268c253Martin Sjölund- BackendDAECreate: Add start-binding as eq-binding of parameters without binding.
d6f37991fMartin 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
aca8e5a9bMartin 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.
be2e4a00dMartin Sjölund- Some matchcontinue to match
c44ddfc85Martin Sjölund- Removed the DAEUtil.getAllExps functions (use DAEUtil.traverse* instead)
cbbe3065fMartin Sjölund- SimCode.getCalledFunctionsInFunction now uses a HashTable; this is a lot faster for large functions
13d4651ebMartin Sjölund- Use true = listMember instead of _ = Util.listGetMember
463476f6dMartin Sjölund- Fix System.setVariableFilter
78335a35fMartin Sjölund- Fix order of tokens for the system() error messages
c0130a82eMartin 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!
923375656Martin Sjölund- Fixed continue->match optimization for uniontype patterns - Added a testcase for this
5fcca706bMartin Sjölund- Rewrite of Lookup.lookupMetarecordsRecursive, using HashTable instead of linear search in a list
f38d290f7Martin 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)
3dbe67400Martin 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)
f67498258Martin Sjölund- More match less continue
82d4aa132Martin Sjölund- More match, less continue
390840341Martin 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
1c39d0600Martin Sjölund- Performance improvement for valueEq on strings
26181b828Martin Sjölund- Rewrote listAppend without using listReverse (using 1 malloc instead of 2*n)
029f481efMartin Sjölund- Some matchcontinue to match
0a4ec0a89Martin Sjölund- Replaced Types.searchInMememoryLst with Util.assoc
e9b8cfba5Martin Sjölund- Fix System.getHasExpandable/StreamConnector (output was unbound, i.e. false, in the bootstrapped omc)
764b530feMartin Sjölund- Removed unused (duplicate) code
c8e185b7eMartin Sjölund- Updated multibody tests to use teardown_command instead of system (which sometimes blocks the bootstrapped omc)
a635b8917Martin Sjölund- Made the testsuite deterministic when running bootstrapped omc
46ab4d40dMartin Sjölund- Some matchcontinue->match
383ae1947Martin Sjölund- Improved SimCode.addMissingEquations for bootstrapping (goes from >5 minutes to <1 second for some simulations)
5003f5ed6Martin 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)
f0591263dMartin Sjölund- Added MetaModelica optimization for matchcontinue expressions with only one case (then we use match instead)
3cb39b938Martin 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
18a76a535Martin Sjölund- Rewrote Expression.expEqual using match
b609c343fMartin Sjölund- Rewrite of Expression.factors (using match and an accumulator instead of matchcontinue and listAppend)
58a30eb72Martin Sjölund- More matchcontinue->match
2ee08674cMartin Sjölund- Expression.isConst now does not construct any data, is tail-recursive and does not use matchcontinue
a48b434c6Martin 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%)
89a8bbce6Martin Sjölund- Expression.isConst now uses match instead of matchcontinue
c6e6d25fbMartin Sjölund- More match, less continue
1f6ffe517Martin Sjölund- Added code generation support for Integer()
b871dc97aMartin Sjölund- Added Dynload support to read Values.ENUM as input
c81c742e7Martin Sjölund- Added file MetaModelicaBuiltinImports.mo, containing the renaming imports used by MetaModelica - This replaces the string literal in Builtin.mo
cec38342dMartin Sjölund- Split Builtin.mo. The new MetaModelicaBuiltin.mo and ModelicaBuiltin.mo are now loaded as files instead of string literals.
899831808Martin Sjölund- Made mmc_mk_icon take a long instead of an int (and made sure djb2_hash returns an unsigned number)
b0bb1a559Martin Sjölund- Add setGlobalRoot to Builtin.getInitialFunctions - Give proper error message for type list
d382cc876Martin Sjölund#1373 - Added Absyn.Info to SCode.EXTENDS - Added a warning when extending from a function containing an external declaration
b571b7f62Martin 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
1e36f703dMartin Sjölund- Some fixes for OMShell/OPENMODELICAHOME
3991a5d0eMartin Sjölund- Fixed code generation for integer mod() (previously used doubles, which don't hold large enough integers on 64-bit platforms)
85afab414Martin 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
74937e82bMartin 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)
04a4bd71cMartin 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)
fe21650f3Martin Sjölund- Removed inVars from SimCode.FUNCTION (unused)
3f9e83c73Martin 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
809f69ea2Martin Sjölund- Fixed bugs where constant evaluation/simplification resulted in unboxed expressions
bff745f5aJens Frenkel- parts of rewrite removeSimpleEquations
e39976317Martin Sjölund- Made the list operations always boxed (hopefully), which means code generation could be made simpler
f2fc06172Martin 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
d0cae34feMartin 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
b587517a0Adeel Asghar- Using OMC to get environment variables like OpenModelicaHome and OpenModelicaLibrary.
cdd65f5d5Martin Sjölund- Some fixes for sendData
fefa1ea28Martin 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)
10398a738Jens Frenkel- removesimpleequation - extend parent types if they are from type array or record
89fc3e5f8Martin 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
8c7359cd7Adeel Asghar- Library right click issue solved. - UserManual opening code is updated again (a test for MAC).
6295b4051Adeel Asghar- Library drag implementation is changed. - UserManual opening code is updated.
82dbb7282Martin Sjölund- Fixed code generation for simulations and external functions
3c70ce6d9Martin Sjölund- Improved unparsing of DAE.META_OPTION
5154a2ad8Martin Sjölund- Changed modelica_integer to long, so it is 64-bit on 64-bit platforms
2a4716747Martin 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)
50435f2e4Martin 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.
fa38339f8Jens Frenkel- removesimpleequation - extend parent types if they are from type array or record
8ec587807Martin Sjölund- Fix regeneration of libomcmodpar.a if make clean has been run
62f144628Jens Frenkel- replaceDummyDer: - traverse also WhenClauses and WhenOperators
dd78a7a89Martin Sjölund#1142 - Added a better error message for invalid singleton expressions in the parser
8f38cb308Martin Sjölund- Fix OMNotebook so it does not require OPENMODELICAHOME to be set on Unix
0bceb8da8Martin Sjölund- Fix OMNotebook so it does not require OPENMODELICAHOME to be set on Unix
63a7289c3Martin Sjölund- Fix OMEdit so it does not require OPENMODELICAHOME to be set on Unix
255b32fa6Martin Sjölund- Added support to OMShell to function without OPENMODELICAHOME set
69d23c9baMartin Sjölund- Added Error.mo messages for Derive.differentiateEquationTime
b7634ca82Martin Sjölund- Made semiLinear() and edge() into classes in the initial environment
0734c9de4Martin Sjölund- Fix compilation of Builtin.mo
2898ea959Martin Sjölund- Added parser error for equations containing assignments
b96f068edAdeel AsgharFixes for bugs #1385 #1389 - Fixed the icons extent points bug. - Added the new Type Icon image.
32f1ce529Martin Sjölund- Removed some unused constants from Builtin.mo
7e6178388Martin Sjölund- Added builtin classDirectory as a class instead of type only
63bf40d4aMartin Sjölund#1062 - Added Error.mo messages for invalid when-equations
e9fff2ceaJens 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
379ca1fc3Martin Sjölund- Removed arctan from simulation runtime
cce7b77d2Martin 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
fc9918f1dJens Frenkeladd COMPLEX_EQUATION and INITIAL_COMPLEX_EQUATION to dump2
968922291Martin Sjölund#1387 - calcTinyStep now uses (stop-start) as its basis for choosing epsilon
c53004ff6Martin Sjölund#1384 - Typo in last commit
c79401ec2Martin Sjölund#1384 - Hopefully a better fix for OSX configure woes
5d7b621ecMartin Sjölund#1386 - Changed return type of sign() to Integer instead of depending on the input
80564175dMartin Sjölund- Removed elabBuiltinInteger
8bbc8e020Martin Sjölund- Removed elabBuiltinInitial/Terminal/Sample
0f6c7b0d7Martin Sjölund- Removed some old code
c4efc4b42Martin Sjölund- Removed elabBuiltinFloor/Ceil/Sqrt
2e6fdff59Martin Sjölund#1374 - Fixes syntax error when trying to declare partial functions through CORBA
9f8895484Martin Sjölund#1384 - Fix typo in configure
2a27db514Martin Sjölund#1384 - Fix for building qtclients on MacPorts i386
0d3fed352Martin 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
e4d0a36a8Martin Sjölund- Removed some tabs from omi - Added some dependencies for omi_ServiceInterface.o
ce5f92e63Jens Frenkel- rewrite function makeZeroCrossing without match case
f2eff8980Martin 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
e95a24034Adrian 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.
ae540a66fAdeel AsgharFixes for bugs #1382 #1383 - Fixed the BusUsage example crash problem. - Icon and Diagram annotations for model are now saved.
dc1e0b60cAdrian Pop- cat the testsuite-trace.txt at the end of testlog
c055b5a51Adrian Pop- exit if we cannot connect after we retry 5 times with 2 seconds delay.
a3042af9aPer Östlund- Fixes to make the interactive client also compile on Linux.
2c7648282Per Ö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.
f12dc7c3bAdrian Pop- build also the client for interactive simulation so we don't break it: c_runtime/interactive/client.cpp
6ead96e63Adrian Pop- get rid of warnings, fixes for Linux.
4c78c5a3cAdrian Pop- updates to readmes and interactive-simulation test - added the interactive-simulation to be run with the testsuite - updated SimulationApplicationExample_TwoTanks.zip
a0180581fAdrian Pop- finished the interactive-simulation test.
0eaf4cafbAdrian 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.
ae0246b8aMartin 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
9df144fddJens Frenkel- FMI: compile with extern "C" to get correct names for functions
067603100Adrian Pop- make it portable
10ab6b8dbMartin Sjölund- Add #error message if the Qt version is too low for OMEdit
0bdee4769Martin Sjölund- Hopefully fixes the macports issues that causes qmake to generate erroneous makefiles
773bbeb0aMartin 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
e79449fc8Adrian Pop- rebuild OMNotebook
bf992d089Adrian Pop- create share/omnotebook directory during the omc build
a2fe2ebb9Martin Sjölund- Install the interactive readme to build/share/doc/omc/
c233d2672Adrian Pop- added a README.txt for interactive simulation.
4bfedf1e2Martin Sjölund- Remove valgrind warnings by making sure size!=dest in the memcpy used in simulation_events.cpp
f75b9c029Jens Frenkel- bugfix Backend expandDerExp
2d85a2ce0Martin Sjölund- Fix memory access issues in simulation_events.cpp
4b61e912cMartin Sjölund- Explicitly add -lrt to LDFLAGS if sendData-Qt is specified
50ce8e20eMartin Sjölund- Fix compilation on Linux
ba78a4160Adrian Pop- small fix to make omc MetaModelica filter happy.
a897969d9Adrian Pop- small fix to make omc MetaModelica filter happy.
f1695446aAdrian Pop- do not free something that was not allocated!
f9fc7e5cfAdrian Pop- more zeroing out malloc-ed regions.
632803167Adrian Pop- zero the malloc-ed region.
e6623b896Adrian 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.
fe90b32d5Mohsen Torabzadeh-Tariupdating for MSL 3.1. only E3.4.1 left to do
d39745d5eWilli 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
f36a25baeMohsen Torabzadeh-Tari- update DrModelica
e0028ccffJens Frenkel- update makefile for test msl31 seperate in simulates, notcompiling, notsimulates
3c56e887fMohsen Torabzadeh-Tari- update DrModelica
e42dae2f1Mohsen Torabzadeh-Tari- update DrModelica
868230574Mohsen Torabzadeh-TariCheck the comment
6246b50b9Mohsen Torabzadeh-TariCode replaced. Please check the comment.
7ca1969afMohsen Torabzadeh-TariFixed with "val", check comment.
9a34ec576Mohsen Torabzadeh-TariRemoved the "Parameter" keywords in order to have the plot working.
38ccba06fMohsen Torabzadeh-TariRemoved ; from the End-of-Line of simulate command. This enabled us to view the simulation result.
d75949f8bMohsen Torabzadeh-TariParameters initialized to fix version compatibility issue. Ver. 3.1 requires the params to be initialized before simulation.
cf422a0cfMohsen Torabzadeh-Tarifixed initial values of resistor array. Ver. 3.1 requires default values.
7e5e6287eMohsen 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];
fdc30a079Jens Frenkel- update msl31 tests
db8cd8f7bAdrian Pop- added fmi* to the c_runtime/Makefile.common so they are copied on build to build/include/omc
d2c807c57Jens 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
8c01f33e1Adrian Pop- added fmu_model_inteface.h to the c_runtime/Makefile.common so is copied on build to build/include/omc
014e74257Mohsen Torabzadeh-Tariver. 3.1 compatibility issue with default value init.
3d490d420Mohsen Torabzadeh-TariFixed end tag
ba491aaaeJens 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
459d4941fMohsen Torabzadeh-Tarireplaceable Resistor R1; changed to replaceable Resistor R1 (R = 4); since ver. 3.1 requires default value, otherwise raises error.
a202e1ce0Azam ZiaHeaderfile for fmi c interface.
7f07b918dMohsen Torabzadeh-TariFixed end tag from Point to Point2
cc85229c3Mohsen Torabzadeh-TariFixed Real type of blue to MyReal blue in CorrectColorCode. Fixed end tags of Color2 and Color3 from Color to Color2 and Color3
d0cd6b0eeMohsen Torabzadeh-Tariend tag fixed, Voltag to Voltage
d3830e831Mohsen Torabzadeh-Tariend tag of model name fixed Ciruit to Circuit.
8c750a62fMohsen Torabzadeh-TariSyntax changed from "class Voltage" to "type Voltage".
317dfdffbMohsen Torabzadeh-TariSyntax changed from "class" to "type". Check the comment in code.
6281a2881Adrian Pop- updated dcmotor.mo to MSL 3.1
ccf1214f2Mohsen Torabzadeh-TariSyntax changed. Old one commented and new one added.
eb92fc991Mohsen Torabzadeh-TariVer. 3.1 fix has been referenced. Default value require.
fbf8d5e4fMohsen Torabzadeh-Tariupdating for MSL 3.1
9a040b464Azam Ziaadded code for fmi export functionality
d078e8c50Adeel Asghar- Added the support to open .mo files from command prompt; e.g, OMEdit.exe file_path/test.mo
446bde0ecAdeel 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.
45b28b14cJens Frenkel- add alias Attribute of ScalarVariable for FMU modelDescription.xml
b0624c6e8Adrian Pop- fixes to constant evaluation of substring (Modelica.Utilities.Strings.substring).
13ce3590eAdeel 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.
2ac5b9e92Martin 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)
9e1b0ab10Jens Frenkel- BackEnd/BackendDAETransform.mo - use NONE as variable attibutes for dummyder vars - libraries/msl31/simulate/Makefile - add tests for Modelica.Mechanics.Translational.Examples simulation
51188bff9Jens 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
ee9071819Per Östlund- Added function to Absyn: prefixPath, prefixOptPath and pathToCrefWithSubs. - Finished implementation of the SCode traversing functions in SCode. - Updated SCodeFlatten module.
dcfdd4992Adrian Pop- updated WhiteDecember-milestone.doc and added WhiteDecember-milestone.pdf
f57dbf633Martin Sjölund- Make .depend a non-PHONY target so we don't run make depend twice
c8b9a63cbMartin Sjölund- Some fixes for the build system (call simcode and OpenModelicaBootstrapping.h targets)
7bff6e211Martin 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)
1ab820cfcAdrian PopFixes for task: #1344 - updated omc_profiler and omc_debug targets.
46bf875f3Adrian PopFixes for task: #1344 - Linux part is now updated. - only omc_release is updated, working on omc_debug, omc_profile.
5817f90f4Adrian 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.
37bbd758eMartin Sjölund- ExpressionSimplify: Added rule for "s1"+"s2"=>"s"
3ce5f7233Adeel AsgharFixed the Modelica Text View to Diagram View loading problem.
c17fa4271Martin Sjölund- Added ExpressionSimplify rules - true AND e => e - false OR e => e
94ae72b70Martin 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
9a8534fe2Martin Sjölund- Added ceval for listReverse
c1bf18dfdMartin Sjölund- Moved some more MetaModelica function definitions to Builtin.mo
c28cc0a1cMartin 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
4b8b3a421Adeel AsgharAdded the search functionality in Modelica Text View
473f0b802Martin Sjölund- Moved some builtin Real functions to Builtin.mo
35b051db6Martin Sjölund- Fixed codegen for div() - Moved some MetaModelica builtin functions (Boolean/Integer) to Builtin.mo instead of C sources
58a504317Martin 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;"
3868cbf26Martin 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
03d4f8762Jens Frenkel- use fixed=true for DUMMY_STATE variables for residual equations
275fe1228Jens 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
7601eb76cJens Frenkel- small bugfix for algorithms with no outputs
b77bf0093Jens 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
336f72d05Adeel AsgharAdded the getSimulationOptions API Command Updated the user manual splash screen and version.
08a52f87fJens Frenkel- if subs of componentreference are stripped do not use the type from DAE.CREF to generate a new DAE.CREF from stripped componentreference
ceb627be8Jens Frenkel- if subs of componentreference are stripped do not use the type from DAE.CREF to generate a new DAE.CREF from stripped componentreference
765f03524Jens Frenkel- fix testsuite, incomment states fixed=false als default
3e75fc66dJens 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
54afcbc1bAdrian Pop- updates to the deadline for WhiteDecember-milestone.doc
59c6de909Peter AronssonUpdated WhiteDecember-milestone.doc with status and new estimates.
f326a74baPer Ö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.
0d2ba6b68Adrian 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
4b78eceafAdrian 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.
e5eecce57Martin Sjölund- Alias make testfast = make test. It's not that slow anymore ;)
42ef27e6cJens 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
f57ad0fddJens Frenkel- bugfix for evaluateAnnotation, avoid infinite loop
0933ebd3dPer Östlund- Fixed some syntax errors in BackendDump and SimCode that wasn't caught by RML but by the bootstrapped compiler.
fffd89642Jens Frenkel- bugfix for evaluateAnnotation
a30eed27fJens Frenkel- implement new feature: evaluate parameter with annotation(Evalute=true), see Modelica specification 3.2 chapter 17.3 Annotations for Code Generation, codeGenerationFlag
d06015982Jens Frenkel- start to implement code for the Evaluate annotation. This is used for a lots of multibody examples.
5bd392c07Jens 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.
8d7d7de77Adeel AsgharRemoved wish-list document since Adrian already added it to trunk.
91a22525aJens Frenkel- BackendDAEOptimize.mo, BackendDump.mo - add dump for aliasvariables - BackendVariable.mo - add function varBindExp
6bf8d3ed6Adeel Asghar- added OMEdit wish list
b1ba2c8f5Jens Frenkel- BackendDAEOptimize.mo - implement new features: - remove constant equations from simple equations - add alias variables to BackendDAE.DAE.aliasVars - BackendDAEUtil.mo - add function addAliasVariables
18d67a85aJens 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
7ffa92762Adrian Pop- report an error when file is too large to read into a MetaModelica string on 32 bit platforms.
ad8c207f2Adrian Pop- Workplan-status-estimates.xls updates.
bc6c6f127Jens Frenkel- BackendDAEOptimize.mo - fixe bugs for function removeParameterEqns - BackendVariable.mo - add function setBindValue - SimCode.mo - check also bindvalue for inital value
47332d6bfAdeel Asgharremoved the unused reference of component and Inheritance Annotation.
ec4004c76Jens 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
2b2f8a75fJens Frenkel- BackendDAECreate.mo - lowervarkind StateSelect.prefer as STATE
6d327e000Martin 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
5d7803ce0Martin 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
7ff67f69bMartin 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
24df0def7Martin Sjölund- Fix OMEdit compilation on Linux
576d3d090Martin Sjölund- Fix compilation on OSX using new Qt
45b8a7d03Martin Sjölund- Fix compilation on OSX using new Qt
6503f60acJens 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
6962507eeJens Frenkel- BackendDump.mo - add number of algorithm - SimCode.mo - add case for algorithms to function createNonlinearResidualEquations
36319a6bcJens Frenkel- add {model}_functions.cpp and {model}_functions.h to target
6934e57e7Jens Frenkel- BackendDAECreate.mo - removed unused variable var from lowerEqn - SimCodeC.tpl - add STMT_REINIT (Simulation does not yet work, but code generation)
74b3e9fa0Martin Sjölund- Added function cevalStringAppendList - Added a notebook for basic MetaModelica types
14310bf43Alexey 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
e152352a7Jens Frenkel- fix for bug #1368 - collect zero crossings inside loops using loop variable range
3de867020Martin 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
c4cae3fabJens Frenkelupdate workplan
c1fd2f568Alexey LebedevUpdated workplan
7a3e65278Adeel 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.
f328e3d42Martin Sjölund- Updated workplan
a0b0e693fPer Östlund- Updated workplan.
6dfa3d2f8Martin Sjölund- Fix for -disable-rml-trace configure option
5941b5d2cJens Frenkel- Util.mo add function listIntRange3 - BackendDAECreate.mo start to implement: use the range of for_stms for findzerocrossings and detectimplicit discrete bug-1368
11939bfaaMartin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
3288b93e5Martin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
5e62d3ecbMartin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
c60960883Martin Sjölund- Update makefiles to make parts of the qtclients compile on OSX
667b2cadaMartin Sjölund- Fix for configure (got empty rmlc_bin if RMLHOME was not present)
88163970aMartin Sjölund- OMNotebook now respects LDFLAGS configure flags
16ba9bfb8Martin Sjölund- Search for sqlite3.h in the configure script
786026a7cMartin Sjölund- Search the whole path when looking for rmlc
5cf256d3eJens Frenkel- partial fixes for #1365 - add CREF(componentref=DAE.WILD for simulation case
cabffc1d7Jens Frenkel- partial fixes for #1365 - add basic initial Algorithms support
1eaa978f2Jens Frenkel- use option RTOpts.splitArrays() also in the Backend to avoid extendsion of arrays - SimCode.mo - try to collate the arrays before solving
f4c19c6eeJens 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
3fd934071Jens 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
00cf5067aJens FrenkelPartial fix for #1365 - partial fix for 1365 - BackendDAETransform.mo - get states in eqns from incidence matrix - Util.mo - add function intNegative
bf77a73bfAdrian 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)
2cd93268fJens 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.
46c01a539Adrian 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.
472a8875dAnton SodjaUpdated export to Dymola mat-file format -- also integer and boolean variables are now stored in the file.
d5045e797Adrian 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!
216f94411Martin Sjölund- Allow resizing the OMEdit main window so that it fits on smaller screens
1801082b6Martin 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%
96745727fMartin Sjölund- Simplified some MetaModelica types in DAE.ExpType
b72e5c731Jens FrenkelFixes for #1365 - bugfix for traversingDivExpFinder, now Modelica.Mechanics.MultiBody.Examples.Elementary.DoublePendulum simulates
126049fa0Adrian 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
28b548a45Lennart Ochel- fixed handling of algorithms for symbolic jacobian - added some testcases
191b6bd7cAdrian 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
c657ee0aeAdrian 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.
a73840910Adrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF - remove tabs in some files.
178e9a2bcAdrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF
c5111f1ceAdrian Pop- use Expression.crefExp or Expression.makeCrefExp to create DAE.CREF
7da34553eAdrian Pop- use DAE.CREF directly without re-creating it (with the same values).
0754853daJens 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
7d547f0ccMartin 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
0656f46e8Adrian 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
bbef335caAdrian Pop- fixes for c_runtime/meta_modelica.c
5e3e12fceAdrian 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
b41fed135Martin Sjölund- Inline some MetaModelica data constructors
27c54b93aMartin Sjölund- Inline listEmpty and STRUCT_HDR for records
10cfb3472Martin Sjölund- Some fixes for OMNotebook printing (removed the annoying debug boxes)
8171d2579Martin Sjölund- Fix for Makefile.humbug (use the configured CFLAGS so e.g. -fPIC is used)
85f4086bdAdrian Pop- constant evaluate Modelica.Utilities.Strings.substring - update tests due to changes of SimulationResult record
f45d17e5fAdrian Pop- fix RML weirdness.
3b3fa1dc6Adrian Pop- fix bootstrapping in Windows OMDEV (link sendData when building .dll to get all depends of omcruntime).
8bb667703Adrian 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
858bba678Adrian PopPartial fixes for #1365 - link properly to get tables working. - display the name of the model in the SimulationResult record when failing.
2bdc23d54Martin 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
2f79bb55cMartin Sjölund- Added support for SimulationResult (79/119 mosfiles succeed)
0adb61897Per Ö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.
65666dbbaJens Frenkel- Derive.mo - bugfix der(atan2(y,x))
bb059c3c2Martin 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)
0a27d7eaeJens Frenkel- BackendDAETransform.mo - add BackendDump. Derive.mo - add derivative of atan2
3de1383b5Martin Sjölund- Added Corba implementation for the bootstrapping. Use with caution; OMEdit queried omc so much 8GB RAM used in a jiffy.
7055f3a75Martin Sjölund- Use Absyn.pathString2 in Dynload_omc.cpp (easier code to maintain)
131082046Martin 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)
a3ad87a2cPer Ö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.
394b87b7cMartin 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)
9d8d0b911Martin Sjölund- Fix error in TplAbsyn.mo - Update expected output of testcase SusanTest.mos
1220ef11bAdrian Pop- return on top catch
c6c0839b7Adrian Pop- properly use the old throw for now in Windows (switch to it when working properly)
6c082261bPavol 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
0f6097240Adrian Pop- use the old throw for now in Windows (switch to it when working properly)
b33ff76ddMartin Sjölund- Change MetaModelica try/throw/catch to setjmp/longjmp implementation as it gives a 3-10x speedup
9f047761aMartin Sjölund- Added preprocessor macros MMC_TRY, MMC_CATCH, MMC_THROW to easier change exception implementation in the bootstrapped compiler
8c76e2926Per Östlund- Ported commit 6987 from OpenModelica-1.5.1-Maintenance branch to trunk (fix elabMatrixCatOne to take care of dimensions).
013e48536Martin Sjölund- Remove Absyn.GOTO, Absyn.LABEL and Absyn.ALG_MATCHCASES from the compiler
8aaf0151fPer Östlund- Added flag +orderConnections=[true|false] that enables/disables alphabetical ordering of connections (default true). - Added API calls setOrderConnections and getOrderConnections.
cc8cc3397Martin SjölundPartial fixes for bug #1365 - Fixed generation of invalid C tokens in the generated simulation/function headers
805abaf09Martin Sjölund- Avoid duplicate records with the generated header for bootstrapping if several external libraries use them
7f254f1a6Adeel 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.
ea2cc3c83Willi Braun -Fix for bug in linearize testsuite
2e2d5a838Adrian Pop- added new API getNamedAnnotation(class, name) to get non-standard annotations: getNamedAnnotation(Modelica.UsersGuide, __Dymola_DocumentationClass) -> {true} getNamedAnnotation(Modelica, __Dymola_DocumentationClass) -> {}
0fb261896Martin 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)
ba88cbb9dAdrian Pop- fixes for OMDev MinGW
acabe7bb4Martin Sjölund- Changed the SimCode data structure (RecordDeclaration is now stored in SIMCODE and FUNCTIONCODE instead of in every function individually)
e7e12a0caWilli Braun- update synchronous events solver: dassl2, rungekutta - some bug fixes - remove discrete variables in Algorithms while continuous integration - update some testcases
d8ef1b00fMartin Sjölund- Fix MM listDelete() for index other than 0
42f902b19Per Ö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.
79b98becaMartin Sjölund- Fixed MM listDelete (also handle index 0)
c8df72632Martin Sjölund- Rename Types.ndims to Types.numberOfDimensions (ndims is a Modelica builtin operator and gives us conflicts)
d39eb192eMartin Sjölund- Fix bootstrapping OMC on OMDEV (can't link to non-portable UUID libs; should be rewritten in some portable C way)
c8bb2af6eAdrian 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
41286c7e7Martin Sjölund- Push Absyn.Info through to more error messages (none that are actually tested in the compiler it seems)
f6faa4720Adrian Pop- fix for OMDev MinGW compilation of Compiler/runtime/systemimpl.c
ebcfe5043Martin Sjölund- Fix for Error.updateCurrentComponent (field isReadOnly was always true in the externally defined because the field after it, fileName, was never 0)
e4a9e1d18Martin Sjölund- Print a newline after a version request
07870e4c6Martin Sjölund- Fix compilation on OSX
dce2c55eeAdeel AsgharAdded the basic syntax highlighting code.
8af7fc517Martin Sjölund- Fix code generation for assigning output variables that are function pointers
f3c24dcebMartin Sjölund- Fixed some function definitions so it will be easier to use 64-bit integers in the simulation/function runtime
cc0d56595Martin Sjölund- Fix for intMod (should only return positive results) - Change for realString (same precision as RML so rtest diffs are smaller)
c565abeafMartin Sjölund- Adding missing file Compiler/Unparsing.mo (needed if omc was not already compiled)
8ba1bc71cMartin Sjölund- Fix for parsing of the replaceable prefix in the RML version of the parser
130fe7611Martin Sjölund- Additional fixes for bootstrapping (parsing, etc)
7532ed250Martin Sjölund- Fix the testsuite
db22d3e77Martin 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)
b49446711Martin 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)
1df09553aMartin Sjölund- Started updating the generation of files for parsing (to support bootstrapping)
5ec29c5ffMartin Sjölund- Added OptManager_omc.cpp
b4b4986f8Adeel AsgharFixed a small problem with component's context menu.
42a1391baAdeel AsgharFixed the PlotWidget crash issue. Removed the extra files that are not being used. Modified the code for the Library Icons.
74028d6e0Martin Sjölund- Small fix in Compiler/runtime/Makefile.in (config.h dependency)
7f1bc7c15Martin Sjölund- Fixes for OMDEV
ec69d87cdAdrian Pop- fixes for OMDev MinGW
f71200ed8Martin Sjölund- Implement System.setEnv for System_omc.cpp
4eb4da6e2Martin Sjölund- Update for OptManager.setOption (no more return value since it always returned true)
563d09becMartin Sjölund- Completed implementation of Settings_omc.cpp
4dc54cb53Martin 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
8e22235bcMartin Sjölund- Updated OMShell-terminal to try "omc" if "/bin/omc" is unavailable
82f7a6e88Martin Sjölund- Add the remaining functions in Error_omc.cpp
3bd28c259Martin Sjölund- Implemented the rest of RTOpts_omc.cpp needed for Main_main
363d69a2aMartin 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
3b3e492c6Martin Sjölund- Fix compilation on OSX
152ee105aMartin Sjölund- Added corba and socket stubs to libomcruntime.a
5dc4f976aMartin Sjölund- Added a Makefile.common for Compiler/runtime/
b6dcbbb3eMartin Sjölund- Added libomcruntime.a (stub) implementations for BackendDAEEXT
a158e24baMartin 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
ae489aa83Adeel AsgharChanged the checkModel dialog to textbox. Changed the usermanual path for unix users. Removed the extra omc instance used for library loading.
ba4dde62aMartin Sjölund- More external function implementations
85ebccdc3Martin Sjölund- Implemented some additonal runtime functions for libomcruntime.a
01eaaaf3bMartin Sjölund- Added more external functions for System_omc.cpp
dbdf0f489Martin Sjölund- Implemented libmodparomc.a (the stub version of modpar)
b7290ea0eMartin Sjölund- Implemented UnitParserExt_omc.cpp
d70d44ecfMartin Sjölund- Implemented UnitParserExt_omc.cpp
68ad0d3e4Adrian Pop- fixes and tests for updateComponent
173dd4d22Adrian Pop- fix Compiler/runtime/systemimpl.c for MinGW.
d80f5a865Adeel AsgharAdded the user manual and about OMEdit in the OMEdit menu. Created a doc folder and added the documentation files in it.
e04f2b19aMartin 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
ad219abafAdeel AsgharAdded the component attributes widget. Updated the Modelica Documentation view. Added the status bar to project tab.
cbdc3b5d3Martin Sjölund- CevalScript.generateFunction now only generates code for the calculated dependencies
f351665beAdrian Pop- renamed DAEEXT.mo daeext.cpp to BackendDAEEXT.mo BackendDAEEXT.cpp.
0e44d3216Adrian Pop- removed Compiler/test_codegen as is not used anymore since A LONG TIME NOW.
306f7dcceAdrian Pop- removed old files for generating/checking RML based signatures.
a25e64237Adrian Pop- small cleaning, running make in Compiler/rml2sig is not needed!
86c622a6eAdrian Pop- moved Compiler/WhatDoesNotWork.html to doc/administration/WhatDoesNotWork.html
969a3925dAdrian Pop- moved RML->MetaModelica translation tool from Compiler/rml2mmo to /tools/rml2mmo
17d5c828aAdrian Pop- deleted very old report (even in Swedish)
b5560011aAdrian Pop- moved old Compiler/tools/rmldoc tool to /tools
dd0ae4955Adrian Pop- do not use -ansi when compiling the code as strdup is not ANSI!
864a2ddfdMartin 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
e80dce912Martin Sjölund- Fix typo in BackendDAEUtil (broke bootstrapping but not RML)
7e8bf7e7fMartin 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
15052ddcdJens Frenkel- reimplement some functions using not equationList and travese the array of equations directly
306b59c2bJens Frenkel- reimplement some functions using not equationList and travese the array of equations directly
d4dc6015bJens Frenkel- reimplement one functions using not equationList and travese the array of equations directly
1320b02c7Jens Frenkel- reimplement one functions using not equationList and travese the array of equations directly
29023cb9cPer Östlund- First revision of the new SCodeFlatten module. It's not used yet.
c3c75be3aPavol Privitzer- Susan updated tests to be all OK - C# codegen for non-linear strong components
e2bbc5b44Martin 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
efe933268Martin 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
0e522bb4eAdrian Pop- fixed a small bug with the check for DynamicSelect/OnMouse* in annotations.
421a1d79aAdrian Pop- update version to 1.6.0
8b1999743Adrian Pop- latest build.
914bdf674Adrian Pop- latest build.
43e2c380aMartin Sjölund- Fix warning in Settings_rml.c
ea3a33e7bAdrian Pop- added a new function interactive renameComopnentInClass that doesn't do instantiation.
ccd240d50Adrian 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
c74784414Martin Sjölund- Disable SQLITE3 linking on Linux (keep the configure line there but commented out in case we need it in the future)
8dccb913dMartin Sjölund- Added configure feature rml-trace (to be disabled by the Debian/Ubuntu builds as the executable shrinks 5-6MB)
429e01ec4Mohsen Torabzadeh-Taritrying to fix the initial equation problem in impulse response
a72f6b281Per Östlund- Fixed propagation of enumeration indices when connecting arrays. - Fixed connections with multi-dimensional arrays. - Added test case mofiles/ConnectEnumArray.
92b0ff2f4Mohsen Torabzadeh-TariDrcontrol
2798b5a50Adrian Pop- fix Linköping, the pour ö gets shredded to pieces sometimes.
6f047428eMohsen Torabzadeh-Tariupdating DrControl.onb
cbd0fe503Mohsen Torabzadeh-TariUpdating DrControl
4e5629d7eAdrian 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
bfc53f120Martin Sjölund- Fix for System_writeFile
fd38f92f2Martin Sjölund- Update some external definitions in System.mo
01c3abefdMartin 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)
d0e41870bJens Frenkel- BackendEquation.mo add function traverseBackendDAEEqnsWithUpdate - BackendDAEUtil.mo add function traverseBackendDAEArrayNoCopyWithUpdate
5daa72b69Martin Sjölund- Fix System.time for bootstrapping
b2f34f557Martin 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)
e94da17b8Adrian Pop- delete .mo files on clean - fixes to Compiler/omc_profiler/Makefile.omdev.mingw to link correctly.
21a9be2e6Adrian Pop- ConnectUtil.mo: small speedup by verifying face first, then the others - SimCode.mo: small comment.
af2a3cd38Adeel AsgharOptimized the Library Loading code. Updated the documentation viewer code to support external links. Optimized the components and connectors drag and drop code.
c6f7d6b25Martin Sjölund- Fixed the generateCode() API call
18ca920c8Martin Sjölund- Fixed compilation of Main_main.so (linking still fails)
2ab96fd1dMartin 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
b531fa86eMartin Sjölund- Added some functions for bootstrapping
705caf288Martin Sjölund- Added error message when a TCOMPLEX type has the wrong number of types - Fixed one such error in Patternm.mo
10a482da6Martin Sjölund- Minor changes to failtraces
d46f6e703Martin Sjölund- Minor syntax change
395b6f220Martin 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)
be0db620dMartin Sjölund- Susan update - Use Tpl.emptyTxt in the templates instead of a protected constant (bootstrapped OMC could not find it)
3fc615447Martin 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
a06aaabdcJens Frenkel- reimplement some functions using not listEquation and travese the array of equations directly
8382d0ab9Martin Sjölund- Added support for unit testing of SimCodeC.translateFunctions - Implemented some additional function in the bootstrapped runtime
a034170c8Martin 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)
6ca603e4eMartin Sjölund- Removed some unused MetaUtil functions
2c67f13d3Martin 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
898b934c4Martin Sjölund- Remove some now unused code from the pattern matching module
052a2a909Martin 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
a4f988857Martin Sjölund- Fix for arrayMap (no need to call listMap) - Some other minor fixes
6365717c4Martin 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
e56491841Martin 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
aa171bbceMartin Sjölund- Removed some useless information from the pattern matching algorithm
1855643ccAdrian 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.
5981b2465Martin Sjölund- Fix type error in Util.mo
f072a116bMartin Sjölund- Re-compile SimCodeC using a modern Susan (no NONE is allowed)
28a46b03fAdrian 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
e0cfa05b9Jens Frenkel- continue with redesign of listVar to traverseVar
579e6f615Martin Sjölund- Update some RML syntax to MetaModelica
79713a798Martin Sjölund- Update some RML syntax to MetaModelica
841b8ec93Martin Sjölund- Update some RML syntax to MetaModelica
36b290adeMartin Sjölund- Allow MetaArray to be treated as a TYPE in ClassInf
bf1047cf5Martin Sjölund- Use Error.mo for ClassInf.assertValid instead of printErrorBuf - This also works with getErrorString()
4fe3141f3Martin Sjölund- Add debug_print to builtin env
e61143696Martin Sjölund- Added support for Util.listMapMap in bootstrapped OMC
3ffc3ab2fMartin Sjölund- Code readability for lookup when implicit scope names are involved
64f55d076Martin Sjölund- Added boxptr_realString - Bugfix for boxptr_intReal
c6ee5c03fMartin Sjölund- Improved the error messages for bootstrapping slightly - Also fixed some RML/Modelica syntax clashes
47eac27bcAdrian 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)
4a7818abbMartin Sjölund- Bugfix for instClassDefHelper (used for MetaModelica, TCOMPLEX, types) - Do lookupType instead of lookupClass for functions
03749a2aeAdrian Pop- faster and (far) less memory usage for some functions.
5df5efe49Martin Sjölund- Fixed output assignment of traverseBackendDAEOptEqnWithStop
f4b274938Martin Sjölund- Remove references to modelica_parser and flat_modelica_parser from the configure script
7c823c0bfAdeel AsgharAdded the code to resize the components.
cc8a8d32bAdrian Pop- modelica_parser/flat_modelica_parser directories are no more. - so for "clean" target they should not be cleaned!
3700b6421Jens Frenkel- continue with redesign of listEqn to traverseEqns
f81e0297cAdeel AsgharRemoved the getinstallationdirectory command. No need to get the installation directory since we have the openmodelicahome environment variable that is pointing to installation directory.
343055e9fAdeel AsgharReferenced the new images in the qss file
5851b03ceAdeel AsgharAdded the new splash screen and images for model, package, record etc.
e47bb5e52Adeel AsgharDeleted the old annotations file and ico images
f7e94f574Adeel 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.
0d7a07d5bMartin Sjölund- Added Builtin stringEqual - Fixed some old RML syntax - Made some proper error messages for Patternm.mo instead of INTERNAL_ERROR
467284421Jens Frenkel- to save memory start to get rid of some BackendDAEUtil.equationList by traversing the equation array direct without convert to list
82d344820Per Ö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.
b294d0d96Jens Frenkel- get rid of some BackendDAEUtil.varlist - BackendDAEUtil.mo - fix rml bug, replaceable type Type_a subtypeof Any was not defined
4a56c0ce4Martin Sjölund- Removed the old ANTLR2 parsers from the trunk (previously, only the walker was removed)
4d693be25Per ÖstlundFix for bug #1354: - Don't add binding equation for variable of type that extends basic type. - Added test case mosfiles/ComplexTypeEquationCount.
cbe840cb4Martin Sjölund- Replaced the old /trunk with /branches/sjoelund-functiontree
2f7d08445Martin Sjölund- Replaced the old /trunk with /branches/sjoelund-functiontree
180751e52Willi Braun- added assert() and terminate() to c_runtime - moved Linearization stuff to BackendDAEOptimize - fixed index bug for partial and numerical derivative in Linearization
6d2a3179eMartin Sjölund- Fix RML oddities
a0e71ef01Martin Sjölund- Merging
370156208Martin Sjölund- Refactoring/Removed RML weird stuff
2755d8904Martin 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
7576d90b0Adrian 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
08b8c6eb9Per Ö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.
6c5ddac7bWilli Braun - some linearization bugfixes - add testcase for numerical derivative
00accde8fPer Östlund- Fixed issues introduced in r6938. - Updated parallel test script.
e163a6cc7Mohsen 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
7b1ac26aePer Östlund- Fixed mistake in Util.listSplit which broke test case meta/PartialFn8. - Added test of listSplit to meta/UtilTest.
80a8c8999Per Östlund- Added work-around for checkModel when BackendDAECreate.lowerArrEqn gets an array equation of unknown size. - This fixes the mosfiles/ArrayParameterSize test case.
3f5c6da91Per Ö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.
4489c318fMartin Sjölund- Merging
668b81c6aAdrian 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).
712d8542cMartin 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
31881e0f8Martin Sjölund- Merging
b4e214568Martin Sjölund- Fixed some weird RML syntax
49e354873Daniel HedbergFixed bug in constant evaluations of functions with multi-dimensional array assignments.
23b0571aeMartin Sjölund- Fix some RML stuff
a44447bafMartin Sjölund- Fix RML duplicate element
f077ddc3dPer Östlund- Implemented inStream for the general case (needs a lot more testing though).
ce7007f6fMartin Sjölund- Fix some duplicate declarations
68cc076d8Martin SjölundFix for #1352 - Add error messages for invalid complex types
249ff8733Martin SjölundFix for #1351 - Add an error message if a local section contains non-component elements
4a43d8f96Martin Sjölund- Use Settings.mo instead of readEnv to get OPENMODELICAHOME
a8cbf2c12Martin Sjölund- Fix merging compilation error
75076dc94Martin Sjölund- Merging
7da267c73Per Ö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.
a7098d015Martin SjölundFix for bug #1350 - Check for invalid named fields in pattern record deconstructor
55e542f24Per Ö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.
730b4a311Martin Sjölund- Merging
1fb4bdb62Martin Sjölund- Merging
7412337f8Martin Sjölund- Fix type of ENUM_LITERAL expressions in Susan
d7389b405Per Östlund- Fix for bug #1349.
b6437a9a7Martin Sjölund- Merging
f90465772Adrian Pop- update OMNotebook project (NotebookParser is not needed anymore).
1de7c7d9eJens Frenkel- BackendDAETransform.mo - rewrite replaceDummyDer2 and replaceDummyDerOthers, use one function called traverseBackendDAEExpsEqn for both
475d82a35Jens 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
1b999ceb2Jens Frenkel- BackendDAEUtil.mo - bugfix for traverseBackendDAEExpsEqn
55a44b08fMartin Sjölund- Fix for SimplifyTest.mos
4725bf418Jens Frenkel- BackendDAEUtil.mo - speedup isDiscreteExp
bdebfbf0aJens Frenkel- BackendDAECreate.mo rewrite isAlgebraic using Expression.traversExpTopDown
276fd186dJens 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
7b43eea2bPer Östlund- Use traverseExp in CevalFunction.optimizeExp to traverse all expressions. - Use the cache in CevalFunction. - Updated parser/ParseCompilerSources test.
14f94612eMartin Sjölund- Merging
94824fad2Adrian Pop- make 3.x annotation version the default.
5a221113eAdrian Pop- update the White December milestone document.
8d9084322Adrian Pop- fix new introduced RML warnings - do not load Cevalfunc.mo in testsuite/meta/LoadCompilerSources.mos as it gone! - update SimCodeFMU.mo
c5d417f6cPer Östlund- Fixed slice assignment with step values other than one in CevalFunction. - Added test case mofiles/FunctionEvalSlice to test this fix.
e597daa9aMartin Sjölund- Merging Interactive.mo
502b665fdMartin Sjölund- Merging (except Interactive.mo)
a7d76495dPer ÖstlundFix for bug #1346: - Allow InstSection.instArrayEquation to not expand non-expandable expressions.
8b2a7af13Per Ö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.
eb028e272Adrian 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
aa94297b6Martin Sjölund- Added testcase 10_pamtrans to the testsuite
1a0bff629Martin Sjölund- Added boolEq (bootstrapping) - Fixed MetaModelicaDev testcases (they need +d=noevalfunc so the new CevalFunction does not try to ceval external calls)
0041e9d2bAzam 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.
dab8cd6fcPer Ö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.
a42460aa3Martin Sjölund- Merging
ed5f3cf78Martin Sjölund- Fix "make omlibrary" on non-GNU systems
a1b0474aaJens Frenkel- Expression.mo - Added makeDivVector and makeProductVector. -Fixed bug with enum literal in terms and allTerms
b2375a2bdMartin Sjölund- Add MetaModelica builtin cons()
5be270a95Peter 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
3975a9562Adrian Pop- a document for planning the Red October milestone (deadline 2010-10-15)
5de9ba94cMartin Sjölund- Merging
19873a51aAdrian Pop- a document for planning the White December milestone (deadline 2010-12-20)
27b32bba3Adrian Pop- updated SimCodeFMU.mo
20889c924Martin Sjölund- Merging
ce0332f9dJens Frenkel- use type from componentref for lowerEqn (DEFINE,INITIALDEFINE)
e29a312adJens FrenkelFixes for bug: #1345 - bugfix index of external Objects - use typeinformation for lowerEqn
3504e6d92Jens Frenkel- bugfix index of external Objects
4a03e24a8Martin Sjölund- Merging
e69e9b2ceAzam ZiaAdded functions for c code generation.
9e7aea1e9Adrian 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).
0ee582286Jens FrenkelBug fix for expContains, added missing case for ENUM_LITERAL.
d1ff15850Adrian Pop- got rid of unused imports
7af1fc363Martin Sjölund- Update ParseCompilerSources to accept the current warnings (only ones left are automatically generated code; from Susan)
354bceb76Jens 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)
2993f56bfOtto TronarpBug fix for expContains, added missing case for ENUM_LITERAL.
c61f04654Martin Sjölund- Fix RML warnings in InstExtends.mo
8c7abdeaeMohsen Torabzadeh-Tariremoved the sketch library to the branch omnotebook
54a9ce94eJens Frenkel- bugfix BackendDAEUtil.mo traverseBackendDAEExpsEqn
09c2b8434Mohsen Torabzadeh-Tariadded the omnotebook sketch library
ca182e7a5Martin Sjölund- Fix InnerOuter.mo RML warnings
51c197e3dMartin Sjölund- Fix warnings in PrefixUtil.mo
e57dc6960Martin Sjölund- Use getInstallationDirectoryPath() in OMEdit to query where the standard library is located
69bf942aaMartin Sjölund- Use getInstallationDirectoryPath() in OMEdit to query where the standard library is located
cf824e6a2Martin Sjölund- Set svn:keywords on Compiler/*.mo
e5677d05bAdrian Pop- get rid of local case/else declarations. - minor formatting changes.
c847f18dcMartin Sjölund- Do parallel make on OMEdit
50c49a1ecAdrian Pop- get rid of local case/else declarations. - minor formatting changes. - got rid of unused imports. - fixed subversion RCS id.
b8834eb05Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
78a61b809Adrian 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
8e095cb7bAdrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
526c04a51Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
f391ed088Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
299dc66bcAdrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
6abfdea79Adrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
eb02cd255Adrian Pop- get rid of local case/else declarations. - minor formatting changes
28b561c26Adrian Pop- minor formatting changes - got rid of unused imports
7c5872c03Adrian Pop- minor formatting changes
ead706b74Adrian Pop- get rid of local case/else declarations. - minor formatting changes
456bb109dAdrian Pop- get rid of local case/else declarations. - minor formatting changes - got rid of unused imports
ed4191ba9Adrian Pop- get rid of local case/else declarations. - minor formatting changes.
e5c5ca7eeAdrian Pop- get rid of local case/else declarations. - minor formatting changes.
7c27a861cAdrian Pop- get rid of local case/else declarations. - minor formatting changes.
1e63c6256Adrian Pop- get rid of local case/else declarations. - minor formatting changes.
450c6ff17Adrian Pop- get rid of local case/else declarations.
e8be4e540Adrian Pop- get rid of local case/else declarations. - minor formatting changes
a8fd61c2dAdrian Pop- get rid of local case/else declarations. - minor formatting changes
52f5120edAdrian 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
1da49e9a6Martin Sjölund- Merging
c9219daf3Martin Sjölund- Fixed RML warnings in Inst.mo
04db0d652Adrian Pop- get rid of local case/else declarations. - minor formatting changes
e9a3e30c7Martin Sjölund- Fixed RML warnings in InstSection.mo
728cfcc88Martin Sjölund- Fix RML warnings in Interactive.mo
8bc5d6916Martin Sjölund- Fix duplicate declarations in Interactive.mo
dd7277e4aAdrian Pop- updated copyright (it should be OpenModelica). - added package info - minor formatting changes.
7b53c555fMartin Sjölund- Fix RML warnings in Linearization.mo
61f82a7b7Adrian Pop- get rid of local case/else declarations.
0e98db830Adrian 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.
5feeb1bd5Martin Sjölund- Fixed RML warnings in Lookup.mo
4f005f6e4Adrian Pop- homogenize printing (include package name). - get rid of local case/else declarations. - minor formatting changes. - added subversion RCS id to the file.
58b9ceeb5Martin Sjölund- Fix RML warnings in Main.mo
ab1a6ab37Martin Sjölund- Fix MetaUtil.mo warnings
48f845174Adrian Pop- removed unused imports
ad4657889Martin Sjölund- Fix RML warnings in Mod.mo
cc3e4252aAdrian Pop- homogenize printing (include package name). - get rid of local case/else declarations. - minor formatting changes.
8ac166935Martin Sjölund- Fix ModUtil RML warnings
4856c8222Martin Sjölund- Fix Patternm.mo RML warnings
9b6010644Adrian Pop- add subversion RCS id to new files
c2ce46243Adrian Pop- add subversion RCS to new files - got rid of unused imports and duplicate variables in BackendDAEOptimize.mo
ed8ee8cfbAdrian Pop- align properly in Absyn.mo - remove unused import in AbsynDep.mo and update copyright.
1683517d4Adrian Pop- remove duplicate definitions with different types.
901e65d1dAdrian Pop- remove frontend targets from makefiles
14f8a293dAdrian Pop- remove stubs files and the frontend makefiles and directories
704eed8d7Martin Sjölund- Merging
5f5c0d2f0Jens Frenkel- fix some testcases from testmos
0452c4b6aMartin Sjölund- Fix make install for omlibrary target
d7257cda2Martin Sjölund- Fix omlibrary installation issue
409c3200cMartin Sjölund- Add Makefile target "omlibrary"
55735c2c5Martin Sjölund- Fixed some more RML warnings
fc60d6221Martin Sjölund- Fix RML warnings in SCode and SCodeUtil
867a4b571Martin Sjölund- Fixed UnitChecker,UnitAbsynBuilder RML warnings
c7439129dMartin Sjölund- Fixed XMLDump.mo RML warnings
7a2b30296Martin Sjölund- Fixed one additional omc warning in Static.mo
5bc2fcca7Martin Sjölund- Fixed all warnings when compiling Static.mo
5b8f7d2f8Martin Sjölund- Fix more errors in Static.mo
95f7ff938Martin Sjölund- Removed some duplicates/local clauses in Static.mo
fed758cdfMartin Sjölund- Added new RML warnings to the Linux makefile - Fixed some of them
3a167c6b7Martin Sjölund- Remove case-local declarations
dad3f1e30Adrian Pop- got rid of unused import
d0986cd61Adrian Pop- no more local declarations in cases in DAEUtil.mo
ef4a6d869Martin Sjölund- Updated expected output of some models
f0f6a2949Adrian Pop- got rid of some local declarations.
6ce95233fKristian StavåkerSome minor changes
7fc92ea43Martin Sjölund- Fix function input/output
498f4f528Martin Sjölund- Fix TplAbsyn, TplMain syntax
f7a9b5e7eMartin Sjölund- Fix travering function references (UtilTest.mos now works)
ae1679b69Martin Sjölund- Fixed 1 more testcase in meta/
829a7216cKristian StavåkerAdded information regarding held meetings, etc.
994ef11eeMartin Sjölund- Fixed traversal of metarecord calls
f8172a6e4Martin Sjölund- Fix RML crap
5b9fee1ddMartin Sjölund- Fix parsing of Util.mo
9f1fae6d7Martin Sjölund- Fixed traverseExp for VALUEBLOCK
9159c1a57Per Ö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.
9ea111adeJens Frenkel- fix BackendDAEUtil.checkBackendDAE
ee93614f0Martin Sjölund- Made more things work
862ae8c3bMartin Sjölund- Fix compilation
5ba0f295bMartin Sjölund- Fix RML crap
dc9b43c41Adrian Pop- no more local decls in matchcontinue cases.
9c975c0d9Adrian Pop- no more local decls in matchcontinue cases.
9e7164af6Martin Sjölund- Fix RML crap
78debabf9Martin Sjölund- Remove RML crap
dc226d486Jens Frenkel- BackendDAECreate.mo change interface for user function for traverseDAEExps
87cfff8aaMartin Sjölund- Deprecate case-local declarations in the grammar
f3333b4b8Alexey LebedevMerged the non-expanded array stuff.
910d72b52Martin Sjölund- Added more expressions to SimplifyTest.mos
79c8f229fMartin Sjölund- Merging
efa29f5ffMartin Sjölund- Update path of OMEdit binary since the project changed
5a77e7948Martin Sjölund- Also handled ENUM_LITERAL and METARECORD in traverseExp
0fba28c1fMartin Sjölund- Partial fix for problems with traverseExp
9d5806451Martin Sjölund- Fix syntax error in CevalFunction.mo
a9c57ca06Martin Sjölund- Fix printing of DAE.Type
9793d8142Martin Sjölund- Merging
15c2c2e2cJens 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
bd325d355Jens Frenkel- implement some event stuff
77dfa3e7ePer Östlund- Added utility function Util.listSplitOnFirstMatch. - Added valueInteger and valueDimensions to ValuesUtil. - Implemented more parts of CevalFunction.
965c74e05Martin Sjölund- Fix meta testsuite
39c1ffc7dAdrian Pop- planning for Media and Fluid.
4a2b23bfcJens Frenkel- fix bugs - DAEUtil.mo - improve function traverseDAEEquationsStmts
05f689c9eMartin Sjölund- Use realLn
67e553861Willi Braun - renamed uniontype DAELow to BackendDAE - renamed record DAELOW to DAE
8ebd87b83Martin Sjölund- Fix merging error
e4bed5777Jens Frenkel- fix bugs for event stuff
f3cfd1a93Martin Sjölund- Merging
5ed0df578Martin Sjölund- Fix configure script
0e9f8ab1cMartin Sjölund- Remove Compiler/absyn_builder - Run Susan quiet by default
6f4c74455Mohsen Torabzadeh-TariAdding linearization exercise in DrControl
0533c68dfMartin Sjölund- Remove mk_bcon from Modelica.g
1b0d4b0d2Mohsen Torabzadeh-Tariadding an exercise to DrControl
d144305bdMohsen Torabzadeh-TariAdding linearization to the examples
29d64124aJens Frenkel- fix some bugs check for records improved rename BackendDAEUtil.traverseExp to traverseAlgorithmExps - Expression.mo delete makeCrefExpNoType use crefExp improve isConst
dc7a0663fAdrian 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.
db2b457ffAdeel AsgharAdded the tree view and zooming images.
ff06bd720Willi Braun - separated functions for BLT to BackendDAETransform
4f303d4f4Adrian 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.
19ae448b3Martin Sjölund- Fix svn:eol-style on OMEdit, OMNotebook, msl32
8e5881d5aMartin Sjölund- Fix svn:eol-style on OMEdit, OMNotebook, msl32
14f147e0eMartin Sjölund- Fix svn:eol-style on OMEdit, OMNotebook, msl32
91f758f5cJens Frenkel- Expression.mo delete makeCrefExpNoType and use crefExp rename generateCrefsExpFromType to generateCrefsExpFromExpVar
5156ff2a4Jens Frenkel- delete unused code
ce288ebadWilli Braun - thrown DAELow.mo away and divided the stuff on the files BackendDAE* - separated some more stuff
ad2ff1c93Jens Frenkel- BackendDAECreate.mo use BackendVariable.setVarKind
9a06965b1Jens Frenkel- fix some isues
1b0d43339Adeel AsgharAdded the custom sendExpression in OMCProxy.cpp Updated the delete feature of tree. Updated the rename feature of tree.
cf8d72ad3Jens Frenkel- fix bugs - BackendDAECreate.mo use traverseExp and traverseDAE2 for state search
1bdff3745Jens Frenkel- DAELow.mo move translateDAE and calculateIndex to BackendVariable.mo
a21e1677aJens Frenkel- DAELow.mo move DelayExpression stuff to SimCode.mo and delete duplicatet functions
9a9c149f1Jens Frenkel- DAELow.mo move DivExpressionErrorMsg stuff to SimCode.mo
b9dc0b881Jens Frenkel- DAELow.mo move tearing stuff to BackendDAEOptimize.mo - Util.mo add function listSplittOnBoolList
12e7426afMartin Sjölund- Merging
44ac5d69aMartin Sjölund- Fix RML crap
dc792e72fMartin Sjölund- Fix RML crap
d1ece24afWilli Braun- added BackendEquation.mo - moved caluclate incendece Matrix to BackendDAEUtil
1a4fa9daaPer Östlund- Started implementation of CevalFunction, a replacement for Cevalfunc that works on instantiated functions instead of Absyn.
89cf0d64fMartin Sjölund- Fix listMember( (a,b), lst ), and similar problems with polymorphic functions
2ed3cbb60Willi Braun - added BackendDAEOptimize.mo and move functions for simplify equations
4b13ccf0cAdrian Pop- a document for design and planning of the non expanded arrays/equations.
cd88b7f6aMartin 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 $.
243024ab2Willi Braun - rename BackendDAETransform.mo to BackendDAECreate
da96617b6Jens Frenkel- update RedesignBackendOMC.doc - SimCode.mo remove unused code
63ccaa5e8Martin Sjölund- merging
ed0516b73Martin Sjölund- Some more changes that rely on new RML
326775b24Martin Sjölund- Fixed ExpressionSimplify.simplify testcases using the bootstrapping
76829f5e4Jens Frenkel- commit out useles code
6ea1dd602Martin Sjölund- Remove some useless code
eb915a2e9Jens Frenkel- bugfix for derivative function annotations, also have a look into the annotation from external functions.
35b7bfae7Martin Sjölund- Don't ceval functions with initial algorithms
08f147027Adrian 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.
89c0167f5Martin SjölundRemove unused imports
75bf510a4Martin Sjölund- Merging
6627e96a2Willi Braun- continued with remove functions from DAELow
a5de90b0dJens 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.
93806fbe3Willi Braun - continue with remove functions from DAELow
d373b517dJens Frenkel- Compiler/ComponentReference.mo delete function crefAddPrefix use makeCref_Qual
3d7568224Willi Braun - extract all function regarding Variables from DAELow. to BackendVariables
4261b9ba6Jens Frenkel- Expression.mo remove traverseExpLst and rename traverseExpLstinternal to traversExplst
576fd51e8Jens Frenkel- delete Exp.mo
c250c9c81Jens Frenkel- rename Exp to Expression
5c64b6e3dMartin Sjölund- Merging
993032b65Willi Braun - continue with with moving functions from DAELow to BackendVariable
6834be7ccJens Frenkel- Exp.mo copy all functions for dump and print to ExpressionDump.mo
0208a13dbJens Frenkel- Exp.mo copy all functions for simplify to EpressionSimplify.mo
323bdfe35Azam ZiaCorrected xml for scalar variable start parameter. Added code to generate some global data for c file.
aafaddf0aMartin Sjölund- Fixed HashTableTest.mos
33e72d42aMartin Sjölund- Changed HashTable implementations to use the new BaseHashTable.mo
6114143a8Willi 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.
8a9695129Jens Frenkel- Exp.mo copy all functions for solve to ExpressionSolve.mo
21d0fcd6dJens 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"
2b4a17ebdPer Ö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.
917db5dbeMartin Sjölund- Added BaseHashTable.mo, a truly generic HashTable - Made HashTable2 use it
0506ff659Martin Sjölund- RML crap
6f46b00f5Jens Frenkel- DAELowUtil.mo - improve Error Msg and use flag checkDAELow for now to keep testsuit running
dc753ed1eMartin 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
14df3bb68Martin Sjölund- Fixed some type issues with OMC-MM
02720a007Jens Frenkel- fix bug
93241868bMartin Sjölund- Merging
700c53ae2Martin Sjölund- Add set/getGlobalRoot to Builtin.mo
5cea8df2cPer Östlund- Fixed some bugs introduced by revision 6568. - Renamed DEA to DAE.
9135e4dc2Martin Sjölund- Merging
c9c791048Martin SjölundMerging
31b689961Willi Braun - correct merging error in DAELow.mo
c4b4a9634Jens Frenkel- DAELowUtil.mo - add case for functionpointers to checkDAELow
4783c2549Willi Braun - continue to split out functions from DAELow to BackendDAEUtil
f59cece13Jens Frenkel- BackendDAEUtil.mo - add case for functionpointers to checkBackendDAE
9f1480f8dJens Frenkel- use functions from ComponentReference.mo
e0bd9da3fJens Frenkel- fix bug
ff8345dafJens 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
47b9c8666Jens Frenkel- fix bug
78b172f98Jens Frenkel- fix bug
ce0e3dd3fJens Frenkel- finish to copy all functions do something with a ComponentRef from Exp into ComponentReference
8bae2aee8Adrian Pop- fixes for BackendDAETransform.mo
447f484b6Willi 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
e9fd73a9cMartin Sjölund- Fix RML crap
e1fa84ef8Martin Sjölund- Fix RML crap
231b38d1bJens Frenkel- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
04535a658Martin Sjölund- Fix more RML crap
bd485be5fMartin SjölundNo message
8e7fdebdcMartin SjölundBootstrapping
8982bc10fMartin Sjölund- Fix sources
82122c087Martin Sjölund- Refactoring
01b03825eMartin Sjölund- Merging
4a51f60caPeter Aronsson-Moved traverseExpList to traverseExpListInternal and created a new traverseExpList that doesn't take the newly added traversal function.
1ae7527e3Martin Sjölund- Merging
fd27ac66fJens Frenkel- fix bug
af1d4ffb4Jens Frenkel- rename DEALowUtil.mo into BackendDAEUtil.mo - continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
ef2f45b41Jens Frenkel- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
aa2067ac5Jens Frenkel- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
7d4100257Jens 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
8dd71264cPer Ö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.
cbb6110f2Martin SjölundMerging
12afbe854Jens 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
436dcfaa3Per Östlund- Implemented merging of annotations for short class definitions, for use with showAnnotations.
d39c6e991Peter AronssonAlgorithm.mo: Added function isNotAssertStatement Exp.mo: Optimized the code in simplify1 HashTable2.mo, HashTable3.mo: added emptyHashTableSized VarTransform.mo: Optimized code.
ed2acad23Martin Sjölund- Merging
3fc48f562Willi Braun- replaced DAE.CREF_IDENT with ComponentReference.makeCrefIdent - replaced DAE.CREF_QUAL with ComponentReference.makeCrefQual
fd70f8688Pavol 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)
20e9fff41Jens Frenkel-- continue to copy all functions do something with a ComponentRef from Exp into ComponentReference
70d93bf5dMartin Sjölundgit-svn-id: https://openmodelica.org/svn/OpenModelica/branches/sjoelund-functiontree@6557 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
f129eb021Martin Sjölund- Add new module BackendDump.mo
35817e99bAdrian Pop- replaced DAE.CREF_IDENT with ComponentReference.makeCrefIdent - replaced DAE.CREF_QUAL with ComponentReference.makeCrefQual
1a689ec6bAdrian Pop- added ComponentReference.makeCrefIdent and ComponentReference.makeCrefQual
63dda9630Martin Sjölund- Refactoring: DAELow datatypes added to BackendDAE.mo
bb4d222c9Jens Frenkel- fix some bugs from last commit
bc77c8464Jens Frenkel-- start to copy all functions do something with a ComponentRef from Exp into ComponentReference
70690e44eMartin Sjölund- Remove support for parsing of the old notebook format (this means we no longer need ANTLR2 to build OMC)
aceedfdb1Jens Frenkel- fix some bugs from last commit
32c2df802Jens Frenkel- start to copy all functions do something with a ComponentRef from Exp into ComponentReference
d439c5c43Adrian Pop- change to c-like comments.
30f895f5aMartin Sjölund- Remove type Exp = DAE.Exp from Exp.mo
13fa077ccJens Frenkel- add file ComponentReference.mo
4762a2506Martin Sjölund- Fixed some illegal code in the compiler
e0454fa63Martin Sjölund- Fix compilation of OMEdit StringHandler.cpp using Qt4.4
f42a32437Martin Sjölund- Merging
5c6fce809Willi 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"
f94870ad4Martin SjölundMerging r6536 through r6537
4b4542a5aMartin 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
89a3e90cdMartin 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
b8845eb1fMartin Sjölund- Merging
0d5e40e5cPer ÖstlundForgot to commit changes to Error.mo in previous commit.
3194e0b50Per Ö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.
e4240a382Martin SjölundMerging
0a5914bd7Martin Sjölund- Fix compilation
178285cbeMartin 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)
ac7b87eb2Jens Frenkel- fix for bug 1329 - DAELow.lowerEqn generated for DAE.DEFINE a=a equations
be0fe7388Martin SjölundMerging
7d12bf117Otto TronarpAdded option for dynamic state selection.
a20d850b7Otto TronarpBug fix for arrayReplaceAtWithFill, it created an array that was one element longer than what was requested.
05621a32eMartin Sjölund- Fix getCrefFromExp for Absyn.FOR_ITER_FARG
8f4c2543aOtto TronarpAdded missing extern "C".
60ef22774Adrian 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).
8335159f6Per Ö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.
448de7604Martin Sjölund- Improved error messages
78c5e66a9Martin SjölundRemove debug printing
c85eac6c6Martin Sjölund- Use addSourceMessage for Error.HIGHER_VARIABILITY_BINDING
d25909664Martin 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
b5a522692Martin Sjölund#1318 - Disable instSingleCref in MetaModelica mode (maybe this should always be disabled; it certainly would reduce the load on the cache)
c5dfa26b9Martin Sjölund- Fix unparsing for DAE.Exp.NONE()
0fd654160Martin 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)
96d735f0cMartin Sjölund- Fixed the output of some functions
8c7e8cab7Martin 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
f08af0b0cMartin Sjölund- Some more fixes for things RML doesn't check for
71e9184b2Martin Sjölund#1318 - Added DAE.STMT_FAILURE, and handling of Absyn.ALG_FAILURE. Simplified generation of code for failure() - Added HashTable testing
d1a0be6d5Martin 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)
646c0d0d4Martin Sjölund- Fix MetaModelica parsing...
0b7039a20Martin 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
dee7e1f97Martin Sjölund#1318 - Replace more NONE with NONE()
a3104141dMartin Sjölund- Replace more NONE with NONE()
5b26c40b6Martin Sjölund#1318 - Replace some NONE with NONE()
f84c54803Martin Sjölund#1318 - Added initial support for meta-array indexing (arrayGet and arrayUpdate) using the operator []
df0dc739cMartin Sjölund- Added flag to do strict checks so that inputs/outputs of function and match expression are the same
bde7b842bMartin Sjölund- Fix parsing of match-expressions with an else that lacks local declarations
297e36848Martin SjölundMerging r6488 through r6494
4da491995Martin Sjölund- Fix some more errors RML ignores
95a8277e7Martin 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)
bc719f8dcAdeel AsgharAdded the contextMenu to Modelica Files Tree. Updated the simulation and icon properties dialogues. Deleted the simulation and icon properties ui files.
18f544785Martin Sjölund- Avoid duplicate error messages when elaborating function calls
34461e98eMartin Sjölund- Remove some errors RML doesn't check for
ebc6a511cMartin Sjölund- Merging
5fb9bbe46Martin Sjölund- Removing old code
8870a9700Martin Sjölund- Reverting accidental changes
20ecc71baMartin Sjölund- Fix Error.mo (don't change name if empty string is given)
26b78069eDaniel Hedberg- Minor update for Visual C++ (get rid of the directory separator in front of the file name).
0de311e6aDaniel Hedberg- Fixed compilation errors in Visual C++.
1ecb588f4Martin SjölundMerging
3933c27b3Martin Sjölund- Make the metarecord calls take boxed arguments
774e09eabMartin Sjölund- Option now always contains a boxed type
0dbbbd1d8Martin Sjölund- Updated code generation to add declarations for local variables that are function pointers
a51bb84ddMartin Sjölund- Improve error message for cons-exp
1021c80dbDaniel HedbergFixed a bug introduced by r6450: Better get the commas and braces in the right place as well.
8c043822aMartin SjölundFix for #1326 - Use basename instead of filename in error messages when running the testsuite
8e19c1edcMartin 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
8a6cdb565Martin Sjölund- Add function pointers for builtin binary real operation
70f4997adMartin Sjölund- Merging
540e17bf1Martin Sjölund- Fixed some errors RML ignores
5e33d058aMartin Sjölund- Added support for polymorphism in function pointers, uniontypes
9e6843fc5Adeel AsgharUpdated the tmp directory path in simulation and Plot Widget. Updated the Splash Screen text. Added the contextmenu to tree. Added the resources file.
7436c13a7Martin Sjölund- Made polymorphism work better with NONE() or {} input
c25e54730Martin Sjölund- Merging
fd939a2c0Martin Sjölund- Merging
baefd641eLennart 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
c6d2a6a74Adrian 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
5b861116dJens 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
9c4413cfbMartin Sjölund- Added more error messages for metarecord calls (and make the checks in a separate function)
4baeba34aAdrian 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
1426014fcDaniel HedbergPrint messages in the right order in getMessageStr().
c18689aa7Alexey LebedevFixes for bug: #1322 Added a new error message for tuple assignments where lhs tuple contains not only component references
e66fa266bMartin SjölundMerging r6431 through r6436
8bd0c5bc9Martin Sjölund- Enable testcase running Susan on a very small template
6058deae6Adrian 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.
ee3b79e44Martin SjölundMerging
974004e1aMartin Sjölund#1318 - Implement more runtime functions for bootstrapping
d5dbc8de6Peter Aronsson-Added Algorithm.isReinitStatement -Fixed compilation of systemimpl.c for Visual Studio (All declarations at beginning of block for ANSI-C)
12078b9f4Otto TronarpMoved traversingComponentRefFinder to public.
83d3cf376Per ÖstlundUpdated workplan
ae1c9abbcAdrian Pop- use System.stringAppendList instead of Util.stringAppendList - use System.stringAppendList instead of multiple stringAppend in Exp.mo
23e78c4a7Martin SjölundFixes for #1318 - Added some more runtime functions for bootstrapping - Added testcase SusanTest.mos; still incomplete but part of it is working
5c835f2daAdrian Pop- update status
fd3e0bb82Martin Sjölund- More runtime functions for bootstrapping
83d6d21b2Martin Sjölund- Merging
011516ca6Martin Sjölund- Added some Print.mo functions for the OMC runtime
671276174Willi Braun- bug fix: derivative annotation for external functions testcase added.
6664d236bMartin 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)
00e789993Martin SjölundMerging r6410 through r6413
af7516dccMartin Sjölund- Merge trunk (Per's changes)
d8a16c68bJens Frenkel- implement getUUIDStr for windows.
e6f8de6faMartin Sjölund- Additional fix for type matching polymorphic tuples
7d59665d1Per Ö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.
9386d7fe7Martin 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
18a58cdbePer ÖstlundUpdated workplan.
4be0e490cMartin SjölundUpdated workplan
7ec410e93Martin SjölundMerging r6391 through r6403
e90cfad53Adrian Pop- got rid of Debug traces to speed up the handling of expandable connectors.
f09482aa8Martin Sjölund- Force lists to be built of boxed types - Fixes Util.splitTuple2List (which has been added as a testcase in UtilTest.mos
8a8514b0eMartin Sjölund- Add type conversion from TUPLE to META_TUPLE (when the expected type is T_BOXED)
165c66df6Martin 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
9c0dfdd64Martin Sjölund- Added support for patterns of unary integer/real constants (in Modelica, -15 is not an integer constant; it is a unary expression)
62a3eefc6Martin Sjölund- Add error message if a pattern in a match-expression is invalid (such as case (1+2)) - Added testcase ErrorInvalidPattern.mo
5a0cea96aMartin Sjölund- Propagate Absyn.Info to Types.checkValidBindings - Fix polymorphism in some recursive calls - Enabled 06_advanced testcase since it's working again
b7019411cMartin Sjölund- Fix listMember (was listMember(lst, elt); should be listMember(elt, lst))
aba5bfdabMartin Sjölund- Removing more old syntax
1fee03b21Martin Sjölund- Replaced the T[:]-types used in HashTables with array
af3522c98Martin Sjölund- Change the type of DAE.METARECORDCALL to DAE.T_UNIONTYPE - Changed some old syntax to new
c3ec14cb4Martin 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)
12a3dc282Martin SjölundMerging
60bf0263aAdeel 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
967b7606bMartin SjölundMerge
215ca2033Daniel 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:
99bdf0a4eMartin Sjölund- Split generation of functions from .c into .c and .h-files
4157bc93cJens 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
cdaaf7770Martin Sjölund- Custom error message when failing to elaborate a metarecord call
3082d624bMartin Sjölund- Added showErrorMessages to RTOpts_omc.cpp, so the testsuite succeeds on Mac
cef0090f0Martin 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
7cafae492Martin Sjölund- Changed Env.Cache to use array<>-notation instead of [:]
8628d90caMartin Sjölund- Removed some conflicting variable declarations
e2adcdf8fMartin 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)
2088a7f23Adeel 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.
48fa61c99Martin Sjölund- Add SimCodeFMU.mo to svn, so automatic builds don't fail
86a33c697Martin Sjölund#1318 - Added stringCharListString to the initial environment
7dfedb75fMartin Sjölund- Renamed some old MetaModelica builtin functions (int_add) to the new ones (intAdd)
86165d796Martin SjölundMerge
17f32bd02Jens Frenkel- add missing file
e77642aa3Jens Frenkel- start with implementation of FMU - Exp.mo - add Function crefToStr and use it for crefStr and crefModelicaStr
a0eeab270Martin Sjölund#1318 - Fixed some code using syntax that RML allows but should not
1ad03c0c3Martin SjölundMerging r6364 through r6368
5267dbaeaMartin Sjölund#1310 #1318 - Propagate Absyn.Info to elabExp and elabMod
524e4fa71Martin 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)
c6d51dbc5Martin 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)
78340bf71Martin SjölundFixes for #1316 - Prepend _ to all variable names in function context, so we don't use C reserved words in the generated code
8597653dcMartin Sjölund- The (Unix) make process now installs DrControl files by default
f4ea4528fMartin Sjölund- Fix OMNotebook search path for OMNotebookHelp.onb (search in $OPENMODELICAHOME/share/omnotebook/ instead of $OPENMODELICA/bin/)
1556b9575Martin Sjölund- Fix notebook.h header (new Qt seems to have a constructor QString(int) which conflicts)
585410123Martin SjölundMerging r6355 through r6356
4c500ba09Martin SjölundMerging
bea1e3a04Martin SjölundMerging r6340 through r6351
97beeddc3Willi Braunsmaller update of linearization code. change some function calls and comments.
9035a8d92Martin Sjölund- Fixed Builtin.isDer typo
d1f8fc52eWilli 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 ".
341ef325fMartin Sjölund- Split errorext.cpp into OMC and RML parts
2db395b50Martin Sjölund- Fix printimpl.c (inverted a 1 and a 0 in previous commit)
71c079881Martin Sjölund- Split printimpl.c into OMC and RML versions
4399c2ff1Martin Sjölund- Minor fix in previous commit
0a30bd60eMartin Sjölund- Fixed some MetaModelica string functions. Leaking memory is preferred over random memory.
2c1692ee2Martin Sjölund- Minor fix (RML doesn't care about output arguments; OMC does)
fe512bd2dDaniel HedbergChanged STRUCT_SINGULAR_SYSTEM_CONNECTORS from being an error to a warning.
9deee0356Martin Sjölund- Updated the type of identity (it is not Integer[1]...Integer[8]; it is Integer[:][:])
080ea0e9eMartin 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
1f5f5ece3Martin Sjölund#1308 - Remove the function identity in Dump (OMC cannot handle shadowing builtin functions)
4e684102cMartin Sjölund- Merging
f4a30512bMartin 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)
652d7f2aaMartin SjölundFix #1307 - Allow plot, plot2, val to use der(cref) as input
bc24b9663Adrian 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.
f4c369883Martin SjölundMerging r6331 through r6334
37696909cMartin SjölundMerging r6327 through r6330
bd2e2f83eAdrian PopFixes for bug: #1306 - use CONNECT LPAR component_reference COMMA component_reference RPAR instead of CONNECT LPAR connect_ref COMMA connect_ref RPAR
09fa0ed43Adrian 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
13a8cd2aeMartin 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
9f87adfe2Adrian Pop- more cache tuning
d893d7449Martin 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...)
cfbfbe3c4Martin Sjölund- Merging
56aa74cc1Martin 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
1f55acc0fAdrian 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.
c98752c72Martin SjölundMerging r6322 through r6323
30548eb90Martin 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
20aa6eefbMartin SjölundMerging r6317 through r6321
d4ee0fd7bMartin Sjölund- Updated unparseType, so error messages are shorter and easier to read
e45d521dcAdrian 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.
49db1bd5fMartin Sjölund- Fix some functions in Dump.mo for bootstrapping
6c517a057Martin SjölundMerging r6302 through r6316
90a9e36b6Martin 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
38c6de5daAdrian Popalready present inside ./doc/Compilation_omcd_omnotebook
0e12b7dc5Adrian Popalready present inside ./doc/Compilation_omcd_omnotebook
5c795002dAdrian Popalready present inside ./doc/Compilation_omcd_omnotebook
4e21b0722Martin Sjölund- Fix some issues by not adding aliased functions to the cache
3760c8057Daniel Hedberg- Added an option to checkExamplePackages, making it possible to specify a list of excluded classes. This is used by MathCore.
09af3e74fMartin Sjölund- Fixed instantiation of (some) derivative annotations - Basically only multibody left to fix
0d9fbdf92Martin Sjölund- Fixed record constructors; updated testcases that now show more functions than previously
b7bae558fMartin SjölundMerging r6296 through r6301
f07dd75a7Martin 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
cb113add9Adrian 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
895685c36Adrian 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.
7e5d06a66Adrian PopFixes for bugs: #1129 #1122
44e8d013dMartin Sjölund- Merging
526b6ad7dMartin Sjölund- Changed DAE.FunctionTree to a map->Option instead of Function
e22cd4300Per Ö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.
984ad37c1Daniel HedbergMinor change with regards to enumerations.
54a01a7bdMartin Sjölund$ svn merge https://www.openmodelica.org/svn/OpenModelica/trunk . Merging r6287 through r6291 into '.'
f13fdf3d6Martin 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
0941d3242Adeel AsgharDelete the Annotations.cpp and Annotations.h files.
589f44023Adeel AsgharUpdated the Connection mechanism. Split the Annotations file to individual Annotations files.
78247fedePer Ö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().
2f556d20cPer ÖstlundFix for bug #1189: - Implemented nested when detection for equation sections. - Added test case mofiles/WhenNestedEquation.
97cccc95bPer Ö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.
a8e9a9180Adrian Pop- well, seems that adding \\\n didn't fix it, use just && directly without a space.
86a52cadeAdrian Pop- do not overwrite the output of pushd so we can catch more errors.
182027f59Adrian 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!
ac6d9d654Daniel 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.
192ac5fb1Per Ö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.
024739154Adeel AsgharAdded the Inheritance Annotation in Icon Shapes. Added the code for connecting components. Updated the stylesheet for QTreeWidget.
01a03fc40Adeel AsgharDeleted unused icons
6a1863a10Adeel AsgharFirst revision of OMEdit. OMC Corba communication is done. Annotations is done partially. Splash Screen is added.
583ec4f4fMartin 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)
473b63e3dMohsen Torabzadeh-TariCommiting the first version of DrControl under OMNotebook. Mohsen 101001
6f5c9073aAdrian Pop- reversing the reverse as now it seems the libs are added in the proper order to the makefile.
8b8d5f5b1Jens Frenkelupdate RedesignBackendOMC.doc
fe2e16919Martin Sjölund- Rewrote a few functions in the C runtime to take constant strings as input instead of strings
523304e9eAlexey LebedevFix for bug #1040: Further fix for bug 1040 https://openmodelica.org:8443/cb/issue/1040
0553c42feMohsen Torabzadeh-Taridocumentation on how to compile OMNotebook
15030c28bMohsen Torabzadeh-Taridocumentation installing and setting Eclipse+MDT for debugging MetaModelica code.
c5c49077fPer Ö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.
43532e8ddPer Östlund- Speed up arrays of enumeration variables by relaxing the criteria for finding matches in the cache for enumerations.
e2be88a50Martin Sjölund- Enable error messages for cevalCallFunction again
a895033f5Martin 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
88007929dAdrian 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.
0856bb51eAdrian PopPartial fixes for task: #1268 - minor typo fix.
3221dfeebAdrian 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.
8e4eefa0bJens Frenkel- update RedesignBackendOMC.doc
cc7b6ecc9Martin 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
2e69b6656Jens Frenkelupdate RedesignBackendOMC.doc
ac82016d2Adrian 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.
fee787aa9Martin 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
111670d50Jens Frenkel- avoid Warnings
5d2499734Jens Frenkel- Bugfix Initialisation Method leastSquare
f5561551dMartin 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)
2777dd591Per Ö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.
6bf2ada6eMartin Sjölund- Propagated Absyn.Info from assignments to DFA.mo - Add testcase meta/ErrorMatchNumOutput.mos
9bc540b36Martin 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
bb6a3161aAdrian PopMod.mo - use case instead of else as the current 1.5.0 release cannot parse the file otherwise
f71259b32Adrian 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
ca866dce6Martin Sjölund- Missing code from r6238 (allow running as root when running in testsuite mode)
87fb99ec6Martin Sjölund- Allow running as root when running in testsuite mode
d05440a54Martin 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)
bd9f1afe5Adrian Pop- use case instead of else as the current 1.5.0 release cannot parse Absyn.mo otherwise
840986ab4Per Ö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.
e13742e8cMartin Sjölund- Static.elabCallArgs2 no longer prints error messages if it succeeds, but elaborating as record constructor fails
be2b13e7dMartin 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
eff1aec35Martin Sjölund- Fix meta_modelica_builtin.cpp so that the first call always returns 0
b91bf95e3Martin 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
d816e0c7eMartin Sjölund- Removed antlr2 dependency from the configure script
969abb7ffMartin Sjölund- Fix compilation on Linux (database.o -> Database.o)
a70338022Adrian PopCompiler/Database.mo Compiler/runtime/Database.c Compiler/runtime/sqlite - a wrapper for SQlite (empty and unused for now)
1a8ba8284Martin Sjölund- Added the boxptr functions for the MetaModelica builtin Integer functions
a5bfaaa71Martin Sjölund- Updated SimCode.getCalledFunctionsInFunction to filter out function references called in valueblocks
e74b03859Martin Sjölund- Changed code generation for function pointers. They now also work when you bind valueblock-local variables.
6ff9efad3Adrian Pop- clean ModelicaExternalC also when cleaning c_runtime
90f8c403dAdrian Pop- use intEq instead of equality
a6c9f4bb6Adrian Pop- get rid of equality()/failure(equality())
5a7990e1aAdrian Pop- use intEq instead of equality.
39e624c40Martin 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
4fc3e7b78Adrian 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
a7dfd92a1Martin Sjölund- Guard parser/ParseModel files from svn-eol-style script
4efbb1ad0Martin Sjölund- Fixed else for match expressions
d73eb8176Alexey LebedevAdded a check whether component's name is the same as its type specifier. Modified the testsuite correspondingly. Added a couple more test cases.
6b970d415Martin Sjölund- Disable LossyGearDemo1 testcase (spins until memory runs out) - Fix refactorGraphAnn2.mos
e328561b6Martin Sjölund- More int/modelica_integer fixes
aeaf75985Martin Sjölund- Changed int, unsigned char in the simulation runtime to modelica_integer, modelica_boolean
4266afff8Martin Sjölund- Fix compilation of errorext.cpp (rml-trunk mk_scon doesn't accept const char*)
793269b5eAdrian Pop- Fixes for bug #1285 #1286
ba950503aAdrian Pop- fixes so we can compile with MinGW GCC 4.5 also.
497b34318Adrian Pop- got rid of an unnecessary stringAppend.
53ec55249Adrian 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.
20672528fMartin 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
a5b8be454Martin 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)
0e2dcee03Willi BraunCorrect small error for revision 6177
d20f9f9ebWilli BraunFixed memory error in initialitation after rev6171
9cdf03684Martin Sjölund- Fix compilation on Linux
cdac4a0bdMartin 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
dae6b64efPer ÖstlundFix for bug #1133: - Added support for reinit in DAELow.lowerStatementInputsOutputs. - Added test case libraries/msl31/Modelica.Mechanics.
d7d5b8d01Willi Braun- Added support for Boolean and Integer Variables in c_runtime - simulation_result changed only for plt output
2592cea0fPer ÖstlundPartial fix for bug #1287: - Fixed code generation for algorithm with single output variable.
73b669dd3Martin 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
6bca82963Jens Frenkelupdate RedesignBackendOMC.doc
55777f978Jens 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
bf73bb409Jens 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
4cbdfa8b0Per Ö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.
9084ca439Martin 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
6c30f4147Daniel HedbergAdded dynload_try.obj to VC makefile.
366006ea2Per Östlund- Updated workplan.
42ed1b83bPer ÖstlundFixes for bug #1272: - Fixed checkModel of for-loop with unbound parameter range.
fd225f2faMartin Sjölund- Fix svn-eol-style on Makefiles
008860fd4Martin 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
141c705b7Per Ö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.
77082237dMartin 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
737234b77Martin SjölundFix #1293 - Enable MetaModelica grammar when +c=mdt is given
95dff6513Martin 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.
0eccfc6feMartin Sjölund- Ran make fix-svn-eol-style
d57c3d1e9Jens Frenkel- update RedesignBackendOMC.doc
7ba52093dMartin 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
32bc44a6cPavol 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
9c079488dPer Östlund- Reverted some changes from r6146, since they broke some Modelica.Math functions.
abc137ccfPer ÖstlundFixes for bug #1272: - Allowed Inst.elabComponentArraydimFromEnv to fetch dimensions from the component declaration if a component doesn't have a modification.
be6eb4fc2Jens Frenkel- update RedesignBackendOMC.doc
b86f99575Martin SjölundTrunkate integers in the interval 30~31 bit like the old parser did.
01256d88cPer Ö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.
7b1c9a84bMartin Sjölund- Fix parsing of if-expressions in mos-files
12d1f8e43Martin SjölundFix #1284 - Fixes a bug where "No viable alternative near token: " would result in a segfault
551386936Martin Sjölund- Change error message for assignments using (=) instead of (:=)
a93e918fdJens Frenkelupdate RedesignBackendOMC.doc
582991dd0Peter Aronsson-Changed error messages for unbound parameters.
91cb5d092Per Ö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.
5869308b8Per Ö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.
38d631406Per Östlund- Fixed missing semicolon when printing STMT_NORETCALL in DAEDump.ppStmtStr.
d6b64cb4cAdrian 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
3fd98df68Jens Frenkel- fix else path of functionODE_inline - cast conditional expressions to modelica_bools avoid warnings
ea24c37cfPer Ö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.
4e63c7e71Per ÖstlundFixes for bug #1274: - Replaced Static.dimSize with Types.getDimensionNth. - Rewrite Static.computeReturnType to allow unknown dimension in matrix multiplications when checkModel is used.
172e07d4bAdrian 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
7702c1561Adrian 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)
c85d03ee8Adrian Pop- a makefile that works with Visual Studio nmake.
fa6eaf0caPer Östlund- Added printing of class comments and annotations to DAEDump. - Updated test cases.
807192b6cPer Östlund- Fixed expansion of sum(param with fixed=false). - Added test case mofiles/Sum.
02abb48ffPer Östlund- Fixed type of skew function. - Added test case mofiles/Skew.
f5aa5b785Per Ö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.
caab1f90bAdrian 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.
3294b1025Anton SodjaFixed error in c_runtime/Makefile.common regarding libModelicaExternalC.a.
24337450eAnton SodjalibModelicaExternalC.a is now compiled from Modelica/C-Sources/*c.
74e4fdeecPer ÖstlundFix for bug #1274: - Modified Static.elabBuiltinIdentity to work on arrays of unknown size when checking a model.
3db308f51Per ÖstlundFix for bug #1274: - Changed Types.matchTypeTupleCall to allow tuple calls where the LHS has fewer components than the RHS.
ff25ae720Martin Sjölund- Add -lrt to LDFLAGS when needed
cebff6189Martin Sjölund- Add missing #include in rtclock.c
9f11b6758Martin 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.
1e6d000ffPer Ö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.
e9d7b36c9Martin Sjölund- Fixed compilation of ModelicaExternalC.cpp (missing errno.h header)
8ae5a1e11Adrian 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.
38096e5f1Adrian Pop- include more functionality in ModelicaExternalC.cpp needed for Modelcia.Electrical.Machines.
c176fa361Adrian 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.
d538b4a91Adrian Pop- allow enumeration type to be used as a connector as is used in Modelica.Electrical.Digital.
8e856f5c5Martin Sjölund- Fix for parsing element_replaceable
8d996956fMartin 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
8222968baPer Östlund- Fixed bug in ceval of <>, same problem as fixed in r6093 for ==. - Added test case mofiles/ConstantLogicalRelations.
9777e9515Per Östlund- Implemented assignments on the form cref := function_returning_tuple(...), which is possibly needed for bug #1274. - Added test case mofiles/TupleSingleAssign.
7fa4d4314Peter Aronsson-Fixed bug in ceval of false == true, introduced in -r 5993
51932838bJens Frenkel- add RedesignBackendOMC.doc concept paper
f2e35c7c0Adrian 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
126412009Jens 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
fdb4d9262Martin Sjölund- Workplan update
25f2865b2Adrian 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.
28a1be4abMartin 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
28d85f98cJens 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
d8b1b164dPeter Aronsson-Fixed compilation of rtclock.c for visual studio.
5d114b63dPer Östlund- Use fake dimensions when vectorizing a function if checkModel is used. - partial fix for bug #1274
ad2d387c9Per ÖstlundUpdated workplan.
c10e4bb93Peter Aronsson-Removed some newlines in the debug print of expressions
b3419e922Martin Sjölund- Fix parser compilation with GNU C++ headers (involves #undef __cplusplus to prevent the unintended use of C++ features)
957aab9a6Adrian 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.
8a07489eaAnton 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).
d98eb9972Martin Sjölund- Update the type of SimulationResult
94d359770Martin Sjölund- Fix rtclock.o compilation on OMDev
7a43d4b14Martin 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)
f83cc5861Per Ö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.
f35adfa0bMartin 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)
3be70af07Martin Sjölund- Fix parse.c when parsedebug is used
ceb97af05Martin Sjölund- Added testcase for getting values from records in the interactive API. The following now works: - x := rec.field; - rec.field;
ec1423f87Per Ö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.
3edbc66b4Per Östlund- Made all enumeration names fully qualified.
dba6c747bAnton Sodja- Removed unnecessary VarTransform.VariableReplacements from DAELow.removeSimpleEquations. - Changed type of aliasVariables in DAELow.DAELOW (currently ignored in trunk).
bbbea5cb4Adrian Pop- handling task #1269 - partial implementation of stream connectors + connection of stream connectors works now
1a95d5681Jens Frenkel- fix bug (more than one tearing variable) for relaxation algorithm
0064bbb93Willi Braun- fixed bug [#1263]
82657ee12Jens Frenkel- speedup updateAlgorithm
d73a40e96Martin Sjölund- Fixed IntegerLiterals32.mo on OMDev
878d7a4f2Martin Sjölund- Also sort files in a directory when using the class loader - Fixed some compiler warnings (unused imports)
292f84a82Martin 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
4cdf9c75fMartin Sjölund- Fix parser for empty within statements (within ;)
83fcbb7ceMartin 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.
81c1c3ae5Per Östlund- Implemented reduction of enumeration ranges so that the enumeration literals are preserved. - Added utility function Util.listSub. - Added test case mofiles/EnumRange.mo.
8427ca70eMartin Sjölund- Removed antlr dependency from OMShell-terminal
1151192beMartin Sjölund- Update parser makefile
da13ec062Martin Sjölund- Fix integer overflow problem warning on 32-bit systems
00ba3abe7Willi Braunadd reinit support for euler, rungekutta, dassl2
36b4e1fc3Adrian Pop- fixed model extends X end X;
d897f977fJens 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
65718eed2Martin Sjölund- Fix compiler makefile dependencies of subdirs
b1409562cMartin Sjölund- Changed default parser from ANTLR2 to ANTLR3 - All testcases except flat modelica parsing works
b95e74fedPer Ö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.
1e9833008Anton 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.
8653dcbf7Anton SodjaFixed bug where InterpolationTable::extrapolate() expects enumeration indices to begin with 0.
c2d026ce5Anton 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).
92166980cPer Östlund- Fixed vectorization of crefs so that enumeration dimensions are preserved. - Added test case mofiles/EnumDimSum.
05084f4d6Anton SodjaAllowed time samples to be only monotonous (before strictly monotonous) in c_runtime/tables.cpp.
48fa0803cAdrian Pop- added missing c_runtime/ModelicaExternalC/Makefile - fixed ö from Linköping in ModelicaExternalC.cpp and included "../tables.h" instead of "tables.h"
4a45ac274Jens 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
fbad45ad5Anton SodjaAdded wrappers for table-manipulation functions (defined in c_runtime/tables.h) to libModelicaExternalC.
d82d552d4Jens 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
4bb494300Martin Sjölund- Simplified parsing of identifiers - _ is now a valid identifier when lexing as Modelica 3 - It is Absyn.WILD when lexing as MetaModelica
2b628e7b3Anton SodjaIn Modelica Standard Library 3.1, certain external functions are lined with library ModelicaExternalC, which is currently missing in OpenModelica.
258df9babMartin 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
1ae5f6197Martin 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)
4c47984baPer Östlund- Implemented simplification of size calls. - Added test case mofiles/ConstantSize and updated mofiles/DiagonalBlock.
bfe7352ffMartin 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
7d6eba547Martin 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
b9de7054fJens Frenkel- speedup backend function addDivExpErrorMsgtoExp
5f6d3602fPer Östlund- Fixed bug #1255 by also fixing submods in InstExtends. - Added test case mofiles/ExtendsModWithImport.
7208e7d6dMartin Sjölund- Added testcase for runScript() API
d285cae59Jens Frenkel- do not replace outputs of algorithms
150a3afe5Jens Frenkel- do simple replace also for algorithms - TODO: add algorithm outputs to BinTree of DAELow.removeSimpleEquations
5f08c4629Peter Aronsson- Changed Exp.subscriptDimension to return list of DAE.Dimension
f377ef4a6Martin Sjölund- Updated ANTLR3 parser (match/matchcontinue/else) - Most of the testsuite now passes (virtually only error messages are different)
a8f190b40Martin 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)
1deb03978Per Östlund- Implemented expansion of reduction calls sum and product, which are now expanded when possible. - Added test case mofiles/Reductions.
5c4f4fc33Martin 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.
3ae4516f5Per Östlund- Simplified elaboration of reduction iterators due to general changes in iterator elaboration.
cd8f31241Martin Sjölund- Added omc.exe omcd.exe targets to the Parser/Makefile, to link and use ANTLR3 instead of ANTLR2
10dae7a24Martin 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
aafe19f6bPer Ö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.
4cf9aa2b4Jens Frenkel- fix bug in DAELow.traversingextendArrExp
ac645eb9fPer Östlund- Commented out case in DAELow.traversingextendArrExp that converted component references belonging to blocks to empty calls. - Added test case mofiles/BlockResult.
e02bc2f5bPer Östlund- Fixed bug 1249 by relaxing the condition in crefHasScalarSubscripts, so that crefs can have less dimensions than subscripts. - Added test case mosfiles/SliceAssignment.
99bf7a9e8Per Ö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.
4a6b0c5a7Martin 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.
bf3458ab8Martin Sjölund- Update handling of Absyn.IFEXP in the old parser and Static (we now have support for else-if branches in elabExp)
e922c8570Martin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~572 of the testcases. - Improved error handling in the new parser.
924423af9Martin Sjölund- Add some error handling to the ANTLR3 grammar
4a6fcce67Niklas Worschechupdated project plan
c52a3a12bMartin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~485 of the testcases.
0b28ce1c5Martin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~399 of the testcases.
c8a3f827fMartin Sjölund- More fixes to the ANTLR3 grammar (~308 working testcases)
64e577205Martin Sjölund- More fixes to the ANTLR3 grammar (~264 working testcases)
28909bdf9Martin Sjölund- More fixes to the ANTLR3 grammar (~165 working testcases)
3e3bc2b69Martin Sjölund- Add missing parse.c to the ANTLR3 parser
5099b97a1Martin Sjölund- Updated ANTLR3 grammar slightly. It can now handle ~140 of the testcases.
e3c83fe09Anton SodjaReplaced isblank() with isspace(), because the former was added with C99 standard and it seems not every compiler supports it.
653fe0e1aMartin Sjölund- ANTLR3 rules almost done. Can now link it with the omc executable, but it crashes for most input :)
83464e292Martin 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()
22b3bcf7eAnton SodjaReimplemented tables.{h,cpp} (and hopefully made code more clear) and also added support to load tables form MAT-file ver4.
07dfbfe07Martin Sjölund- More actions to the ANTLR3 parser
297e5be01Martin Sjölund- More actions to the ANTLR3 parser
0ab6e1f72Martin Sjölund- File encoding UTF-8 to 8859-10 (c_runtime/solver_main.cpp)
c460bfef4Martin Sjölund- Fixed RK allocation issues once and for all (alloca doesn't work in mingw, so we use a global malloc instead)
99c141629Martin Sjölund- Guard some macros in f2c.h so they don't mess with C++ headers
fcd11b39fMartin Sjölund- Changed RK allocation method to alloca instead of variable-length arrays, since Visual Studio doesn't support those...
5e65412bdMartin Sjölund- Another memory leak in rungekutta_step fixed
1b8845ec4Martin Sjölund- Fix rungekutta memory leak
619142f0cOtto TronarpRe-enabled the general handling of import in Cevalfunc.
57979b084Martin Sjölund- Added some actions to the ANTLR3 grammar
1ceb951dfPeter Aronsson-Added Util.arrayMap and Util.arrayMapNoCopy for mapping functions over arrays.
14872126aMartin Sjölund- Fix building ANTLR3 parser prototype on Linux (ignore the directory recursion in the executable as it is written in Win32 API)
c0b665a3fMartin 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
7e90ffe63Martin Sjölund- Fix and add testcase for Integer() of enum - Fixes bug #1250
3921efce7Martin Sjölund- Fixed the copyright information displayed to the user when running omc,mosh,OMShell or OMNotebook (years were outdated, etc)
c567a2c7aMartin Sjölund- Fixed the copyright information displayed to the user when running omc,mosh,OMShell or OMNotebook (years were outdated, etc)
f8ba68518Martin Sjölund- Fixed the copyright information displayed to the user when running omc,mosh,OMShell or OMNotebook (years were outdated, etc)
7525cd61eMartin 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
40f105c7bMartin Sjölundworkplan update
17363ad41Pavol 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)
df41f5a19Martin Sjölund- Improved the rungekutta implementation (call functionODE n times per loop instead of n+1)
fdb9a8bcfAlexey 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
f9863a806Adrian Pop- updates to the Workplan-status-estimates.xls
7124ca370Martin Sjölund- Updated workplan (missed one line: inline)
5e4adf439Martin Sjölund- Backup algebraics in functionDAE_res, as per bug #1176
5801e42cePer Östlund- Updated workplan.
02cf50d3dMartin Sjölund- workplan update
309ea32feMartin Sjölund- Added runtime support for array equations "cref = fn()", where the cref is an integer array - Solves bug #1242
4658adc79Martin 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
dd4c2638aAdrian Pop- updates to release files
3f53ac6a7Adrian Pop- fixed setting the compilation command on Windows for Inline solvers - fixed test name in InlineSolverCodeGenerationRK.mos
8a44c138ePer Ö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.
6976d4529Martin Sjölund- simulate(..., method="inline-...") now sets the environment variables required during compilation
f4995318fMartin 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
a21a1ea5fMartin Sjölund- Only use EQUATION_GENERIC_FAILURE if no other error message was output during instantiation of the equation
67e58194fMartin Sjölund- Add line numbers to error messages in Inst.checkConnectTypes
d78c0de04Peter 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)
31bc1393ePeter Aronsson-Made DAE.transformIfEqToExpr public again since MathCore uses it in their backend.
1dc7a5186Martin 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
dd34e6963Martin Sjölund- Changed SimCode.SES_SIMPLE_ASSIGN.cref to a ComponentRef instead of Exp
a6b7fd432Per Ö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.
704c78d5eMartin Sjölund- Removed the SIMVAR to String to function from the template; the cref stored in it is sufficient to create the string
64408a43aMartin Sjölund- Fix a configure issue when using sendData-Qt on OSX
66dc286c0Martin 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)
7bee92d78Ariel LiebmanFixed minor bug in notebook.cpp introduced in new message window string concatenation.
329884227Per Östlund- Added getVectorizationLimit to complement the previously added setVectorizationLimit API call.
7d95a39ccPer Östlund- Removed check for DAE.VARIABLE in SimCode.daeInOutSimVar so that it doesn't fail for parameters in functions.
1e5a948feMartin 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
8bd36e4d5Martin 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
9cd5dc124Per Östlund- Added setVectorizationLimit as an API command. - Cleaned up implementation of vectorization limit in RTOpts, and sprinkled some comments on it.
55d6d0b30Per Östlund- Unlifts both sides of the equation in Inst.instArrayElEq, so that their type is correct. - Added testcase mosfiles/ArraySlice.
f3ae7f3dbMartin 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.
c60144e20Per Östlund- Moved an failtrace guard in instElement so that error messages are printed correctly.
7d0e02156Peter Aronsson-Fixed bug with prefixing of expressions inside subscripts of component references (Bug reported by Hannes Edinger). (testcase in ArrayIndex.mo)
ce8d339cbMartin Sjölund- Enforce that function calls with multiple output have a tuple of crefs on the left side of an equality equation.
cdb205fdeMartin 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)
bb5feeb38Per Östlund- Added the new vectorization limit switch to the help text of OMC.
6e356d937Per Östlund- Added command-line switch to set the vectorization limit used by Static.crefVectorize.
c6f0127ecMartin 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
c90ce8d6dPer Östlund- Readded changes made in revision 5900 that were removed in revision 5901, since they seem to be working anyway.
af398596aPer Östlund- Undid revision 5900, since it caused some testcases in mofiles to fail.
f026142a2Per Östlund- Fixed code generation of functions returning tuples. - Added testcase that tests the above fix.
0472e19dbMartin Sjölund- Changed elaboration of cat() to ignore checking that the dimension we concatenate over is always identical - Fixes bug #112
6c6cbd64cMartin Sjölund- Fix year on copyright notice in the "About OMNotebook" dialog
42a586f6dMartin Sjölund- Fixed the DAE function cache when elaborating the expression in a reinit() statement - Added simulation testcase FunctionReinit.mos - Closing bug #1023
b19ccda03Martin Sjölund- Use $(MAKE) in c_runtime Makefiles, to suppress warnings
4d3e6c0d9Martin Sjölund- Added runtime code for semiLinear(), and added simulation testcases for it
885d0c854Martin Sjölund- Improve the error message when trying to use a non-linear system of equations in a when-equation
1c97aa013Per Ö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.
8dac993abMartin 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]"
51e05b98bAnton SodjaCorrected SimCode.getInitalValue(), so it check that variable's initial value is a constant.
291c7aba1Anton SodjaAdded additional fields to SimCode.SIMVAR structure: - String unit, displayUnit - Option initialValue (from modified SimCodegen.generataInitData{3,4})
edf3ffafcJens Frenkel- Exp.mo - add function expLastSubs - DAELow.mo and VarTransform.mo - extend arrays if elements of the array has to be replaced
9b6205d81Pavol 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
95e688a3cAnton 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.
3176b7796Per Östlund- Fixed constant evaluation of for iterators. - Added test case ForIf.
99ea8af7dPeter Aronsson-removed __inline when compiling with visual studio, because it can not cope so well with inline in combination with extern, causing linking error.
eadb012bbPer Östlund- Fixed small mistake in instantation of reinit statements.
c6a172fe0Peter 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
0df1c741aPeter Aronsson-Added error message for structurally singular equation (e.g. 0=0). Before we only had message for structurally singular system.
f356f4978Peter 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.
3cdea3838Per Ö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.
d3458c9f6Adrian Pop- new releases of qt clients OM* and some other small changes
5982a41b9Jens 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
f8b62b51dAriel Liebmanchanged #include to #include . Caused problem in compilation of OMNotebook
f46d1cc24Jens Frenkel- Exp.mo - simplify array of array * array with simplifyScalarProduct
bf4f3e2d4Jens 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(...)
fcad441a8Per Ö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.
faf9a638cAdrian Pop- link of Lapack on mingw to the correct libraries.
2ad8b3a04Jens Frenkel- SimCode/SimCodeC.tpl - use "int" for enumeration type for external functions
61836d245Adrian Pop- small fix
9d3d91308Martin 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.
875344a48Jens 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
61e8401a0Martin Sjölund- configure searches also for omniidl in the specified place
51a882977Martin Sjölund- configure for mico in custom directory, not on path
6d9af7796Adrian Pop- test commit in the new server
c37fd0165Martin Sjölund- systemimpl CFLAGS for OSX
c95244d13Jens Frenkel- Exp.mo - try to simplify exp in ASUB in simplifyAsub if all other cases not true
f48be2218Martin Sjölund- Syntax error
5066a3ba3Martin Sjölund- Add check for -ffloat-store in the configure script. That also solves dassl runtime issues.
ef901fba1Martin Sjölund- Change -msse to -msse2 as we need to use SSE on doubles, not floats
863b07dd8Martin Sjölund- Set -msse in configure in case the instruction set does not have it enabled
aa859532cMartin Sjölund- Running autoconf
3abdc5e9dMartin Sjölund- It's called -mfpmath, not -fpmath....
bb08ee6bbMartin Sjölund- Force -fpmath=sse on Linux platforms, as otherwise simulations spin forever (32-bit)
d8d92ad60Martin Sjölund- Fix configure on OSX
ac71acc42Jens Frenkel- SimCode.mo - fix bug in derVarFromStateVar to avoid redefinition of macros in generated code
a50e099c4Jens Frenkel- SimCode.mo - bugfix code generation for arrays in function createNonlinearResidualEquations
b72b8c82fMartin 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
4dfe86b35Martin Sjölund- Updated checkSettings() to also post "uname -a" output - Compiler/runtime/Makefile no longer sets -O3 twice
0439004d5Martin 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)
c17e38e52Jens Frenkel- Update Workplan
b22dd42b4Willi Braunupdate dassl2 in main_solver + change step calculation + and some minor changes regards error treatment
6dbad112aJens 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
a846a7368Peter Aronsson-Fixed copy paste bug introduced in r5807 (in isZero)
32d2a69e5Willi Braunupdate dassl2 - add warm-start functionality when no event occuors - work faster than dassl
980828482Jens 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
091cfc98dMartin Sjölund- Fix configure script so include flags in qmake are set correctly (does not expect -I input as gcc does)
694ac06baMartin Sjölund- Fix configure script so include flags in qmake are set correctly (does not expect -I input as gcc does)
bf0980392Martin Sjölund- Fix configure script so include flags in qmake are set correctly (does not expect -I input as gcc does)
3a964eba8Martin 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
c4e97f2beMartin Sjölund- Adding new tests to API checkSettings() - In the CWD: try to create a file, then remove it
1528f62f5Jens Frenkel- DAELow.mo - bugfix calculateIndexes now all arrays close together - Derive.mo - use type if componentref is derived
bc4fc344aJens 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)
592e60f5aAdrian Pop- no need to call generateFunctions2 in createFunctions anymore
7bb64a887Martin Sjölund- Moved elaboration of NONE into elabCref to reduce the failtrace generated by MetaModelica files
879e3caf3Martin Sjölund- Call instantiateDaeFunction when elaborating a cref that is a function reference
809f1e2d5Martin Sjölund- Spelling error omshell
b4a2e7d1bJens 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
957c669abMartin Sjölund- matrix.h: Fix off-by-one error
08a1883d0Martin Sjölund- SimCode makefile update for OSX (cp -u is not valid in BSD Unix)
c00618929Willi Braun- update workplan again due to forgot svn update
f38ce5c50Jens 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
5b2a84836Martin Sjölund- make install no longer tries to install qtclients if they were not compiled
6b2f603cdMartin Sjölund- make install no longer tries to install qtclients if they were not compiled
e1e9e606fMartin Sjölund- make install no longer tries to install qtclients if they were not compiled
66b5f210bWilli Braunupdate workplan
04b2be405Otto TronarpAdded option to collect ZC from smooth.
425b379cfJens Frenkel- bugfix createOdeSystem2 for arrays
a6335a62dFilippo DonidaThe "Boolean asInSimulationCode" parameter of the dumpXMLDAE() API method was changed in "String translationLevel". Allowed strings are: flat, optimiser, backEnd.
8e0b9af17Jens Frenkel- fix errors from last commit 5765
6edafbc6dAdrian 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
4b6744d1bAdrian Pop- minor formatting changes for improved readability
54403c447Adrian Pop- proper error messages including the correct package name.
e47e9efeaAdrian Pop- faster Util.listSetDifference* functions. Empty - B = Empty.
898bad7d6Adrian 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)
853d59ee6Jens Frenkel- bugfix linearSystems with array equations
2b5f01420Adrian 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/
82cfddd80Jens Frenkel- fix SimCodeC.tpl for records(containing arrays) pushed to functions
bb14693ffAlexey 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.
9b5a9f370Jens Frenkel- delete unneeded code
0f5c22e19Jens Frenkel- bugfix expStripLastIdent
2850de441Jens 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
28bfa04aaAdrian PopIOStreamExt.c - fail and print a message in IOStreamExt__printReversedList if we cannot allocate the string.
5069c32a5Adrian Pop- make the boundaries of functions more visible
4d784d6e2Adrian Pop- replace equality(x = y) with stringEqual/intEq/realEq - added more comments and updated some of the formatting
b284358f3Martin 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
4f81331cbAdrian Pop- faster Exp.crefPrefixOf - replace equality(x = y) with stringEqual/intEq/realEq - added more comments and updated some of the formatting
2e309a879Adrian Pop- replace equality(x = y) with stringEqual/intEq/realEq - added Absyn.pathEqual - added more comments and updated some of the formatting
1775f841cAdrian Pop- get rid of the warning.
e1a3ef7aeMartin Sjölund- Updated SimCode Makefile: Always set OPENMODELICAHOME to the build directory
71c456bf5Martin 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
747e7d3d7Martin 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
8c2922850Martin 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
71422106aMartin 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
038b98914Martin 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)
6756969eeMartin Sjölund- Remove duplicate SimCodeC.mo from svn
00791817fAdrian 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
3620f28f4Adrian 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
cfe815dcfJens Frenkel- DAELow.mo - extend multidimeqn after inlining if it is possible - Exp.mo, SimCode.mo - fix some bugs relatet to arrays
46087545aMartin 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.
787f3b41cMartin 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.
89eca8e0fJens 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
f29e750e3Martin Sjölund- Install OMNotebookHelp.onb when building OMNotebook
623030348Martin Sjölund- Install DrModelica files when building OMNotebook
8d619b7acMartin Sjölund- Install DrModelica files when building OMNotebook
2b4165495Martin 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
dc7c846b1Martin 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
5b152d4d3Martin 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
f63b232acMartin Sjölund- make install needs to use -r flag on OSX (*.app are directories)
514d410daMartin Sjölund- Spelling ifdef
269c31321Martin Sjölund- ifdef APPLE_CC on r5726
c0cd7cc9bMartin Sjölund- Fix OMNotebook crashing on OSX - Some text boxes are now a bit too large, but it's still usable
41787ea6bJens Frenkel- bugfix simplify
fe0d83a41Jens Frenkel- SimCode.mo - do lateInline - Inline.mo - also inline start expressions - SimCodeC - implement more cases for daeExpBinary
ce884aa18Martin Sjölund- Fix spelling of OMNotebook
0844ddf96Martin Sjölund- make clean removes omc-diff.exe
f4e3fed49Martin Sjölund- Makefile update for OSX .app extension
a27a8cc84Jens Frenkel- DAELow.mo - replace dummy der also in multidim equations - extend array equations for crefs
6498e0cd1Jens 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
8c242f31aPer Ö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.
dda206a45Martin Sjölund- Fix testsuite after commit r5715
4aa3fa66dJens Frenkel- removeSimpleEquations also for simple array equations
243b13f80Jens Frenkel- VarTransform spelling - Derive bugfix dimension of zero derivative - DAELow start to implement removeSimpleEquations also for arrays and records
3d5a078ffMohsen Torabzadeh-TariUpdated the OSMC public license from Berkley for the Release 1.5 //Mohsen
53125d576Jens Frenkel- fix bug in statesAndVarsExp for records
fc8567975Peter 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.
c6c93dfbfJens Frenkel- add derivative for ARR_ADD, ARR_SUB, CREF array - lower MultiDimEquations to normal equations after inlining if it is possible
94ab80f19Martin Sjölund- Added LDFLAGS to LIBSENDDATA_LDFLAGS also for sendDataHumbug
c2b60b9baMartin 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
8737bea03Martin Sjölund- Added missing space in configure script
2c384467fMartin 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
2954b3ca4Adrian Pop- first draft of performance enhancement analysis and proposals
1986af6fdJens Frenkel- start to add code for array equations to simcode
65e1796a8Martin Sjölund- OMShell-terminal: Changed history file to ~/.mosh_history instead of ./mosh_history on Unix
323186abaJens Frenkel- bugfix inlining records
8306ce518Jens Frenkel- Bugfix extend Complex Equations
cadb20a6eAdrian 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
df7694a51Jens 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.
bd54f3b9aPer Östlund- Removed commented case from elabCallReduction (see commit 4787).
416caefdcPer Östlund- Fixed memory copy in solver_main.cpp (copying pointers does not copy data!).
94355bfd6Per Östlund- Moved Codegen.getMatchingExpsList and Codegen.getMatchingExps to Exp. - Moved Codegen.getUniontypePaths to DAEUtil. - Removed Codegen.
4c4c1c341Martin Sjölund- Fixed compilation of OMShell.app on OSX
8c2f7766aMartin Sjölund- Fixed compilation of OMShell-terminal on OSX
dd3c90abeMartin Sjölund- Fixed compilation of OMShell-terminal on OSX
c901c4c0fMartin 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
8edf4bd14Per Ö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.
af858ed12Martin Sjölund- System.os now returns "OSX" on OSX.
ac68f9b82Daniel HedbergBuilt-in function fill is now simplified in Exp.simplifyBuiltinCalls() (used by MathCore).
330d5b9bfMartin 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!)
d41f8910dPer Östlund- Added min of array to code generator.
601156d76Adrian Pop- fixes for list stream printing.
edc9a98fbPeter FritzsonThe OpenModelicaTemplateProgramming document is a users guide on the new OpenModelica text template language Susan. This version is from April 21 2010.
ea0620fbcMartin Sjölund- Fixed usage of sed on OSX (GNU sed handles -i differently)
aa1a3f781Martin Sjölund- Add missing file config.unix.h.in
6ac75ea24Martin Sjölund- Fix configure for OSX
40d5a2b6eAdrian 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*
fd2464559Adrian Pop- updated Workplan-status-estimates.xls (since 2010-04-15 for Adrian Pop)
4830f971aAdrian Pop- fixed compilation on Windows MSVC/OMDev
7bf632439Adrian Pop- fixed problems on Windows MSVC/OMDev
10ea6fd19Martin 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
dbf2255a0Peter Aronsson-Added crefPrependIdent that prepends and identifier to a cref (also given type and subscript list)
f0826337eMartin Sjölund- Updated c_runtime/Makefile.in for building sendData on OSX (which won't link on x86_64 anyway)
68ba76f8bMartin 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.
eec9cb3b2Daniel HedbergReverted most changes of error messages due to a huge number of tests failing.
276c71e84Daniel HedbergImproved/corrected even more error messages (this should be the last commit).
0fa9137a1Daniel HedbergImproved/corrected even more error messages.
435b01af9Daniel HedbergImproved/corrected more error messages.
9c92ebc9dDaniel HedbergImproved/corrected error messages.
a692140d7Per Östlund- Fixed wrong path to typeview in SimCodeC.tpl.
f8c1524b6Per Östlund- Reverted removal of functions in Exp.mo and Util.mo from commit 5649 and 5650.
0a465569aMartin 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
1c272f6b1Per Östlund- Removed more unneeded checks in Exp.crefEqual.
d5a083fadPer Ö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)
66b06d822Martin Sjölund- ANTLR parsers updated
c9687d6deMartin Sjölund- Fix bug in absyn_builder make target
5666f4fa4Martin Sjölund- Updated dummy_model.cpp
fe0fec712Martin Sjölund- Don't compile main() into libf2c.a
d4eb8d009Martin Sjölund- Added automatic regeneration of TplCodegen.mo if the template changes
045af6984Martin Sjölund- Updated workplan
4e717a1f8Alexey LebedevA little more to derivatives of constant expressions:
78f84c6feWilli Braunsmall bug fixes for solver_main
8e606f53aMartin Sjölund- Fix for Makefile ANTLR dependencies with parallel makefiles - Now says "Nothing to be done for `all'." instead of running ANTLR regardless
acf84baeaMartin Sjölund- Compiler/Makefile .depend target depends on a mo-file being changed.
8fbc7721aWilli 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
25f874952Alexey 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.
44088ddd7Peter 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.
605ca5be4Martin Sjölund- Remove tab characters from Absyn.mo
d49456c57Peter Aronsson-Added simplification in Exp.simplify: der(c) => 0 for constant expression c.
cfd11e213Martin 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
bb45ea3e8Martin Sjölund- Update makefiles to fail if we failed to generate simcode (and only try if omc is already compiled)
be1192014Martin Sjölund- Fixed line endings for the new .mo-files - Reverted accidental change to SimCodeC.tpl
7e183dee6Daniel HedbergFixed a bug in simplifyAsub for binary operations with operator type DAE.DIV_ARRAY_SCALAR.
9c7d3901aOtto TronarpAdded /LTCG switch to the makefiles for visual studio.
fccbe6af6Martin 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
e1f51511eJens Frenkel- comment out extendAllRecordEqns until testsuite library uses inline annotation
862564227Jens Frenkel- continue with extendRecords and function inlining
f41c31677Adrian Pop- fix the number of elements in Util.listFill call inside lowerComplexEqn.
cc832a19bJens Frenkel- comment out extendAllRecordEqns until it does not work as expected
5563a5caaAdrian 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.
630c48c44Adrian 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.
7028d71c6Jens Frenkel- move function inlining previous to blt - start implementation of extend recordequations - ToDo: Test Records with array elements
7a874fe54Adrian 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
326421d2dAdrian 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.
fbf1fdc8eAdrian Pop- more comments. - better connection set printing.
6fbfef01aAdrian Pop- use the new DAEDump module.
662a18303Adrian Pop- use the new DAEDump module.
c7f74cf21Adrian 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.
e2ac65f15Adrian Pop- send in the instance hierarchy to Inst.getUsertypeDimensions as is now needed for prefixing.
a697c2d39Adrian Pop- added more cases to Ceval.ceval to handle logical OR expressions.
ba1a74afaAdrian 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.
d0f07a39fAdrian 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.
a23167002Adrian Pop- changes due to move of dumping functions to DAEDump.mo
4699d57e2Adrian Pop- changes due to move of dumping functions to DAEDump.mo
2179b8c10Adrian 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.
9cc0cbb1dAdrian 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
e50579b9bAdrian Pop- added modifierAsAbsynExp to DAE.EqMod in the DAE.TYPED record. is it used to not call unelabMod functions when not needed.
eaedc0784Adrian Pop- partially implemented IO Streams. - right now only list stream is complete.
80392f988Otto TronarpPreserve noEvent around event triggering functions.
b9b0b241cMartin Sjölund- Added Unix make target "fix-svn-eol-style" - Fixed line ending for all .mo and .mos-files in Compiler/ and testsuite/
07764b48aOtto TronarpFixed bug in trimChar for empty strings and strings containing only one char that isn't trimmed away.
74e5beb8eAlexey 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.
c047eac2aMartin Sjölund- Removed unused GCC -I directives from Compiler/runtime/Makefile
dc72d7728Martin Sjölund- Updated workplan
1f8e209b6Martin Sjölund- Compiler/Makefile now calls susan to generate simcode (if omc is already compiled)
29d327c38Martin Sjölund- Added code for generating time event hints in SimCodeC
cead45dd4Pavol 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
060321321Peter Aronsson-Split System.userIsRoot to two separate implementations, one for windows and one for linux (not everyone is using the omc_msvc.h header)
d5cfd135cMartin Sjölund- Template-based code generation mostly working again.
081fdcbbeMartin Sjölund- Fix for make -j2 in c_runtime/Makefile.common
7d101595cMartin Sjölund- Fixed LF eol-style on Compiler/*.mo - Made C code generated by Susan use const char* instead of char*
26292774fMartin Sjölund- Add System.userIsRoot() - If the user is root, omc prints an error message and exits.
e68edf461Martin Sjölund- Updated code generation of external function libraries - Library="Lapack" on OMDev now outputs {-llapack,-lf2c,-lblas}
fbc95d6dfMartin Sjölund- Fixed tolower/toupper malloc off-by-one error
536dff013Adrian PopAbsyn.mo - proper formatting - changed != into Modelica <> so that omc can parse the file
ebb286071Pavol 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
c72577ab5Per Ö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.
ba0252aa8Lennart Ochelcode for codegeneration of symbolic jacobian external functions and algorithm blocks are not implemented yet
58053fb97Martin Sjölund- make clean removes libinteractive.a
23f929a47Martin 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
8c0474d85Martin Sjölund- Added -lpthread in omc_debug/Makefile.in
f2e9e45e2Martin Sjölund- Fixed System.toupper segfaults - Added System.tolower
d775b1503Martin Sjölund- Fix InstExtends when referring to an imported variable in an algorithm section.
3b286ebf9Parham VasaielyControl Client and Transfer Server will be initialized with default communication settings (IP, Port) if not set by user
d7a0e8591Martin 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.
6712f35eaJens Frenkel- bugfix calculateIndexes
4c020da99Otto TronarpAdded pathContainsString for use in MC's filterOutExamplePackages.
e5504c5fdMartin 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.
ebc025d07Martin Sjölund- Make clean should also remove omcd.exe
7dfed5018Jens 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
241e716ffPavol Privitzer- new Susan syntax for template header ... template templName(args,...) "comment" ::= body end templName;
b81097283Jens Frenkel- derivative annotation for functions: functions with record as output now works
779d570ecJens Frenkel- continue with derivatives of functions: functions return records
74383f963Alexey LebedevConstant evaluation for derived functions without modifications.
155917998Per Östlund- Minor optimization of SimCodegen.generateOdeSystem.
8d5cd0932Per Östlund- Added extra checks in all HashTables, as was done for HashTable5 in revision 5498.
28228a880Peter Aronsson-Added function System.windowsNewline for creating string constant '\r\n' since MetaModelica has a bug for that literal.
28fd48180Jens Frenkel- continue with derivatives of functions: noDerivative bugfix
f57506498Martin Sjölund- Added omc_msvc.h: A compatibility header that adds inf,nan and round macros for MSVC.
41d728d97Per Östlund- Added extra check in HashTable5 to make sure that the right function is found.
f7683905fOtto TronarpFixed compilation on Linux.
45cbdbf66Daniel HedbergINFINITY and NAN are not defined in math.h on Windows (MSVC). Removed the code involving those definitions for MSVC.
ecfa67cddPavol Privitzer- a small SimCode/SimCodeC.tpl bug fix ... '-L"<%modelInfo.directory%>"' was incorrectly given as constant in ""
e1d25f16dDaniel HedbergFixed order of includes to make things compile (in Visual C++) again.
82afb8f8bPeter Aronsson- Added className to handleUnitChecking (for debugging purposes only) - Added MMath.rationalString - Fixed bug in unitparser. before adding baseunit, check if it already exists.
bc03247ffOtto TronarpAdded appendFile to System.
1ae767699Alexey LebedevA fix for the cache bug which was causing derived function lookup to fail ( http://openmodelica.ida.liu.se:8080/cb/issue/1198 )
369459d83Peter 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
4e0e2ac9cPavol 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 << ... ' ... >>
18c24f556Martin 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
f6c0ac1a4Adrian 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.
55a6fbcd8Martin 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
ad5bfb2a5Adrian 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
a666545e5Adrian Pop- add case if-expr = cref in Exp.solve as is a mirror of cref = if-expr.
4c25a040fAdrian 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.
ad5352efcAdrian Pop- Linköping is now back to normal.
ca6f3d937Martin 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).
2cfc58b73Otto TronarpRemoved all duplicates that had identical implementation on Windows/Linux.
74d6115e4Per Östlund- Fix for bug #1216: http://openmodelica.ida.liu.se:8080/cb/issue/1216 + Inst.implicitFunctionInstatiation now sends the correct environment to getDeriveAnnotation.
6d16f8ff6Pavol Privitzer- C# templates before transformation into new syntax
f3009d453Per Ö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.
009db3903Adrian Pop- the system call is the same for Windows/Linux, moved at the end. - also added tracing to the System__systemCall function.
dd92b623eAdrian Pop- correctly set the return value from the execution of the generated executable sometimes the executable would return -1 instead of 0!
385a7f2a0Adrian Pop- added a Makefile for MinGW and Linux.
0dd18c2f9Adrian Pop- wrong copy & paste position now fixed.
3fa4f1cb0Adrian Pop- an ANLTR3-based lexer/parser for Modelica 3.1 - see the README.txt
050faf987Martin Sjölund- Adding some comments to Util.StatefulBoolean functions.
125a167ebPeter 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)
3accbc43eAdrian Pop- create the release directory
da96ef00aMartin 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.
16dd3c81bParham VasaielySequence number added to server reply (e.g. start#SEQ#end, done#SEQ#end). For more detail see documentation.
5fa7692f8Parham Vasaielyinteractive components will now be compiled correctly in windows
4ed13a91eRickard LindbergAdded comments to templates.
39a8ca1f4Per ÖstlundUpdated workplan
cc8b1bda9Martin SjölundUpdated workplan status
b3e951c92Per Ö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.
32b6ae184Jens Frenkel- continue with derivatives of functions: remove debug print
bc97f7379Jens Frenkel- continue with derivative annotation for functions: functions with multiple outputs now works - implement replaceDummyDer for algorithms
9f0e3ae82Jens Frenkel- continue with derivatives of functions: outputs
27d0b0540Alexey 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.
5d4ebea61Martin 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.
952cce963Per Ö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.
ec52821d4Stefan Brus- Most of the partial function tests now work again
560110779Per ÖstlundFix for bug #1208: http://openmodelica.ida.liu.se:8080/cb/issue/1208 - Disabled constant evaluation of parameters with fixed=false in Mod.elabModValue.
f681299ecPer Östlund- Merged the interactive_simulation branch into trunk. - Removed check for QTHOME in systemimpl.c, since the QT libraries should be found anyway.
5770f8978Martin 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.
9227c0134Jens Frenkel- continue with derivative annotation for functions: check of inputs from derivative function works now
7c7e6eec8Adrian Pop- forgot some debug prints. now they are no more!
3f4b62cb7Adrian Pop- forgot some debug prints. now they are no more!
a8cd3d9adAdrian Pop- updates to READMEs
1e0a1a7f4Adrian Pop- copy the OMShell.exe to build/bin after compilation
8247a52e0Adrian Pop- update of dummy_model.cpp
acfc886d1Adrian Pop- copy .xml files to build/share/omnotebook/ instead of build/bin/
0ce4b58f3Adrian Pop- add the equalityConstraint function to the DAE.
49021358ePer Ö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.
dbd4671adPer Östlund- Fixed configure so that USE_CORBA is set correctly.
00eeef4c6Adrian 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.
2e2f1d10aAdrian 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.
5edb1dd3dMartin Sjölund- Added new configure option --with-Coin (Coin disabled by default).
471d670dcMartin Sjölund- Added new configure option --with-Coin (Coin disabled by default).
8b221f195Martin Sjölund- Added new configure option --with-Coin (Coin disabled by default).
5fcde545aMartin Sjölund- Adding -source flag to java_interface makefiles since eclipse javac default to version 4.
d6bed0f35Martin Sjölund- Added a configure option to (force) statically linked lpsolve55 even if dynamic libraries are present.
19e35d9a4Martin Sjölund- Remove OMPlotWindow on clean
050e994beMartin Sjölund- Renamed ext OMPlotWindow
f5e60b489Martin Sjölund- Renamed ext OMPlotWindow
c8c975585Martin Sjölund- Renamed ext OMPlotWindow
222d03a08Adrian Pop- added profiler target
51f338e4fMartin Sjölund- Don't rm -rf build/ on clean; only distclean
c5af20bf9Martin Sjölund- Fix broken OMShell build.
9f32ecb83Martin Sjölund- Install scripts in share/omc/scripts instead of bin
8b5b5061eMartin Sjölund- Fix so the qtclients idl files aren't re-run every time they are built.
a3ad983f5Martin Sjölund- Fixed https://openmodelica.org:8443/cb/issue/1200 - Search /lib/ instead of /lib in case lib is a symlink.
d37d25d46Martin Sjölund- Use qtclean target to Makefile.common, so we actually clean up after the qtclients.
d9f79c190Martin Sjölund- Move libQt*-mingw.a from build/ to c_runtime/omdev_qtdeps. - Delete build/ from svn.
f5033e11aMartin Sjölund- Added antlr_license.txt. Missing from last commit.
1aa8bb86dMartin 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
86cb637b7Martin 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
2bc1dff70Martin 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
901913cfdMartin 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
836ed8eeeMartin Sjölund- Fix syntax error in OMShell.pro - Use ANTLRHOME paths properly in OMNotebook.pro if it is set
0b1764f33Martin Sjölund- Fix syntax error in OMShell.pro - Use ANTLRHOME paths properly in OMNotebook.pro if it is set
c80d28405Martin Sjölund- Updated c_runtime/Makefile.common for OSX (needs to run ranlib on .a-files).
baac3d901Jens Frenkel- continue with derivatives of functions: start noDerivative, outputs
db6c52f3cMartin Sjölund- Fix docdir for install script
7f6492508Per Östlund- New fix for --with-CORBA=DIR
8c1683fb9Martin Sjölund- Fix for mico-config --with-CORBA=XXX
0c8f954a5Jens Frenkel- continue with derivatives of functions: zeroDerivative now works
84734ff0bMartin 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.
c1ab7db50Martin Sjölund- Make omc exit if OPENMODELICAHOME is not set.
ef0326b40Martin Sjölund- Don't copy .svn-files when doing make install.
c385bc08fJens Frenkel- continue with derivative annotation for functions: order > 1 works now
e301ae5d5Jens Frenkel- continue with derivatives of functions not Working: - output arguments - check derived function inputs and outputs (frontend) - order > 1 - zeroDerivative, noDerivative,
cef4376ecAdrian Pop- updates to visual studio projects, makefiles, qt clients and pdbs
7df59a321Jens Frenkel- derivative annotation for functions: convey functions to differentiateExpTime
facdf281eMartin Sjölund- Adding OMC_API-HowTo to install target for omc (only did omcd last commit).
021660c99Martin 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.
3ea80f9c1Jens Frenkel- Bugfix, derivative annotation for functions, functions with annotation(derivative=foo1) wasn't found
e4c8c8f32Martin Sjölund- Added support for unset RMLHOME when doing ./configure - More removal of files when doing make clean or make distclean
4a5e03ba8Martin Sjölund- Updating linux makefiles (and rmldep-new.sh) to work without RMLHOME set (it is set by ./configure!)
b6a6e3592Martin Sjölund- Added support for omniORB in qtclients. + We can now remove the dependency on mico for Linux systems.
bdba43d6eMartin Sjölund- Added support for omniORB in qtclients. + We can now remove the dependency on mico for Linux systems.
91feb6780Martin Sjölund- Added support for omniORB in qtclients. + We can now remove the dependency on mico for Linux systems.
46a7725c5Peter FritzsonAdded Juhas fixes from 100421 and added items function returning records and function derivative annotation in the backend sheet.
d6b93a8b4Jens Frenkel- update Workplan
3af9dfd0fMartin Sjölund- Updated configure script to configure lpsolve55 properly (some systems require -ldl -lcolamd, others don't).
cf1a053a2Martin 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.
9be5da692Martin Sjölund- elabCallArgs now guards the general case from accepting record constructors.
0f9f54145Per Östlund- Fixed detection of nested when-statements [bug 1189: http://openmodelica.ida.liu.se:8080/cb/issue/1189]
957f7127dPeter FritzsonUpdated entry text for refactoring - added 80% and 100% explanations and 100% entry
fddbe90c9Adrian Pop- updated.
3bdbf77d2Per ÖstlundUpdated workplan
7b16d114bPer ÖstlundUpdated status for finished bugs and fixed some rows that had not been correctly added.
abf169a71Niklas Worschechupdate status for cpp code generation
eaeb5a21bPeter FritzsonFixed summation errors and conditional errors in excel sheet
1be141116Peter FritzsonInserted some development items for Jens Frenkel, Lennart Ochel, Willi Braun, Peter Fritzson. However, time estimates and measured time still needs to be intered.
c446b8f23Alexey LebedevUpdated workplan
cea230f2dPer Östlund- Fixed code generation for min and max (bug #1196: http://openmodelica.ida.liu.se:8080/cb/issue/1196).
2d98f6267Per Ö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.
9b34ee963Martin Sjölund- Added support for "record ABC = DEF;", and calling the record constructor ABC. - Added testcase records/Derived1.
aaca4bf7ePer ÖstlundUpdated workplan
5b76eaa80Martin Sjölund- Fix for getNthComponent (partialInstClass wouldn't work on certain scopes that extend with modifications).
7ad9d8548Martin Sjölund- update of the work-status
c31e7145eAdrian Pop- update of the work-status
6e84bdae9Martin Sjölund- Updated layout of Workplan-status-estimates
bbd366a92Martin Sjölund- Remove failtrace for lookupVarInPackages.
8aaa49578Martin 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.
8b99fbf42Per Ö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.
968abd0ceAdrian 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.
69c648544Martin Sjölund- Removed "Lookup of enumeration variables" from lookupVarInPackages, since the general case also handles enumerations (less code to maintain).
59b2b5b0bMartin Sjölund- Simplified the code for lookupUnqualifiedImportedVarInFrame so it's easier to maintain.
dea22dde2Martin Sjölund- Simplified the code for lookupQualifiedImportedVarInFrame so it's easier to maintain.
b22956fdePer Ö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.
a8c0e5432Peter FritzsonUpdate to having 2 separate sheets for frontand and backend + other things. Tried to delete irrelevant issues for front resp backend.
a5c573123Per Ö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.
1672c17bfMartin 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).
edb8d6724Adrian Pop- added operator record to the grammar / walker / Absyn.mo (from Modelica 3.2).
a611bef98Adrian 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.
9291bcb33Jens Frenkel- readable DivisionbyZero ErrorMsg - test only divisor part of parameter Equation if zero
ff0a8e9d3Martin Sjölund- Do updateCompeltsMods also when doing a partial instantiation (this solves some issues in Modelica.Media; some others remain though).
234d69e47Martin Sjölund- Removed lookupVar failed failtrace (I re-added it by accident after debugging). - Added printing of scope used when instantiateDaeFunction fails.
999aaf645Jens Frenkel- finish relaxation algorithm works also for template codegen, - use "+d=relaxation" to solve linear systems with relaxation algorithm (gaus ellemination without pivoting)
4cd0f18f0Jens Frenkel- continue with relaxation algorithm
0301cc37eJens Frenkel- start implementation relaxation algorithm
8f5cebcccJens Frenkel- implement pow operator for matrix
0d5d93240Martin 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).
9aef184caPer Ö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.
fe3d614bbAdrian 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).
fdbf4b8c2Jens 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
2d5dd111fMartin 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.
c7babf5b2Jens Frenkel- implement elsewhen part of whenequations for tplmode
bf298affaRickard LindbergFixed incorrect generation of makefiles.
1a08cf87dJens Frenkel- implement elsewhen part of whenequations
abf20b136Rickard LindbergUpdated some comments.
87488ed1cRickard LindbergAdded more documentation to SimCode and did some refactoring.
aa6e243baMartin Sjölund- Fixed some gcc warnings in Compiler/runtime on Unix.
1c5d87c9bJens Frenkel- division by zero problem, test parameter expressions only once
752953f0eJens Frenkel- continue with division by zero problem, attend mode (ALL,ONLY_VARIABLES), removed unused functions
76bd57746Adrian Pop- moved getTotalProgram from Interactive.mo to a new package Dependency.mo so that it can be shared between OpenModelica and other tools (MathModelica).
e4b951971Martin 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)
a64ceaf86Martin 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).
658739cd7Martin 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.
3a20c8450Otto TronarpMake it possible to setup a different default compiler through environment variables.
852f5d506Martin 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.
71de94c92Martin Sjölund- Updated the generation of Makefile header so you don't have to specify SENDDATALIBS if you run it manually.
6b21019aaJens Frenkel- update CMakeFiles for linux
992b28e68Martin 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.
d3f08b32eJens Frenkel- update CMakeFiles, start with testsuite
1d602c52aPer Ö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.
deff1a39bRickard 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
5aed0dfa5Martin 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).
5cebd9f6fJens Frenkel- CMakeFiles: install omc, libs, docs, testmodels, includes
036e41c39Jens Frenkel- CMakeFiles: install omc, libs, docs, testmodels, includes
7fdfdabd4Jens Frenkel- CMakeFiles work with VisualStudio but generated omc.exe wound work because of qt problems
7d31d76a5Jens Frenkel- continue with CMakeFiles
74c8e90e5Per Ö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).
7f3cf54b2Martin 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.
24b928b84Jens 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. ...
233041f01Martin Sjölund- Print a message about what port is being opened if omc is started with +d=interactive (socket interface)
1fcc180d2Rickard LindbergRefactored templates.
bc0bce83ePeter Aronsson- Reverted (constrain is used in the old multibody library and MathCore uses it.) Testcase will be added later today.
7dac18644Jens Frenkel- update CMake Files, now only the linker fails
64220111aPeter 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.
9e8a425aePeter AronssonReverted -r 5194 as it destroyed a lot of testcases at MathCore. I will add these as instantiation tests in OpenModelica later today.
562109bf4Per Ö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.
7b5013ab7Jens Frenkel- continue with CMakeFiles
9dbd9c1daPer Ö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.
36a750631Jens Frenkel- update CMake Files
a44025e55Rickard LindbergRefactored and documented C code generator template code.
ac698813eJens Frenkel- add CMakeFiles to build omc with CMake (not yet finished)
99f4a4df3Jens Frenkel- missing file for division zero problem implementation
58d75a68bMartin 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).
f88b5cdb5Jens Frenkel- first implementation of division by zero problem (only for template part)
4d83e40e6Alexey LebedevFix for the multiple declaration bug: http://openmodelica.ida.liu.se:8080/cb/issue/1071?navigation=true
64ecd443cMartin 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.
7e00010d0Rickard Lindberg- Extracted extra record declarations from uniontypes - Extracted libraries (arrays of libraries) from annotations - Generated external type for meta types
c3d58ee9eMartin Sjölund- Added a makefile target for building omc with RML profiling information
bae366c7bPeter 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
2cf0113cfRickard Lindberg- Extracted record constructors as functions and generated code for them - Generate complex constant expressions in daeExpMetaHelperConstant - Generate type descriptions for meta types
4d9d78d8cPeter FritzsonIntroduced change date column with dummy contents
e4a44574aPeter FritzsonMade the upper part of the table more compact
547392dd9Peter 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.
656c479a5Rickard Lindberg- Generated code for STMT_TRY - Generated code for STMT_CATCH
3ca767624Rickard 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
08a284345Rickard Lindberg- Implemented generation of expression CONS - Implemented generation of expression METARECORDCALL
9f02d82a9Peter 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
62e1d7023Björn Zachrissonsome comments added
e8155de7aMartin Sjölund- Fix for Lookup.lookupVar: Check for valueBlockScopeName in addition to forScopeName. - Fixes MetaModelica and ForIterator test cases.
99be13c6dPeter 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.
e6fbe8b53Per Ö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.
2b4d69849Martin 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).
5e47787dfMartin Sjölund- Fix for errorext.cpp on Linux (missing string.h for strcmp; OSX and Win32 doesn't require it).
347a43cb0Jens 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
c73689577Martin Sjölund- Fix for errorext.cpp (use strcmp instead of pointer comparison).
81e29fb02Daniel HedbergAdded a few utility functions: - crefPrefixOf - isNone - isSome
744279279Martin Sjölund- Fix for errorext.cpp (was missing include stdlib.h).
808ffb4cfPeter 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.
f27bf7cc1Per Ö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.
b413d1a0aAdrian 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.
001cae340Per Ö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.
24356b45dMartin Sjölund- Fixed error messages from Static.instantiateDaeFunction when trying to instantiate from the top scope.
7ac6c747fMartin Sjölund- Replaced Static.calculateConstantness with listFold.
9ff466833Rickard LindbergImplemented generation of expression LIST, META_TUPLE, and META_OPTION.
a1c2e00feMartin 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).
4059df1adMartin Sjölund- listFold instead of listReduce when simplifying calls. + Works when using an empty list of arguments.
6f7745c5bRickard LindbergImplemented generation of STMT_THROW.
a5ba5c356Rickard Lindberg- Implemented STMT_MATCHCASES - Implemented STMT_BREAK - Added missing record STMT_RETURN in the typeview (solving the problem described in the removed comment)
4a4546110Peter Aronsson-Fixed some bugs with wrong type in component references
58b293898Martin 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.
6904a3b9eRickard Lindberg- Fixed readInVar template to work for nested records - Refactored code for writeOutVar template
257ad3977Adrian Pop- replaced Linköping with Linköping
bb4ecf512Adrian Pop- replaced Linköping with Linköping
a6f84c547Adrian Pop- replaced Linköping with Linköping
f651d38deAdrian 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!
25fdad402Martin Sjölund- Updated simulation runtime to support pre() and save() on strings.
5eb5545d9Rickard Lindberg- Generate record declarations in correct order - Generate correct type descriptions for nested records
cca934e47Rickard 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
757135339Martin 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.
67fe5497fMartin Sjölund- Added c_runtime/Makefile.common. - You now only need to change one file when you add headers.
1cee911aeAdrian Pop- some fixes to plotting while simulating - disable some logging. - updates to ext and OMNotebook
af0915370Adrian 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).
442c6ba66Adrian 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)
9f121f134Adrian 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)
3fe65159bMartin 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.
7f0edc498Rickard LindbergFixed testcase ExternalFunctionResultOrder.mos.
dda76d6f0Per ÖstlundDisabled earlier changes in Env.cacheGetEnv2, since these caused problems in Multibody.
9acd6c207Peter 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).
9bb396204Björn ZachrissonAdded a back patch for Qualified instantiation
e01b561eeMartin 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.
dab774d24Per Ö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.
fe850cb5cBjörn Zachrisson* Fixed initial array equations * Activated back patching of initial if equations with Connection.isRoot() as statements.
5b6f8ef9cMartin Sjölund- Added support for external function annotation Library={"lib1","lib2"}, as per the 3.1 specification. + Updated MetaModelicaDev testsuite to use this functionality.
7732cc983Rickard LindbergGenerate correct read/write in 'in_' functions for complex types.
01b640893Rickard LindbergGenerate code for STMT_RETURN.
a3b052db0Rickard LindbergGenerate correct C type for external string array arguments.
9453132a1Martin 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.
484b849bdMartin Sjölund- Fixed OMC parsing issues in Inst.mo. RML didn't complain even though the syntax was clearly incorrect.
c28f2cbd8Martin 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).
e57620217Martin Sjölund- Fixed a MetaModelica bug where matchcase expressions with 0 input variables were disallowed.
8f0ca7e3cMartin 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.
a74698e33Rickard LindbergAdded special case when cref is of enum type.
bf539eb61Rickard LindbergGenerate 'in_' function for external functions.
edf412831Rickard Lindberg- Added support for generating single functions using Susan - Added case to STMT_ASSIGN_ARR to handle slices on the left hand side
fd31d0057Per Ö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.
33aa73988Martin Sjölund- Changed Env.BCFrames to list instead of list. - Updated Inst.getDerivedEnv and Lookup.lookup{Class,Var} to reflect these changes.
7ca7a826bPer ÖstlundFix for bug #1146: + Fixed elaboration of fill (such as zeros and ones) on arrays of unknown dimensions. + Added testcase FillSize in mofiles
33d41497bRickard Lindberg- Fixed when_sorting test case by extracting a new set of equations including when equations (used in functionUpdateDepend template) - Generated functionCheckForDiscreteChanges function correctly
dbf1b8745Stefan Brus- C_runtime .c files now have updated license headers
6101653a5Stefan Brus- C_runtime .h files now have updated license headers
c91b93bdaStefan Brus- Rest of .mo files
3ea3af849Stefan Brus- First batch of updated license headers
a16418cb5Jens Frenkel- bugfix CombiTable2D
6440d842fJens Frenkel- implement CompiTables2D, not testet yet
4c1bf45dbPer ÖstlundImplemented support for initial array equations (DAE.INITIAL_ARRAY_EQUATION). Not properly tested yet, but shouldn't break anything.
2889f767dMartin Sjölund- Changed the base class in SCode elements to a list instead of option.
1fff03f80Martin 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.
d09df64a5Rickard LindbergImplemented generation of delayed expressions.
c9a378595Martin Sjölund- Fixed r5075 (which changed encoding of Swedish letters into ???)
c19d7ea5aPer ÖstlundUpdated workplan.
b625b007fRickard Lindberg- Implemented generation of reductions - Fixed incorrect name in print string - Added empty function checkForDiscreteChanges (to make it compile)
2c53374e8Anton 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'.
a15d95b0dMartin Sjölund- Updated URLs in README-OMDev-MINGW.txt
d73a1807dJens 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.
32450ecf4Martin Sjölund- Removed trailing whitespace from Compiler/*.mo
07ba55561Martin Sjölund- Added Env.BCEnv for the type used by base classes (currently aliased to Env.Env)
dc1700679Martin Sjölund- Updated Inst.getDerivedEnv - it no longer needs to check for possible infinite recursion since lookupClass does that for us.
69c7b3f60Jens Frenkelbugfix for removeSimpleEquations
1424f5484Martin 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.
0f8cb8bfbMartin 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.
79efed329Per ÖstlundUpdated workplan.
7e28e4be0Willi BraunUpdate event handling for euler. Add two testcases: one for event iteration and one for when sorting cleanup Codegen.mo.
66ce6db4dAdrian Pop- updates to estimates
79cbbb78bPeter FritzsonUpdate 2010-02-26, moving relevant bug work to MultiBody, formating to 1 decimal, etc.
19a91a56dMartin 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.
fd1a8d4d2Per Ö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.
c4c9d1696Martin Sjölund- Dynamically loaded functions are now compiled using g++ instead of gcc. They are still exported using extern C.
913c2eed9Martin 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).
23e20ec2fPer ÖstlundAdded time estimates to workplan.
c45bb8c8eAdrian Pop- ValuesUtil.unparsePtolemySet2 was failing due to some problems with dimensions of Values.ARRAY; because of this plotting was failing, now it works again.
e8c9c986dJens Frenkel- continue with division by zero implementation
f0a7fad6aAlexey LebedevUpdated workplan
01248b8b3Per ÖstlundUpdated workplan
61b4c2155Martin Sjölund- updates of the Workplan-status-estimates.xls
babb97a08Adrian Pop- updates of the Workplan-status-estimates.xls
ed8745e7fMartin 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
e94257340Jens Frenkel- continue with division by zero implementation
ec7fd3b1dMartin 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.
369ce9c19Martin 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).
78823db89Peter 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)
934f9e006Björn ZachrissonSome minor renaming of functions to be more correct according to rest of project.
ad3d230f2Adrian 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];
65b7bf363Jens Frenkel- start implementation of check division by zero
fdec6091cJens Frenkel- undo more simplification (Rev 5008) because speedup is less than 1%, so numerical stability will be preferred
a40103440Martin Sjölund- Merged cases in lookupClass2 to make it easier to follow
c38023872Björn ZachrissonAdded a Absyn function to strip last cref of a qualified cref
118e69387Jens 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}}.
1e41eb2cdJens Frenkel- do a bit more simplification
43e852c8eRickard LindbergFixed failing test case mosfiles/BooleanArray.mos.
491ebe526Martin 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
672fc711bJens Frenkel- add missing built in math function return types
a19b7ef51Adrian 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 .
c37a5cfc7Björn ZachrissonSome minor changes to inst->deriveing function and Exp functions.
fff335ccfAdrian 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
1e58316a1Adrian Pop- added a new function - use dummyInfo constant rather than construct it on the fly
64555747aAdrian Pop- updates so it compiles
3248d3e0bMartin Sjölund- Updated get_array_sizes in dynload.c to use existing dimension information from the Values.ARRAY
a0776c543Martin 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
aea77c6fcMartin 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.
e014cd823Björn Zachrissonminor changes in front-end, * some new functions * cleaning of code and complement to existing functions
a85f09cc2Jens Frenkel- update CMake files, now it is possible to at external c sources
229b9df2fPer ÖstlundAdded a variant of buildModel that takes a stepSize instead of startTime, stopTime and numberOfIntervals. This is used by Parham Vaseles OpenModelica Interactive implementation.
ba7081a4aMartin Sjölund- Balanced the ptolemyio.cpp indentation.
72f31febfMartin Sjölund- Removed tab characters from ptolemyio.cpp
6d37331b9Martin Sjölund- Added MetaModelica builtin function print(String) as a Modelica builtin function instead (by request from Adrian)
a824e50eeJens 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
696ab5acdMartin Sjölund- DAEUtil: Added some printing of MetaModelica statements (to see more structure of functions when printing flattened models)
c53495999Per Östlund- Fixed elaboration of the builtin vector function (should now give correct result and type). - Added test case VectorBuiltin to test the fix.
c2f643cefMartin Sjölund- Static.mo: Improved readability of logic in edge,change and cevalIfConstant
9eed6156cJens Frenkel- add Flag "-mt" to measure simulation run time
d69f1e617Jens Frenkel- added CMake files to generate for example Visual Studio project to debug generated simulation executables
08a53fa44Martin Sjölund- Exp.printExp: + Added WILD + Added VALUEBLOCK
a83238e51Martin Sjölund- Added better _init.txt trace messages during verbose simulation
38b82ed85Martin Sjölund- Fixes for code generation of scalar arrays (now works for boolean arrays in simulation context)
6da3c54d7Pavol Privitzer- QHP/TestRedCellsTotal.mo ... another model to be translated to C#
8c37dd320Pavol Privitzer- C# codegen update for OM Workshop - C# functional code in RightHeartStarling.cs
44586a388Jens Frenkel- Bugfix: tearing algorithm - add new variable kind STATE_DER in DAELow to differentiate between State and der(State)
fb7ef482cBjörn ZachrissonAdded some functions used by MC back end
8634e48a5Martin Sjölund- Fix for sample(startTime,i). Now doesn't generate events unless time >= startTime, as expected.
d3b57e14aPer ÖstlundFixed elaboration of built-in function 'integer' when the argument is an Integer.
a449c966aPer Ö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.
685cda8deAdrian Pop- fixes for 3.x annotations - added getNthInheritedClassIconMapAnnotation and getNthInheritedClassDiagramMapAnnotation for retrieving annotations placed on extends.
a9540c8b4Adrian Pop- hopefully faster/better Util.listReduce
08ddf5602Adrian Pop- fixes for enableSendData
8fdc9e199Adrian Pop- fixes for enableSendData
5e00c55ebMartin 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.
e769ade03Per ÖstlundFixed bug #1161, where 3*(2^p) was 'simplified' to 3*(p^2.0).
7c7db5fabPer Ö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.
159bb3219Martin 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)
8312a2ab8Jens Frenkel- tearing implenetation: check if tearing succeed, make negative entries from IncidenceMatrix positiv to get a working matchingAlgorithm
8a291c9f8Adrian Pop- more info on how to generate .project in README-OMDev-MINGW.txt
315ef962dJens Frenkel- tearing implenetation: first codegeneration version works
a3c36dca9Peter Aronsson-Small bugfix for instantiation of derivative functions.
b3ca929a2Rickard Lindberg- Moved generation of makefile to templates - Added skeleton for new function needed by simulation library
472c3db44Martin Sjölund- Added scope name for valueblock scopes + Used to be NONE(), but that causes Env.getEnvPath to fail
a8e27f48fPeter 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.
0cd7fe726Peter 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.
2c0a4210fBjörn ZachrissonAdded some functions to Exp.mo
acad42702Rickard LindbergCleaned up template code and fixed incorrect name for some structs.
da1f06649Rickard LindbergChanged C# template to reflect string-to-Path data structure change.
6bd879f93Martin Sjölund- Added failtrace when Env.getEnvName fails (related to MetaModelica problems in the testsuite)
c791e318cReino RuusuA basic implementation of the built-in function delay(). Lacking features: * Handling of delayed events * delayMax is ignored * Checks for some improper usage
2c0af657cMartin Sjölund- Added better unparsing of valueblocks for debugging purposes.
a5def2cfaReino RuusuBugfix: DDASRT sometimes jumps to a root at t > tout when INFO(3) = 1. Affects cases where outputSteps < 0.
ffda0c5c9Reino RuusuFixed a bug in DAEUtil.traverseDAE2 that prevented changes to component contents being returned.
c2ccd28faBjörn ZachrissonRemoved debug prints from operators
934520162Jens Frenkel- Bugfix: tearing selection algorithm: array variables
23ea83370Martin Sjölund- Fixes bug in codegen of record constructors after PA's changes.
48ca649baPeter Aronsson-Fixed a couple of the failing tests from earlier checkins. Testsuite closer to 100%
73787f477Björn Zachrissonminor changes how functions and records are treated. Added some functions.
b52ccc41cJens Frenkel- mistake in writing
6addc17cfBjörn Zachrissonadded a crefAppend function for Exp.mo
df3697fccJens Frenkel- Bugfix: tearing selection algorithm, replace tearing variable also in scalar part of equation - print more information with tearingdump
f91ad1ba1Peter Aronsson-Updated backend after changes to ClassInf.State.
8e242dd09Peter Aronsson-Fixed bug introduced in -r4876 (size({{1,2},{3,4}})) stopped working. Testcase for this exists in backend at MathCore.
1b9246414Peter 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
2997533f7Martin SjölundJava Interface: - Fixed CLASS_EXTENDS typo for AstAsCorbaString - Added better error messages for ModelicaRecord.java
e4cd64999Per Östlund- Fixed cevalBuiltinSizeMatrix to work on non-constant matrices. - Fixed elaboration of non-constant for-loop range limits. - Added testcase DiagonalBlock for bug #1149.
09d0305b7Adrian 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
ffc7b11baAdrian PopCodegen.mo - got rid of unused import Inst;
7a31d5d0bJens Frenkel- implemented first tearing selection algorithm
a245334e2Martin SjölundJava Interface: - Optionally send types when creating records from Map (required for uniontypes to work correctly)
0b7986a40Per ÖstlundFixed bug #1153, sum of arbitrarily sized vector.
297d56780Martin 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).
43d95e967Martin 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.
214e8bdaePer Östlund- Added case for empty vector range expression in reductions. - Added missing changes to testsuite makefile for Reductions testcase.
58068227ePer Ö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.
8ee35c6c3Peter 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.
2229069f2Adrian Pop- updated Copyright (c) text to 2010
dfbf818c9Adrian Pop- updated Copyright (c) text to 2010
498fe68a1Adrian Pop- updated Copyright (c) text to 2010
79297638fAdrian Pop- updated Copyright (c) text to 2010
4da961159Adrian Pop- updated Copyright (c) text to 2010
9631a8d4eAdrian Pop- updated Copyright (c) text to 2010 - replaced some of the leftover BSD licenses.
47ee4772fAdrian Pop- updated Copyright (c) text to 2010
6e792bae6Adrian Pop- updated Copyright (c) text to 2010
346787ca9Martin 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.
bd4af310fPer Ö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'.
ea7dce604Rickard LindbergRemoved dependency on Codegen module.
0da6b88e8Rickard LindbergRemoved dependency on SimCodegen module.
46be79ea6Rickard LindbergRemoved createContext functions in favour of constants.
ff40e66d0Adrian Pop- add a space between the comment and the variable
e641ff168Per ÖstlundTuple-tuple assignments are now broken up into separate equations in DAELow, so that the number of equations get counted correctly.
3ffb189daMartin Sjölund- SCode.printClassStr: Added restriction to the generated string (useful when debugging)
ff64c6659Rickard LindbergCleanup.
8f3ee28a3Per ÖstlundAdded case for Real iterators in elabCallReduction2.
392e0193aPer ÖstlundChanged how elaboration of multiple iterators in array constructors are handled (multiple iterators give multi-dimensional arrays, not a flattened one-dimensional array).
c59eb1ddfPer ÖstlundChanged some function prototypes to be partial (ReductionOperator in Ceval).
427befcecAdrian 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
1151b6d8aAdrian Pop- display the annoying DAELow.lower2 errors only when given the +d=failtrace flag.
cbf845cbbAdrian 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.
56a70f387Adrian Pop- fixes to DAEUtil.selectBranches to select until a non-constant boolean is found.
4d6479e97Adrian Pop- moved Static import to the protected section
499892d63Adrian Pop- added HashTable to hold the instance hierarchy (IH) used during Inst. The new IH is called InstHierarchy.
b7d88e122Adrian Pop- minor text editing, updating 2009->2010
3d81a4e90Adrian Pop- set the external flag that signals the presence of inner/outer definitions in the translated model.
4dd5824c1Adrian Pop- print inner/outer prefix in SCode.unparseElementStr as it gives more information during displaying of error messages.
ce1956368Adrian 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.
281189149Adrian Pop- added isInner and isOuter functions
e3e23f759Adrian 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
c0a271756Rickard LindbergGot rid of listLength* since listLength is now supported in Susan.
844de37eaRickard LindbergRemoved unused code.
41cf9f6d4Rickard LindbergChanged the way numOutVars and numInVars are calculated.
e25503c81Rickard LindbergRemoved unused methods.
67ec71ac6Martin Sjölund- Static.mo: Fixed parsing problem (RML accepted it, but the OpenModelica parser gave a proper error).
d22a55a77Rickard LindbergFail if inverse algorithm for single variable.
0dcb4f718Per ÖstlundImplemented constant evaluation of reduction functions max, min and sum.
4c5f13257Martin 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).
cf9af6b76Stefan Brus-fixed a bug with inlining of array functions
f3d2f59c8Stefan Brus-fixed a bug with inlining of array functions
1684f11b9Stefan Brus-fixed a bug with inlining of array functions
32c26a853Martin 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.
e4a2a8db1Martin 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.
e961ada05Martin Sjölund- Added Dump.mo changes missing from r4793
94d5c2f52Adrian Pop- changed DAE.convertInlineTypeToBool to DAEUtil.convertInlineTypeToBool as there are no functions in DAE.mo!
a484f686aMartin 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.
08650f45aMartin Sjölund- Added getAstAsCorbaString(filename) API call. + It prints the string to file and returns a boolean instead of a really long string.
8e6439d5aBjörn ZachrissonSome restructure of code, moved functions from DAE to DAEUtil (inline functions)
9862bdcd8Peter 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
7eb1e7fdaPer ÖstlundCleaned up the handling of for loop iterators in Cevalfunc, Inst and Static a bit.
88b81f394Bjö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.
e20b3621cBjörn ZachrissonSome code cleanups.
4476d2035Rickard LindbergFixed bug in generation of init_fixed array: some variables should be marked as not fixed if they have initial equations.
5238747a5Pavol 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
5515343dfPer ÖstlundFixed vectorization of types extended from base types.
7795faafdRickard Lindberg- Generate record declarations - Generate CREF_QUAL - Fixed bug in type generation: generate struct instead of modelica_struct
90d237521Rickard 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
c53074d4bAdrian 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
9d06bfc6dPer ÖstlundImplemented support for multiple iterators in array constructors.
30d21f6f2Per ÖstlundFixed Exp.makeSum so that it works correctly if the second expression is zero.
44b7e3cb5Martin 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.
54f13f76bMartin Sjölund- Fix Dump.mo asCorbaString for FOR_ITER_FARG, SUBSCRIPT and CREF_QUAL.
721bdef0aRickard Lindberg- Implemented value blocks - Fixed bug in wild assign - Added special case for builtin max
687d2e225Martin 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
22d1238f5Rickard 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
6fc9d70a4Martin Sjölund- Dump.mo: Fixed asCorbaString output for Absyn.ANNOTATION and Absyn.SUB.
c4b84a40eMartin Sjölund- Util.mo: Added missing replaceable type X subtypeof Any where missing.
cb615466aRickard LindbergAdded genDiscrete to context and used it (set to false) in one place.
e8d8848ebMartin 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).
eb715d74ePer ÖstlundImplemented built-in functions div, mod and rem. rem might not be correct yet though.
854515c41Adrian 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.
f7c14b928Per ÖstlundFixed expansion of array constructors on the form 'r[i] for i in 1:n'.
cbb570c83Adrian Pop- added DAE.ElementSource to all records in DAE.Element. - changed all the models accordingly.
890fa49c4Adrian 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!
a53758e3cRickard LindbergFixed so a few more external functions can be generated.
0afa3305dMartin Sjölund- SCode.restrString: Added metarecord and uniontype restrictions.
638cab116Björn Zachrissonadded rollback on error messages generated inside cevalfunc function.
8ca01ec31Rickard LindbergRefactored templates: moved things around and renamed some templates.
78619b9c5Rickard Lindberg- Added new function function_updateDepend needed by runtime - Just a copy of function_updateDependents (for now) - Implemented basic infrastructure for external functions
9014d4f02Peter Aronsson-Fixed bug (really fixed this time ;) on trimChar. Moved it to platform independent impl. first in file.
8b25b3829Peter Aronsson-Forgot to change linux implemenation for trimChar bugfix.
afebc0d4dMartin 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).
3e0153cc1Peter Aronsson-Disabled balancedChecking since it depends on backend.
22d8090a4Adrian 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.
f7f72f968Adrian Pop- added a multiplication function for a list of optional integers.
9f3acb3efAdrian Pop- added commented-out debug_show_depth(2); for faster debugging due to only 2 level display for variables.
5ae4d2a1aAdrian Pop- minor comment in elabModValue
580ca1982Adrian 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).
29b087252Adrian 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
b89e6e1e8Adrian Pop- renamed DAEUtil.removeEquations to DAEUtil.splitDAEIntoVarsAndEquations as is a better name. Better use of the local variables in this function.
7ebe70406Adrian Pop- minor text alignment
d970a19b9Adrian Pop- dump more information during connection graph collection and braking. - disable the connection braking for now.
1f3f5580dAdrian Pop- minor changes and the possibility to dump the DAELow representation during checkModel
6f8e08912Adrian Pop- use failure(cevalIsExternalObjectConstructor(cache,funcpath,env)) instead of (cache,false) = Static.isExternalObjectFunction(cache,env,funcpath); to guard against ceval of external functions.
832fd1b99Adrian 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.
75bc477a0Martin 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).
0566cbb6dMartin Sjölund- Added systemimplmisc.cpp to Linux makefiles. - Fixed the testcases in the testsuite that assumed floor() returns an integer.
57ef3e1d8Willi Braunfixed some bugs, so that all tests from test-suite should pass.
3196f8e44Peter 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 ;)
9c7c2f095Björn ZachrissonAdded a strip subs function for crefs.
0b40f5888Rickard LindbergImplemented more non-linear equations.
660cc45adWilli Braun- DAELow.mo: + add Expressions of when condition to IncidenceMatrix to sort them in right order.
0b28521beRickard LindbergGenerate mixed systems.
99d36edceMartin 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).
9444fdfb6Martin Sjölund- Removed unused input from Mod.lookupIdxModification2
b092bd977Martin 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).
5c5c6ffc2Björn ZachrissonSome updates for Cevalfunc, it works better but still not perfect.
6c701bd30Adrian 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.
74a0a89adAdrian 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
0e115b4b5Rickard Lindberg- Implemented extraction and generation of linear-systems and nonlinear equations
2e1b94024Martin 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.
b146db63fRickard Lindberg- Extracted more algorithm equations - Made debug message easier to notice in compiler error message output
e1748f51bRickard 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
451b84e17Martin Sjölund- When instantating a partial package, force partial instantation instead. - When partially instantiating a partial class, strip out all non-package elements.
585900a39Martin 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)
d62f92a93Per ÖstlundAdded warning when trying to apply non-array modification to array component without 'each'.
da92dc071Per ÖstlundReplaced error message with fail trace.
2cfd380e5Alexey LebedevFix for the bug: http://openmodelica.ida.liu.se:8080/cb/issue/1074?navigation=true
b3cf9a00aMartin Sjölund- Fixed Static.elabBuiltinDiagonal - real arrays will now generate RCONST(0) instead of ICONST(0)
8fcbe1f77Rickard Lindberg- Changed DAE.ComponentRef to SimVar in zeroCrossingsNeedSave
fa6edcf25Rickard Lindberg- Refactored how types are generated - Updated template for CAST
3d2f53576Rickard 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
800f6d6f9Martin Sjölund- Fixed testcases ClassExtends{1,2,3}.mo
95fc799a0Björn ZachrissonChanged deriving function to be fullyQualified.
89f815065Adrian Pop- removed the not needed extra parentheses (these only parse in mmc but not in omc).
5bf1a887eAdrian 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
ba9150821Bjö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.
7f64269edPer ÖstlundAdded initialization of record members by rewriting generateAllocOutvar, adding generateAllocRecord and modifying generateAllocOutvars and generateAllocOutvarsExt in Codegen.
5efac6341Rickard 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
ecf703f1dMartin 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.
3af905c1bJens 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
e841f6e2eJens 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
98253ef34Björn ZachrissonAdded System.addToRoots to SCode.translateAbsyn2SCode. Also corrected crefEqual from commit #4678. Now it also works on DAE.CREF_IDENT()
f91a13285Jens 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
83c48e67fRickard Lindberg- Extracted algorithm equations to templates - Added context to templates
5c2795511Rickard 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
8b5f207adMartin Sjölund- Merged instClass partial function case with the generic case.
26dbb0f37Martin Sjölund- Added missing operators to Exp.typeofOp
fead9d61ePeter FritzsonUpdate of Adrians, Martins, Pers time log until moring 091214. Fix of summation error for MultiBody spent days. Other minor edits.
ef16eafc3Adrian 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"
8b65b69e5Adrian 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).
61a43304aAdrian Pop- added DAEUtil.findAllMatchingElements to split DAE into inner/outer variables in ONE walk.
6c982deb3Adrian Pop- added DAELow.COMPLEX_EQUATION which is populated from DAE.COMPLEX_EQUATION and DAE.INITIAL_COMPLEX_EQUATION - no handling of DAELow.COMPLEX_EQUATION yet.
5a842502fAdrian Pop- added unsafe external functions in System.mo: + System.listAppendUnsafe (not used) + System.addToRoots and System.getFromRoots to implement global variables.
ae0951dd0Adrian Pop- replaced tabs with 2 spaces to correctly display code in any editor.
5804453e7Adrian 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.
885a53fa7Jens 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
fad153448Jens Frenkel- fix a bug in Inst.instBooleanClass - redisign of enumeration instantiation
0a047f267Adrian Pop- faster Exp.crefEqual
1c951528cAlexey LebedevUpdated status
695ee1306Per ÖstlundAdded status estimate for DLL/SO-generation.
5c14b324bMartin Sjölund- updated workplan status
649398c71Adrian Pop- updated status since 2009-11-06
bf401eab2Martin Sjölund- Add Makefile dependencies to Compiler/runtime/dynload.o
f8629e2f8Martin Sjölund- Disable failtraces that are not useful.
c3f3c64f4Martin 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).
0cdf52475Adrian 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.
7c2f4edf4Adrian Pop- small code formatting and a bit more explaining
88338397cAdrian Pop- fixed a typo.
9481e5ac5Adrian 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
48a8c6e0cAdrian Pop- added Absyn.joinPathsOpt function
edad6ce53Rickard Lindberg- Generate _functions.cpp file from root template - Added TODO comments - Added some notes
6b6602ecfMartin 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.
0f714d853Peter Aronsson-Added function Error.getNumErrorMessages that returns number of messages in queue with severity 'Error'.
e5d74c784Martin 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.
e581e161fRickard Lindberg- Added dummy SimEqArray record for debugging purposes - Extract array equations - Generate DAE.Exp.ARRAY - Added listLengthExp function
43823efb1Adrian Pop- regenerated SimCodeC.mo and SimCode/SimCodeC.mo to make everything compile
fbee63241Per ÖstlundImplemented unary subtraction for real arrays.
6debd503cPeter Aronsson-Fixed bug in getMessagesStr in errorext.cpp
ee75cbf60Per Ö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.
e0d6dfb4cRickard 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
cc65c694ePer ÖstlundAdded RTOpts.debugFlag guards to lessen overhead when debug output isn't used.
7282df048Per ÖstlundAdded RTOpts.debugFlag guards to lessen overhead when debug output isn't used.
7ba64e97eRickard 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
dcb493624Pavol 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
b02679ac0Martin 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
2d7ef2687Peter 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.
fe23f7391Rickard LindbergRefactored.
9a521d4f0Rickard LindbergChanged vim mode line.
fe0dd266fRickard LindbergRestructured templates so there is one template per function.
492071837Rickard Lindberg- Added function function_onlyZeroCrossing - Worked on function call template
262b17aa6Per Ö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.
bac1ba587Martin 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.
0dcfbbbfePer ÖstlundCleaned up Debug.mo a bit.
5be57311dPer ÖstlundRemoved Exp.subscriptToInts, a duplicate of Exp.subscriptsInt.
5f7b4cc7bMartin 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).
c95b66405Per ÖstlundFixed license in Algorithm.mo, which had been the victim of a runaway search-and-replace.
d99bda16fPer ÖstlundAdded initial support for while- and for-loops in class algorithm sections.
906085362Per ÖstlundAdded expInt function.
fe9751f69Rickard LindbergImplemented function checkForDiscreteVarChanges.
da1f466ddMartin Sjölund- Ceval: asin, acos, atan, atan2, cross and log10 implemented and enabled
9ecbc5cc6Rickard Lindberg- Implemented function_updateDependents - Implemented function_when - Handle logical binary operations - Added template daeExpCall
e6f391d48Martin Sjölund- Add an implementation and testcase for a (very) simple redeclare replaceable model extends (used in Media).
e456b276cAdrian Pop- use fill(...) instead of listFill + listArray
781e0e2d1Stefan Brus- atan2 added to modelica built in functions
ef57c6c2bStefan Brus- PartialFn13 now works with if expressions again - Fixed some type conversions - Added function unboxExpType to Exp
974b09dbbStefan Brus- Changed PartialFn13 to use an if statement for now
7740f670dStefan Brus- Changed PartialFn13 to use an if statement for now
22527c8beRickard 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
deffc8971Martin Sjölund- More RTOpts guards for MetaModelica cases
b6d2f3389Martin 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.
92530c823Martin Sjölund- Disable printing "Types.matchProp debug: match prop.". Saves about 1m (20% total time) when trying to flatten double pendulum.
0a57d39b9Adrian 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.
d6a8386e2Pavol 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 >>
ccc48e383Martin Sjölund- Fixed code generation of _ := exp (was limited to valueblocks, but MetaModelica allows any expression there). - Added 08_pam to the testsuite
2b925f822Martin Sjölund- Also look for zero-crossings in DAELow.ARRAY_EQUATION.
fcdba014fRickard LindbergUpdated script that generates code for code generation test.
aba721c7aRickard LindbergAdded Influenza model for testing code generation.
d7fd083e7Rickard LindbergCleaned up TrapezTest.
e577d204fMartin Sjölund- Refactoring: DAE.VALUEBLOCK(body) changed from DAE.Element to list.
e878da3e6Martin Sjölund- Reverted the re-addition of the outdated configure script for Java.
250a7532eAdrian Pop- merged the template code generation from OpenModelica/branches/TemplateCodeGen into OpenModelica/trunk - below is the history from the branch
9b3fe6db5Martin Sjölund- Moved record constructor-specific code from Static.elabCall to Static.elabCallArgs for efficiency.
6f6802803Martin Sjölund- Fix code generation for cross.
de00dbf2aBjörn ZachrissonFixed weird Lookup "bug".
51e93afe3Martin Sjölund- Prevent generating a TYPE_SPEC_REAL_ARRAY_ARRAY; generate TYPE_SPEC_REAL_ARRAY instead
7ab9693baAdrian 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
0275b46ddMartin Sjölund- Added runtime functions for identity matrix - Added codegen and runtime code to cast int/real matrix to the opposite kind
165423e6ePeter Aronsson-added ModUtil.makeSubscript to create a subscript from an exp.
56590bf11Peter Aronsson-Reset the modelicafilename string when failing to parse
36c766473Martin Sjölund- Removed useless messages when typechecking overloaded operators. - Added support for code generation of complex types extending basic types.
3e703b688Stefan Brus- Cleaned up some code, partially evaluated functions should work 100% now!
db722f8c5Björn ZachrissonUpdated makefiles for vs
8a55fef07Martin 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.
ee7fee16bStefan 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)
3d6fea626Willi BraunRevision of the euler and the event handling for the euler until now only work with "if" equations.
dc2bb27fcStefan Brus- Partially evaluated functions now work with recursive functions - Added a test case for this - Cleaned up old test cases
6b1d5dbe3Adrian Pop- set all Compiler/*.mo files to have (LF) Linux line endings, otherwise the debugger will display wrong lines.
45f2dc971Adrian 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
ba2cea45cJens Frenkel- enumeration: remove old code
da68fe5c9Stefan Brus- Fixed type checking and boxing of simple types in partially evaluated functions
c00cf80cfStefan Brus- Fixed type checking and boxing of simple types in partially evaluated functions
849f0f681Stefan Brus- Fixed type checking and boxing of simple types in partially evaluated functions
55011e0faAdrian 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.
bb750a5faAdrian 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).
f608fff15Adrian 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;
5c4933265Adrian 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
eaeff48d4Adrian 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.
d3aef01f0Björn Zachrissonminor changes for windows make files.
caf5f2185Stefan Brus- Fixed compiler error in cruntime
16e196b2cBjörn ZachrissonSome changes for merging with MathCore
bbe646125Stefan Brus- Fixed use of partially evaulated functions in functions - Added a test case for this
dedf4aa94Stefan Brus- Partially evaluated functions now works in algorithms (see PartialFn8 testcase for example)
549a40ff9Martin Sjölund- Don't recompile the walker unless something changed.
aabc3bdb5Martin 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.
ef75d8fbdMartin 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.
787ea3535Martin 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.
b6fed0411Martin 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.
74d548b03Stefan 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
cce8dabffStefan 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
508d2a907Stefan 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
7a44414cbAdrian 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)
30ba5e9f9Martin Sjölund- Removed public import {Exp,Types,Algorithm} so compilation of OMC is faster
f8003469aMartin 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)
617d5d697Peter Aronsson-Finally (puhh) fixed bug with forgetting to reset modelicafilename when parse error occurs.
4e1390151Stefan Brus- Function pointers now work in both Modelica and MetaModelica - Partially evaluated functions now partially works!
69dbeea0eStefan Brus- Function pointers now work in both Modelica and MetaModelica - Partially evaluated functions now partially works!
af02c758fStefan Brus- Function pointers now work in both Modelica and MetaModelica - Partially evaluated functions now partially works!
59f2f41eaAdrian Pop- the new MetaModelica compiler discovered this type error: DAE.T_COMPLEX -> Exp.ET_COMPLEX
ee86faa16Jens Frenkelenumeration function Integer, works only for Enumeration types not for variables
f4f091845Martin 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).
6937e3152Martin Sjölund- Refactoring the Types.mo types into DAE.mo
8e0bfda42Martin Sjölund- Added ValuesUtil.mo
6631e6468Martin Sjölund- Added missing file Compiler/runtime/SimulationResults.c. - Fixed dynload.c from the Values.mo update (forgot to make clean).
2392e33d5Martin 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
2bf802185Martin Sjölund- The System.readPtolemy* functions now exist in SimulationResults.mo (and System.mo no longer depends on Values.mo).
a7f27afd3Adrian 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;
d0a117d34Eric MeyersOn OS X only look for IOR in /tmp folder
8eca17deeEric MeyersUpdated OS X to use Qt frameworks
7e2b270eaJens FrenkelBugfix stringnames in getName function
bf92899bbJens Frenkelenumeration string(enum.e1) = e1
c43b3a4dcMartin Sjölund- Refactoring of Algorithm.mo (the datatypes moved to DAE.mo, to simplify the other refactorings later on)
8a1ebd70bJens Frenkel- enumerations in packages can be found, typo corrected
29cb7600fAdrian PopMerged revision 4500
ab325893fMartin Sjölund- Fixed Types.elabType for empty records.
fe8cf758cMartin 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).
66c3202cfMartin 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.
eb964f10cAdrian Pop- update the READMEs to document the /trunk/Compiler/VC7 move to /installers/windows/VC7
450277a04Adrian Pop- updates for Visual Studio projects - transform if equations after we print the DAE.
bb3620988Adrian Pop- make the c_runtime compile with Visual Studio
59f2594c4Martin Sjölund- Refactored DAE.mo to DAE.mo (AST) and DAEUtil.mo (functions) - Fixed bug that r4481 introduced (mosfiles/simulation3.mos failed)
b2fe2b861Jens Frenkel- Bugfix replace "<" and "y" with W3C standard "<" and ">"
eaceb5d43Jens Frenkel- Bugfix index from input_names was for all zero
3e17f7f4dMartin Sjölund- Split lookupType into 2 functions in order to call lookupClass2 only once.
ca39fb600Adrian Pop- parse equality(x := y) as is used in Main.mo
90c054d4bJens Frenkel- enumerations part 2, new c-code generation, testcases
20c43af29Adrian 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
25ef9e842Martin 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.
8580ae4d1Martin 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.
c91fbdbd9Adrian Pop- correctly build the expandable connector restriction - moved expandable to class restriction rule
3f94773a2Adrian Pop- got rid of the compiler warning
ddcdd1df4Jens Frenkelenumerations part 1 - what does not work - redeclaration - Integer(Enumeration) - String(Enumeration) - ... (perhaps more i have not yet finished all enumeration testcases)
3521ba1b1Adrian Pop- estimates updates for Adrian
471694924Peter Aronsson-Added listMap5
2da7c91cdPeter FritzsonRemoved the Bootstrapping branch merging row for the Fluid library
871909b5dAdrian Pop- added the Workplan-status-estimates and WhatDoesNotWork documents.
e9380c164Stefan Brus- Absyn.PARTEVALFUNCTION is now turned into Exp.PARTEVALFUNCTION by static
3d566d12dStefan Brus- Inlining of functions now fully functional!
3f3299581Martin 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.
bd76da346Martin Sjölund- Convert all expressions when boxing a regular record (fixes nested records) - Fix mmc_unbox_record (off-by-one error)
3548bd97bMartin Sjölund- DAE.makeEquationsFromIf: Bugfix for if equations with several elseif clauses.
55f96dc83Martin 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.
16bf93617Stefan 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
71131e849Martin 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).
6196edd7cStefan Brus- Annotations in between equation items are now preserved in SCode.
39812863cMartin Sjölund- Force UNIX line endings in the Eclipse editor
5a665dc60Stefan Brus- Comments and annotations on components are now preserved in SCode format
55a9d42aeMartin Sjölund- Fixed declaring constants like list in packages using implicit instantiation
d36d7fd0eMartin 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
217c9ee4cStefan Brus- Annotations are now preserved in SCode format in extends clauses
e6df086fbMartin 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).
304946a5bStefan Brus- Missing file from previous commit
5b30565b0Stefan Brus- Comments and annotations in equations are now preserved in SCode format.
a71ed1b05Jens Frenkel- improve comments in DALow.
63c2dd0c4Jens Frenkel- rewrite sign function as macro, add testcase Sign in mosfiles
b633a62d2Jens Frenkel- move sign into utility.c
14a438acaStefan Brus- inline annotations are now preserved as a flag in Exp.CALL
3acf26824Adrian 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.
6885dd26aJens Frenkel- implement sign function (maybe another place is better?)
1f072ef1cPeter Aronsson-Merged -r 4222 from MathCoreOSMC branch (connect two-dimensional array of components)
33cc1a007Martin 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.
41eb0ed67Stefan Brus- Equation annotations are now preserved
9acf9641eStefan Brus- Fixed encoding issues
599ba4097Martin Sjölund- Hopefully fixes strcmp not returning only {-1,0,1} on some platforms (it messes with the testsuite)
48d4dd46aAdrian Pop- due to changes by Martin S. to Compile.bat copying of MinGW to build directory is no longer required!
74237d375Martin Sjölund- Spelling error
be197f442Martin 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/...)
5b84a6be1Stefan Brus- Annotations are now preserved in SCode format - make clean now removes .sigx files
7ff50569bStefan Brus- Annotations are now preserved in SCode format - make clean now removes .sigx files
5c0ab0401Stefan Brus- Annotations are now preserved in SCode format - make clean now removes .sigx files
50f7aa645Martin 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
984737a2bMartin 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
eb6bf4b9eAdrian 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.
291553543Adrian Pop- merged revision 4399 from branches/MathCoreOSMC
755aaf5d4Jens 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
0c02ce183Martin 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.
31de232edMartin Sjölund- Using Ceval.cevalCallFunction record constructor instead of cevalFunction - Enabled testsuite/records as a default test to run as it now works
a0b6f70afAdrian Pop- merged latest modifications from branches/MathCoreOSMC
125f8d420Jens Frenkel- Bugfix Build with MSVC
533986e1eMartin 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.
dc62174b5Martin 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
414b3ff0bMartin Sjölund- Fixed MetaModelica crefs to function names containing underscores
c515ae914Martin 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
6e592ada4Jens Frenkel- Bugfix Bug 1110
018192a62Martin 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
378b124bbAdrian Pop- renamed OpenModelica1.5.0 to trunk
9ab276dfbAdrian Pop- renamed OpenModelica1.5.0 to trunk
18567b835Adrian Pop- renamed OpenModelica1.5.0 to trunk
ea53af414Adrian Pop- renamed OpenModelica1.5.0 to trunk
db1701a71Adrian Pop- renamed OpenModelica1.5.0 to trunk
538b765dbAdrian 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.
763b6e4dbStefan Brus- Fixed linking of the lpsolve library and added instructions to the linux readme file
2b5128845Adrian 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.
04860073eAdrian 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.
e7272b41dAdrian 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
ae99f504dAdrian Pop- support for Modelica 3.x graphical annotations.
93b8dd81eAdrian Pop- fixes to XMLDump.mo
8d349dbdcAdrian Pop- latest modifications from MathCoreOSMC branch
41f29df80Adrian Pop- latest modifications from MathCoreOSMC branch
4aaf6b1aaAdrian Pop- changes by Alexey Lebedev [alexey dot lebedev at equa dot se] to support implicit range in for loops - more tests for loops
7ae9668efAdrian Pop- Merged revisions 4270 and 4269 from MathCoreOSMC branch:
7cfdabc4aAdrian Pop- more fixes so it compiles.
aaf8dcde8Adrian Pop- fixes so it compiles.
275ea7335Adrian Pop- merged revisions 4262, 4264, 4265 from MathCoreOSMC branch!
5cac62371Adrian 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.
aba7c1f65Adrian 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
34269d781Adrian Pop- a first script for compilation using MSVC.
cfd4a45a4Stefan Brus- new .onb files
9e4cbd266Adrian 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
47fbaa055Stefan Brus- More Linux fixes
1a757bd3eStefan Brus- Now compiles in Linux
61a4d8d2fStefan Brus- added some forgotten files to the makefile to make compilation work
c836f4303Adrian Pop-forgot this file.
9c03fd452Adrian Pop- fixes for dynamic loading.
942fbdbc8Adrian PopA branch for OpenModelica 1.5.0 release Some tests still fail, is going to be fixed soon.
ef98c4c33Adrian Pop- added the missing change_rettype
f44bc872dPeter 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.
990c218dcPeter Aronsson-Fixed compile error for visual (round undeclared)
adffa72cbPeter Aronsson-Fixed bug in Env.Cache (looked up wrong class in cache)
c2b727e58Peter Aronsson-Fixed memory consumption problem in unit checking code.
6430db584Peter Aronsson-Added defineunit language extension to flat_modelica_parser too so flat parsing works. -Fixed rounding error in rationalizing reals.
44b666264Otto TronarpCopy the reply msg before releasing the clientlock.
3685564e9Otto TronarpIntroduced a clientlock on Linux / OS X, as we have on windows.
9da573026Otto TronarpFixed upper/lower case error.
1be2b6544Peter Aronsson-Added register of unit weights for unit parsing to handle individual weight settings for each component.
ad4fc72f3David BromanAdded accumulateWeight and made "adding two units" working.
e24a618c6Peter Aronsson-Major work on unit checking with pretty printed units. Not complete yet.
6d93f29beDavid BromanAdded commit to unit parser.
ac374458dPeter Aronsson-Fixed bug when building unit terms with empty store (disabled checking).
f14f22b81Peter 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
5f53d7f35Björn ZachrissonUpdated text for error messages
3aa7d5453Björn ZachrissonDocumentation updates
9a3623d7cPeter Aronsson-Added error messages for if-equations.
d4132221fBjörn Zachrisson* miner updates for pretty printing of modifers * removal of dead code
8ceeaeb25Peter Aronsson-Fixed bug in ceval of div() and rem() -Added realCeil to System.mo
36cba3741Peter Aronsson-hanged package name Math to MMath to avoid conflicts with std include header math.h
a9c7a262aBjörn ZachrissonSmall fixes for last commit. Changed where double-modification control is triggered(from SCode to Inst.instelementlist)
bd8382195Otto TronarpUpdated makefiles for osx/linux.
aa18de721Peter 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.
206ddd47bBjö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
3572dac3fDavid BromanFixed problems regarding unit vector length (they had different sizes) and added the member function isBaseUnit().
888174007Bjö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.
937d39455Björn ZachrissonAdd free(printbuffer) to Print module. Previous printBuffer=NULL, never freed the memory allocated.
0fcf03a2bBjö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.
acc05607fBjörn ZachrissonSome changes for Mathmodelica communication with kernel.
ee69dce1aHannu Niemistöadded exception for equalityConstraint in dependency analysis
bf8cb72b3Peter 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.
76545d0eePeter Aronsson-Added preventing reporting error for parameter without binding when it is declared with outer.
d58761f02Adrian Pop- updated parser/AST to handle the annotation at the end of the extends clause: extends name [class_name] [annotation]
68b120393Adrian Pop- fixes for doubling the dimension of alias to array type
b7b7aecbbAlexey 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.
90e5afd29Peter Aronsson-Fixed small bug in simplification of if-expressions.
879bb910fAdrian Pop- fixes for aliases to array types: type Alias = Real[6]; Alias x; // this variable had [6,6] dimension instead of correct [6].
dfb92aac1David 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.
a5467e7ecFilippo 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).
a4e775727Björn ZachrissonFixed connection of complex array types ; connect( arr1[1].conectorVar, arr2[7].secondConnectorVar)
aac2cc787Björn Zachrissonminor changed for MC backend.
7aa38dc20Hannu NiemistöAdded comments to all functions in ConnectionGraph package.
d6006aa8bAdrian 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
4f2051f3dBjörn ZachrissonFixed error messages and error reporting with partial classes and dangeling modifiers.
e31ba5fa6Peter Aronsson-Added a function to print Types.EqMod -Added better failtrace print of elabArrayDim
fc4c837b2Otto TronarpFixed crash on OS X with omniORB.
d3c4037fbPeter 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.
b90064785Björn ZachrissonFixed built in function sum([:]). Now also works for complex types.
c96599b82Björn ZachrissonImplemented support for detecting dangeling modifiers(modifers on components that does not exist)
22a76d325Bjö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)
7305aadfaAlexey LebedevFix for the bug http://openmodelica.ida.liu.se:8080/cb/issue/1098
7b9a75c9aAdrian 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
7b063695eHannu 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
d18bf5805Hannu Niemistöadded dummy implementation for isRoot builtin
e4932237cFilippo DonidaFunctions were missing when printing the xml representation of the model with the dumpXMLDAE method. Fixed.
0289c348eBjö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
36a3f622cHannu Niemistöremoved some debug prints
18480ba08Hannu Niemistöcreates a zero array with a correct dimension for equalityConstraints
8db8fb377Hannu Niemistöfixed incorrect usage of hash table in ConnectionGraph
9a44af28ePeter Aronsson-Fixed bug in unconnected flow equations not begin prefixed.
2e8d85357Peter Aronsson-Added System.removeFile() that uses remove() from stdio.h
acb4f6ad4Peter Aronsson-Added error message for matching in initialization problem. (Currently used in MathModelica but is probably required in OpenModelica as well).
fa8f3e1e4Alexey LebedevFixed the function Static.elabBuiltinTranspose2.
b66d08b52Alexey 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.
4edcf8c93Björn Zachrissonmissed closing ');' on last commit.
f6e4d7257Björn Zachrisson* Implemented support for instantiate a single constant in a package
75d2645bcFilippo DonidaWhen dumping array, vector or matrix variables the index of the variable was not printed. Fixed.
416d03930Adrian Pop- small updates to the RML to MetaModelica tool
84b019decBjörn ZachrissonRemoved debug printing from commit #3974
ab01fe392Björn ZachrissonChanged name from Absyn.componentRefStr to Absyn.printComponentRefStr to co-exist with Exp.printComponentRefStr
f43106736Hannu 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
a20f1e272Peter Aronsson-Added function DAE.getProtectedAttr. -Added function Util.listMap4
7015599edBjörn ZachrissonForgot to remove debug line. #3963
ec116d9c5Björn ZachrissonUpdate for last check in, file comparison
d21cde74eBjörn ZachrissonImproved file comparison on windows.
a9691770bPeter Aronsson-removed debug-print in valueString.
8dd494547Peter Aronsson-Added enumeration to valueString function.
a18c0f9b9Erik FriskFixed bug with {} in the exportDAEtoMatlab function
30af5d3e1Peter Aronsson-Fixed bug in System.trim
d73218ed0Peter 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).
7ccaad022Adrian Pop- somehow I deleted the name of elabBuiltinDer and I put it back now.
968380df0Adrian Pop- fixed indexing of matrices with dimensions more than 20 by handling the code generation for simple Exp.ASUB expressions
d88e3e109Adrian 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;
af63d534cBjörn ZachrissonMinor cosmetic details of output for error handling on derivate function, der(...)
945d80b4fBjörn ZachrissonFixed error messages (rollback/deleteCheckpoint) Both in ErrorExt.cpp(bug) and in Inst.mo(structural error).
e4f19c625Otto TronarpIt doesn't work to compile with debug_print in release on win32.
8b6cc5e11Adrian Pop- fixed an error when counting variables in DAELow.mo (excluded RECORD) - fixed vectorization of reinit(arr1, arr2) - fixed vectorization of matrix = pre(matrix)
bed21c0b9Björn ZachrissonRe added code that was removed in commit(#3905) for some reason.
a1dfceb0eBjörn ZachrissonRemoved a debug line from last commit(#3907)
053de6c3dBjörn ZachrissonImplemented a getPackageFileNames, which finds packages located in OPENMODELICALIBRARY path.
b53e94f14Peter Aronsson-Added constrain() with vector arguments - Added simplification to propagate noEvent operator on expressions down to relation subexpressions -Added symbolic expansion of skew function
aeb5542aaAdrian Pop- small changes to DAE.mo so that will parse using OMC.
91eef4a77Adrian 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
3b60acce0Adrian 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.
78dbc0296Adrian Pop- fixes to Interactive.traverseClasses + now -traverse_classes2 failed for some of the tests is gone - updated OpenModelica tests and enabled them
85bfdbb12Björn ZachrissonImplemented support for checkExamplePackages(function for checking any Example dir in a package )
aa211028aPeter Aronsson-Minor change to Makefile.vc
b9fa51d6fAdrian Pop- changed default dassl tolerance from 1e-10 to 1e-4
142952fe1Adrian Pop- changed default dassl tolerance from 1e-10 to 1e-4
9330c62afPeter Aronsson-Added Makefile.vc files that is used by MathCore to compile frontend related stuff. - Updated some tests
a50ecbc18Adrian Pop- continue when dasrt returns idid==-1.
dc4fd98c3Björn ZachrissonFixed reinits of arrays, now vectorizing is working.
aabaf8ad8Otto TronarpMakefile fixes for osx.
4a70374d0Otto TronarpUpdated configure
e01ffd08eOtto TronarpFixes for osx
68974769cAdrian 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
2d72701dfAdrian 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
c22a4552eAdrian 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
9714db882Filippo DonidaAdded (to the dumpXMLDAE method) the possibility to print equations as residuals, using the input parameter "dumpResiduals". Default value is false.
5d5d214c8Filippo 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.
7f5e76b08Björn ZachrissonChanges on OM’s frontend to support Mathmodelica functionality
090d9e91dFilippo DonidaImplemented a new functionality to dumpXMLDAE functional to output additional information for solving the DAE system: - matching algorithm output and - BLT representation information.
1b53ba4a6Filippo 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.
bd30c7d92Eric Meyersdon't do SoQt::init for OS X for now
8263b5a0dEric Meyersdon't do any delete's in destructor in VisualizationWidget on OS X (3D stuff doesnt work yet)
93cde0726Otto TronarpFixed makefiles for linux
38be98db3Bjö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.
81d39ee43Adrian 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
15d69525cAdrian 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}}
ac4190d14Adrian Pop- fixes for getIconAnnotation setting the error string.
912c1cc1fAdrian 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
31e7fd440Adrian 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
6cf994c04Adrian 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
a4732e262Adrian Pop- static objects are deallocated when the application exits. - delete in OmcInteractiveEnvironment::OMCVersion() removed. - commented out the code in the destructor.
ecb352ed5Adrian Pop- added "Export to Image" command and "Export to Clipboard Ctrl+C" command to the plot widget - fixed the default showing of existing plot
e9b8db2d0Björn ZachrissonFixed constant evaluation of REDUCTION for simple case (only one iterator)
64dc40368Peter Aronsson-Added explanation to REDUCTION
bde1eea26Peter Aronsson-Removed printing to stdout that messes up MathCore:s testsuite
cc0659662Peter 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
22d6852ecAdrian Pop- on Linux waitForStarted(-1)!
b26d22097Adrian 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.
40a21d9c1Adrian 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.
0eaa5e652Filippo DonidaAdded a parameter (addMathMLCode=true/false) to select if adding the MathMLCode to the XML dumped fileor no (default is false).
78277fa14Adrian Pop- fixes for some OMNotebook crashes - updates of some .onb files
9427ba29dAdrian Pop- fixes for some OMNotebook crashes - updates of some .onb files
6a21624f2Peter Aronsson-Major commit. Includes merges from revision when Adrian did the merge up to today. (MathCores r3273 to r3313)
4b3620eb9Adrian 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
3a0e85628Adrian 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
2ff18dca6Adrian 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
ad1a927ecAdrian 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.
992d112e5Adrian 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.
bfdee5dafAdrian Pop- added the complete getTotalProgram in Interactive.mo - commented out the .mos files from testsuite/mathcore-mofiles/drmodelica/Makefile
383302c99Adrian 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.*
a690e2fcfAdrian 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.
5b8bf5716Adrian 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.
5e7261595Adrian Pop- first compilable version! - testsuite will have to wait a bit :) right now most of the tests fail.
6c0135977Adrian Pop- updated to parse Modelica 3.0
a3474b0c1Adrian 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
0262b874eAdrian 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
08da01414Adrian Pop- intermediate merging of OSMC with MathCore front-end - not compilable yet - added the new packages
1d3bc6d1cAdrian 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).
e6a40d4a6Adrian 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).
cee80c0e8Adrian Pop- fixed a small mistake in setAnnotationVersion
b61faaec4Adrian 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.
16cd56e48Adrian Pop- added -fPIC to the C flags for x86_64
c6c0f85ccAdrian 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.
115a32066Adrian Pop- got rid of -ltermcap as is not needed
ec3db3401Adrian PopQUITE BIG CHANGES TO SUPPORT THE STREAM CONNECTORS
35f4ca943Adrian Pop- small copyright update
4e3430b86Adrian Pop- fixed a small typo
5d7faec7cAdrian Pop- on openSuse 11, gcc 4.3 includes of string.h are needed - re-link omc if when there are changes in sendData files
b9f883f59Adrian Pop- Linux fixes for new plotting functionality
22eef9725Dietmar WinklerFormal clean up of all code files:
6e7264805Dietmar WinklerFormal clean up of all code files:
2f4a21b50Dietmar WinklerFormal clean up of all code files:
147193e9dDietmar WinklerFormal clean up of all code files:
173b3106fDietmar WinklerFormal clean up of all code files:
7f8e5ddccAdrian Pop- rml2sig is not needed!
6e3e12935Adrian Pop- renamed OMNotebook/OMNotebookQT4/trunk.pro to OMNotebook.pro - more modifications to Qt projects to get rid of hardcoded paths
86ce085a5Adrian Pop- renamed OMNotebook/OMNotebookQT4/trunk.pro to OMNotebook.pro - more modifications to Qt projects to get rid of hardcoded paths
c3474c85fAdrian 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
b374450ccAdrian 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
226cf7a39Adrian 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
96403c5c5Adrian 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
b19741614Adrian 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
1acbf666aAdrian 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
617015a6cAdrian 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
48da66f32Adrian Pop- add the Linux Makefile for ext (the external Qt plot window)
aa591561dAdrian Pop- use `mico-config --libs` instead of directly specifying the libs
b6790dcc2Adrian 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.
f4dbafc7eAdrian Pop- small change in the data sending.
1946565a0Adrian 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)
6ca169bc7Adrian Pop- Linux modifications to sendData & Qt plotting
bfa1a62e8Adrian Pop- Linux modifications to sendData & Qt plotting
0d48a0b58Adrian Pop- Linux modifications to sendData & Qt plotting
b4a6766c4Adrian Pop- added some visualization scripts
4c73b7bd4Adrian Pop- got rid of -D DEBUG flag from the Linux Makefiles of parsers.
6613a4d12Adrian Pop- update to Linux makefiles -O3 instead of -g for parsing and omc runtime.
aff434281Adrian 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
5941a3172Adrian Pop- fixes for sendData.* on Linux
d2ce51611Adrian Pop- added "test" and "testmos" targets to the Linux Makefile.in. it was present in the windows mingw makefiles since some years now.
726198746Adrian 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.
ef8cfde32Adrian Pop- modification of sendData library to: + make it work better for Linux & MacOS + improve the stability of starting the external plot viewer
cf5011971Adrian 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!
11f38e09aEric 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
a9bd2a78fEric 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
a67e34af1Adrian Pop- switched all plot<->plot2 - switched all plotParameteric<->plotParametric2 - now val(var, integer) works!
2031b7faeAdrian Pop- switched all plot<->plot2 - switched all plotParameteric<->plotParametric2 - now val(var, integer) works!
8295181afAdrian Pop- workaround for the crash on exit when running on Windows Vista
8f6a76279Adrian Pop- minor correction to DAEQuery.mo (missed a ";") in when equations.
b30afe4bfAdrian Pop- fixed the problem with the order of equations in DAEQuery.mo
356b32cf9Adrian Pop- just dummy model code to be able to compile c_runtime.lib with Visual Studio
aacffe365Filippo DonidaRefactoring of the dumpXMLDAE method in Ceval.mo and Static.mo
471777b7dFilippo DonidaInitiailization of the OSTYP and OS_MSYS variables was not done. Fixed.
7c6b916baAdrian Pop- Linux fixes for OMNotebook to include the new 3D visualization package based on SoQt and Coin3D.
91450374dAdrian Pop- Linux fixes for SimulationData.h (wrong case in imports!)
cc3f76074Adrian Popmoved to the old repository: https://openmodelica.ida.liu.se/svn/OpenModelica/old/pde
1aafb0d7aAdrian 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
706096c1cAdrian Pop- fixes in the Linux/Mac/Solaris/*nix part
0b0be784aAdrian 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
b29c2d4b5Adrian 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
c8fb92d0cAdrian Pop- updated the PATH setting in Compile.bat to the new GCC 3.4.5 as is needed by Windows Vista
69fb8b96aAdrian Pop- copied options.cpp, options.h from OpenModelica/mosh to here to get rid of the dependency - small update to read_write.c
d44e65e58Adrian 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
facfdd3deAdrian 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
b2e20fcecAdrian Pop- updated OMShell project to MSVC 2008 - updated Corba generated files to version MICO 2.3.13 - updated the readmes
a4b3f11f2Eric Meyersfixed gcc dynamic library compiler flags for OS X
a7d141a0bFilippo DonidaThe ö char was not correctly saved from Eclipse. Fixed.
70268b96dFilippo DonidaThe header of the XMLDump.mo file has been changed according to the OSMC Public License.
502d29129Adrian Pop- replaced the incorrect CloseHandle with correct FindClose - no more asserts when build with Visual Studio in debug mode.
0677da568Adrian 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
c6f76224aFilippo DonidaAdded package XMLDump and API function dumpXMLDAE to obtain flattened, index-reduced models in XML format
0f42c0c94Filippo DonidaCorrected error in getBindingsStr (returned a '-' when field empty)
f67f47ef1Adrian 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]
cbec6e848Adrian 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]
84908b672Adrian Pop- changed the tolerance default from 1e-10 to 1e-6
0140066c0Adrian 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.
e5b3c8f7aAdrian Pop- Fixed a funny typo discovered by H. Dieter Wilhelm. Thanks!
e9b77aeddAdrian 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
ca5131db7Adrian Pop- small update of RML to MetaModelica tool.
2fa0ca43fAdrian 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.
450e1910eAdrian 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
3af18601eAdrian Pop- fixes for Linux compilation of OMShell - fixes to the project - fixes for resource files - updated copyright year - new OMShell
ea630615cAdrian 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
4f7c6db83Adrian Pop- bug fix for some crashes on Linux from Kim & Joel
6b8f3c427Adrian Pop- fixes for Linux
ce4c19e3aAdrian Pop- fixes for Linux
a01f1e10cAdrian Pop- fixes for Linux
c64657a28Adrian 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
82c6e31faAdrian 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.
c46c7c3c6Adrian 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.
5500a9725Adrian PopThe compiler should report more errors when running in the command line: - report parsing errors when parsing .mos files!
6c76aec66Adrian 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
3b2ef0c6cHenrik Eriksson*More missing files added..
a6caf88b9Adrian 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.
7626b4801Henrik Eriksson*More filename changes
323228c4eHenrik Eriksson*Added some missing files *Prevented overwriting of files in some cases *Fixed some filenames
63cd17fe8Filippo DonidaA brief report for the APIs of the OpenModelica compiler has been added. It inclueds some usage examples.
921857606Kristian StavåkerImproved handling of MetaModelica high-level data structures
2e03f6f3aAdrian Pop- in Linux you get sometime linker duplicate errors for function "errmsg". changed the "errmsg" name to "_errmesg"
7f7a1eab4Adrian Pop- Modelica 3.0 grammar updates! + added constrainedby to the grammar + now the entire Modelica Standard Library 3.0 can be parsed.
55caca39cAdrian Pop- finally fixed the getErrorString() does not exist problem!
421ebaab4Adrian Pop- the latest updates for DAEQuery.mo [exportDAEtoMatlab API] used by Olof Bäck [ISY] and Daniel Gunnarsson [IEI].
4f4792111Henrik Eriksson*Added plotAll() and plotAll(model) commands *Changed default value of "points" to false
345890a48Henrik 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
8cb750612Adrian Pop- fixed a BAD typo :)
21fc15e0bAdrian PopHuge update =========== 1. Updated version to 1.4.4 in: ------------------------------- - Examples/*.onb - Setup.vdproj - settingsimpl.c - updated the new product code in Uninstall.bat
a6313414eHenrik Eriksson*Added external graphics window to setup project
50284b8a5Henrik Eriksson*Changed some library paths
96322a6e7Henrik Eriksson*Added a toolbar in OMNotebook *Added an external graphics window *Misc. improvements to the plotting functionality
6c5b6ffdaHå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.
af12bf791Adrian 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
0580e19e7Adrian 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.
51c96bbf0Adrian 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
5edbe7b4fAdrian Pop- added some missing spaces.
29bcb6efeAdrian Pop- give more info when running the simulation code with -v.
e9974afdeAdrian Pop- updated readme
b8fa75a7fAdrian Pop- more info on flags
7cb568ba2Kristian Stavåker- Improvements of MetaModelica constructs handling
779b57a9dAdrian Popadded buildModel command to the commands.xml
e4421f3f4Adrian 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!
6ffaebed1Adrian Pop- fixed the Linux part for the case there is no QTHOME defined
22e671d86Adrian Pop- updated the emulateStreamData prototype to the last version.
eaefd6edaAdrian 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(...).
fdae7de43Henrik ErikssonRemoved an unused variable
240ba7593Henrik ErikssonFixed some signed/unsigned warnings
f9478a6a5Adrian Pop- fixes in the Linux part
019060487Adrian Pop- ANTLR on Linux has problems with Linköping, changed it to Linkoping.
e159d61b2Adrian Pop- ANTLR on Linux has problems with Linköping, changed it to Linkoping.
bca707127Adrian Pop- Static::enabled is a method, changed to actually calling it Static::enabled()
f92a7de35Adrian Pop- changed the License to OSMC License - added Static::enabled() implementation to sendData.cpp
20c7c4dbcAdrian PopNot Needed as we have OSMC-License.txt in the root directory.
08abbd630Henrik ErikssonAdded some features to the new plotting package
1abe8cab5Adrian Pop- updated the license with the entire text.
79428dd76Adrian 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
ab5503eddAdrian Pop- added Open Source Modelica Consortium (OSMC) License to the trunk
af1d412e9Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
dcfd580dbAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
04a51fad3Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
0d21404e4Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
c262d7c4dAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
9430760feAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
7d870af5dAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
7bcff0409Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
2521c54e3Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
31ffb87fdAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
1520cd58dAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
2c858d08cAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
fb60ee673Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
6e4b1511aAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
9679a890eAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
f845738b1Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
97f1a5d9aAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
8cae7cb30Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
31827262aAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
4c999615dAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
4a81609f6Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
019b8e662Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
846ac3fceAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
10127be84Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
32cc52027Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
87c6596d7Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
30cef26d2Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
31e6a98a9Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
a6d968770Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
fb7c9c1b4Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
fa2355ff8Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
ea4867ce7Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License - changing properties: + line endings to Linux + RCS ids for each
1bc66bdb0Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
89789c188Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
a32828209Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
93d00ea6eAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
9686637baAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
39c0487ffAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
f22af6cd5Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
3eb35741bAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
63452fd06Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
60483da74Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
39f3b3956Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
cd5099b01Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
8fb5aba90Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
ce4757a06Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
54c8d7de4Adrian Pop- changing to Open Source Modelica Consortium (OSMC) License
f8f23ba1dAdrian Pop- changing to Open Source Modelica Consortium (OSMC) License
11f4f2369Adrian Pop- changing to OSMC License
3a73dc6a9Adrian Pop- changing to OSMC License
726e5f63cAdrian Pop- changing to OSMC License
096a8f14bAdrian Pop- changing to OSMC License
ce204c999Adrian 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
e531f8292Adrian Pop- added arctan_rettype and defined arctan as atan.
5c3f5fcddAdrian Pop- updates to OMShell project to base it on OMDev
4d3ac8d2dAdrian Pop- small cosmetic change
53b01e2a4Håkan LundvallIf the desired output interval was smaller than 0.001 not output was given except for at events. Now fixed.
569dda605Henrik Eriksson*Added some features, e.g. a line counter, error links *Saved files now correctly set antialiasing mode when opened *Updated Qt dll files
137a8939bKristian Stavåker* Minor Changes in MetaModelica list handling
5f0b83cceKristian Stavåker* Minor change in meta_modelica.h
2a316a2f2Adrian Pop- do not delete the sendData/Makefile*
059764440Adrian Pop- changes to commands.xml to support the new <> parameter in the simulate(...) commands
d54ed9736Adrian 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)
d3a66dcafAdrian Pop- fixes to Makefiles to compile *.o when *.c* change - made simulation_input.cpp read the <> from the Model_init.txt
cbf216636Adrian Popcosmetic change
80db30afeAdrian Pop- better checks and error messages for flags.
74328dbdfAdrian Pop- added usage info when omc is invoked without flags
15eaa8ae1Kristian Stavåker- Some updates to the pattern match algorithm, etc.
e77e12a23Henrik Eriksson*Updated to make compatible with omc changes
17f25d957Henrik Eriksson*Removed some debug library dependencies *Removed some unused function arguments
52c74ab1cPeter AronssonFixed bug with parameter values not added to unknown vector before initialization starts.
8c7805c7cHenrik ErikssonRenamed some functions to avoid name conflicts on Mac
3a635c952Adrian Pop- fixed small Linux part typo
4e6ab8ce0Henrik Eriksson*Removed print statements *Reintroduced option to build without Qt *Changed some rml calls *Added sendData.vcproj
ab51bddf0Henrik Eriksson*Added range options to graphcells *Added "save parameters" command *Fixed minor bugs
d8f64dc77Henrik 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.
390b0b7c9Adrian Pop- Windows Vista instructions
e89fc5315Adrian Pop- finally found the problem with weird simulation runtime errors. - memset the damn malloc-ed region.
b4fdfc75fAdrian PopAdded new API functionality: - refactorIconAnnotation - refactorDiagramAnnotation implemented by Filipo Donida [donida@elet.polimi.it] (thanks)
57b8649b7Adrian Pop- updated ReadMe.txt with the latest developments
442b17c20Adrian 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
e20317528Adrian Pop- fixes a crash when OPENMODELICAHOME is set to the empty string.
8efe319ddAdrian Pop- - updated README-BUILD-RELEASE.txt with the new changes
b096d8e6eAdrian 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:\
86fdd9960Adrian 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
b25d73a79Adrian 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
d88e41883Adrian 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
2a145305cAdrian 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
a92bd8561Adrian 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
126e20702Adrian 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
5385fb231Adrian 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
0b6962edbAdrian 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
492242a00Adrian 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
bc6c505e5Adrian 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
622c8856fAdrian 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
db17eafe8Adrian 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
4d2eacaa1Adrian 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
bffb0199dAdrian 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
2f39f70c4Adrian 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
a486504a9Adrian 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
57f85ba9fAdrian 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
25ee2390dAdrian 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
31186a29aAdrian 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
4bdbf360cAdrian 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
e32661175Adrian 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
332838887Adrian Pop- cosmetic changes - moved copyright from Modelica package comment to file ignored comment to speed up MDT - changed module to package
f0b46556cAdrian Pop- cosmetic changes
cc1196d3bAdrian Pop- cosmetic changes
cbcdd393fAdrian Pop- cosmetic changes
d53b019efAdrian Popgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2891 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a8da39cebAdrian Pop- cosmetic changes
904a28ce2Adrian Pop- cosmetic changes
8479f5e7cAdrian Pop- cosmetic changes
f442e5b80Adrian Pop- cosmetic changes
8b90db464Adrian Pop- fixed a small typo
9d32576a5Adrian Pop- cosmetic changes - added Absyn.getClassName
ed2dede31Henrik ErikssonRemoved annoying messagebox
e7e0e103fHenrik 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.
de32c2c33Adrian PopSeems this file is no longer required.
6a034ada5Henrik ErikssonMinor tweaks
b38323a3cHenrik ErikssonRemoved scrollbars from graphics area (not required with Qt 4.3.1)
40c378760Henrik ErikssonUpgraded to Qt 4.3.1
4640ec8ecHenrik ErikssonFix for the "empty coordinate system" problem
630d6b5cdAdrian Pop- generate .depend all the time in Linux too - thanks to Simon Björklén [simon@at@bjorklen.com] for tripping into this
a7cee196eKristian StavåkerModified the handling of array for constructors.
e3622b7b6Kristian StavåkerAdded run-time handling of (MetaModelica) lists to the C runtime. Two new files.
489e7ccbbKristian StavåkerUpdated MetaModelica pattern match algorithm and list handling (builtin functions for list handling, etc.). Merged the Matrix module with the DFA module.
8dda77151Adrian 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
36dbfc4d4Kristian StavåkerModified the pattern match algorithm.
540d4668cAdrian Pop- added ${MODELICAUSERLFLAGS} to the end of the g++ command in the generated Model.makefile as Hong Duan (hduan [at] ucdavis [dot] edu) suggested
26594b7a2Adrian 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
5688ae4e7Adrian Pop- cleaning up makefiles - using rmldep-new.sh in Linux makefiles also
01920f5dbAdrian Pop- linux fixes for the new libsendData.a from c_runtime
e76c1708aKristian StavåkerMade some improvements and fixed some bugs in the valueblock and for iterator constructs.
4e50cdb9aHenrik ErikssonCompiled OMNotebook with the improvements added by Adrian
0662428acAdrian 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/
d7274dd2eAdrian 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/
2e4dc2998Henrik 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.
ec3510f2cHenrik ErikssonMinor improvements, now DrModelica should open if DRMODELICAHOME is set.
3009848bdHenrik ErikssonMinor improvements
2b64d6b91Kristian 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.
579c108d6Kristian StavåkerAdded support for MetaModelica lists to the matchcontinue expression. Mostly altered DFA, Convert, Patternm and MetaUtil.
27516089bKristian 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).
78950cf40Henrik ErikssonAdded the Graph cell style.
3ae648bdbPeter 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.
186edb393Henrik ErikssonAdded a missing .h-file.
bc71be1f9x05andfefixed copy/paste problem (if complex cell structure)
7529f104ex05andfefixed treeview lines
06ca1bce6Peter FritzsonChanged date in DrModelica main file to 2007-06-20
157479bcfKristian StavåkerAdded support for nested MetaModelica lists + some minor improvements.
0178ddf98Henrik ErikssonRemoved some old file dependencies.
36fb88f0eKristian 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).
306a4f1f6Peter AronssonChanged getClassInformation and getComponents to also return array dimensions of classes and components.
5131edfe7Kristian Stavåker- reverted the last Inst.mo changes
f262dd8d6Adrian Pop- reverted changes by krsta as the testsuite doesn't work. - small changes in Main.mo
78568a1dfKristian 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.
616aa2b1aKristian StavåkerAdded List type to type system files. More to come ...
7b04343b5Adrian Pop- updates to makefiles for Linux - makefiles for Cygwin - readme on how to build ModelicaXml on Linux and Cygwin
aececcca2Adrian 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 ...
968d72b9fKristian StavåkerSome minor changes to the valueblock expression and patternmatch algorithhm.
d8b74949bKristian StavåkerAdded string comparison, ==, to generateRelation in Codegen.mo. The C strcmp operation is generated.
6a0707eefKristian 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 ...
05b6072d6g-pavgrFixed reading of break/return from .mof files
21ff4f50dg-pavgrSupport for brake and return: fixed getAllExpsStmt; added test cases.
bd410724bHenrik ErikssonFixes broken text links, the style bug, copy/paste bugs and problems introduced by Qt 4.3
099d93628Henrik ErikssonMinor improvements of the new plotting package
2b44d98ccKristian StavåkerA few minor improvements of the patternmatch algorithm.
6039cea13Adrian 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
26676a06eAdrian Pop- Linux fixes
0fcb53140Adrian 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
9f7183356Adrian 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
f84b9213fKristian 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, ...).
510421bc0Kristian 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().
3f087a340Adrian 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
f58c9fb28Adrian Pop- included MacOS changes from Eric Meyers (erictmeyers@gmail.com)
98ab23072Adrian Pop- included MacOS changes from Eric Meyers (erictmeyers@gmail.com)
6c7dbe30cAdrian 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.
a8adeacebx06klasjchanged the return value for the val function from boolean to real.
6c21a399bPeter 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.
7b12d72c9Kristian 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.
84ebb4440Peter 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.
f1347a8e8Peter AronssonFixed bug with type extending basic type using long class definition in several levels, and having modifiers on builtin attributes. See Type10.mo
a263c7522Adrian 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
e49971277Adrian Pop- added stringFind implementation for Linux too
2e42104e6Peter AronssonFixed compile bug in older versions of metamodelicacompiler.
018a4e923Peter Aronsson- getDefaultComponentName and getDefaultComponentPrefixes API functions, see DefaultComponentName.mos - der(expr), see dertest.mos
c70b03c73Peter AronssonFixed bug in setComponentModifierValue, testcase: interactive_api_param.mos
22fd2af8cPeter 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.
5cfacd7b8Peter 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.
e89ca64b0Henrik Erikssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2785 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
5b5e46eb1Henrik Erikssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2784 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
1bebf35ccHenrik Erikssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2783 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
9e88d5f0ePeter 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.
fe20c671bPeter AronssonFixes to be able to compile using Visual Studio. Added some comments to System.mo Added GENERIC_ERROR to Error.mo.
abd304f64Adrian Pop- Makefile updates for Linux to mirror Makefile.omdev.mingw
95d5aba38Peter 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.
51608e2bdPeter AronssonSpeeded up instantiation by writing special instantiation code for builtin classes (Real, Integer,String,Boolean).
c34eda22aPeter AronssonFixed bug with "Automatic" output intervals and latest newTime implementation.
38c764046g-bjozaSome cleanups from last commit. Bug 849, some simplification errors with vector and matrix operations.
04efa3002Peter AronssonFixed bug with calculating nextTime when step is calculated from numberOfIntervals, giving numbers like 0.01111111111111111111111 due to inprecise floating point precision.
e895fecebg-bjozaBug fix 849 Some minor fixes overall. Matrix simplification, builtin function pre.
176fc2eb8Peter 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.
3e44821bcHåkan LundvallFixed sample-bug
456703381Peter AronssonAdded integer_rettype to modelica.h.
19e6b0f38Peter 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).
3b4be3e2aAdrian Pop- more Linux fixes
342fd1318Adrian Pop- Linux fixes to Peter A. changes
7ad7c5196Adrian 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
068b37adfPeter 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).
686bd1fe1Peter AronssonChanged representation of builtin attributes in DAE.VariableAttributes (start,min,max, etc) to Exp.Exp (was previously Real, String, etc).
1928d059eAdrian Pop- small performance improvements - cosmetic changes
163ad9edfPeter FritzsonOpenModelicaMetaProgramming.doc and .pdf Moved all exercises to a separate appendix
dd5110bcePeter FritzsonOpenModelicaMetaProgramming.doc and .pdf Moved all exercises to a separate appendix
ea7746470Adrian 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.
33faaace1Adrian Pop- reverting the bad commit by krsta
2f26ce6d7Kristian Stavåkergit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2756 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
40c43e735Adrian Pop- fixes for the upcoming mmc compiler; - corrections to input variables and variables from matchcontinue
dd039f4b5Adrian Pop- warning removal, printing long instead of integer.
2f7fd381fAdrian Popdelete .srz also
b70f7e24fAdrian Popdelete .srz also
8586ac3e4Adrian Pop- small fixes to errors in .mo files discovered by the new MDT
e619c3b7aHåkan LundvallFixed so that exceptions work when fortran functions are involved in Linux
70d9df0e9Håkan LundvallFixed Timetable-bug
ab19942c4Peter AronssonFixed compile error due to changes in DAE.ASSERT
bb3206edaPeter 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.)
6e13ad6f7Adrian Pop- more notes on possible problems with Eclipse and OMDev.
10bd3937dPeter 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.
4aaf6a1e9Håkan LundvallTestsuite now passes in Linux
e4d903ed6Peter AronssonAdded protected/public flag to DAE.
23ec06117Peter AronssonFixed bug in solving linear system of equations (DAEexample.mo).
83934c04cPeter 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.
4e9de131cAdrian 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".
047ef6c4dAdrian Pop- Fixes for BUG: http://bug.modelicacommunity.org/show_bug.cgi?id=144 The numbering of temporary variables was wrong in Codegen.generateElse
cc73f7868Peter AronssonFixed bug in prefixing of variables in algorithm sections, which was not performed at all.
22e7e1b22Peter AronssonAdded model_dir string as global variable to model code. Needed when loading e.g. associated table files.
4e3a74066Peter 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.
36cec87acPeter 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.
a79ff6b7aPeter 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.)
89ab88d77Peter AronssonAdded translateGraphics function that uses Refactor.mo to translate graphical annotations.
ba3d243f4Håkan LundvallFixed bug #133 and a missing endResult in simulation3.mos
817c38ca2Håkan LundvallFixed bug #131 output variables involved in zero crossings were not evaluated.
0358522cdHå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.
18e85c183Adrian Pop- added Refactor.mo to Makefile.common, Makefile.common.w32 - fixed dependencies in .depend Makefile.w32, Makefile.debug.w32
2612e4c53Kristoffer NorlingRefactoring thesis
f6c5d1201Peter AronssonCompile error due to name change in util.
cc06c58a9Peter AronssonFixed bug with creating empty arrays with fill and using size on them, see mofiles/Array13.mo.
56c34d0f3Adrian 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
f32c8d0daHenrik ErikssonThis makes Qt 4.2+ required for OMNotebook. Unfortunately this (Qt) breaks some features, e.g. text links
144bf6cb4Adrian 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
2c760c1dbPeter 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.
63cf8317aPeter FritzsonUppdatering av datum i startfilen DrModelica.onb till 2007-02-16
f9d8c9c58Adrian Pop- fixes for corbaSessionName not defined when NOT compiling with Corba
4bbabd51fPeter FritzsonUpdated DrModelica since Circuits/Acausal.onb SimpleCircuit now works without error messages,
220343b78Adrian Pop- small update for the upcoming version of MMC/RML & OMDev - variable name changes to differentiate them from function names
f3963abd1Peter 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.
31892c839Peter FritzsonA few small updates to 4 modules DrModelica. Now more testcases work than previously.
cedceafeePeter 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.
67b5bc2f1Peter AronssonFixed bug 95. Testcase in simulation3.mos and avg.mo.
caec13eb5Peter AronssonA small error in the compiler.bat file.
44416bbacPeter AronssonFixed bug 51, testcase mofiles/reinit.mo
eaf2f053dPeter AronssonFixed bug with Modelica.Blocks.Discrete.Sampler connected with e.g. VoltageSource (reported at Modelica Design list)
21b715c6bPeter AronssonFixed bug with compiling when e.g. LIBRARY_PATH is defined.
2d66b1d66Peter AronssonAdded description of missing fortran files in c_runtime/README
d8bc854ebAnders Sandholmgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/doc@2696 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
f4f6c2d88Adrian 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()
713cb1d4dAdrian 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
f3c4cdb6aAdrian Pop- included for std::numeric_limits required by VC++
16703d780Anders Sandholmfixed so val can handle arrays, val(x[n],x.y)
ecc71a284Adrian Pop- Linux typo fixed
5d481d2a0Adrian Pop- fixes for Linux part
7f89670deAdrian Pop- fixes for Visual Studio to get rid of link errors
0aa207e11Adrian 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
067696119g-pavgrLoopContext; check that *break* is inside a loop
37b08492ePeter AronssonFixed bug with start value of parameters not translated to DAE.
4827547b2Peter 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.
6118ccf4bAdrian Pop- changed "inital" with "initial" in Builtin.mo - replaced return with returnType in Codegen.mo and DAE.mo as "return" is a keyword now!
3dec01448Adrian 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.
c7c5a5451g-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)
96610eec4Peter AronssonImplemented inner/outer for components (inner/outer classes not impl. yet) testcases InnerOuter1.mo InnerOuter2.mo
abd5bd51cPeter FritzsonImplemented the builtin function: product. Works on a testcase with vectors. Has not yet been tested on matrices.
176382c82Peter FritzsonAdded ModelicaTutorialFritzson.pdf containing the tutorial given at the Modelica conference and other places
76ccbcab1Adrian Pop- Lookup.mo does not use Util - cosmetic changes to Absyn.mo by Peter F.
762d90aa7Peter AronssonAdded instantiation of reinit in algorithms. Now flattens, and produces error message that when algorithms not supported yet.
ac7f11118Peter 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).
f5d033a56Anders Sandholmremoved some debug information that were commited in the last version
ff11ff62aAnders Sandholmfix string support in external functions
c2e257664Peter 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.
6376a7fb6Adrian 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.
cf157b742Peter 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.
721ae868aPeter AronssonFixed bug with instantiation of Modelica.Blocks.Discrete.TriggeredSampler, causing infinite recursion (prevented by only instantiating partially)
07ca683bdAdrian 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
1802f39dcAdrian 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
0edcac2c0Adrian 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
b4aed9c55Adrian 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
e2545be02Peter 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.
398ba23cdAdrian Pop- fixes to compile OMNotebook on Linux! - this is quite intermediate right now, we'll test it more
9e4e4b25aAdrian Popdouble should not be float as we might loose precision
b9c50e2ffPeter AronssonFixed bug in lookup of functions through unqualified imports.
d8020d59ePeter AronssonFixed bug with e.g. Modelica.Electrical.Analog.Sources.TrapezoidVoltage giving error message even if it is correct.
7e56d9b27Peter AronssoncheckModel now uses DAELow.lower without generating "dummy state", i.e. counts correct number of variables and equations.
4fddc6fe1Peter AronssonAdded error message for not-yet-supported features in algorithms (when clause, while-clause, etc)
0d60cfda7Peter AronssonFixed bug with generation of zero-equations for unconnected flow variables.
880891b40Peter FritzsonAdded OpenModelicaMetaProgramming.doc and .pdf containing documentation of MetaModelica programming. (previously sometimes called MetaModelica users guide) Exercises added to this MetaProgrammingGuide. 061026
ae0ba1414Peter FritzsonBeta 1.4.3 versions 061214 of UsersGuide and SystemDoc UsersGuide includes more Eclipse MDT plugin installation screendumps. Exercises added to SystemsDoc, and MetaProgrammingGuide.
4b9cc2ab3Peter AronssonFixed bug with simplify of 1/(a/b)^2 causing infinite recursion.
d04a0b7daAdrian Pop- new line at the end of file.
193d1c807Adrian Popreplaced ModelicaXml.h with ModelicaXML.h
0315c1349Adrian Popremoved to be replaced by ModelicaXML.h
ba8fe31a6Adrian Pop- fixes to make modelicaxml work on Linux.
bbeecf99bAdrian 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
37be61e12Peter AronssonImproved instantiation speed. (checkModel(CauerFilter) now takes about 10 seconds instead of > 500 seconds). Fixed memory leak in solving linear systems.
8d646ae1bDavid 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.
9c1b0c847Adrian PopNot needed since we moved to .mo files.
00354a3acPeter AronssonMoved some comments to better place
c3c4f23f4Peter AronssonFixed bug with premature exit when event at stop time.
c24bf7cdbPeter AronssonSplit up large string constant so VC compiler does not complain.
280a1c0efAdrian Popimport Interactive is not used in Mod.mo.
5db84ace6Adrian PopLinux update.
a4a361efdPeter AronssonFixed bugs in simulation_runtime (initialization of data, stop exactly at stop-time, etc). Fixed bug with recursive modifiers (A a(x=a.y))
d89ff08dePeter FritzsonRemoved faulty parameter time in class DoubleWhen Sequential
62914e4e4Peter FritzsonUpdated text around the ErrorNestedWhen example
bba486e8bAdrian Popgenerate logs also on Linux.
52493481aPeter 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).
5b2ad2a5eAdrian 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.
94ffb7d12Adrian Popsimulation instead of simualtion.
22dae9f19Peter 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.
ddb2c96dePeter AronssonImplemented flags for controlling simulation error messages (log) Fixed bugs (chaanged getExtendsModifierValues, setExtendsModifierValues)
1fe245527Adrian 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 :)
650224ef2Peter AronssonrenameClass does not visit read-only classes.
fab913a39Peter AronssonFixed bug in renameComponent. Now used partialInstClassIn, which is much faster.
ac2082253Adrian Popfixes for BUG 115: http://bug.modelicacommunity.org/show_bug.cgi?id=115 model X end Y; now reports a parse error!
d5ad55ddeAdrian Popfixes for BUG 115: http://bug.modelicacommunity.org/show_bug.cgi?id=115 model X end Y; now reports a parse error!
0bfea108fAdrian 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
812ed4396Adrian Pop- Linux part fixes for corbaimpl.cpp
490ed213eAdrian 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
78243c658Peter AronssonRemoved old printing functions.
f4d2d1012Peter AronssonAdded better errormessage to checkModel
fc30e712cPeter AronssonAdded setEliminationLevel, to control degree of alg. var elimination interactively.
22301f5dfPeter AronssonAdded error message for no function found. Added EXTRA_SIMOBJS to Makefile.omdev.mingw
67d98dfb8Adrian Pop- allowed a normal Modelica comment after the case. Example: case (z,y) "Some comment here"
453ba5902Adrian 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.
465c73208Adrian Pop+& added to PLUS, needed as MetaModelica stringAppend operator
503313512Adrian Pop- cases can have empty patterns - fixes DAELow.mo so empty pattern () was replaced by _
eb09eb8acAdrian 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.
4905100c6Peter AronssonRedesigned vectorization of variables. Now has extra argument to elabExp to control this. See instEquation on EQ_EQUALS. (affects array equations)
34ae2b03fPeter AronssonFixed bug in index reduction (states for state selection only considered states in current differentiated equations, not all marked equations)
d6fb48c01Peter AronssonLarge integer literals (> 31 bits) are converted to Real literals. Added testcase for flat parsing (more needed later on).
8c092d8b8Peter AronssonFixed bug in traverseExp.
8e9fc2b69Peter 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)
152b87be4Peter 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)
ef883927dAdrian Poppetfr's changes to Absyn.mo
efb579bf2Adrian PopCosmetic changes to .mo files. - changed all .rml to .mo - changed all RML to MMC - got rid of spaces between imports.
0aaa9dc43Adrian 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
25b1add4dAdrian 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.
e2ec917beAdrian Pop- fixed a small warning
d10adfcbdAdrian 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
98a3eb347Adrian 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
34de655c9Adrian Popreplaced // with /* */ as some compilers crap on this
3306b57c3Adrian 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.
6abd6748dAdrian 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.
9c3fe3d0dPeter 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)
8f8a242c4Peter AronssonForgot to remove temporary code before checkin.
bf5bb2089Peter AronssonFixed bug in cross. Added testexample in matrices.mos
36560073ePeter AronssonAdded builtin cross function (elabBuiltinCross)
b4a306836Adrian 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
58e1b193aPeter AronssonFixed bug in initialization. initial_residual only contains equations that solves for continuous time variables.
447fae774Peter AronssonFixed bug with Initialization, see simualtion3.mos (InitTest.mo) and Test3PhaseSystemTotal.mo
a3dd5811dPeter AronssonFixed bug with cardinality, See Gear.mo. Now Gear and Gear2 in TestModels.mo works, see rotationalgears.mos
cb5d5185ePeter AronssonFixed bug with start value for arrays in DAELow
f487f5e41Peter AronssonFlat Modelica parser now allows crap at the end of file which is produced by some Modelica tools.
4bb6f1bd6Peter AronssonFixed bug with input variables on top level, see InputOutput.mo tested in simulation3.mos
f56192ab8Peter 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)
336c3359ePeter AronssonFixed bug with flat modelica parsing. Now parses Real x.y=1.0;
785154e18Peter AronssonRemoved commented code.
66cd146a7Peter AronssonAdded extra argument to buildModel and simulate: storeInTemp=false. To store all files in Settings.getTempDirectoryPath(), set this variable to true.
01246e41bPeter AronssonFixed bugs in mixed system. LossyGearDemo1 now working, see simulation3.mos
c7cdc8460Peter AronssonFixed flat_modelica_parser which didn't work at all. It now works partly. Still problem with modificiation in tree walker.
3528e30adPeter AronssonAdded rudimentary boolean functions to c_runtime.
2e821319dPeter AronssonFixed bug with default values for funcion calls. They are now added to the expression argument list so correct C-code can be generated.
73175f512Peter AronssonFixed bugs with wrong Exp.Type in Exp.CAST expressions.
e85dc7355Adrian Pop- reverted the changes
8e1dbf0f8Adrian Popupdate of dependencies
4843a21aaAdrian PopMakefile changes to mirror the changes made by Peter A to Makefile.omdev.mingw
4aed02e4bPeter 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.
33347a592Peter 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.
94328d0bfAdrian Pop- fixed step numbering in the README-WIN32.txt
983fae96bAdrian Pop- fixed the MSVC projects and makefiles to use OMDev binaries compiled with MSVC - updated the win32 readme: README-WIN32.txt
501a5b16fAdrian Pop- small update to the README-WIN32.txt. - released rml-mmc-2.3.6 to make VC7 work
767a31de4Peter AronssonImproved solving nonlinear systems. Now tries with several different factors and retries with different starting points if not successful.
c1f1ccf3cPeter AronssonImplemented simple checkModel, returns string with number of variables and number of equations.
d36b059fcPeter AronssonFixed bug with initialization (alg. vars fixed) Fixed bug with simplification of arrays resulting in wrong operators.
d765be7ecPeter AronssonFixed bug with differentiating exp (HelloWorld).
08d3ee85aPeter AronssonAdded RO flag in INFO attribute.
af81815e3Peter AronssonFixed bug in promote_integer_array(done by Kaj)
795c2f92bAdrian 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)
588567e6cAdrian 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)
910a26044Adrian Popfixes parts of bug 99: http://bug.modelicacommunity.org/show_bug.cgi?id=99 I added to modelica.h: typedef modelica_real sample_rettype;
92ddcaf31Adrian Popfixed bug 97 http://bug.modelicacommunity.org/show_bug.cgi?id=97 implemented elseif within if expression by constructing IFEXPs within else part.
30565081aAdrian Popfixed bug 86: http://bug.modelicacommunity.org/show_bug.cgi?id=86 by creating the error file in the tmp directory.
d0834b098Adrian PopFixed bug 72: http://bug.modelicacommunity.org/show_bug.cgi?id=72 within_clause did not check for null name_path in walker.g.
c5175a994x05andfefixed bug in paste cell command. // Anders Fernström
097dbbefcAdrian Pop- last 1.4.2 commit + DrModelica, UG, ModelQueryAPIexamples.onb updates + val(var_name, time) implementation from Anders Sandholm
a699b6b02Adrian Popfixes for OMShell/oms.cpp to compile on Linux.
1bdf5501dPeter 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.
67f585b0bPeter AronssonFixed bugs in mixed systems. It is now a quick fix.
2ede31746x02danheFixed a bug with unparsing of logical binary operators. Parenthesis are no longer lost around expressions with operators of lower precedence.
6b7ede752Peter Fritzsontest by petfr
f10070269Peter AronssonFixed bug in splitting a mixed system into its discrete and continuous part.
701557810Peter AronssonAdded comment why derivative of if expression must be allowed even though it is non-existent.
13b8be179Peter AronssonFixed bugs in mixed system of equations (see simulation3.mos and BearingFrictionTest.mo) Fixed bug with missing events at initialization (see also BearingFrictionTest.mo)
ca4be897bAdrian Pop- updates to DrModelica by Peter F.
562bc4e4fAdrian Pop- new stuff val(variable, time) - which is not implemented yet - new SG and UG - new file ModelQueryAPIexamples.onb - new UsersGuideExamples.onb
73f9344f5Adrian Pop- more fixing
b7fdaf790Adrian Pop- fixed a small mistake
79de7eab9Adrian Pop- updated runtime and winruntime to be a bit closer
85d73635eAdrian 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
5be5cb99cPeter AronssonFixed bug with overwriting of equations. Changed testcases Shadow1.mo and Overwriting2.mo.
23925b9fcPeter AronssonFixed bug with connect(a.b[1],c.d), i.e. using arrays in connectors. See mofiles/Connect15.mo
122558eb1Peter 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.
7831d96b5x05andfeAdded find and replace function to OMNotebook, resulted in same small changes in other files. // Anders F
ea3c98888Adrian PopChanged everywhere i could find MODELICAPATH to OPENMODELICALIBRARY!
ba7ec9b32Adrian PopChanged everywhere i could find MODELICAPATH to OPENMODELICALIBRARY!
c67a3f7f6Adrian PopChanged everywhere i could find MODELICAPATH to OPENMODELICALIBRARY!
9e49dc276Peter AronssonFixed bug with missing delete for A and b arrays for linear equation systems.
b93a43f9aDavid BromanAdded support for for-statements in the interactive environment.
e40c62ccePeter AronssonFixed bugs with Test3PhaseSystem and initialization of this model. See mofiles/Test3PhaseSystems.mo
9932e8caaKaj Nyströmgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2476 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
5d6b8f980David 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.
c1cd99018Peter AronssonFixed bug with trapezoid voltage source (used in e.g. NandGate). See simulation3.mos.
16e767d6cPeter AronssonMinor changes.
967903525Peter AronssonFixed bug with whitespace in OPENMODELICAHOME path in compileModel.
dc47506c7Peter AronssonFixed small index bug in building string MODELICAPATH=dir
d6206d120Peter AronssonChanged compile script to take OPENMODELICAHOME as argument. Needed for applications where OPENMODELICAHOME is not set.
0261fe9eePeter 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.
e705b7f2ex05andfeadded functionality so OMNotebook and OMShell check version from OMC. //Anders Fernström
f9e52cf47x05andfeadded functionality so OMNotebook and OMShell check version from OMC. //Anders Fernström
259de82ebKaj NyströmFixed bug 671
7af46bd97Peter 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)
a07171e97Adrian Popmoving towards 1.4.2 - updated Uninstall.bat - updated the product code, product name, etc - made getVersionNr return 1.4.2
1b881032fPeter 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)
d00f675cbAdrian Pop- Linux has no "_putenv", changed to putenv in settingsimpl.c
ef105a830Peter AronssonFixed bug with multile declarations, see testsuite/mofiles/MultipleDeclarations2.mo (mc bug 655)
cb5f12f13Peter AronssonFixed bug with evaluating e.g. cos(0)/2 (due to Exp.simplify (MC bug 656)
ce2d8ad0fx02lucpocommented some code
c24aae50fx02lucpomade the function Setting.setInstallationDirectoryPath to use putenv("OPENMODELICAHOME="
a126f52d7x02lucpoadded getTempDirectoryPath to interactive functions
d686febdcPeter AronssonFixed bug in simplify of cos(0) * cos(0) (MC bug 654)
baaa784b6Peter 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.
28a189501Peter AronssonFixed bug in listUnion. Now makes union in both sub-lists as well.
4904496bfx02lucpoadded DATA_STRING stringVaribles to handle the stringvaribles for generated code
0e7872306Peter AronssonFixed bug with subscripts, see mofiles/SubScript2.mo. Fixed bug in Exp.simplify for vector op scalar expressions.
cc5a6a85dPeter AronssonFixed better error message when failing to connect variables of inconsistent types.
b8cf2271fPeter AronssonFixed bug with connectors extending basictype and matrix concatenation (MC bug #643). See mosfiles/Extends4.mo
3305ab640Peter AronssonFixed bug with connectors extending basictype and matrix multiplication (MC bug #643).
6385b7ad7x02lucpomoved getVersion from interactive to ceval
3424a4308Peter AronssonFixed bug with Strings, Integers and Booleans in connectors. (MC bug 499) mofiles/Connect14.mo Also added Connect13.mo for connectors containing arrays.
cd4c59c08Peter AronssonFixed stack overflow bug in mofiles/DependsRecursive.mo
27385ecd7Peter 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)
cb80de6b1x02lucpocorrected diagonal_real_array and diagonal_integer_array
1d22022bex02lucpoadded EXTRA_SIMOBJ to compilation
693922f2fPeter AronssonFixed bug with function argument having same name as function. See testcase mofiles/Function10.mo
bf014d516Peter AronssonFixed bug with multiple declarations, see testsuite/mofiles/MultipleDeclarations.mo
5c9298357Peter AronssonFixed bug with infinite recursion in lookup. See packages2.mo in testsuite. Cleaned up lookup code a bit.
a4539e4dePeter Aronssonpartly fixed bug #105 (1 and 2). Fixed bug with looking up external object. Fixed bug with sign bultin function.
5c8b937daPeter AronssonChanged interactive commands such as simulate, buildModel, etc, evaluated in Ceval to use automatic quoting (changed to Code AST construct).
0c7ba6184Peter AronssonFixed bugs with external object and new impl. on strings.
dcdb4c31ex02lucpopartial implemented parameters and algebraic string handling
303029fe7x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2429 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
3944c4b3aPeter AronssonFixed bug in lookup of constants in packages throuh inherited classes. Partly fixed bug in array equations.
dd08d14b7x02lucpoimplemented -s settings.mos
b68dd149cPeter AronssonMoved getVersionNr function to Settings.mo Fixed ExtObj.mos testcase (added missing file)
98ae67f31Peter 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.
83d360144x02lucpomade things compile
66be264a2Peter AronssonAdded cache to almost all functions that has something to do with lookup and instantiation. Packages with constants now translates much faster.
5eb8e60b1x02lucpochanged implementation of Static.elabBuiltinSum to handle also sum(3.0) this generates an warning
ae53bfeaex02lucpoadded public function dumpDAELowEqnList
b6d8ee2acx02lucpoadded so that subscripts with param are evaluated to value
25d0c02c6x02lucpocorrected 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
34a061623Peter AronssonExternal declaration annotation can now be given with semicolon between the annotation and the declaration.
a7a90ef48Peter AronssonFixed more bugs with set/getExtendsModifierValue and getExtendsModifierNames.
61fd0dcc1Peter AronssonFixed bug with get/setExtendsModifierValue (MC bug 598)
6dbe0070aAdrian Pop- fixed: SimCodegen.c(15717) : fatal error C1061: compiler limit : blocks nested too deeply - the function: generateInitializeDeinitializationDataStruc was SF, common!
6aeb38432x05andferemoved auto-generated files from OMNotebook. // Anders F.
997dec6d6Peter AronssonImplemented External Objects, testcase mosfiles/ExtObj.mos.
93053ff73x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2396 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a4ed1ad43x02lucpoadded isRealParam and isNonRealParam
956fbdb8ex02lucpocorrected an error on ASUB simplify
9ab5b2579x02lucpocorrected a bug that made compilation fail
79d6e05e8x02lucpocorrected a bug concerning the " constant Real Coeff[3]={-5,-5,-5};" this could not be instatiated because Coeff[2] could not be found
9161d4779x05andfeUpdated some part of the code to make it work on unix/linux. * changed from 'exception' to 'runtime_error' * fixed search path for omc
0c1327894Peter AronssonFixed additional bugs for get and setModifierValue (MC bug #592)
ac7231904Peter AronssonFixed MC bug #592: setComponentModifierValue, Removing "outer" modifiers messes up modification. Fixed bug in Derive (implemented differentiation of sin and cos in differentiateExpTime.
347da0dc0Adrian Pop- small README-UNIX.txt for OMShell.
7d57dc994Adrian 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)
cbe0b20cdAdrian 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)
e886df8f7Adrian Pop- free() in the Linux version.
24575b502Adrian PopUpdated the XML part with the latest version of ModelicaXML and FlatModelicaXML
a4ac4c3d7Adrian Popremoved this old ModelicaXML version
2b5cce6b8Adrian PopFixes due to refactoring of component names in Exp.mo records
3ef8adb01Adrian 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
c041dbf69Peter AronssonFixed so PATH is extended, not reset by Compile.bat
db398d4e2Peter AronssonFixed bug in getExtendsModifierNames. Added testcase NamedArguments.mo
175e93450Adrian Pop- fixed plotParametric(x, y) instead of plotParametric({x, y})
5423acfc1Adrian 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
257625340Adrian 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/
8f1f15b69x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2366 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a46c6e45ex05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2365 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
2d4c3704cPeter AronssonFixed MC bug #590
38c7c4fe3Peter AronssonFixed MC bug #589
72a449e7cPeter AronssonFixed MC bug #588
6be39ae47Peter AronssonFixed bug with unconnected flow variables. Fixed MC bug #572.
5a323da0bx05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/OMNotebook/DrModelica@2359 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
feb2f49f6x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2359 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
aa933ea0cAdrian Pop- fixed for Linux!
43889112dAdrian 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!
55c6fd670x02lucpoadded double vector with residuals in the DATA struc
4fb215d1ex02lucpocommented some code
f57765f41x02lucpochange the generated code to use one structure for simulation data
18266c691Peter AronssonFixed bug with arrays in flow variables in connectors.
9fe15f255x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/OMNotebook/DrModelica@2351 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
546a6c4b6x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2351 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
f6bc54654Peter AronssonPartly implemented support for ExternalObject.
7eec58061x02lucpoadded a rawStringToInputstring for changing from \\ to \ and \" to "
660257011x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2348 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
9c7355a9bx05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2348 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
b6b34115fPeter AronssonFixed bug in lookup of classes from inside functions. Cleaned up some comments.
fbb56453ax05andferemoved log/error area from omshell
53544943dAdrian 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
0b51b0bfcPeter 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.
4b4c358c0Peter AronssonImplemented getDocumentationAnnotation.
99ef26359Adrian Pop- apparently plotParametric( {x, y} ) is wrong. should be plotParametric(x, y)
a886acd05x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2336 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
b12b42f1ex02lucpoChanged 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
5a6fc7cbaAdrian Pop- corrected to: end varDiscreteAttrInt; to get rid of the warning.
f6c8a5298x02lucpoChange to compiling with mingw
ae7544c85Peter AronssonMinor fixes. Moved list function to interactive to speed up model editor.
f0f5a3559Adrian Pop- conform to Modelica grammar unary operators has to be enclosed in ( -x ) if they appear in the right side of an binary operator
f5bdf7d43Adrian Pop- optimizations and update of product code in Uninstall.bat
fad417616Adrian Pop- updates so no OMC_BUILD_FROM is used. Also got rid of all the .rml compilation section. - small updates to readmes
445c6f5aex05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2323 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a540fb536x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2322 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
19defb1dax05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk/OMNotebook/DrModelica@2322 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
b1f1415a3x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2322 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
07abe6d2cAdrian Popfixed a small mistake.
12f5b4506Adrian Popgit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2320 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
002e72817Adrian Popfixed plotParametric({x, y}) instead of plotParametric( x, y ). now it works
ffe0f3c99x05andfeupdated OMNotebook and OMShell, also updated three files in DrModelica. // Anders Fernström
f21c55d5bx05andfeupdated OMNotebook and OMShell, also updated three files in DrModelica. // Anders Fernström
3f72a8e96x05andfeupdated OMNotebook and OMShell, also updated three files in DrModelica. // Anders Fernström
cc94a26b2Peter AronssonTranslated all RML files to MetaModelica.
c524bd8d4Peter AronssonDeleted since autogenerated.
33991003fAdrian Pop- changed in Derive.rml: SimCodeGen.rml -> SimCodegen.rml otherwise the compilation on Linux fails.
a2be60e3fAdrian Pop- better instructions on how you can run the testsuite from Eclipse or MSYS terminal
a669d1d68Adrian Pop- added instructions on MDT installation.
929cdb0bdAdrian Popupdated instructions for compilation using OMDev-mingw package.
1a5a9578cAdrian Pop- new project sample that has no modelica syntax checker builder.
c3c21207cAdrian Pop.project and .cdtproject samples to work with C/C++ perspective.
bacb4bb7aPeter AronssonRemoved print message in get_pathed_class_in_program
79dc92c28Adrian Pop- fixed so that pattern = arrayNth(arr, index); is dumped as: pattern = arr[index + 1];
948055820Adrian Pop- added more stack to the translator
65e70b1c7Adrian Pop- fixed the (x => y) option problem in the translator - fixed better escaping of rml comments to MetaModelica strings.
1db0c7e2ePeter AronssonFixed bug in functionDAE_res. Now old values of derivatives are used as "guess" values.
3a67029aaAdrian PopSmall .rc modification. Added some optimization flags to the compiler.
e3a8d5aa0Peter AronssonAdded special case for pre in nonlinear residuals. The variable in pre should not be replaced in this case.
4cfc5d368x02lucpofixed a bug in load_file. Under windows the loading of packages could not handle filenames with "/" only with "\"
b38a5bee3x02lucpochange the name of some dummy-var from der_a.b.c to a.b.der(c)
4e3d86d05Peter AronssonFixed bug when giving integer values to startTime and stopTime.
4e668759fx02lucpofixed an error in generate_makefile
a30e1ac22x02lucpochanged the makefile to contain the path to dir of mo-file in include and libs
66be270d8Peter AronssonFixed minor bugs for codegen of tempInterpol function.
cc8cae62aPeter 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.
f22b6e76cx02lucpochanged the name of dummyder from der_a.b.c to a.b.der(c)
36ff1af21Peter AronssonImpl. support for Modelica.Math.tempInterpol1, including improved handling of arrays in simulation code.
a08e39e80x02lucpocorrected an error in rename_class
5f71a6300x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2284 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
c69794a7bAdrian Popfixes local declaration when variables are actual val declarations
4ff7f09e5Adrian Popadded OMCMonitor to trunk/tools
60b94be99Adrian PopNot needed, I will generate it again when we move to VC2005. Adrian/
6bc849259Adrian 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.
739e04ac6Adrian Popa link to OpenModelica Website to be used in the OpenModelica Menu Options
908f26692Adrian 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.
17aeedca6x05andfe* fixed some small bugs in OMNotebook * updated Mathematica parser in OMNotebook * updated the OMNotebookHelp.onb documentation * converted DrModelica to OMNotebook // Anders Fernström
968d4b964x05andfe* fixed some small bugs in OMNotebook * updated Mathematica parser in OMNotebook * updated the OMNotebookHelp.onb documentation * converted DrModelica to OMNotebook // Anders Fernström
471a0af01Peter AronssonAdded testcases from MathCore testsuite.
af6158310Adrian PopFixed the imports as there are intermediate results from function calls that require additional module imports. Please DO NOT TAKE THEM OUT.
13ea30956Peter AronssonAdded better error messages when building. etc.
9da670ca1Adrian 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.
82f11e26bPeter AronssonReverted errormessages in parse. Did not work in interactive.
459cdb2a0Peter AronssonAdded floor_rettype
4ec3b9cdfPeter AronssonFixed bug in generating zero equations for unconnected connectors. Fixed so parsestring and parseexpstr now also use new error message impl.
ad3e89a1fx02lucpoadded executable file name to generate_init_data
d08deade6Adrian Poprenamed to just have it as a guide
7cb6beb6bAdrian Pop- edited the README-OMDev-MINGW.txt to change the way we handle .project and .externalToolBuilder/*.launch
8a63b4d9fx02lucpooptimized rename_class
ebfd2c97aPeter AronssonFixed bug in intialization.
6db790fc9Peter AronssonAdded function bound_parameters to codegen to be used together with new initialization routines.
dc55b6163Adrian Popsmall change
6d316f2f2x02lucpoadded some extra macros for facilitating adding new source-files and flags automatically
94d37a2aeAdrian Popsmall fixes to vc7 setup and winruntime
d3bbcb570Adrian 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.
7a8e3d99dAdrian Popcreated new project conform to MDT 0.6.0 and OMDev.
91a1fb6a2Adrian Popsmall timing modifications
0c5afe728Adrian Pop- reverted the getClassInformation(name) API to NOT return the class name
20b14ee69Adrian 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
d1b5a5d3ex05andfeUsing qt to start OMC in both OMNotebook and OMShell. No console window is now neccessary for OMC. // Anders Fernström
9b27ec12ax05andfeUsing qt to start OMC in both OMNotebook and OMShell. No console window is now neccessary for OMC. // Anders Fernström
317532e18x02lucpochanged get_class_information to return the name as second arg
107cfed19x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2212 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
791ef35b0Adrian 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
9b0cb2fa5Adrian 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
69c5f153fAdrian PopAdded VC8 for compiling OpenModelica with VC2005
b9d3341caAdrian PopRemoved after it was copied to trunk/tools/rml2mod
ed0ddc888Adrian Poprelocated to trunk/tools/rml2mod
25b678766Adrian PopAdrian Pop: - relocate "xml" directory to "tools"
8326457d4Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-03-10 - updated RML->MetaModelica translator to latest version!
9c7ddd9edPeter Aronssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2199 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
8784e1c23Adrian PopAdrian Pop, - Added DAEEXT__clearDiferentiated to the ExternalRMLDefines.h
710df77cfPeter AronssonFixed bug in getClassInformation. Seems unneccessary to return class name since that is was is passed to function.
885d12d3cPeter AronssonFixed bug with clearing differntiated equations marks when running interactive.
d44dd5dc2Peter AronssonThe fixed attribute of a dummy derivative is now propagated (trough the constraint equation) to the state.
8b16e4f23Peter AronssonImlemented prototype initialization scheme using optimization.(Bernhard Bachmann).
0e8069c9aPeter AronssonImlemented prototype initialization scheme using optimization.(Bernhard Bachmann).
d50425adcx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2192 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a1578ea9dAdrian Popnot needed, copied on compile from Compiler/
a94d53877Adrian Popnot needed, copied on compile from Compiler/
342971894Adrian PopOMDev fixes
cb18bd9bfAdrian PopFixed an error that prevented generation of the .mo again when .rml are newer.
c8ab6af14x02lucpocorrected some errors for the new setup
f761ff9b3x02lucpocorrected the return value from renameClass
919bc4e8cx02lucpomade renameClass to return a string-list with the path of the changed classes
7da42ef6bAdrian PopJust text changes
673590fe1x05andfefixed some small bugs in OMNotebook and added automatic chapter numbering to the stylesheet. // Anders Fernström
5cab5d8acPeter AronssonImplemented residual function for intitial calculation.
55cfc9402Peter AronssonImplemented remove of simple equations after matching. Implemented propagation of initial values on dummy states onto proper states.
f50fb51c6Adrian PopAdrian Pop, 2006-03-01 Updated OMDev makefiles
e256fc8e8Adrian PopAdrian Pop, - small changes to make runtime and winruntime more uniform.
1128b3353x05andfeadded backwards compatible to the search for DrModelica and OMC in OMNotebook and OMShell // Anders Fernström
992ae37e1x05andfeadded backwards compatible to the search for DrModelica and OMC in OMNotebook and OMShell // Anders Fernström
4d6cf184fx05andfeupdated OMNotebook and OMShell so the applications uses the OPENMODELICAPATH to find DrModelica and omc.exe during start up. // Anders Fernström
3c6057884x05andfeupdated OMNotebook and OMShell so the applications uses the OPENMODELICAPATH to find DrModelica and omc.exe during start up. // Anders Fernström
79afa70bcAdrian PopAdded script to plot from Linux.
f6f430cddAdrian PopRemoved file/folder as they were moved to doc/omc_helptext.txt doc/omc_interactive_api.txt
4e29f9c3dAdrian 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.
4340d8936Adrian 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.
e5d760919Adrian PopAdrian Pop, 2006-02-26 -added trunk/build with bin, include and lib directories. -modified makefiles to use these directories
b1d7f5f8cAdrian PopAdrian Pop, 2006-02-26 -added trunk/build with bin, include and lib directories. -modified makefiles to use these directories
a0e2db1ceAdrian 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.
79063e3d6Adrian 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.
3203576c8Adrian PopRemoved file/folder
cab31514bAdrian 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
0abdf226eAdrian 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
b36552f3fAndreas Remar* fix include path when building with mico 2.3.12
b645b35f2Peter AronssonFixed bug in initialization. Now handles initial equation better.
cc48704c4Peter AronssonPartly implemented support for Modelica.Math.tempInterpol2 function.
2694ab8bcPeter AronssonFixed bug with type conversion (Integer->Real) in arrays. (MC bug 396)
4f6b136faPeter AronssonFixed bug (MC 461)
cbd2040f0Peter AronssonFixed bug (MC 411)
9073c3d40x05andfeSmall fix to OMNotebook and changed the folder name OMS to OMShell. //Anders Fernström
10ce57f8ex05andfeSmall fix to OMNotebook and changed the folder name OMS to OMShell. //Anders Fernström
3fbd001fcPeter AronssonSee previous log.
5842ab095Peter AronssonFixed bug (MC 382)
d4864b693x05andfechanged same small thing in OMShell and OMNotebook. Both applications are using Qt 4.1, Open Source license now. // Anders Fernström
8bb061009x05andfechanged same small thing in OMShell and OMNotebook. Both applications are using Qt 4.1, Open Source license now. // Anders Fernström
18ab58aadx02lucpochanged the generate_init_data to use tolerance and output-steps
679552249Peter AronssonOne more bugfix for (MC bug 443).
4c43de17bPeter AronssonAdded error message for wrong type in modifiers.(MC bug 443) Fixed bug when turning of error messages in Inst.
5d56f87c3x02lucpomade loadFileInteractiveQualified work lazy
fc99aeca1Peter AronssonFixed bug with initialization and added some predefined types.
17baf44c0x02lucpoadded a settings-module for different global settings
dc6f9c72dx02lucpooptimize extract all components
8cc469c07x05andfeupdated OMNotebook updated // Anders Fernström
7c77b83a0Peter AronssonAdded abs_rettype
a73761c78x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2140 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
aca248073Adrian 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.
a06b483cbPeter AronssonFixed bug in generate_mixed_discrete_combination_values.
9ceda5adcPeter 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.
f1c71410bx02lucpodo not remove /B from exit
819821a8ex02lucpoimplemented rename_class to change the class-name in all the program
4938bf2c4x05andfeupdated version om OMNotebook. // Anders Fernström
8533b6a1aDavid 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.
8ead64927x02lucpoadded load_file(string) => Absyn.Program in ClassLoader.rml. this loads the file or whole package
d209d29c7x02lucpoadded Rename-component test to test-suite
f1737cc57Adrian 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.
8e5a9bb97x02lucpoadded Rename-component test to test-suite
18f94dd1fPeter AronssonFixes to luc checkin. Removed trailing '&'.
2f177521dAdrian PopSeems this file is really needed.
194c88080Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-14
323407e70x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2109 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
31441bd4dPeter AronssonrReverted if-equations.
a1382cb5fx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2106 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
572b06bebx02lucpocorrected a mul-array bug
90e14e218x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2104 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
c9cfc28ceAdrian 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
6049ac3b3Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-09 Fixed so a trailing \" after an integer is not shown. changed Interactive.rml:getElementsInfo
313739db0x05andfegit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@2100 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a465b92ecx05andfemade 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
26bd418d3Andreas Remar* added PANIC MODE error recovery to the parser. This breaks two tests (ParseError1 and 2) so those are temporarily fixed.
a6afc9e48x02lucpocorrected a div_array error
d6f2da79fAndreas Remar* make sure generated file is called 'a.exe' so you can compile in GNU/Linux (and other OS'es)
f2a5bf67aPeter AronssonImplemented support for structural if expressions. See mosfiles/structural_if.mo. The matching algrithm and strong components algorithm are are affected by this.
c34dc8876Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-08 Fixed winruntime/Error* to agree with the new ErrorExt.rml and new Absyn.INFO
149e4c226Adrian Popnew externals in DAEEXT.rml
651f1b688Adrian Popnew externals in DAEEXT.rml
784d6e492Adrian Popnew externals in DAEEXT.rml
9cb1bce5dPeter AronssonFixed bug (infinite loop) in building when equations.
992c674baAdrian 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.
f0d1633a1Adrian PopAdrian Pop, adrpo@ida.liu.se, 2006-02-04 This file is really not needed as is generated by ANTLR.
ba0b214edx05andfefixed some bugs in omnotebook, // Anders Fernström
947961554Peter AronssonFixed bug in Bouncingball. Added n_bounce variable that counts number of bounces so testsuite is more robust
b748d9e95x05andfeupdated OMS, changed name from OMS to OMShell // Anders Fernström
8dbb93a65Peter AronssonFixed bug with index reduction: already differntiated equations should not be differentiated again. Fixed bugs with event handling. Changed interactive api for comments.
7c32f993dx05andfemade some updates on OMS communication with OMC. // Anders Fernström
abc7c1586Adrian 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
794e64d1bx05andfeadded OMNotebook source code. // Anders Fernström
2d46ccfd9Adrian PopWill be replaced by rmldep-new.sh which should be called by the Makefile.omdev.mingw Makefiles
e996e5ca3Peter AronssonRemoved adrians changes!
f4d988e3bKaj Nyströmupdated mostly comments and whitespace in order to simplify translation to MetaModelica
c8caef382Adrian PopAdrian Pop, adrpo@ida.liu.se, 206-02-01 Fixed the rmldep.sh script. It had a little problem.
f6d9460d6Adrian PopNot needed anymore as they were replaced by Makefile.omdev.mingw all over the place
dc3f43e89Adrian PopAdrian Pop, 2006-02-01 Added for JavaNames fixing in RML files
92cc092f3Adrian PopAdrian Pop, 2006-02-01 - based on a define I fix the java name for VALUES__reverseMatrix or VALUES__reverse_5fmatrix
2aede2b78Adrian 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
9412a5701Adrian 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.
3f362aef9Adrian PopOMDev compilation files + Eclipse project + eclipse builder. ---- Adrian Pop, adrpo@ida.liu.se, 2006-02-01 ----
435bab355Peter 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.
1fe3c6fbfx05andfeupdated WinMosh to OMS and made some small changes... // Anders Fernström
12aecc321Adrian PopAdrian Pop, 2006-01-28 - mingw compilation issues fixes - cygwin/msvc still work
b5cac9361Adrian PopAdrian Pop, 2006-01-28 - fixes the compilation with mingw - cygwin/msvc still works normally
9c6a908ddAdrian PopAdrian Pop, 2006-01-28 - fixes the compilation of libruntime on MINGW32 - now it compiles using mingw make
c4f3dd76fAdrian 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
d9def15dfPeter 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.
9289feac1x02lucporemoved a error in nestled DIVISION macros
15ec2df35Peter AronssonImplemented getClassInformation(classname) => {restriction, comment, sourcefile} setClassComment(classname,comment) setComponentComment(class,comp,comment) setConnectionComment(class,c1,c2,comment)
b6f627fd7Peter AronssonRemoved luc_pop last checkin since he removed a lot of my stuff from previous version. Also fixed bug with Gear model.
365914714Adrian Pop2006-01-24 adrpo@ida - changes to comments only - moved comments arround so they apper in the generated .mo files
e46af105aDavid BromanUpdated the help text, so that no line consist of more than 80 characters.
fedfecf09x02lucporemoved an error from getDiagramAnnotation and getConnectionCount on derived classes
6b7cf090dx02lucpomade the inst_element_list to continue even if inst_element failed.
63551f3eePeter AronssonFixed bug with bindings not getting automatic type converts in make_binding.
73138e3ecPeter AronssonFixed bug with setComponentModifierValue. fixed bug with instantiating partial classes in inst_class_basictype.
856cedbb8x02lucpochanged 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
1edd1e9dePeter 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.
179e030ecAdrian Pop2006-01-16 - adrpo@ida.liu.se - refactorings of .rml files to make translation easier + comment handling + types + imports
9f96ed072Peter AronssonImplemented connectors extending from basictypes (Modelica v2.2) for instance connector RealInput2 extends Real[2]; end RealInput2;
94b253826x02lucpochanged 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
6dadc5634Peter AronssonImplemented partial support for array equations on form v = foo(...). Other array equations should be flattened into scalar equations. Testcase: ArrayEquation.mos.
0f715fdf8Peter AronssonPartly implemented array equations. Fixed testsuite. Apparently someone has missunderstood the meaning of failingtests. Now all tests go through again....
d615de78cx02lucpocorrected a bug in division macro
80f48a17ax02lucpocorrected a bug in division macro
437e8dbe2x02lucpoadded DIVISION by zero check
c89628892x02lucporemove rem from "rem exit %ERROR%"
c377381eex02lucpoadded 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
7e97d5dd1x02lucpoadded 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
192bc54d4Peter 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.
d0ddda6caAdrian Pop2005-12-16 adrpo@ida.liu.se - added loadFileInteractiveQualfied to the Compiler/interactive_api
50d636847Adrian 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.
dcff6bfa9Adrian Pop2005-12-14 adrpo@ida.liu.se
6b6a8ef7dPeter AronssonFixed bug in connecting arrays of components. Added testcase FlexibleShaft.
cfc6b3116Levon 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
ed2885e0dx02lucpomade calculate_param_sizes to use is_param. corrected the generation of variable names and comments
d3bb60816Peter AronssonRemoved error message from simulation record. It should be in error buffer. Fixed dr_modelica testsuite. (bugs in .mo files, etc).
ea323f44ePeter 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.
54f670862Peter AronssonFixed bug with vectorized der operatators giving unwanted errormessage.
a7363f87dPeter 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)
d5fdea6dax02lucpoimproved compile_model relation
eff29ced0x05andfeadded OMNotebook, the version uses QT3 and accompanied openmodelica release v1.3 and v1.3.1. //Anders Fernström
e2da957e5Kaj Nyströmupdated again withplotParametric
61620f347Håkan LundvallNew examples and usersguide
e988a03c9Hå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.
8b4a895b5Kaj NyströmRemoved plotParametric for now until further investigations are completed
29eb03acdKaj NyströmBetter documentation and errorhandling in plotpparametric
3a8ee03c4x02lucpochanged the System.trimg in compile_model to System.string_replace
65484d69cKaj NyströmImplemented the command plotParametric
b5f6c2a70x02lucporedirected the stderr and stdout to .log
42dd8085cx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1988 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
6ca6f9998Peter AronssonFixed bug in setComponentAttributes Added initialization of parameters depending on other parameters (expressions of).
fdbf49af2Adrian Pop2005-11-24 adrpo@ida - windows stdlib doesn't have setenv, changed systemimpl.c so it uses _putenv("var=value")
ded4be47fAdrian 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
3ea048d5dx02lucpoforgot to add "setCompileCommand" to Static.rml
7bb11d980x02lucpoimplemented 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
ba3afc895x02lucpocorrected the generation of code to put out the correct values for different arrays
395a40989Kaj Nyströmminor updates
2cb0ed602Håkan LundvallFixed bug in transformation of if-equations
39ff25ae9Peter AronssonFurther fixes to ASUB bug in Exp.simlify. Added dummy state always present to make dassl happy if run with model without states.
bf0032f36Peter AronssonFixed bug with simplifying ASUB. Fixed bug for small equation system (array expandsion with expandedsize=0) Fixed remove simple equation bug (removing parameter)
f7632b6e8Peter AronssonPartly fixed MathCore bug no 345. (Constants in packages, etc.)
6d72b4b68Peter AronssonStandard math functions in Modelica.Math are not evaluated instead of compiled and run in Ceval.rml
eedd717a0x02lucpocorrected generation of varnames and parameters
040c3d16bHåkan LundvallTransformation of if-equations to expressions Updated helptext Updated setup-project
4c5a96c34Peter AronssonAdded better error messages to SimCodegen.rml
65508f46fPeter AronssonFixed rounding in ExternalLibraries.mos using floor and echo.
a7a8e7c3bPeter AronssonFixed bug with simulate, added extra parameter to fail cases as well.
3fb865b69Peter AronssonFixed bugs with whitespace when calling plot, etc. in windows.
0b55befb3x02lucpocorrected 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
187ed8f68x02lucpocorrected bug 337 mathcore
62877479fPeter AronssonAdded initialization of matrix and vector declarations.
fce530cbdKaj NyströmField names for Modelica+ inserted in comments
b8381c07dx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1961 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
710299817x02lucpoadded to build_model a rule so that it changes the dir to the file where the class is.
10f37dca7Peter AronssonImplemented Each modifier, testcase Each1.mo
81ce0e08ex02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1958 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
37c6875cbx02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1957 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a728bbb0eAdrian Pop2005-11-11 adrpo@ida - added several relations to Interactive.rml and an API function called: getElementsInfo - read more in interactive_api.txt
0d37d3174Adrian Pop2005-11-11 adrpo@ida - added several relations to Interactive.rml and an API function called: getElementsInfo - read more in interactive_api.txt
5a2a929d9Peter AronssonFixed bugs with initial_function codegen.
2a1e499a0Peter AronssonFixed solving equation systems in output sections. fixed listVariables bug (not considering builtin variable $echo)
9a9053727Peter 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.
c11448797Peter 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.
57a898c49Peter Aronssonstring replace impl. in cygwinruntime now also in winruntime.
8a662e3f9x02lucpochanged Interactive.rml to compile with VC7.1
995d2b30dPeter AronssonSplit evaluate_graphical_api into two relations so it compiles under Visual studio.
46d0e9ca2Adrian Pop2005-11-04 adrpo@ida - added getCrefInfo(cref) to interactive_api.txt
5878923a7Peter AronssonImplemented getClassRestriction in Interactive.rml, returns a string with the class restriction.
bc5b1bdb1Peter AronssonImplemented external function annotation Library and Include. Implemented setComponentAttributes. Cleaned up mosfiles testing by removing temporary files using system(rm -rf ...)
2d6a89330Adrian Pop2005-11-03 adrpo@ida - added get_cref_info relation - added API command getCrefInfo(cref) which returns the following format: filename,lineno,columno
681c79712Peter AronssonAdded annotation to external decl, needed for Library and Include annotation. Still need to do the implementation though.
d02a0193dAdrian Pop2005-11-01 adrpo@ida - bug fixing of walker.g for parsing of Modelica 2.2 with position info
d93395e07Håkan Lundvall- Added test case for events - Updated winruntime after changes in runtime - Added missing return statement in printimpl.c
e5fa18c91Peter AronssonImplemented constant evaluation of the following operators: vector cat transpose identity
a2c788fb9Adrian 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
9becb6527Adrian Pop2005-10-31 adrpo@ida - added line/column info to CLASS and ELEMENT construction
7a6afdfe7x02lucpoMerged R1903 BRANCH into trunk
a943e76d6Peter AronssonImplemented vectorized calls of functions. Removed temporary hack for der operator. Testcases: Vectorizable1.mo - Vectorizable5.mo.
2638100d6Håkan LundvallFixed core dump when closing with ctrl-D
dbaff7001Håkan LundvallFixed core dump when closing with ctrl-D
ce1cb2c32Peter AronssonFixed bug #2. Can not handle arrays of strings yet. Testexample mosfiles/strings.mos
422a4c1c7Peter AronssonFixed bug #32
bb297a235Peter AronssonFixed bug #9. Implemented cardinality.
7e7700c7fx02lucposwitched back includes in c_runtime to make possible compilation gcc
62ff637a8Peter AronssonFixed bug #37, Testcase Array10.mo. Fixed bug #38, Testcase Array11.mo.
6861e2f23x02lucposwitched some includes in c_runtime to make possible compilation with VC 6.0
beef0c5b1Peter AronssonFixed two unparsebugs, tuple assignments and elseif branches in algorithm sections.
8a9128254Peter AronssonFixed bug #36: merging of modifiers in redeclare. Testcases: Redeclare4.mo Redeclare5.mo.
e89f83feaHåkan LundvallFixed: Correct type on returned array from readSimulationResult Fixed: Prefix on crefs inside when-conditions
3cdcc14f6Peter 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
ac2140fb3Peter AronssonFixed bug #13, #34. Fixed so loadModel and loadFile returns parse error messages, if any, to error buffer.
bae01284aPeter AronssonFixed bug in getComponentAnnotations in Modelica.Blocks.Math.Gain, wrong order of protected and public components.
4854a24baHåkan Lundvall* fixed font in winmosh * plot with scalar argument * small changes i welcome text and about box
48c604fefHåkan LundvallLast fixes before release of 1.3
62b192bd9Håkan LundvallLast fixes before release of 1.3
5ae2effa7Kaj NyströmMinor fix, including exit help
f07bbb07aKaj NyströmMajor updates with reorganization and examples
44f58e540Kaj NyströmChanged license text
9f8bb8deeKaj NyströmChanged license text
c5476bf43Håkan Lundvallupdated winruntime with changes made in runtime
4304a061aKaj NyströmFix for reading result sizes
060066a25Kaj NyströmImplemented readSimulationResultSize in the Interactive API
2d0a465abKaj NyströmImplemented readSimulationResultSize in the Interactive API
14d6fbbeeKaj NyströmImplemented readSimulationResultSize in the Interactive API
b773cc334Håkan Lundvall* noEvent * sample * updates of installation project
971798d3dPeter AronssonFixed bug in print_exp_cpp_str for EQUAL.
57932d2acKaj NyströmAdded small help notice
94a003556x02lucpoimplemented a buildModel function that only compiles the model without simulating it. added a setClassNamesForSimulation to use when to clients of omc collaborates
8d467e3b9Peter AronssonAdded check/error msg of lowering IF_EQUATIONS. Added noEvent as macro in modelica.h
9c4cf7f96David BromanAdded a textfile README-WIN32.txt, which explains step-by-step how to install and compile the OMC under Windows.
35c34218aPeter AronssonAdded der(abs(x)) = der(x)*sign(x) Added Exp.traverse_exp (generic expression traversal)
cc385a47eHåkan LundvallFixed bug in generated code for interactive function calls.
305bcb45fHåkan LundvallMerged event handling (only in dassl) Use omc +d=noevents to disable it.
43f7ed2cdPeter AronssonImplemented POW using libmath pow. Fixed bug when translating dae having variable x[] or y[] or xd[] or p[] defined in the model.
60751c9e4Peter 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.
2c87c7891x02lucporemoved \bin from the path
932666348x02lucpochanged the name of derivative from der(a.b.c) to a.b.der(c)
175032e93Peter AronssonUpdated Upgraded parser and Absyn to Modelica v2.2
29bab25c2Peter AronssonFixed bugs with external functions in simulation code. Fixed underconstrained initial equations, etc.
8e347757dPeter AronssonRemoved debug prints. Added initial_function call in solvers. Removed faulty impl. for functions returning one argument.
a7bfc7aa4Peter 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.
70568d526Peter 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.
3cf7d77f8Peter AronssonFixed bug in not resetting class file string after parsing. Changed "NoFile" to empty string when no class file present.
1ca372c2fx02lucpocommented an addition to traverse classes
fb3984952Peter AronssonFixed bug with tuple assign.
4bac2c3e7Peter AronssonFixed bug with unary array minus and plus.
3715032ecPeter AronssonMerged 1875:1878 on petarstructparam. Structural parameters are now dealt with by giving modifiers both value and equal binding.
575186603x02lucposimcode contains now also the comments of the daelow.var
cfe8fbdf2Peter AronssonFixed nicer printing of Env
2a9a46ec1x02lucpoimplemented translateModel
846eb9d7aPeter AronssonFixed bug in Interactive getComponents function. Fixed bug with self referencing variables. Fixed DAE output bug.
41420fcfbPeter AronssonChanged getComponents in interactive interface to return more information.
572b7a19aPeter AronssonAdded documentation to -all- relations. Improved documentation on some rules. Removed dead code.
fd95e791fx02lucpoadded trim to System.rml
1ff50f6e1x02lucpochanged dae.dump_type_str and exported Interactive.evaluate2 as public
3d6f0600aPeter AronssonFixed bug in make_sum and make_product.
9a89b8146Peter AronssonFixed bug in differentiate. Fixed bug in simplify of IFEXP.
0ed581c7cx02lucpoimproved is_non_state(VarKind)
ca6a1f5cfPeter Aronssonmade var_equal public.
b9f678f83Peter AronssonFixed bugs in simplify.
3e067b3acx02lucpoimplemented get_var_using_name for getting a DAELow by its old name "a.b.c" and not by indexed form
9d7382592Peter AronssonAdded set_varkind, fixed bug in derive.rml
54f85cc17x02lucpoimproved the building procedure and added some useful relations
cd7cc3becPeter AronssonFixed more bugs in simplify.
30c211851Peter AronssonFixed several bugs in simplify + minor enhancements to DAELow
f7343d98ex02lucpoimproved the simulation command to output to output.log
9ce238363x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1849 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
a2f51e13cx02lucpoimproved the makefile.vc with clean and rebuild
13312e6bfx02lucpoadded build_within to global space
5e92101c1x02lucporemoved a bug in remove_first_and_last_char
0501b7c79Peter AronssonFixed structural parameters for if-equations.
8f431bcc6Peter AronssonFixed several bugs in import, lookup, etc.
7ff2e5e4dx02lucpoimproved some error-msg
9398cc07dx02lucpoadded a function named write_file_or_error_msg
01c88855fPeter AronssonFixed import bug for constants. Fixed intial if equations.
baf381dddLevon SaldamliAdded matlab scripts for automatic femlab problem generation
6589afe73Peter AronssonFixed bug when recursive use of component size as in Real x[:](min = fill(1.0,size(x,1))={1.0}; Added two testcases.
55de99a12Levon SaldamliAdded some parameters for PDE and for heat transfer. See MyGenericBoundaryDiffusionTest4
66138179ePeter AronssonFixed bug in elaboration of min and max. Implemented imports of constants/variables from packages. Fixed some error printing.
1b2f0271ex02lucpoadded libf2c to compilation
0076e302ax02lucpoAdded libf2c for simple access from c to fortran solvers
68ada34a5Peter AronssonAdded special case for code generation with no parameters.
1a5a8fe32Peter AronssonFixed bug in start_function
82f7613f4Peter AronssonFixed bug with input variables to models. Fixed segfault when writing open file in windows.
d85f508beLevon 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.
dd8eac4a5x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1827 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
4b4dc1bebx02lucpoadded a function in the code-generation
2aa80aa78x02lucpomade is_non_state to return a bool
0a2fbb8f5Peter AronssonFixed bug in model inputs. They can not be removed in remove_simple_equations.
cb6040aacx02lucpoadded a output function to generated code
871cd6c0dPeter 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.
089d6f7f9x02lucpogit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1820 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
50a9bf379Peter AronssonAdded solution to nonlinear systems in explicit ode. Added testcases.
73ee85789x02lucpoadded -DCYGWIN to cflags
18e524564x02lucpoimplemented in System.rml relation platform which returns either the string "CYGWIN", "WIN32" or "" depending on the platform.
15b5e1114x02lucpoadded a relation for printing an exp option to string
65614e8d4x02lucpoby including read_write.h after windows.h removed some kompiler errors.
a8360a243Peter Aronssonforgot to add the file..
ad67160b8Peter AronssonLinear subsystem of equations now works. Also added explicit euler solver method, accessed using -m option to executable.
82b20200dPeter AronssonLinear subsystem of equations now works. Also added explicit euler solver method, accessed using -m option to executable.
6eae7f06cx02lucpoadded start_function to the sim-code generated that contain the equation for start-exp
393d48174x02lucpoadded start_function to the sim-code generated that contain the equation for start-exp
a741eb4e4Peter AronssonFixed bug in derive.rml. Worked on solving linear equations in SimCoden.rml.
3a58660b6Levon SaldamliUpdated some scripts and added Composite6. Added a test model (...3) for testing time dependent dirichlet bc. Added Readme.txt with installation instructions.
de3df4ce7Adrian 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.
72311942fx02lucpoimproved 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
a4d3b3725x02lucpoadded a check to variables of remove_simple_equations: if a variable to be removed is output then the equation is not removed
a103f3fcfx02lucpomade some relations public
69fabd010Levon SaldamliChanged modeq to omc everyhwere, updated source. Renamed build directories for modeq to omc. Updated VC7 projects and solution as well.
464c131bcLevon SaldamliChanged modeq to omc everyhwere, updated source. Renamed build directories for modeq to omc. Updated VC7 projects and solution as well.
ece3a3ab3Peter 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.
a48b0b3e0Peter AronssonFixed bug in DAELow.lower_varkind, etc.
311e76586Peter AronssonFixed bugs in Codegen for nonlinear systems.
057357967Peter AronssonAdded StructualParam1.mo, removed print from Inst.
36f39ddf8Peter AronssonFixed bug in finding structural parameters. Started codegen of explicit ode in SimCodegen.rml
e95e464fbPeter AronssonFixed bug in structural parameters. Added testcase StructuralParameter1.mo
eaf260d04Håkan LundvallSome steps towards finding zero crossings
972d98c5cPeter AronssonFixed bugs in setComponentModifierValue and getExtendsModifierNames.
6fcd5b7caHåkan LundvallMade DAELow and SimCodegen handle variables marked discrete
45e95660eHåkan LundvallAdded when clauses to DAELow.DAELow
405579d66Håkan LundvallA small step towards hybrid simulations
b9c80e6d3Peter AronssonFixed bug in make_fully_qualified.
4321eddf6Peter AronssonFixed bugs in get/set XXX ModifierValue. Implemented get/setSourceFile.
103985254Levon Saldamlimodeq directory path changed to Compiler
4df4e88b2Levon SaldamliMoved directory modeq to Compiler. Updated references to the modeq directory so that they refer to Compiler/ instead
78e797447Levon SaldamliMoved directory modeq to Compiler. Updated references to the modeq directory so that they refer to Compiler/ instead
db5de8c84Peter AronssonFixed bug in setExtendsModifierValue and setComponentModifierValue
f09937350Peter AronssonAdded some rules to simplify.
42a053c96x02lucporemoved decrypt and encrypt
392e3415dx02lucpounparse_class_list moved to global
aeaf5deecx02lucpoadded add_to_public to global functions
4cded24f6x02lucpoadded remove_first_and_last_char(string) => string
c68f68bffx02lucpoadded remove_first_and_last_char(string) => string
acf8f261dx02lucpoadded remove_first_and_last_char(string) => string
a2cbc2cccPeter AronssonFixed so that Code(()) clears modifiers in setXXXModifierValue.
01b386995Peter AronssonFixed bug in Inst.make_fully_qualified
da673eda5Peter Aronssonsmall changes to Exp, added nominal getter in DAELow
dc49e2a83Kaj NyströmRemoved dead code
79ee82e45Håkan LundvallFixed with statements in Absyn.rml
4f2beb397Peter AronssonChanged extracting and changing modifiers in Interactive
3f56c2829x02lucporemoved an wrongfull check for file-existance
ed6867872Peter AronssonRecursive functions no longer gives stack dump when entered interactively.
e19cd67c7x02lucpochanged an include from ../ast/yacclib.h to ../absyn_builder/yacclib.h
6c995002fKaj NyströmRemoved unused include
ee5f64820Levon SaldamliRemoved deleted directories from configure.in and regenerated configure
54e149b04Kaj NyströmRemoved stupid example
920d79880Kaj Nyströmkilled by death
eb4f975ccKaj NyströmKilled by death
b94ed79c9Kaj Nyströmkilled by death
2fad17eedKaj Nyströmkilled by death
e9140748eKaj NyströmKilled by death
a09e81598Kaj NyströmKilled by death
f36510a11Kaj NyströmPIGS
722bf8b4aKaj Nyströmkilled by death
a4bc0d274Kaj Nyströmkilled by death
18bf102e7Kaj NyströmWay to out of date to be useful
e2de91aa4Peter AronssonSome stuff in Codegen
a6d507e93Peter AronssonFixed stuff for modpar
7ceb05f23Håkan LundvallChanged names on rml-files
dc1ea922ePeter AronssonFixed the stuff removed in luc's merge.... :(
fb2422cd4Peter AronssonChanged get_modification_names to new design of getting modifiers.
7ad74d985Peter Aronssonremoved comment that messed up indentation...
602f823a4Peter AronssonAdded string separator relation in util. Added rule for printing x^2 as x*x
935196854x02lucpomerged HEAD with 1723 from branches/x02lucpo. Fixed comments on flat modelica and loadFile + loadFileInteractive
0f226d95aHåkan LundvallUpdated som version numbers and the setup project
6b7a01e64x02lucpobranches/x02lucpo and trunk are merged and tested
c25ee67c2Håkan LundvallFixed bug in VC7 solution
e98955521Hå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.
debf1217bHå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.
f6dd7235ePeter AronssonUpdated documentation.
076a035a1Peter AronssonRemoved tornado specific code from trunk. Now only exist on branches/mathcore_tornado
eea8cd13cPeter Aronssonmade a copy
674247039Peter Aronssonmade a copy
6ec3e018fPeter Aronssonmade a copy
3d7d1c9efPeter Aronssonmade a copy
269432077Peter Aronssonmade a copy
87f9f7e8bPeter Aronssonmade a copy
76ef498faPeter Aronssonmade a copy
483f4feb4Peter Aronssonmade a copy
46b9ffdc6Peter Aronssonmade a copy
e1f565045Peter Aronssonmade a copy
8daa89aa3Peter Aronssonmade a copy
6d9159c4cPeter Aronssonmade a copy
43578155aPeter Aronssongit-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@1692 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
64d2c3460x02lucpoafter merging openmodelica/x02lucpo with trunk. Improved simplify and differentiate.
f097a83d6Peter Aronssondefined hybrd
3c626f0e7Peter Aronssonallmost finished with nonlinear systems in modpar
6f9a62abcPeter AronssonAdded code for solving nonlinear systems.
a49075ddcPeter AronssonAdded calculate_jacobian
be3efd307x02lucpomaking derive work
3a2820303Peter Aronssonfixed bug in getComponentModifierNames
d76e26383Peter AronssonPartly impl. nonlin eqns. in modpar
49b98e852Peter AronssonFixed so getExtendsModifierXX uses FQ names.
aac3bdd5aPeter AronssonAdded XXExtendsModifiers
d35e13752Peter Aronssonunparse_mod...
ecc97790dPeter Aronssonadded setComponentModifier
daf8c0534Håkan Lundvall*** empty log message ***
34796d0a8Levon SaldamliSmall fixes
da346cfb3Håkan Lundvall*** empty log message ***
9211123f4Levon SaldamliFixed Makefile in testsuite/mofiles and moved failing tests to a separate target
2c91bbabaLevon SaldamliFunction call fixes. Tuples support added. Testsuite extension for c compiler flag support. External function tests ExternalFunction1.mo ExternalFunction2.mo ExternalFunction3.mo
d507d2d49Levon SaldamliSome function call tests added to testsuite
adaf3cb80Peter Aronssonadded
1901bb5f3Peter Aronssoncompile scripts now outputs to /dev/null
d2cc462f0Peter AronssonRemoved extra newline in record output.
23d8e21ffPeter AronssonAdded solving of linear systems in residual form.
5d0e1e369Peter Aronssonimpl. getComponentModfifierNames
ef9d65e07Peter AronssonFixed bug with constant
d9913857bPeter AronssonAdded api for parameters
4e4b726fcHåkan LundvallSimulation return now 1 if simulation is interupted before stopTime is reached.
11092774cHåkan LundvallParanthesis around (a)?(b):(c) in code generation.
be3546f6cHåkan LundvallQuich hack for allowing boolean parameters in the indata file for simulations
76edad741Håkan LundvallFixed so that modeq returns status code != 0 when execution failes
4228a71fcPeter AronssonRemoved print
b3f10073cHåkan LundvallSplitted generation of sig files into seperate makefile
c4bc62ac1Peter AronssonFixed bug in elab_cref, equalbindings should not be constant.
c5f5f6e26x02lucporemoved () from variables without start, unit and so on
02da6b655x02lucpo*** empty log message ***
5290648cePeter Aronssonadded include of parent directory, used by tornadoext.cpp
4205fb3daLevon SaldamliFixed type error for ceval_if_constant generated values
cbb663d27x02lucpocorrected a submodelindex error
c3622cb9fx02lucporemoved a compile error
099d20021x02lucpochanged ^ to accept reals
10752b69ax02lucpoadded some print thingies
aa7ef0374x02lucpoadded dae-attributes with extraction from variables
ea9a552c3x02lucpoadded relation get_option_with_concat_str: ('a option, 'a => string,string) => string
ae3b16625x02lucpoadded attributes and dump- relations for them
36ad08892x02lucpomoved is_string_empty to util and added also some more function to Util.rml
53a198f5bLevon SaldamliBugfixes. Cleaned up ceval_builtin.
a90748268Levon SaldamliFixed printing of #|Execution failed, which is needed for rtest
513888fbcHåkan Lundvall*** empty log message ***
85c1ea998Peter Aronsson fixed parse error message
dce4b06edHåkan LundvallFixed so that VC7 compiles without cygwin
5b2b6e878x02lucpo*** empty log message ***
a8468dadaHåkan Lundvallremoved ^M from licence texts
2a4e80b1aHåkan LundvallFixed doPlot.bat can run without PTII being set
0e6e3b66dHåkan LundvallFixed so that instantiateModel of non existent model returns an error
829837012x02lucporemoved a error print when models with start-attr
3b5e385b6Peter Aronssonfixed error messages when plotting.
e873d7909Levon SaldamliCompile time function evaluation
5813ea9dcPeter AronssonFixed plotting bugs
ce344f871Peter Aronssonremoved define of time
2093c276bPeter AronssonFixed icon annotaiton bug again...
a5a17717ex02lucpocorrected error with enumation types
b9c2cc1e4Levon SaldamliTODO-list. impl flag fixes and some comments.
20134ea6fPeter AronssonFixed model editor interface bug, still need to clean up.
183ead989x02lucpoimproved extracting of attributes (unit, start...)
5e4b35baax02lucpoadded debug information
03acc920bPeter AronssonAdded by PA.
3a21bc26dx02lucporemoved a bug from extracting of var_attributes
8fe9f6141x02lucpoadded unit and type info to dae and daelow tested package support in tornado
42f267d6dx02lucpotested package support
1f4a39404Levon SaldamliImpl flag bugfixes. Fixed elab_range_type. Fixed matching problem for Icon in get_annotation_string
a9b37b205Peter AronssonPartly implemented constant evaluation of record constructors. Works for non-hierachical records.
ef6ffda89Peter Aronsson*** empty log message ***
c26f3b5b4x02lucpoadded package support
8cbee34b6x02lucpodivided the tornado-code-gen to two files. One that outputs the C++ code and one that extracts the data from dae and absyn.
300294d3cx02lucpodivided the tornado-code-gen to two files. One that outputs the C++ code and one that extracts the data from dae and absyn.
8a982c53dPeter AronssonFixed so math functions works.
6403b88aex02lucpoadded som comments and removed some dead code
f5dde261dHåkan Lundvall*** empty log message ***
f52a39050Håkan LundvallChanged Licence text
ae68aa574Håkan Lundvall*** empty log message ***
bc671c086Levon Saldamlierror message
49557435dLevon SaldamliSimulation working. Example: test_codegen/simtest.mo
8c206dbc6Levon SaldamliSimulation test
c7eda5971Levon SaldamliMore tests
502977aaaLevon SaldamliBuiltin function calls like sin, sqrt etc called correctly
2afe4a3c9Levon SaldamliCode generation for function calls in simulations
4ab0927c0Peter AronssonFixed bug in POW
b95b3dcc4Peter AronssonRemoved some comments by PR.
c795c169bPeter Aronsson*** empty log message ***
6f0d78f4cPeter Aronssonpartly implemented rename_class
a79eaf57fLevon SaldamliFunction generation somewhat working
c5152790eHåkan Lundvallfixed so that simulation works with mingw
d29a8c5a0Håkan Lundvallfixed so that simulation works with mingw
a76205392Håkan LundvallUpdated to the new simulation scheme
02d1ad540Håkan LundvallChanged name of mingw runtime lib
9f119446cPeter AronssonFixed bug in calculation of alg. vars.
ac6e7469ePeter AronssonFixed bug in simulate in interactive mode
1dbd3f0f3Kaj NyströmUpdated documentation only
6095deb61x02lucpoAdded 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!)
6c90aad06Peter Aronssonfixed bug in varname generation
30fa7792cPeter AronssonChanged error msg to error_buf. Plotting now working.
65ab5a237Peter AronssonFixed bugs, added time to result, etc.
35a63f022x02lucpoadded a check for tornado generation
22fbc707fPeter AronssonSimple algorithms now works to simulate.
d5a2b019ePeter Aronssonfixed bug in initial step.
2e6708e82x05simelAdded ptolemy plot output.
21e1e3571Levon SaldamliMinor fix
4ec8baa4aLevon SaldamliInitial function code generation support for simulation code
d8335c98dx02lucpomade all the equation of the form cref = constant to be outputed in ComputeInitial
d55959ee0Peter AronssonWorking simcodegen for DASSL
4cf99261fPeter AronssonAdded simulation runtime for DASSL
7c4338705x02lucpoadded support for 1-dim arrays in code-gen
f11cf11aax02lucpoadded a exists_var: (Exp.ComponentRef, Variables) => bool
ebc3aa878x02lucpomade print_component global
32be72c23Levon SaldamliThere is already one in modeq/TODO
3b7746589Levon SaldamliFunction generation and calling for constant functions during ceval
950857ba4Peter Aronssonfixed bug in generate_init_data
0655a9ba5x02lucporemoved a print
5099fa7d9Peter AronssonTried to fix bug in remove_simple_equations
d2c094ce3x02lucpocorrected a bug in index for different var-types
eef408e55x02lucpocorrected a bug in index for different var-types
a7edf52c6x02lucpocorrected a bug in index for different var-types
62421e0baLevon SaldamliBugfixes. Top-level make modified for debug and release. Changed default to release.
f89d832f2Levon Saldamlitemporary vctarget fix
8a0eb33aaLevon SaldamliBugfix
b8bbae650Levon Saldamlibugfixes
462ab13d5Levon Saldamlibugfix
198b53d13x02lucpoadded start-value on initial-vars
12ec39c82Levon SaldamliBuildfiles bugfixes
9e82f3daex02lucpoadded is_const and compute_initial_from_start_values
4a1f26ee7Levon Saldamlidepend file generated by make depend
5ab75a2f4Peter AronssonFixed bug in remove_simple_equations.
ba46a49d9Levon SaldamliAdded build directories modeq_debug och modeq_release under modeq. Default build target is debug. See all: in modeq/Makefile.in.
c95dc5acePeter AronssonFixed bug in elaboration of POW
c5ea1c70bx02lucpoadded pow
50db64d1bPeter AronssonAdded documentation
751a8b159Peter AronssonFixed asub simplification
8253cda00x02lucpoadded simulation_5fcg
a4fe01db9x02lucpoadded simulation_5fcg
73cd2084dx02lucpoadded simulation_5fcg
e4295ee1ex02lucpocorrected NoOutputVarValues error
848fcce5dPeter AronssonAdded better documentation
0bdaf4651Kaj NyströmDocumented entire file
35314504cKaj Nyströmremoved unused file
fdcab8e32Kaj NyströmAdded last parts of documentation
b6d8a0317x02lucpoadded get-functions to generate GetNoParams()
3381133ebPeter AronssonAdded generation of initial values in simcodegen
6670b37e0x02lucpochanged from _t_ to time
e5dc19de2x02lucpoadded startvalues to parameters
e903d40abPeter AronssonFixed generate_compute_output
53b890850Peter AronssonReimplemented breaking of blocks into dynamic and accepted section, by reachability analysis on strong components graph
8142ea35cx02lucpoCorrected a linkage bug
65de7fc19Levon Saldamlichanged tail -1 to head -1. First found should be used for some stuff
059556722Adrian 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.
14e1d1450leistYacc parser grammar for Modelica+RML. First hopefully stable sketch. (Still a few FIXME:s left, though.)
c558e6f54leistUnified header file for the Modelica+RML yacc parser and its lexer.
ab27727e2leistLexer for the Modelica+RML yacc parser.
9354f08efAdrian PopStandard yacclib.h file for RML. 2005-02-04
705c75e8cAdrian PopStandard yacclib.c file for RML. 2005-02-04
870c4a460Adrian PopRML datatypes for abstract syntax tree, and related code. 2005-02-04
b5b6f3e90Adrian PopRML test program. 2005-02-04
65990896dAdrian PopMain file for dumping/refactoring testing. 2005-02-04
1292c1d1bAdrian PopLeif's RML dumper with changes by Adrian Pop. 2005-02-04
3aea687dbAdrian PopRML refactoring. 2005-02-04
b45d5471bAdrian PopGlue to call parser (and thus scanner) from RML 2005-02-04
7e158f6d5Adrian PopScanparse module, for debugging. 2005-02-04
7dba72e88Adrian Pop2005-02-04 Adrian Pop, adrpo@ida.liu.se fixed so it compiles with new the new changes in modelica_parser
ebd6f26c4Adrian 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!
be36ddf18x02lucpo*** empty log message ***
f7948a66aHåkan LundvallMade inst_element fail if lookup of the class failes
b4d544d01Håkan LundvallRemoved print out of class origin in flat modelica
3184ebae9x02lucporedone generate_simple_equations_links2
89e90ba4ex02lucporedone generate_links2
14819a004Håkan LundvallImport bug fixed
85282dc20x02lucpocorrected some errors in code-gen for tornado
5019b4631Peter AronssonFixed bug in vararray
6b618e71fPeter AronssonMade variable array expandable as for equations
b734529b5Peter AronssonFixed bug with linking
4fb6b8fd0x02lucpoimproved the design
22249b023Peter Aronssonfixed bug with tornado blt
85094e953x02lucporemoved prints
d2f66b7e4Peter Aronssonintial equations added to daelow, fixed bug in tornado.
5fdb1f1b3Peter AronssonAdded rule for arrays of components
78ab97d0bPeter AronssonAdded transformation of . to _ in identifiers
c70246079Peter Aronsson*** empty log message ***
09dcaa79dx02lucporemoved prints
2051f0fa9Peter AronssonFixed bugs when emtpy equation list
4a0f13940Håkan LundvallLade till s� att flat_modelica_parser blir med i vctarget
a0210a9a4x02lucpocorrected is_no_param to is_param
b102d7a89x02lucpoadded added some checks for linkValue when removing simple equations
48adc6459Peter AronssonFixed bug in remove_simple_equations and bug in reachable_nodes
bdac17de1Peter AronssonOptimized Equations in DAELOW. Fixed some stuff in Tornado. Added dymTableInit as builtinFunction.
a0270366bx02lucpoadded added some checks for linkValue when removing simple equations
eab85914ex02lucpoadded generation for TornadoDLL.cpp
ced107ee9x02lucpocorrected some minor bugs for Tornado
c609e9ffaPeter AronssonFixed sed bug originating from several antlr paths
dc8a0ad2cx02lucpoadded defines for subModels and link for star-variables.
dd7276a0ePeter AronssonGenerated links for simple equations
451311d11Peter Aronssonfixed bug.
2bf79dfe4x02lucpoadded hierarchical code generation
55875d1d4Peter AronssonChanged implementation of DAELow.VARIABLES from bintree to hashtable
83e1bf3dfKaj NyströmCleaned up debug printing
dea1207b1Kaj NyströmFixed nasty bug in ident recognition
51557f560Kaj NyströmFixed ordering bug
dbc8c7bbfLevon SaldamliRemoved boundary. Shouldn't be in main trunk. PDE stuff
ac32383fbKaj NyströmUpdated to reasoably working item
d5c8e8c74Kaj NyströmUpdated to reasoably working item
df51b07b4Peter Aronssonmoved code from tornado to simcodegen, new module for simulation code
fcbfa4478Peter AronssonAdded algorithms to DAELow
ae0f75187Kaj Nyströmflat modelica added
2cb8203b2Kaj Nyströmautomake ok
4b0793b4dKaj Nyströmnew flat modelica parser. Wohoo.
af1e7fda5Kaj NyströmRestructuring flat modelica parser
967a3b9b0x02lucpoadded some relations as public
3bdc5142ax02lucpoadded more functionality to tornado. Generation of hierarhical models
6c603cd2cAdrian Pop*** empty log message ***
1e1e68483x02lucpocorrected some bugs
f6134ccd8Håkan LundvallUpdated rml to 2.2.1 and made rml runtime part of the build
70b403275Peter Aronssonupdated.
9152676ebPeter AronssonSwitched to set implementation of vars/eqns in matching, etc.
160d97992Peter Aronssonupdated dependencies
8e7891142Håkan LundvallAdded instantiation of when equatons and if equations with non-constant condition.
7827b3c29x02lucpoadded some new relations
da2667240x02lucpoadded a comment... yay...
0bbb7fe11Håkan LundvallAdded rule for when-equations.
ceb95ab98Håkan LundvallAdded representation for if and when equations.
12c7b8ad5Peter AronssonFixed bug in fix_direction
9d1e0b853x02lucpoadded a check for how many generated var and made some changes to to model genration of variables
07634fdb8x02lucpoadded a check for how many generated var and made some changes to to model genration of variables
d9f980740x02lucpoadded a check for how many generated input var and made some changes to to model genration of variables
f8ec58e4fx02lucpoadded a check for how many generated input var and made some changes to to model genration of variables
e5f4e9688x02lucpoadded a check for how many generated input var
d352a24afx02lucpoadded get_input_var_number and get_output_var_number
4badb0abdx02lucpoadded tornadoext and corrected some bugs
6790ffe14x02lucporml-file for the cpp-connection
e7ed95d83Peter AronssonFixed bug in generate_parameters
d6c736605Peter AronssonAdded generation of parameters. Removed generation of simple equations.
d449c538aPeter AronssonConstant evaluation of functions is now done if all arguments are constant
102b24b84Peter AronssonFixed elab_exp so that numerical constant values are calculated.
3750f1bf8Peter AronssonFixed bug in incidence matrix. It now contains state variables as well, but they have negative index.
9ec82391bPeter AronssonFixed varDirection generation in generate_var_defines
856a02bf8x02lucpopartial commit for Petar
47ff30c22x02lucpoadded some missing function and a check needed for tornado code generation
5c0b755c5Peter AronssonAdded vartransform, for transforming variables in expressions
f558ba2c5Peter AronssonImproved variable impl. in daelow. More efficient matching alg.
bd7c0d146x02lucpoX-mas delivery
58f94bb87x02lucpoadded string_split_at_char
9cdece44cx02lucpoadded sorting of equations and a check for switching the name of dummy der in case of tornado from "der_" to "_D_
1c8386e10Håkan LundvallFixed small bug regarding locks.
2d0d7073bHåkan LundvallUpdated according to changes in runtime/systemimpl.c
00bd9112fPeter AronssonFixed DAELow.VAR bug
6cf864820Peter AronssonFixed DAELow.VAR bug
2f17428dex02lucpoadded a string_replace_char which replace a char with another in the string. Check comments for details.
44008f657Peter AronssonAdded class attribute to DAE variable to determine origin.
4636b763dPeter AronssonOptimized impl. Added tree_delete, etc.
ca68eba5ePeter AronssonChanged dae variable implementation from list to binary tree
892c6f77cPeter AronssonAdded unparsing of 'encapsulated'.
85d84f65fPeter AronssonAdded more doc.
7d8ee2d5cPeter AronssonAdded better doc.
b8e3b08b2Adrian Pop2004-11-27 Adrian Pop, adrpo@ida.liu.se changed server_loop to make it completly deterministic
9e3f131e3x02lucpoupdated to work with tornado
91fefcb1fx02lucpothe equation generation is working for influenza.mo
ed12653f6x02lucpoadded the rule in simpliry for (0.0 / x ) =>0.0 and (x/0.0)=>fail
42a3e9e89x02lucporemoved some swearing
866f72a4cPeter AronssonFixed bug in index reduction, did not increase no of variables when differentiated equation
902f10fc7x02lucpoPetAr to check for optimization error
2a0b9f2f4Peter Aronssonoptimized index reduction so that incidence matrix is not rebuilt for each reduction.
d5ce6c40cx02lucpoadded som debug printouts
8a362bfc7x02lucporedone the If...then...else to ...?...:... (c++)
497433323x02lucpoimplemented a relation that ouputs c++ code from an Exp.Exp
977e223afx02lucpoimplemented a relation that ouputs c++ code from an Exp.Exp
2104f1803Peter AronssonOptimized some code. Commented, etc.
c9ec81a41x02lucpoadded a relation that replace all the der(...) with _D_... in all the equations in DAE
0206e6756x02lucpoThe module tornado generate now ouput and state equations in c++ format
7a9e9f41fx02lucporesolved a bug in generation of equations
ebe253f5bx02lucpoto 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
e1b317d25Peter Aronssonadded doc
263e3f9e5Kaj Nyströmadded is primitive to interface
22c7430d1Peter AronssonMade daelow faster, especially replace_exp
ab9d66f07Kaj Nyströmalmost fixed working submodel declarations
eec7172ddKaj Nyströmalmost fixed working submodel declarations
eda432929Peter Aronssonadded doc to about first half of the relations
7c0d84e5bKaj NyströmMainly Hemmis-related MathCore stuff
877953dd8Adrian PopAdrian Pop, adrpo@ida.liu.se 2004-11-05 Changed: systemimpl.c rml_prim_once(List__reverse) with TAILCALLQ(List__reverse).
cf947a74fAdrian PopAdrian Pop, adrpo@ida.liu.se 2004-11-05 Makefile.in Added commented lines for creating debugging versions of modeq
fe1fc809bAdrian PopAdrian Pop, adrpo@ida.liu.se 2004-11-05 configure configure.in
38cc63c25x02lucpoCompleted the inst_start_binding for the case Integer T0[2](final start={5,6})={9,10};
789cdd337Kaj Nyströmfixed hemis soving eqns stuff
129aa76beKaj NyströmSome updates on tornado, will be continued by lucian
fb2113755Adrian PopAdrian Pop, adrpo@ida.liu.se 2004-10-29
02c8906f3Adrian 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;
48015ab54Kaj NyströmSome updates on tornado, will be continued by lucian
7d8f61a53Peter AronssonFixed bug, added doc.
4473c152bPeter AronssonAdded doc
d1cd62acbPeter AronssonAdded Tornado code generator. MathCore project
9cd2fb980Håkan LundvallAdded checks for MOSHHOME and MODELICAPATH
0afb478e9Kaj Nyströmmoved deprecated flat modelica parser here
b3c8421dbHåkan LundvallRemoved extra print "1" in translate_file
049a1fb96Håkan Lundvallfclass instead of model when generating flat modelica
7775cda98Peter Aronssonadded doc
a68730a27Peter AronssonFixed bug in priority order of incomming task graph edges
84dcd84ddx02lucporemoved PIGS
3e567d5bex02lucpoimplemented DIV_ARRAY_SCALAR
dadccc425x02lucpocorrected bug for MUL_ARRAY_SCALAR
1a7491d32x02lucpocorrected the elab_builtin_diagonal to return an array of array. Added comments
60c70d2c3x02lucpocorrected a element place error
7163a4f43x02lucpocorrected a element place error
e0e9d565ax02lucpoimproved diagonal function
dcf6b6737x02lucpoimplemented diagonal in staticexp and ceval
034238888Kaj NyströmFixed constant evaluation of abs operator
49a3b15e6Peter AronssonFixed so parameters are split in DAE x becomes {x[1],x[2],...} for an parameter array.
d4c64ad8fAdrian Pop2004-10-05 adrpo moved initialization of "ast" to the begining of Parse.* functions
6e46caf73leistSome extra tokens to support RML syntax.
382b3e852leistChanged a type to work with a modern ANTLR.
b79fe9ec2Kaj NyströmRemove cache.rml deps
834e2ddf4x02lucpomade the relation merge work better with partial classes and the same modifiers
48e22f722Peter Aronssonchanged licence file
15226cf5fPeter AronssonAdded doc.
24aba2795Levon SaldamliInternal documentation partial
c75bf63b7Håkan LundvallDokumenterings race
2bd995ca4Levon SaldamliInternal documentation partial
99f67847eLevon SaldamliInternal documentation partial
fb96f1e63Levon SaldamliInternal documentation
c556e18f9Håkan LundvallFixed timing command so that the symbol table gets updated.
5c6cde952Peter AronssonRemoved cacheimpl
a42b6bc1fPeter AronssonAdded documentation to the beginning of file
369e088bfLevon SaldamliOverview documentation
69fd87ab9Levon SaldamliOverview documentation
d2bb04fcdHåkan LundvallDokumenterings race
0553529b0Håkan LundvallChanged test-f and test -d to stat
15657c9d7Levon SaldamliOverview documentation
fdfec44abHåkan LundvallDokumenterings race
f220974feLevon SaldamliOverview documentation
36a9accccPeter AronssonAdded documentation to the beginning of file
1a291e124Kaj NyströmDocumentation race again! Wohoo!
3f1c2240fPeter AronssonAdded documentation to the beginning of file
f80612324Levon SaldamliOverview documentation
45aa9d8c3Levon SaldamliOverview documentation
00d4ab766Levon Saldamlibugfix
774b91c9dLevon Saldamlibugfix
e316abe75Peter AronssonDid stuff on codegen
9e4d226ecPeter Aronssonadded comments to beginning of file
46f6c2aacKaj NyströmDocumentation race again! Wohoo!
e78043caeLevon SaldamliOverview documentation
8714d3345Peter Aronssonadded comments to beginning of file
6c266eec2Levon SaldamliOverview documentation
a645dfd65Peter AronssonRemoved
dec538a49Peter AronssonAdded derivation of sin(x)
6090a7c26Peter Aronssonadded comments to beginning of file
2b4f6fe32Peter AronssonAdded comments to beginning of file
22233fb2fKaj NyströmDocumentation race again! Wohoo!
a7985705dPeter AronssonRemoved cache
9c4ae0872Peter AronssonAdded comments to beginning of file
8e6cfc9b5Kaj NyströmDocumentation race again! Wohoo!
94de2f0f3Kaj NyströmDocumentation race again! Wohoo!
a3f9cb75bPeter Aronssonfixed compilation error.
4a5c67573Håkan LundvallRemoved: with "Algorithm.rml"
9383a868bKaj NyströmDocumentation race! Wohoo!
f4d35b34aPeter Aronssonsome modpar bugs
629981007Peter Aronsson*** empty log message ***
307db6b73Levon Saldamliform_bdr_on_bnd added. Unneeded arguments in poisson_rheolef.cc removed
59fa125baLevon SaldamliWorking Poisson and Diffusion with Dirichlet boundary conditions
dbeb39d86Peter AronssonAdded simple euler solver.
76317e335Peter AronssonFixed bugs in codegen
32f0ec3abLevon SaldamliBugfix
cc24f494fLevon Saldamli*** empty log message ***
3283def28Levon SaldamliInitial
72b50be1fLevon Saldamli*** empty log message ***
81a60817dLevon SaldamliInitial
342e4d1e0Levon Saldamli*** empty log message ***
d2c631a6bLevon SaldamliInitial
b60afa66eLevon SaldamliInitial
7e787dad8Peter AronssonFixed bugs with connect statements. Removed Simple equations before blt, etc.
203c6836bHåkan LundvallFixed bugg with plot
bc90cbb70Håkan Lundvall*** empty log message ***
9965be6e3Håkan LundvallRemoved some debug printf
2bdf6c5b1Håkan LundvallCurrected bugg: generated fclass eventhough the modelica_outputflag was set in some cirumstances.
f7cab62caHå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.
bcf1ddf56x02lucpoImplemented sqrt, div, mod, rem, ceil, floor, integer. Lucian Popescu
d71bbcccePeter AronssonFixed bug in instantiation. Modifiers were not elabed in update_variable_in_env.
2a92c1ceeKaj NyströmFixed error in comment line number recognition
924b1a226Peter AronssonFixed connect in loops
407201308Kaj NyströmRemoved filename bug from dump
a8fbb705ax02danhegetComponents() now returns declarations containing unresolvable types
0aa054181x02danheImplemented deleteClass() for the interactive API
0f42a50f5x02danhe*** empty log message ***
75b2931cbPeter Aronssonmerging outer loop now linear.
a880f9a2ePeter AronssonForgot paralleloptions..
b9f1e5170Peter AronssonAdded modpar module. To enable, configure with --with-MODPAR and --with-BOOST=boostdir
96352d59aPeter AronssonAdded modpar - automatic paralelization, configure with --with-MODPAR to enable
362cc725bLevon 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)
e9185c9faLevon SaldamliReplaced differentiate_foo with differentiate_foo_time and added differentiate_foo which differentiates with respect to a given variable
4e4fe8033Levon SaldamliReplaced differentiate_equation with differentiate_equation_time
513e8bf2aLevon SaldamliInteractive test functions exp_contains and solve
f726d9623Levon SaldamliUpdated dependencies because new files added
f2fab7bdcPeter AronssonImplemented BLT sorting using dummy derivative index reduction technique, accessed by giving the flag +d=blt and possibly bltdump.
ff3269734Levon SaldamliMinor debug support
ccea0c708Levon SaldamliFixed string_comment
777cd74baLevon SaldamliBug fixes: was returning garbage when t==null
5ae600700Levon SaldamliTurned off defaultErrorHandler
c9a312231Levon SaldamliError handling
9b4757a9aLevon SaldamliMoved -lcrypto and -lssl to CORBALIB
e25c74c04Levon SaldamliMoved -lcrypto and -lssl to CORBALIB
87ab47e04Håkan Lundvallbugfix
6d5c654baHå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.
4563d2c12Kaj NyströmAdded line and column info to ast
a6c4cc439Kaj NyströmAdded line and column info to ast
d532b6ff6Kaj NyströmAdded line and column info to AST
cfe1606f7Kaj NyströmAdded line and column info to AST
6a48dc1f2Håkan LundvallAdded quotes around filename in plot command to allow spaces in paths
a98b47a8fAdrian Pop2004-05-14 a little txt file with the 2.1 Modelica grammar very useful for fast referencing
24d5c2abfAdrian Pop2004-05-14
25dd20f10Adrian Popadrpo checking in version 2004-05-14
1a0e28532Levon SaldamliAdded functions to dae and flatmodelica
b8171859cLevon SaldamliSome Exp.REDUCTION stuff in ceval
7d94771b4Levon SaldamliAdded more debug support (error message in parsestringexp)
504e1c258Levon Saldamlihave run make depend
3ed386f5eLevon SaldamliFixed parser error in array constructor code in parser Added more debug support (error message in parsestringexp) Fixed some .cvsignore files
e6f2b05f8Levon SaldamliAdded corba stuff to configure and made it an optional package
769acc7f4Levon SaldamliAdded corba stuff to configure and made it an optional package
9c0dd4927Levon SaldamliConstant checking of array constructor expressions containing iterators fixed.
2097c5872Levon 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.
f8ba2de28Levon SaldamliBugfix
0662b52f2Levon SaldamliInitial work for reduction expressions, e.g. parameter Real a[5]=array(2.*i for i in 1:5);
8c67c34b7Levon Saldamliconst struct dirent
4f7ce8601Levon SaldamliAdded "none" virtual flag. Debug.debug_flag("none") returns true when no +d-flags given.
03ffd9d32Levon SaldamliMinor
749bc9a67Levon SaldamliFor iterators (reduction expressions 3.4.3.1) and array constructors with iterators (3.4.4.1)
f7731dde7Levon SaldamliPROP_TUPLE?
31eb247eeLevon 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.
ba196ded6Levon SaldamliRemoved forgotten debug printing.
77c5d1806Levon SaldamliMerge mistake fix. FOR_ITER_EXP and FOR_ITER_FARG
3bbdefe2fLevon SaldamliFOR_ITER_EXP and FOR_ITER_FARG
e6a5a1346Levon Saldamli28.
208a30340Levon SaldamliVirtual flag "none"
e6befc108Levon SaldamliPoints 25-27
c25a7d4c7Levon SaldamliFixed error in print_list_debug
81dc2bc8bLevon SaldamliAdded fcallret
6f07f5eaaHåkan Lundvall*** empty log message ***
63bc9c351Levon SaldamliMinor fixes
fca1d2aebLevon SaldamliFixed for antlr 2.7.2
b0acd9486x02danheUpdated testing script to handle parse error message tests. Added tests for for parse error messages.
c5c68ff23x02danheImproved parsing errors.
767dfe695x02danheImproved parsing error messages and propagated these to clients when using the interactive API.
4ed1b7075Håkan Lundvall*** empty log message ***
4615d2da2Håkan Lundvall*** empty log message ***
ecdb26adeHåkan Lundvall*** empty log message ***
8a7f24c1eAdrian Pop2004-02-26 Adrian Pop adrpo@ida.liu.se added cygwin and test directory
3e505495eAdrian Pop2004-02-26 18:04 Adrian Pop adrpo@ida.liu.se added modelicaxml-v2.html
4063afb52Adrian Pop2004-02-26 18:02 Adrian Pop adrpo@ida.liu.se added ModelicaXML.snl and .vcproj
927cc64b0Adrian Pop2004-02-26 Adrian Pop adrpo@ida.liu.se Alpha Release of ModelicaXML
dc83df81ePeter AronssonMade modeq multiuser friendly when having corba comm.
9467fb91bPeter AronssonMade modeq multiuser friendly when having corba comm.
ef2dd246fPeter 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.
3da2c679aPeter AronssonChanged impl of hashtable to binary tree in environment. The lookup is still buggy. Solution needs big redesign.
66ea58c01Peter AronssonAdded todo list
b6292ed17Peter 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...
64309f5dePeter Aronssoncalling scripts from prompt now possible
d18d417b5Peter AronssonFixed small things, script callable from prompt using modeq scriptname.mos.
ef8ef0defKaj NyströmFixed error in corba build order
c10d086f8Peter Aronssonreimplemented overload.
14b6d1e0ePeter Aronssonreinserted overload operator, fixed external bug.
7216bd6e8Peter AronssonFixed bug with Real[3] x; in unparsing.
ad9442af1Peter AronssonAdded overload operator, again! and fixed external function bug.
40d05885dPeter AronssonFixed two bugs in unparsing.
87defdbefPeter AronssonFixed some bugs incl. getComponentAnnotations
e08930f23Peter Aronssonimplemented getComponentAnnotations
16c66f5efx02danheAdded functionality for updating and removing protected components in a model. /Daniel
852057261Peter AronssonFixed bug in getIconAnnotation and getDiagramAnnotation
b85d32aa8Peter AronssonFixed bug in getNthComponent, etc.
533809527x02danhedelete_connection now handles classes not definied at top level correctly. /Daniel
10ab07b6ePeter AronssonFixed update_component so that modification and annotate can be given separately without destroying existing data
db9c4c8c8Peter AronssonAdded partial_inst_class_in to speed up lookup of classes.
b94e46bcbPeter AronssonFixed some bugs
35dfad43dPeter AronssonIncreased performance, fixed some bugs.
b2db3e788Peter AronssonFixed bug in Bitmap
d363e6addPeter Aronssonfixed bitmap + update bug
329723d36Peter Aronssonimplemented isProtected
1433ffc27Peter AronssonImproved performance, fixed bugs.
d867b983fKaj NyströmUpdated README to reflect recent changes in OpenModelica
d769d0468Kaj NyströmUpdated documentation, bugfixing, link to rml, new todo-list
67780758ePeter AronssonAdded split definitions, e.g. allowing 'package A' as input.
7cc3168b0x02danhe*** empty log message ***
836ba26cdPeter AronssonSwitched from boa to poa impl.
34cc8bae2Peter AronssonSwitched from boa to poa impl.
8ec098c50Peter AronssonFixed some makefile issues.
2f3b1816fPeter AronssonFixed some makefile issues.
81e2e199cPeter AronssonAdded.
6a61bc5b7Peter AronssonAdded corba implementation to modeq. Accessed with +d=interactiveCorba.
2348a5421Peter AronssonAdded corba implementation to modeq. accessed with ./modeq -corba
d220b8bb6Peter AronssonRemoved overload keyword, instead allowing multiple definitions of functions with same name in the same scope.
8d6992269Levon SaldamliDebug traces
79e94725cPeter AronssonFixed bug in getNthComponentModification, not wrapping modifier in Code operator
9211d6893Peter AronssonUpgraded parser to work with antlr-2.7.2, will probably not work with 2.7.1 anymore
15490e24ePeter Aronssonadded getNthComponentModification, returning Code expression.
4a00a8431Peter AronssonAdded fsync to sendcall
6080683c6Peter AronssonFixed bug with duplicated class annotations when calling addClassAnnotation
f782de99cPeter AronssonFixed bug in dynamic buffer
f1ec732c8Peter AronssonFixed bug with addClassAnnotation creating several annotations
c43b5e2cfPeter AronssonAdded locating protected annotations for icon and diagram
125e96fbbPeter AronssonRemoved inst. in get_nth_component
3a7742c68Peter AronssonaddComponent now takes Code modifier expression. ceval now evaluates Eval operator for most common cases.
b7edc1be4Levon SaldamliChanged default compiler to gcc (removed /usr/bin, not working on solaris)
927c308f2Levon SaldamliFixed scandir again
3973d33bdLevon SaldamliUpdated
b1aa0de8aLevon Saldamligethostbyname and libnsl check added
5f245849eLevon Saldamlifixed scandir check on linux
3919247fbPeter Aronssonfixed bug with faster icon annotation
a411c987dPeter AronssonFixed bug in dynamic buffer
9fd8823e1Peter Aronssonfixed bug with faster icon annotation
e62836876Peter Aronssonfixed a small bug in new dynamic buffer for socket impl. Also fixed faster icon annotation
a3b8b475cPeter AronssonChanged lookup implementation. Now looks in inherited classes implicitly, throug an extra list of inherited classes in Env
40e33eca8Levon SaldamliAdded c_runtime to modeq
791f24160Levon SaldamliCodegen of Exp.SIZE fixed
c09b5d09ePeter AronssonFixed bug with elab_arraydecl and size(x,1)
ca9a4f000Peter 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
6a56529cePeter 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.
265daab43Peter AronssonFixed lookup bug for functions. Fixed doc.
45fcc875cLevon SaldamliCorrected some of ALG_TUPLE_ASSIGN. Still not working
beeb19f14Peter AronssonFixed bug with 1.e-15 and protected after equations.\n
9431b1498Peter AronssonFixed plotting bugs, etc.
3fe3d7c26Levon SaldamliCode generation seems working
bad05be90Levon Saldamlistring fixed stdio.h added (yacclib.h needs FILE)
ac639c6d0Peter AronssonFixed plotting function, using ptolemy. Export and import of simulation data according to ptolemy standard..
3291c0e10Levon SaldamliWorking code generation.
6bcb4a921Peter AronssonChanged names of functions according to Peter F.s book.
e9ebf5c00Peter AronssonFixed so unconnected flow variables are set to zero, and fixed so parameters are not substituted for their value in equations.
d487847ffPeter AronssonFixed bugs for osmme and for external functions.
80297718fLevon SaldamliMerged and resolved conflicts but examples not working.
8fa539835Levon SaldamliAdded matching_state
681b8070aLevon Saldamliallow zero-length debugflag string
361470410Levon Saldamliincluding string
186d2e9f6Levon Saldamliinit_modelica_string added
0ff89ebedLevon SaldamliConversion to and from Fortran 77 arrays (matrices)
5d1a2e902Levon Saldamlisocket added to AC_CHECK_FUNCS
785360c99Peter AronssonFixed several bugs with functions, e.g. Real X[:]=Y, etc.
ec4af2294Peter AronssonFixed bug with infinite recursion when instanitating Modelica.Blocks.
ac0f73e95Peter AronssonRedesigned Type to cope with all types for operator overloading and koening lookup
558a8eea2Peter AronssonAdded support for operator and function overloading.
323b44a69Peter AronssonAdded support for quoting using the Code keyword.
78eb02b92Peter 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.
c3ba5aba9Peter AronssonFixed bug with Real x[:,size(x,1)] e.g. referencing its own definition but different dimension.
e635e6097Peter AronssonAdded author
e97da34b3Peter AronssonFixed bug in unqualified imports.
2a5b249b5Peter AronssonAdded manual written in LaTeX.
810dccafcLevon SaldamliTest program for testing the parser. Uses parse_tree_dump to dump the parsed file
e0302771fLevon SaldamliTarget test for the test program added
82c02c91cPeter AronssonloadClass now handles several paths (separated by colon) in MODELICAPATH
c82491ef9Peter AronssonCache now working, but speeds things down :(
39059ef1ePeter Aronssonadded clearCache function.
aa6467494Peter AronssonFixed two bugs with encapsulated. Removed old cache implementation. Made new external cacheimpl, not working yet (gc problems)
2e45a825fx02kajnyInitial revision
d100b1bc1Peter AronssonAdded several operators and fixed several bugs. EvapIOTest example from Ruediger Franke now works (174 seconds)
da87e924dLevon Saldamlidouble message
b278933a4Levon SaldamliMaking rml2sig before modeq
4be5fbdd2Levon Saldamliscandir check and socket+libsocket check added
c8d432979Levon SaldamliFixed libsocket check in configure, removed arch check and ifs
bb5d4bb87Levon SaldamliRemoved example part
4c58dac2eLevon Saldamliscandir check, fixed by configure
2ba5924e7Levon SaldamliLEX for rml2sig
a8eafe160Levon SaldamliSig file support fixed
587e73880Levon SaldamliInitial
81ac1173cLevon SaldamliMerged back interfaces and implementations
fc3642c8cPeter AronssonAdded array constructor. Made all fail printing visible throguh failtrace flag.
b58ebecc2Peter AronssonAdded optional modifier according to Modelica2.1
57080af5ePeter 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.
d2705ca6dPeter Aronssonremoved tempfile, not platform independent.Added compilation check.
25fb8d46bLevon SaldamliSeparated rml files into interface and implementation. Use myrmlc for compiling as before. Only one file at a time can be compiled
1a6366fcdLevon SaldamliModelica String implementation, use with e.g. external functions
6544072aaLevon Saldamlilocal (protected) variables in functions implemented. Started to implement strings in external function interface
8ef99559fLevon Saldamlilocal (protected) variables in functions implemented. Started to implement strings in external function interface
5aa5eae37Peter AronssonFixed bug in addConnection for classes in packages.
833133515Peter Aronssonfixed small bug in text.
8f22429d5Peter AronssonAdded compile text, example.
91ea51467Peter AronssonAdded caching, assert, helptext and help command
71e7c6779Peter AronssonAdded time relation
75e97e6eePeter AronssonFixed bug in lookup of qualified imports
f045fd947Peter AronssonFixed bugs in lookup inside packages. SignalVoltage now works for Modelica Stdlib v1.5.
62c390d68Peter AronssonIncreased socket buffer to 4000 bytes.
2ff7ff5e0Levon SaldamliA simple scandir implementation for solaris, without sorting.
bd3045154Peter AronssonFixed bug with extending functions not yet declared (use before declare)
ca31df7fdPeter AronssonAdded binding and comment options to addComponent and updateComponent
b956c39a9Peter AronssonFixed attributes in derived classes.
82b77f411Peter Aronssonfixed bug with type_prefix in derived classes.
f26420d9ePeter AronssonFixed bug in getNthComponent.
e6f014022Peter AronssonFixed deleteConnection and updateConnection.
0f1f990cfPeter AronssonFixed many bugs in flattening of inheritance structure. Now translates Modelica.Electrical.Analog.Sources.SineVoltage
522d4834aLevon SaldamliFortran 77 support fixed
e93813bebLevon SaldamliFortran 77 support
7aad0c41dPeter AronssonFixed addClassAnnotation, to be used for adding Icon, Diagram and Documentation annotations to classes.
887591d4dPeter Aronssonfixed bug in getNthConnectionAnnotation.
6b2bbf1daPeter AronssonMoved many interactive functions to StaticExp, such that they can be evaluated in any sub-expression. Also fixed bug with getIconAnnotation, getDiagramAnnotation.
472f2e75dPeter AronssonFixed several statements per input. Ouput if no semicolon.
496fc4474Peter AronssonAdded isClass
f1dccf88fPeter AronssonFixed bugs in unparser, now unparses ThermoFluid correctly.
b663b5ed1Peter AronssonRemoved relaxations. 1. and .12 and 1.e-4 etc SHOULD NOT be allowed (Many people in design group has this opinion)
728313449Peter AronssonUnparser running. Accepting whole modelica standard library.
528a2ef87Levon SaldamliBugfix
b1332175dPeter AronssonFixed bug with casts on arrays in graphic annotation expressions
6b2763b2bPeter AronssonImplemented deleteComponent.
967fd0471Levon Saldamlihistory save and load
6dcbde2a7Peter AronssonFixat bug i addComponent
b676ce05fPeter AronssonFixed bug with Diagram in component annotations.
b715396bcLevon SaldamliPartial external function support (records missing)
9cb3e7af3Levon SaldamliPartial external function support (records missing)
aa9adb52cPeter AronssonFixed bug in declare before use. Now have untyped modifier expressions temporarily when instantiating.
ad9bdd7c9Peter Aronssonfixed some bugs with redeclarations. Not quite bug-free yet
ba850895aPeter Aronssonredeclare partly implemented (no subtype checking, final checking,etc yet)
eb7a4873cLevon SaldamliExternal function support for builtin basic types
fe6946b00Peter AronssonFixed instantiation bug with extends.
dbfa87c80Peter AronssonAdded initial() expression.
93f29e63cPeter AronssonAdded module classloader and function loadClass that loads a class from MODELICAPATH.
2f4ad24b1Levon SaldamliTemporary fix for MAXPATHLEN define for unix
13f4b0efbPeter AronssonAdded impl. for Integers.
024bbe005Levon SaldamliBugfix for external nodes
e7a2d89daLevon SaldamliDump of Initial sections and external declarations
31a8558c2Peter AronssonFixed bug with external decl.
417ac9c44Peter AronssonAdded each keyword to absyn
8cc0042f7Peter Aronssonfixed bug in initial equation
8b059de2ePeter AronssonAdded change of local directory for server
5f90beb2fLevon SaldamliChanges due to additions for replaceable to SCode.COMPONENT
1a2a55bd0Levon SaldamliChanges due to additions to SCode.PARTS for initial equation/algoritm, and SCode.COMPONENT for replaceable.
de95bb058Levon SaldamliInitial equation and initial algorithm translation added. inst_equation, inst_algoritm, etc.
a60bf15d6Levon SaldamliTranslation of INITIALEQUATIONS and INITIALALGORITMS from Absyn to SCode added. Replaceable flag added to SCode.COMPONENT.
d97f032daLevon SaldamliDAE elements for initial equation and initial algorithm added
ef1f84140Levon SaldamliAdapted due to additions of initial equations and algorithms in SCode.PARTS
cc29d8777Peter AronssonFixed C-d and empty line error
f1ab9dafcPeter Aronssonlookup according to Modelica 2.0 (impl in vardnas workshop)
3a3a62e7cVadim EngelsonEncapsulated messages added
c25c04146Peter AronssonFixed bug in InteractiveStmt, changed due to updated Absyn.
ced2b89a8Peter AronssonFixed C-d to exit shell.
fdd90b705Peter AronssonFixed bug wiht tail
19923d815Peter AronssonFixed bug with setting of variable and having whitespace.
f7a19d3a3Peter AronssonRemoved unused files, fixed prevent lookup of protected elts
60d6b77ccPeter AronssonRemoved all parser stuff from mosh
e7bf2e164Peter AronssonAdded command line option -noserv to start without starting server (assumed to be already running)
49e5db5d6Peter AronssonFixed bug in Polygon annotation, arrows in line. Added methods existModel and existClass
32dd2a103Peter AronssonFixed bug with subscripting of matrices in modification equations
94647c90aPeter Aronssonadded existClass, changed getModels and getPackages to getClassNames.
98da3fbbcPeter Aronssonadded isPrimitive and other isXXX functions. Added getInheritanceCount, getNthInheritedClass
9338f7013Peter AronssonFixed getNthComponentAnnotation
651568360Peter AronssonFixed bug in function_arguments.
82319e841Peter AronssonFixed bug in function_arguments when building ast
de8343eb6Peter AronssonUpgraded to complete 2.0 in absyn (according to spec
622e28dbcPeter AronssonUpgraded to complete 2.0 (according to spec
65774260ePeter AronssonImproved some dumping. Some enum bugs. Added correct builtin attributes.
825d20346Peter AronssonAdded R_EXT_FUNCTION as restriction. Propagated external function info down to dae.
ea291cb3cPeter AronssonFixed bug in external functions (parsing and absyn)
810cbb856Peter AronssonFixed bug in getIconAnnotation
6643cc101Peter AronssonFixed type conversion of unknown dimensions, fixed correct annotation building from named arguments
8ed036f4bPeter AronssonFixed minor things. typeOf function implemented
9f8bb2033Peter AronssonFixed automatic code generation of functions. Fcn in packages does not work yet.
d867fa19bPeter AronssonFixed InteractiveSymbolTable in elab_exp
caba88da1Peter AronssonBroke circular dependency by moving stuff from Static to Types
d601503e7Peter AronssonNow compiling, added compiled functions to elab_exp and ceval.
de76ebb86Peter Aronsson*** empty log message ***
d756fd89cPeter Aronssonautomatic code generation almost complete.
b65f23d6cPeter Aronsson*** empty log message ***
967e47689Peter Aronssoncast of arrays, whitespace in parsing models, etc.
ccf28838cPeter AronssonFixed instantiation of models inside packages. Fixed declare before use of functions (types in env).
eeff0e365x02danheFixed a bug causing the makefile generation to fail if more than one path was returned when executing the find command.
7ed77a8efx02danheFixed a bug causing the makefile generation to fail if more than one path was returned when executing the find command.
23948aa46Peter Aronssonadded errohandling in socketcomm.
f770acd65Peter Aronsson*** empty log message ***
8a72c2350Peter Aronsson*** empty log message ***
339947c2fPeter Aronsson*** empty log message ***
18eb569ebPeter Aronsson*** empty log message ***
22ea4a3e6Peter AronssonAdded external functions to Absyn. Added type convert of vector constructors (RANGE)
e252e7d4bPeter AronssonCode generation of functions now working inside interactive env
9d82f576bPeter AronssonRemoved includes of .c files.
1bfe9511bPeter AronssonAlmost finished codegen in interactive.
e0f0331ddPeter Aronssonadded history
eb42f9f60Peter AronssonnewModel -> createModel
36b1b9778Peter AronssonAdded program to build initial env for expression evaluation
5e97e03a2Peter AronssonAdded evaluation of expressions and storing of variables in interactive through ceval
c2aa7003dPeter AronssonAdded expression evaluation through staticexp
dcebc9c5fPeter AronssonChanged implementation to work with modeq in interactive mode
09d519a18Peter Aronssonadded encapsulated to Absyn and SCode.
3d5b15cc2Peter AronssonAdded import statements to instantiation/lookup.
4d2f8482dPeter Aronssonadded getPackages and getModels
d28247674Peter AronssongetDiagramAnnotation now working.
038ba085bPeter AronssonFixed getIconAnnotation, incl elab_graphics_exp, MATRIX type conversions, etc.
1c68f70e2Peter Aronsson*** empty log message ***
c53bdd98cPeter Aronsson*** empty log message ***
711c09b20Peter Aronsson*** empty log message ***
0a14853d6Peter Aronsson*** empty log message ***
c0bf6c2a7Peter Aronsson*** empty log message ***
682ef7786Peter Aronsson*** empty log message ***
96ea66b7dPeter AronssonFixed bug in lookup_class
5c07884c4Peter AronssonFixed bug in inst_element_list (declare before use) of array dimensions
e55efa32dPeter AronssonFixed bug in instantiation of variables (decl before use)
6d767ea25Peter AronssonFixed bug with value propagation into parameter values
d1c6b4a1fPeter AronssonFixed variable bindings when declared before use.
c992eaec0Peter Aronsson*** empty log message ***
f06c4b235Peter Aronsson*** empty log message ***
73ec9c9d3Peter Aronsson*** empty log message ***
02204da2cPeter Aronssonworking on lookup & declare before use
c1ffb8e35Peter AronssongetIconAnnotation now works.
f6a2954b1Peter AronssonFixed bug in record constructor, now handles dimensions correct. Also moved som instantiation work from lookup to inst.
a813d70f4Peter Aronssonfixed bug with ordering of arguments to functions.
88f1676b0Peter AronssonFixed positional and named arguments to functions in staticexp.
86d489109Peter Aronssonmoving to laptop.
9397f501bPeter Aronssonfixed bug in component annotation
adb913548Peter AronssonFixed function calls with no arguments
f64dafad1Peter Aronssonimplemented list of symboltable.
2cd380833Peter Aronssonadded implicit lookup of record constructor functions
5b7f6ff4bPeter Aronssonadded getIconAnnotation
e33aa74f5Peter AronssonAdded flat records for Graphical primitives.
568c6e5adPeter AronssonAdded getNthConnector and getConnectorCount.
e73a33b6ePeter AronssongetNthConnectionAnnotation almost work
cea4c4382Peter Aronsson*** empty log message ***
1a3e17f75Peter AronssonAdded lookup rules for enumeration and completed other parts of enumeration
5d4e11013Peter Aronsson*** empty log message ***
71b7d3328Peter AronssonFixed lookup of local classes, incl. packages.
5a759a0ffPeter AronssonTemporary fix of lookup bug, Enumerations partly working
8064d931ePeter Aronsson*** empty log message ***
159fe65d7Peter AronssonAdded enumerations to parser and Absyn.
c84690a92Peter AronssonAdded enumeration type.
a8094ce38Peter AronssonAdded connection annotations to parser and absyn.
2a9b9bfb6Peter AronssongetNthConnection completed
f6257aaa4Peter AronssongetConnectionCount completed.
24facd492Peter AronssongetNthComponentAnnotation completed.
5230e1f94Peter AronssonFixed bug that removed equations from components, in relation fix_direction.
433b79c0fPeter Aronsson*** empty log message ***
eef8ffdd5Peter Aronsson*** empty log message ***
f74ebb222Peter Aronssonallmost added getNthComponentAnnotation, migrating to laptop
09d8e0c6dPeter AronssonAdded text file explaining interactive api
a7e49cce3Peter AronssonChanged api functions, strings -> componentrefs
2e549ee4cPeter AronssonAdded translateClass function, and dumping of DAE to string
dfeb6223ePeter AronssonAdded addComponent function.
cf4647088Peter AronssonAdded named arguments to functions.
cf725c768Peter AronssonAdded named arguments in functions to parser and absyn
ce2aa29e9Peter AronssonAdded newModel(foo) and newModel(bar,scope) to interactive env
4cc3f1ba2Peter AronssonAdded graphical annotations to absyn.rml
05b454ae2Peter AronssonFixed bugs in within.
f8ee5ada6Peter AronssonWithin now works, i.e. local classes can interactively be inserted
ee9a893b5Peter AronssonAdded within to Absyn.Program
3136a93a5Peter AronssonAdded incremental adding of top level classes
4f69e1c2cPeter Aronssonadded interactive symboltable
0a493a26fPeter AronssonAdded expression parser in the interactive environment
617af49b3Peter AronssonAdded expression parser in the interactive environment
b02f83027Peter AronssonSmall bug in revision info
36f5a417ePeter 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.
ea5743e79Peter AronssonAdded inner/outer to absyn
c4c518e6fPeter AronssonTurned off ast debug print
59395c31dPeter Aronssongethrtime returns zero until a platformindep solution is found.
e533a4092Peter AronssonAdded cleaning cpp and hpp files generated by antlr
66f9f7e0ePeter Aronssonadded extra check of rmlc
4621f493fPeter AronssonRemoved linking with runtime, c files are included instead
6477f09e6Peter Aronssonadded ./ before executable, not certain that . is in PATH
62256199aPeter Aronssonchanged /dev/null to empty tempfile
f6b82f6dcPeter AronssonAdded antlr.Tool check in CP
f3f5360f4Peter AronssonFixed bug in rmlc
f4da1a45aPeter Aronssonremoved c_runtime/Makefile from being generated
1df03d225Peter Aronssonbash script bug
09032324cPeter Aronssonsame bug again!
fab3dd990Peter Aronssonbug in libreadline.a
d911c88c4Peter Aronssonadded Makefile.in, removed Makefile
a242b2a54Peter Aronssonadded Makefile.in, removed Makefile
3e22cfb72Peter AronssonAdded Makefile.in, removed Makefile
97b98ad55Peter AronssonAdded configure scripts
53bed2f4cPeter AronssonAdded gethrtime and changed modelica_integer to long
c7ffa532fPeter AronssonAdded check if MOSHHOME is set or not
e5d6ca76ePeter AronssonAdded extra functions for array_addr_element with dimension 1 and 2
5e703f96fPeter Aronsson Removed warning flags, set optimizing flags
67bc0009bPeter AronssonFixed so modelica.h includes the c files, such that function inlining can occur
22156b7d1henjosimplex handles different sized array
7368c3faehenjoAdded more copyright notices
8d3c7056chenjoAdded more copyright notices
d4140ab64henjoAdded copyright notice
122acbc62henjoAdded README file
a90dbf6d2henjoAdded license file
1ec2a45ddhenjoAdded license file
1987ebb11ankarAdded #include to make it compile on Linux again.Fixed bug in operator+=.
bbdbcc274henjoAdded copyright notices to files
41babbe28henjolast minute changes
8d9e5a44fhenjolast minute changes
0bdf41fb9henjoAdded more functionality
3acd52a16henjoAdded more functionality
563b2d78eankarImplemented matrix multiplication (vector * vector,vector * matrix,matrix*vector,matrix*matrix).
3d5d12d9cankarMore work on array arithmetic.
79809dff7henjoSome changes made so that more things are working
a6555b21dankarImplemented unary minus. Nuked some compiler warnings.
5fd7b2b0dankarMore work on arrays.
41244189bhenjoFixed checking of reading input paramters
bb630b3dbhenjoFixed error in simplex
f82100c94henjoFixed indexing operations
0d8feb146ankartest file.
318d934b4ankarreal_array and integer_array are now classes.
328bb146ahenjoFixed some things
c39a2a835henjoAdded testscript
ca229119eankarInitial commit.
16b15f3f5ankarInitial commit.
af48c1c3fhenjoIntroduced type information to input file
0861c2178henjoCan now generate code for functions with variable sized arrays
8b03153bdhenjoMoved compiled files to other dirs added .cvsignore file
51b24d318henjo*** empty log message ***
b26f324ffhenjoAdded integer read write routines
8933b4d89henjoFixed some operators
151b63c68henjoAdded testcases
39099f144henjoRenamed file
61b045bechenjoAdded more tests
1bb7ecd4dhenjoRemoved .main.c files
2e81a7820henjoAdded utlity functions
537cee5f8ankarChanged calc_index_va to one-based indexing.
bb21cbc0fankarpromote_real_array and promote_real_scalar now allocates dimension vector.
e9febf787ankarAdded array_real_array, array_alloc_real_array.
61fd2d40cankarAdded simple_index_alloc_real_array1.
b0dedd62dhenjoMore codegeneration done
0dd73a01dankarAdded calc_index functions.
6fe1c19d8ankarAdded range_alloc_real_array and range_real_array.
995e7a100henjoadded newline to write
c3edb41f1ankarAdded mul_alloc_real_matrix_product_smart.
e596b8872henjoFixed order of declarations in coden of read fn
afb8b5892henjoNow generates stub fn
1b3007480henjoadded read_write fns
98985f930ankarAdded include to stdio.h
bf22380abankarAdded prototype for real_array_nr_of_elements.
221facb96henjoAdded makefile to build lib
bdcc1206ahenjoCan generate c-code for array mults and assigns, added some testcases
f05ffa67fankarFixed some compiler errors.
7d40084c0ankarAdded main header.
d4c751830ankarFirst revision of OpenModelica runtime. Just array implementation so far.
c65c92882henjoAdded new operators to handle matrix and vector operations
bde0bcfe9henjoFixed problem with empty argument list
e976d9e91henjoFixed indentation
f1a259b7fhenjoChanged 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
0678dd1d4ankarChanged ModelicaTokenTypes to modelicaTokenTypes.
42833cf91ankarMoved rel_op to relation.
e935a9d44ankarInitial import of new modelica_parser.
760e4872bLevon SaldamliDebug dump of env at class instantiation and equation elaboration (envgraph and expenvgraph)
729a27ef8Levon Saldamliprint_env_graphviz: Generate a graph representation of the environment using graphviz
dfd3d04fcLevon SaldamliGraphviz generation help relation build_gr_strlist
beb43a216Levon SaldamliEnvironment dump flags
ce5198941Levon Saldamliget_matching for general lists
0a879b440Levon SaldamliChanged first label of NODE so that it can contain spaces.
3435fc5d8Levon SaldamliMinor fix.
92c401203Levon SaldamliGraphviz module.
f0bace95eLevon SaldamliDump the AST in graphviz format, so that it can be visualized (using dot or dotty from graphviz package)
f18d9364aLevon SaldamliCode generation. Mainly functions at the moment.
123d896bfLevon SaldamliRemoved the pde-related flags.
8299c0144Levon Saldamlidebug flag support
85fea0dc5Levon SaldamliMinor
0cbaf4331Levon Saldamlimake_function_type, creates a function type. relations to collect different kind of variables (get_vars, get_output_vars etc). get_type_name
5f3dfca48Levon SaldamliUtility relations. elab_exp_list, elab_cref_list, get_properties etc.
1d4078ce8Levon Saldamlidebug flag support.
24e0f7e13Levon SaldamliUtility relations.
fe6a7408cLevon SaldamliChanged REDECL to contain SCode.Element list, so that an elaborated classdef can be stored.
3a0c546d2Levon SaldamliFlag directed execution. see DEBUG.TXT
3aa9acf73Levon SaldamliDebug trace in many places. Cleanup. Layout fixes
c0febdc52Levon SaldamliImplementation of redeclare. Working with functions at least.
477f56715Levon SaldamliSome cleanup. Absyn.ElementSpec in REDECL changed to Element list, which is the result of applying elab_elementspec to Absyn.ElementSpec
545b94a90Levon Saldamlicref_equal, compares whether two crefs are identical. Does NOT check subscripts (ignored).
32edfb21cLevon Saldamliprint_env print_frame
b8816b507Levon 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
bc1db425fLevon SaldamliDebug.print bugfix.
e9987bf27Levon SaldamliAdded variable direction (for arguments of functions). (But isn't this info in the function type already, at least now?)
790aeb926Levon Saldamliget_state_name added
2bace30b1Levon Saldamli*** empty log message ***
f3a614cd0Levon SaldamliUpdated rml path. graphviz rml files added.
9c64cebb9Levon SaldamliMinor cleanup. Restiction -> string
3a05884ecLevon SaldamliMinor cleanup
e48852875Levon SaldamliRemoved double of "boolean_type" in the builtin environment
b98b49bc9Levon Saldamli*** empty log message ***
8b7e39c81Levon SaldamliWorking at PELAB
5049e8904Levon SaldamliRML path
662ce623aLevon SaldamliLatest from x98petro not committed or added
a1071c86fx98petroArray handling is probably broken in this version. Should be fixed in next version.
55298a3c9x98petroArray handling is probably broken in this version. Should be fixed in next version.
0c96272edx98petroModifed the grammar to accept multiple return values from functions.
ef831309fx97davkaPeters korrektur.
05af8d5a1x97davkaChanged "rml"
d5c8cf695x97davkaDoc fix
32eda87a9x97davkaPontus korrektur.
514d6d9b3x97davkaCompleted
ca173a3f3x97davkaDoc fix
dc5a327a4x97davkaTypo
32e2a155bx97davkaFilled the last holes.
08fbe6bcex97davkaAdded MOdelica 1f
002531bbax97davkaOops! Fixed static scoping.
199979a9cx97davkaNew file
0ba8c084bx97davkaMinor fixes.
06eb4365fx97davkaAdded a lot of stuff.
007207babx97davkaDoc fix
f9b73ece6x97davkaFixed the mess I caused with remove_set
c31f4a897x97davkaUse module header
4a527d334x97davkaFixes
17f5f7396x97davkaSome additions
e8f467514x97davkaAdded bibtex rule
0ac4484e7x97davkaDoc fixes and some minor code cleanups.
5ff6e658cx97davkaUgly DAE.VARVAL hack Some cleanups
ac7bf3fbex97davkaCheck modelica_output
f8b141062x97davkaIntroduced ugly VARVAL hack.
bbb46eb93x97davkaminor additions
1126aa58ax97davkaMinor fixes
d56b33a39x97davkaBug and doc fixes
f0df895c7x97davkaAdded modelica_output
473624c8ex97davkaFixed stuff
4d9529c2fx97davkaFixed output
23001385fx97davkaCleanup
2c5a19763x97davkadoc fix
24024ac4ex97davkaRemoved debug info
d324855b7x97davkaConvert illegal characters when modelica_output is true.
cf1be9097x97davkaAdded the possibility to output DEFINE as EQUATION
6aa3f44eax97davkaSmall change
3e8776570x97davkaMinor bugfixes
39fd319a8x97davkaRemoved debug stuff
71d482b0dx97davkaAdded more on Modelica
75d9cde84x97davkaRemoved debug output
041a4cd3ax97davkaFixed stuff
1e087f356x97davkaDoc fixes
900c0dcf3x97davkaadded limitations
d22c2a066x97davkacheck_subscript returns the new type also
bdb7b6bc3x97davkaAdded ARRAY again
38874048ax97davkaAdded split_arrays
26683b2a6x97davka*** empty log message ***
d121c9cebx97davkaarrays only have one dimension now. Lookup start in builtins.
f5aa8fc79x97davkaFixed stuff
d5c4de5d0x97davkaNew option: split_arrays
3914c72bex97davkaSplit array and composite equations. And stuff.
ba8b79161x97davkaNew simplify rules
c3bc5b85fx97davkaReinstated ARRAY
8f4429188x97davkaChanged EQUATION and added DEFINE
8208c62b3x97davkaDAE changes
b2d637226x97davkaType conversions in assignments work again
ccd43ea44x97davkaReintroduced ARRAY
abdf66897x97davkaNew dependecy rules
43beccd61x97davkaadded stuff
b291b60f0x97davkaRestructured and stuff
cda4b3daex97davka*** empty log message ***
932d549cbx97davkaNew file
0182b8356x97davkaAdded translation figure and stuff
5119f6277x97davkaAdded accessibility
31a5ee6cex97davkaFolllow DAE changes
0b0b0706ex97davkaAdded accessibility field to the attributes.
d31da3961x97davkaClean up unecessary stuff and renamed some.
a879e9ff8x97davkaSet accessibility
4d3b86ef1x97davkaCheck if a variable being assigned is read-only
09be46e62x97davkaNew files
bb73d7b8bx97davkaAbsyn.COMPONENT changed
caea12342x97davkaNew file
9f5abd947x97davkaAdded some stuff
fa270055bx97davkaAdded algorithm.tex
5e8cbc26ex97davkaUse rtopts
04a8df931x97davkaDon't use Absyn.VarAttr. Instead use SCode.Attributes. Fixed functions.
b64fa03dax97davkaDon't use Absyn.VarAttr. Instead use SCode.Attributes.
c59ceaddex97davkaDon't use Absyn.VarAttr. Instead use Attributes.
6479de8cex97davkaStarted to use runtime options to control output
720e48d79x97davkaARRAY no longer exists
00cf6badcx97davkaUse SCode.Attributes
3690e2e3bx97davkaMore docs.
c02d2d3e9x97davkaReplaced VarAttr with ElementAttributes. More docs.
276de9948x97davkaAdded runtime directory
4631e88dbx97davkaFixed stuff
d9093eafax97davkaReworked
33a7f59dfx97davkaSpelling fixes
572682c3fx97davkanew files
78883c054x97davkaadded stuff
003ae012ex97davkaAdded stuff
f8591eb9fx97davkaRestructured
4f95765fcx97davkaMore text. New bibliography.
b0d02f007x97davkaFixed stuff
2a68e940ex97davkaNew file
3ba517af9x97davkawrote stuff
1c4562a46x97davkaChanged labels
e47ca4b6ax97davkaMore stuff.
e841cdc84x97davkadocfix
2ab4c3895x97davkaFixed doc
86c9edecex97davkaAdded comments
5e9c22458x97davkaRemoved ARRAY
c63c73bf8x97davkaAdded protected flag to Types.VAR. Added rules for implicit instantiation of packages and functions. Fixed elab_call.
66329735cx97davkaUse Static.Properties, and Static.match_prop.
0c6fc4070x97davkaRemoved some junk.
c0999fcc4x97davkaStaticExp was renamed
a6a013e75x97davkaUse Static.Properties.
0e2fd96f3x97davkaWrote a subtype relation and an equivtypes relation based on it. same_type is now obsolete.
d347955c4x97davkaIntroduced the Properties datatype. Rewrote the type match and conversion stuff.
e8bd83d51x97davkaUse Static.Properties
901ff9cb1x97davkaThe [1,2,3] syntax is now a 1x3 matrix instead of a vector.
d49b69326x97davkaUse CAST instead of CAST_TO_REAL
04224fb5ex97davka# prettified
ce7565714x97davkasnapshot
3ed248600x97davka*** empty log message ***
ce88dbf42x97davkaDoc fix.
26475648dx97davka*** empty log message ***
5e6653d5ax97davkaDoc fix.
4ee727d6bx97davkaAdjust to new Operator datatype. Introduced relations to handle overloading and automatic type conversions.
5e9dce6e9x97davkaAdded temporary kluge for slices.
166b35854x97davkaRemoved bogus errors.
8eceb86b8x97davkaAdjust to new Operator type. Check flow attribute in connections, but not constant. Use the overloading relations from StaticExp in inst_eq_equation.
ca33a5e89x97davkaCombined all operators to the datatype Operator.
793c62c6ex97davkaAdjust to new Operator type.
f8e9e86c1x97davkaDoc fixes.
e99725761x97davkaUnified all operators to an Operator datatype. Doc fixes.
fc82346b0x97davkasnapshot
a769b7016x97davkaFixed the type of loop variables
a4591f72ex97davkaReworked modifications
3118e5196x97davkaNew file
7b8d69491x97davkasnapshot
6f63e4a1cx97davkaPrettierprint
565641ff2x97davkaMoved Binding here. Added lift_array Some other stuff too
6df2aa4afx97davkaDo some relations and stuff
2aeebd379x97davka# prettified
a4f16b836x97davka*** empty log message ***
b3f81d860x97davkaRemoved mkbinding
71f98950bx97davkaLots o' changes
69fc156f8x97davkaConvert equations
6f12b0336x97davkaPrettier
258018912x97davkaIF statements
0860e7ebdx97davkaBinding moved
9d807295cx97davkaFixed IF in equations
14440f29cx97davkaMore tokens
2571287f3x97davkasnapshot
26db41a6dx97davkasnapshot
1a63d128bx97davkasnapshot
bfbd36a5ex97davkasnapshot
34a9c2b6bx97davkasnapshot
2c2fc399dx97davkasnapshot. Works, sort of.
913cdd7e9x97davkasnapshot
fdabf67c1x97davkaSnapshot
72864f329x97davkasnapshot
301ca81e3x97davkaSnapshot of a significant overhaul
2370bd40bx97davka*** empty log message ***
f1f35c881x97davkaFixed for loops and array expressions
602e52971x97davkaAdded FOR loops
418b83f0bx97davkaAdded arrays and matrices
c297bfa4fx97davkaUnroll for loops
0350ef0bfx97davkaAdded Binding datatype to separate equation and value bindings.
fc6c945ecx97davkaRenamed mod_assignment to mod_equation
979df2c35x97davkaHandle constant crefs and other stuff
54048fb48x97davkaNew file
4dc252dd1x97davkadoc fix
43709351bx97davka*** empty log message ***
7a7536934x97davkaMore on connections
7c0f71466x97davkaFixed component_reference
dbeb3c67ex97davkaDoc fixes
05d3613aax97davka*** empty log message ***
fec563b3cx97davkaRenamed Env.new_frame to Env.open_scope Added documentation here and there Made Exp.ComponentRef a datatype with two constructors
7e32c0f1ex97davkaFixed dependencies
fd8d77dc3x97davkaWorked on the source annotations.
bc7ecee15x97davkaFixed boxedverbatim TeX magic
58d89787cx97davkaNew file
2b60a5a3ex97davka*** empty log message ***
09a824c8cx97davkaMore on connections and the annotated semantics
e650636a0x97davkaBuild source files
89ddd2031x97davkaFixed redeclaration
d27bbb8fcx97davkaReordered and fixed documentation
911e0573bx97davkaNew files
0c4c163bex97davkaAdded REDECLARATION
108034513x97davkaFixed documentation
749c61ba1x97davkaAdded strings and booleans.
bf38a3fafx97davka*** empty log message ***
0e762146fx97davkaEnable use of both kinds of modifications
a29f74f45x97davkaStore reals in double instead of float.
b03f34a8ax97davkaFixed variable lookup and stuff.
76f740563x97davkaHandle CAST_TO_REAL
d422ed6bcx97davkaCombined CLASSMOD and EQUALMOD
f90620634x97davkaFixed package lookup
ff2602fbex97davkaFixed lookup relations
6baea3fe7x97davkaAdded print_type
1b314f879x97davkaMoved lookup relations
952fb67dcx97davkaAdded test target and lookup.rml file.
7c7fb100bx97davkaWorked some more static expression analysis.
643deb880x97davkaFixed static analysis and constant propagation of expressions.
7216d61b7x97davka*** empty log message ***
45ab08814x97davkaMore on restrictions and stuff
5b6d8f08ex97davkaCheck more restrictions
724cfb4d0x97davkaTreat predefined types separately.
d28e32339x97davkaUse R_PREDEFINED.
e522f77b8x97davkaUpdated with ClassInf
ed5de8184x97davkaRestructured with ClassInf
39573c585x97davka# dump
3d5e2743ax97davkaKeep a ClassInf.State and check it sometimes
96912c0f9x97davka# cosmetic
45e901d58x97davkaSave the ClassInf.State
d172193d8x97davkaUse ClassInf.print_restr
d35c3e95bx97davkaNew file
093f47b9cx97davkaUse ClassInf
3c9ed504cx97davkaMoved ClassRestricion
d5a8e8ab5x97davkaAdded classinf.rml
8cc3658c6x97davkaExpanded
0ddb65ad7x97davkaNew file
62146dab3x97davkaUse new Exp.Subscript definition
5f17f3effx97davka# more tokens
4104c9c83x97davka# cosmetic
cc63b67a9x97davkaAdded ceval
74f6b1819x97davkaAdded -lm to LDFLAGS
b6925521cx97davka*** empty log message ***
4179ac2d2x97davkaSpecify inner and outer connectors.
af110c1edx97davkaImplemented outer and inner connectors.
abd5c885cx97davkaNew stuff about connections
bdc3eff3ax97davkaNew path to rmlc
f5e2fde46x97davkaAdded better support for flow variables. Changed to new "fail" style.
64cc01e85x97davka*** empty log message ***
f863bcfb2x97davkaBuild connection sets.
2354aa790x97davkaExport dump_list
e66f51b32x97davkaAdded dump relations
09dc51df4x97davka*** empty log message ***
585de6b68x97davkaAdded eq_cref
a4112c6dbx97davkaNew file
4e2e6bab8x97davkaFixed .SUFFIXES finally
76c95d991x97davkaFirst stab
265f6f82cx97davka*** empty log message ***
0f1637482x97davkaUpdate according to changes in absyn.rml.
860dd211fx97davkaFixed include files.
d24649038x97davkaLots of new types.
3fb16f3e2x97davkaKeep track of subscripts.
834c5d559x97davkaChanged dump a little.
90df105dfx97davkaLots of new stuff and fixes. Now does pseudoconnecting.
2e20d6525x97davkaUse Types.VarAttr.
87f4c647bx97davkaSubscript and ComponentRef now lives here
cc9d92cb7x97davkaUse Types.VarAttr. Some new lookup relations.
7697bd3c1x97davkaChange path to component_ref in some places
c11ab8c2ex97davkaMoved Subscript and ComponentRef to exp.rml
46237f04fx97davka*** empty log message ***
5a801cdecx97davkaWhy connect() should be a special construct.
8f1a6399ex97davkaAdded CONNECT
bef5ec921x97davkaNew RML version
ae392ce9ex97davkaNew file
8466c4f06x97davkaBuild Types.Type Use lookup_var_local where appropriate
3d9a6f9abx97davkaNew relation lookup_var_local Use Types.Type in FrameVar
50fc7a295x97davkaDump EQ_CONNECT
ef8ef39b3x97davkaUse Explode
4a8c73b4ax97davkaTreat connect() as a special construct.
831b81898x97davkaBuild if expressions
1f02c12e1x97davkaAdded mod_assignment
a5ebcae03x97davka*** empty log message ***
bee8e2d3cx97davkaShdow assignment equations.
9c03acac8x97davkaSave assignment modifications in the environment.
e8dec7201x97davkaRemoved
4d4e2088dx97davka*** empty log message ***
878af371ex97davkaFixed EXTENDS
c142a1423x97davkaUse Explode
551a4ad0ax97davkaUse Explode Started to check "protected". Not done yet.
22117ef79x97davkaDebug message
951868a18x97davkaRemoved explosion code
1d19178cex97davkaRemoved references to modAST.h
8ebf3fdcdx97davkaNew file
abadfa49fx97davkaRemoved
5e338bd0ax97davkaRemoved
399836e1cx97davkaFixed PUBLIC and PROTECTED
8b36183a1x97davka*** empty log message ***
8c73db3b3x97davkaFixed bug in merge.
61271fb70x97davkaImproved modification handling
8a735766bx97davkaTypo
157f00b53x97davkaAdded dependencies
4d5003f9dx97davka*** empty log message ***
722b45c56x97davkaUpdated to RML 1.9.0
0cf5e5ccax97davkadoc fix
af0952cb4x97davkaRML fixes
5e9d7f998x97davkaRewrote bigtime. Added dump, build and implemented merge.
b2a672eb3x97davkaUpdated
35f5f1344x97davkaNot used anymore
3ec13e1f2x97davkaRewrote to not use lform, but put modifications in the environment.
da53f7d62x97davkaStore modifications together with classes.
b1428e5ecx97davkaUpdated
d24f2bbcex97davkaAdded element_spec_name
a7f8b2d33x97davkaFixes
a0a6c2533x97davka*** empty log message ***
80648e9c2x97davkaRenamed COMPONENTS to COMPONENT Removed dead code.
96a8dac83x97davkaUse absyn again.
7815e1218x97davkaMoved to other documents.
4d2441986x97davkaUse lform
31221c524x97davkaPrepare to use lform
6d08e967cx97davkaUpdated
4915167b8x97davkaStart using lform.
aaae56163x97davka*** empty log message ***
6599ba8c3x97davkaHandle equality modifications.
05fce182ax97davkaLots of small fixes.
8ecce831ex97davkaNew files
25e7be48dx97davkaFixed logical expressions.
a4c98b84cx97davkaAdded some tokens.
e84d4dea4x97davkaNoted that equality modifications are not yet handled.
a1870459cx97davkaAdded informational messages.
78e68c6e4x97davka*** empty log message ***
2afa78390x97davkaRenamed prefix_add to prefix_path and added another relation called prefix_add
5706f0623x97davkaAdded empty_mod
1c7952ceax97davkaAdded built-in types to builtin.rml Fixed some trace output
48a427283x97davkaAdded some trace info
d2fd268d0x97davkaNew file
857ac64f6x97davkaAdded builtin
37f34cfbbx97davkaExport prefix_add
c32f26114x97davkaCosmetics
8c8a4196dx97davkaFixed the initial environment
2449db2d7x97davkaMoved path_string
9bd2b42b1x97davkaAdded convenient access to element names.
aaec8e9c6x97davkaSplit in submodules
5b98d32ddx97davkaAdded env.rml, mod.rml and prefix.rml
af7f390abx97davka*** empty log message ***
c9b53071ax97davkaFixed a bug in the Modelica spec.
efb15466fx97davkaDon't use lform, but inst.
90bae87f0x97davkaThis file is no longer used.
6f1e66d02x97davkaRewrote large parts. Don't use LForm.
33fe431e7x97davkaFixed a bug in the Modelica spec
bb892b160x97davkaAdded inst.rml
7e35a6a58x97davka*** empty log message ***
1115ee11fx97davka*** empty log message ***
2cf7ba80bx97davkaBugfixes
3c3e42ec5x97davkaAdded inst.rml
c629dfcc2x97davkaInstantiate
12c421e29x97davkaNew file
4b9f3f921x97davkaUpdated
16396d1d2x97davkaKeep up with changes in Absyn.
53794c302x97davkaCall Absyn.explode_components.
5b63fd98ax97davkaExpanded a lot. Now it compiles.
0e70608e1x97davkaLittle fixes
cc8cabcdex97davka# cosmetics
05a72ae9bx97davkaExplode components. Changed some Idents to Paths.
b8d285e29x97davkaNew file
42f662284x97davkaFixed compilation order
5fdb7baa2x97davka*** empty log message ***
fd2ef28aex97davkaRemoved almost everything.
b786c2d69x97davkaConvert to lform
314951401x97davkaNew file
ef075a392x97davkaAdded lform
6a8be3cb5x97davkaAdded mk_box7
82b5a1186x97davkaFixed so it works for most programs.
fa845bbf8x97davkaPrint more
84f1b14d7x97davkaUpdated.
b223542f4x97davkaUse a component list in element specs.
f991f8f71x97davkaFinally managed to build the subdir properly.
99ceb6f1fx97davkaFixed rule "relation"
1b95bd550x97davkaAdded relations and logical expressions
baecbcb57x97davkaRewrote subscript handling Fixed element modifications
af86e9554x97davkaPrettify
8d4feb9c0x97davkaInline type_prefix
781c94503x97davkaDump extends clauese better
cc912fec8x97davkaConstruct constants correctly.
70ae0e489x97davkaRemoved quotes from string constants at once.
a96c42121x97davkaAdded strings and booleans.
6d9280c93x97davkaDump more stuff.
f22b68e5cx97davkaExtended. Now it seems to parse type definitions OK.
4df116e28x97davkaHandle more tokens
1decaa045x97davkaFixed indentation
e24db13c6x97davkaMore and better rules
1fcdbe64ex97davkaMoved everything to absyn.rml
529b90130x97davkaMoved everything from class.rml here
13f1c5b86x97davkaAdded some box functions
d52761c45x97davkaFixed horrible typos that made me lose a couple of days
b9cc7447fx97davkaNew function: sibling_list Other fixes
32e83c95ex97davkaNow builds a complete AST for a simple program!
b07e4771cx97davkaUpdated
9c1c07c0ex97davkaExp.dump had moved
2968c7b8bx97davkaGet the file name from the command line
9ba385e0cx97davkaMoved the expression dump relation here
9d5f763acx97davkaMoved dump to dump.rml Added the Path datatype
41276b310x97davkaExpanded Class.
408dc6db1x97davkaRemoved test.rml
12d4d33ecx97davkaNew file.
2991b90c5x97davkaMoved stuff to attrib.c Fixed tree-building.
f18abb52cx97davkaRemoved unused code.
584197e69x97davkaNew files.
82e8b7586x97davkaBetter dependencies.
51113c0c1x97davkaRemove .c.o target.
28742875dx97davkaBuild an AST. Added some routines for printing an AST.
f6443f89ax97davkaUse SparcWorks cc Call antlr with -gt -gl
2cf23062cx97davkaTaken from rml 1.3.6.
d0321e99fx97davkaCreated a dummy parser that at least uses yacclib.
bd5a3f6d7x97davkaAdded yacclib.
ae6309656x97davkaNew file.
575227616x97davkaUse the parser.
58695ff1bx97davkaBugfixes.
cfc94553fx97davkaAlways run make in ast/
914aee3f2x97davkaTried to implement something callable from RML.
fe1300b39x97davkaNew file
414ca7c0fx97davkaTry to use Parser.parse.
69edd60dcx97davkaDon't compile parse.rml
42fa7de89x97davkaRemoved tokens.h
2037553c3x97davkaThis file is now empty.
20ceb8cc4x97davkaRemoved
2be884896x97davkaChanged to C. Removed lots of stuff.
2ab12299ax97davkaI don't think this is actually used anywhere.
1396dea94x97davkaRemoved bool.h
92dcc08efx97davkaCleaned up and changed to use gcc.
5434cb888x97davkaRemoved some definitions and stuff that I don't use (yet).
687249f72x97davkaUse an empty main relation.
d3384d336x97davka# Added a comment
4221d05d4x97davkaHeavily hacked.
4828720e6x97davkaJust saving
ce613f05ax97davkaRemoved.
8bf245498Adrian PopNew repository initialized by cvs2svn.
3c5da6dc4x97davkaInitial 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