January 2010 Commit Log

Number of Commits:
143
Number of Active Developers:
10
Frenkel TUD 2010-01-29 19:09 Rev.: 4888

- Bugfix: tearing selection algorithm: array variables

9 lines of code changed in 1 file:

sjoelund.se 2010-01-29 17:55 Rev.: 4887

- Fixes bug in codegen of record constructors after PA's changes.

3 lines of code changed in 1 file:

petar 2010-01-29 17:38 Rev.: 4886

-Fixed a couple of the failing tests from earlier checkins. Testsuite closer to 100%

23 lines of code changed in 3 files:

bjozac 2010-01-29 17:10 Rev.: 4885

minor changes how functions and records are treated.
Added some functions.

530 lines of code changed in 7 files:

Frenkel TUD 2010-01-29 11:27 Rev.: 4884

- mistake in writing

1 lines of code changed in 1 file:

bjozac 2010-01-29 10:24 Rev.: 4883

added a crefAppend function for Exp.mo

24 lines of code changed in 1 file:

Frenkel TUD 2010-01-28 17:46 Rev.: 4882

- Bugfix: tearing selection algorithm, replace tearing variable also in scalar part of equation
- print more information with tearingdump

7 lines of code changed in 1 file:

petar 2010-01-28 17:06 Rev.: 4881

-Updated backend after changes to ClassInf.State.

54 lines of code changed in 6 files:

petar 2010-01-28 14:33 Rev.: 4880

-Fixed bug introduced in -r4876 (size({{1,2},{3,4}})) stopped working. Testcase for this exists in backend at MathCore.

13 lines of code changed in 1 file:

stebr461 2010-01-28 14:27 Rev.: 4879

- Added tests for the assignment operator

104 lines of code changed in 6 files:

petar 2010-01-28 13:52 Rev.: 4878

-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

768 lines of code changed in 14 files:

sjoelund.se 2010-01-28 12:41 Rev.: 4877

Java Interface:
- Fixed CLASS_EXTENDS typo for AstAsCorbaString
- Added better error messages for ModelicaRecord.java

16 lines of code changed in 4 files:

perost 2010-01-28 12:16 Rev.: 4876

- Fixed cevalBuiltinSizeMatrix to work on non-constant matrices.
- Fixed elaboration of non-constant for-loop range limits.
- Added testcase DiagonalBlock for bug #1149.

61 lines of code changed in 4 files:

stebr461 2010-01-28 10:53 Rev.: 4875

- Added test cases for modifiers and redeclarations

76 lines of code changed in 6 files:

stebr461 2010-01-28 10:34 Rev.: 4873

- Added test case for inheritance restrictions

28 lines of code changed in 2 files:

adrpo 2010-01-28 10:23 Rev.: 4872

- 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

17 lines of code changed in 4 files:

adrpo 2010-01-28 07:58 Rev.: 4871

Codegen.mo
- got rid of unused import Inst;

Inst.mo
- fixed problem with the inner(mod) <-> inner outer (mod)
for the example model in the Modelica Specification:
5.5 Simultaneous Inner/Outer Declarations
see testsuite/mofiles/InnerOuterSystem.mo
- better instantiation caching (both partial and full is now cached)
- fixed the bug that generated error:
Error: Variable s: In modifier (s), class or component s, not found in the built-in class Real
Error: Variable s: In modifier (start = 0.1), class or component start, not found in the built-in class Real
by commenting out: // compModLocal = Mod.lookupCompModification12(mod,n);
in Inst.addComponentsToEnv, see testsuite/mosfiles/ModifierProblem.mos.

Mod.mo
- commented out unused code in Mod.unelabMod
- trivial text change

SCode.mo
- SCode.modEqual is now public

SimCode.mo
- commented out unused import Print;


Added tests for checking 2 bug fixes in Inst.mo:
testsuite/mofiles/InnerOuterSystem.mo
testsuite/mofiles/ModifierProblem.mo
testsuite/mosfiles/ModifierProblem.mo
testsuite/mosfiles/ModifierProblem.mos

245 lines of code changed in 11 files:

Frenkel TUD 2010-01-27 23:21 Rev.: 4870

- implemented first tearing selection algorithm

505 lines of code changed in 4 files:

adrpo 2010-01-27 14:59 Rev.: 4864

- do not delete .dlls as the test will fail on windows.

2 lines of code changed in 1 file:

sjoelund.se 2010-01-27 14:30 Rev.: 4863

Java Interface:
- Optionally send types when creating records from Map (required for uniontypes to work correctly)

35 lines of code changed in 3 files:

perost 2010-01-27 10:32 Rev.: 4859

Fixed bug #1153, sum of arbitrarily sized vector.

32 lines of code changed in 3 files:

sjoelund.se 2010-01-27 10:31 Rev.: 4858

- 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).

290 lines of code changed in 5 files:

sjoelund.se 2010-01-27 10:20 Rev.: 4857

- 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.

2 lines of code changed in 1 file:

perost 2010-01-25 16:36 Rev.: 4856

- Added case for empty vector range expression in reductions.
- Added missing changes to testsuite makefile for Reductions testcase.

50 lines of code changed in 5 files:

perost 2010-01-25 12:24 Rev.: 4855

Implemented 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.

Reductions where the range expression is an empty vector is not working reliably
yet.

218 lines of code changed in 5 files:

petar 2010-01-22 17:43 Rev.: 4854

-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.

3322 lines of code changed in 23 files:

adrpo 2010-01-22 01:44

- updated Copyright (c) text to 2010

252 lines of code changed in 171 files:

adrpo 2010-01-22 01:44 Rev.: 4848

- updated Copyright (c) text to 2010
- replaced some of the leftover BSD licenses.

148 lines of code changed in 12 files:

adrpo 2010-01-22 00:42

- updated Copyright (c) text to 2010

139 lines of code changed in 141 files:

stebr461 2010-01-21 16:27 Rev.: 4845

- Added some more complex inheritance tests

97 lines of code changed in 5 files:

stebr461 2010-01-21 14:01 Rev.: 4844

- Added test cases for simple inheritance cases

61 lines of code changed in 4 files:

sjoelund.se 2010-01-21 13:20 Rev.: 4842

Bugfix 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.

- Bugfix for calling functions inherited by a class using relative paths.
+ Added testsuite/mofiles/Extends5.mo to test this.

162 lines of code changed in 7 files:

perost 2010-01-21 13:01 Rev.: 4841

- 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'.

59 lines of code changed in 4 files:

ricli576 2010-01-21 12:52 Rev.: 4840

Removed dependency on Codegen module.

309 lines of code changed in 1 file:

ricli576 2010-01-21 12:35 Rev.: 4839

Removed dependency on SimCodegen module.

193 lines of code changed in 1 file:

ricli576 2010-01-21 12:21 Rev.: 4838

Removed createContext functions in favour of constants.

90 lines of code changed in 5 files:

stebr461 2010-01-21 10:01 Rev.: 4837

- Added testcases for model balancing

121 lines of code changed in 8 files:

sjoelund.se 2010-01-21 09:51 Rev.: 4836

- Added new Make target "fast" to the testsuite. It skips the multibody tests; the full testsuite should be run before commits.

3 lines of code changed in 1 file:

perost 2010-01-21 09:45 Rev.: 4835

Fixed testcase EqualityEquations, that depended on an 'not implemented' message
that has been removed.

1 lines of code changed in 1 file:

adrpo 2010-01-21 04:39 Rev.: 4834

- added all Elementary models to the testsuite/libraries/multibody/ directory:
- all of them but one (ThreeSprings.mos) can flatten
- most of them can also be checked for balancing and they are balanced
- checkModel cannot be run on these:
FreeBody.mos
LineForceWithTwoMasses.mos
PointGravity.mos
PointGravityWithPointMasses2.mos
RollingWheelSetDriving.mos
RollingWheelSetPulling.mos
SpringDamperSystem.mos
SpringMassSystem.mos
SpringWithMass.mos
as we don't support implicit equations in if branches.
- actually we should be able to run checkModel on these too if we constant evaluate the
parameters in the condition of each if equation and select the corresponding branch
but we don't support Evaluate=true annotation yet.
- these tests take some time to run ~15 minutes so we
should really make the compiler run faster on them.
- the models: PendulumWithSpringDamper.mos, SpringDamperSystem.mos, SpringMassSystem.mos
display errors but they flatten/check fine. these errors are on my todo list.

56405 lines of code changed in 18 files:

adrpo 2010-01-21 04:29 Rev.: 4833

- added testsuite/libraries/multibody/rtest script

2 lines of code changed in 1 file:

adrpo 2010-01-21 04:28 Rev.: 4832

- call the libraries tests from testsuite/Makefile
- updated testsuite/mosfiles/EqualityEquations.mos test

19 lines of code changed in 2 files:

adrpo 2010-01-21 04:26 Rev.: 4831

- new testsuite/libraries directory for storing library tests
- new testsuite/libraries/multibody directory for MultiBody tests
- Makefiles for running library tests
- added a total model for the MultiBody.Examples.Elementary models: _ElementaryTotal.mo
- added a example test: _UseThisTestToMakeANewOne.mos

53 lines of code changed in 4 files:

adrpo 2010-01-21 04:24 Rev.: 4830

- added testlibraries makefile target

3 lines of code changed in 1 file:

adrpo 2010-01-21 04:23 Rev.: 4829

- add a space between the comment and the variable

5 lines of code changed in 1 file:

perost 2010-01-20 17:27 Rev.: 4828

Tuple-tuple assignments are now broken up into separate equations in DAELow, so
that the number of equations get counted correctly.

46 lines of code changed in 1 file:

sjoelund.se 2010-01-20 16:49 Rev.: 4827

- SCode.printClassStr: Added restriction to the generated string (useful when debugging)

3 lines of code changed in 1 file:

ricli576 2010-01-20 16:49 Rev.: 4826

Cleanup.

- Removed unused uniontypes, records, and functions
- Replaced some type aliases with real types
- Restructured the order of things in the file
- Added some comments

11900 lines of code changed in 7 files:

perost 2010-01-20 14:42 Rev.: 4825

Added case for Real iterators in elabCallReduction2.

14 lines of code changed in 1 file:

perost 2010-01-20 14:08 Rev.: 4824

Changed how elaboration of multiple iterators in array constructors are handled
(multiple iterators give multi-dimensional arrays, not a flattened
one-dimensional array).

57 lines of code changed in 1 file:

perost 2010-01-20 13:34 Rev.: 4823

Extended testcase VectorizeExtendedType to also test bug #1138.

7 lines of code changed in 1 file:

perost 2010-01-20 12:01 Rev.: 4822

Changed some function prototypes to be partial (ReductionOperator in Ceval).

3 lines of code changed in 1 file:

adrpo 2010-01-20 09:58 Rev.: 4821

- 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

- tests go 100% plus most of the Elementary models now work (only 1 fails now).
- however, modifyOuter.mo display a different error message now. to be fixed!

490 lines of code changed in 10 files:

adrpo 2010-01-20 09:43 Rev.: 4820

- display the annoying DAELow.lower2 errors only when given the +d=failtrace flag.

3 lines of code changed in 1 file:

adrpo 2010-01-20 09:42 Rev.: 4819

- 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.

46 lines of code changed in 1 file:

adrpo 2010-01-20 09:39 Rev.: 4818

- fixes to DAEUtil.selectBranches to select until a non-constant boolean is found.

23 lines of code changed in 1 file:

adrpo 2010-01-20 09:38 Rev.: 4817

- moved Static import to the protected section

1 lines of code changed in 1 file:

adrpo 2010-01-20 09:33 Rev.: 4816

- added HashTable to hold the instance hierarchy (IH) used during Inst.
The new IH is called InstHierarchy.

537 lines of code changed in 1 file:

adrpo 2010-01-20 09:29 Rev.: 4815

- minor text editing, updating 2009->2010

114 lines of code changed in 1 file:

adrpo 2010-01-20 09:23 Rev.: 4814

- set the external flag that signals the presence of
inner/outer definitions in the translated model.

27 lines of code changed in 1 file:

adrpo 2010-01-20 09:21 Rev.: 4813

- print inner/outer prefix in SCode.unparseElementStr as it
gives more information during displaying of error messages.

6 lines of code changed in 1 file:

adrpo 2010-01-20 09:20 Rev.: 4812

- 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.

55 lines of code changed in 2 files:

adrpo 2010-01-20 09:08 Rev.: 4811

- added isInner and isOuter functions

33 lines of code changed in 1 file:

adrpo 2010-01-20 07:31 Rev.: 4810

- 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

61 lines of code changed in 3 files:

ricli576 2010-01-19 17:28 Rev.: 4809

Got rid of listLength* since listLength is now supported in Susan.

45 lines of code changed in 5 files:

ricli576 2010-01-19 16:36 Rev.: 4808

Removed unused code.

2 lines of code changed in 1 file:

ricli576 2010-01-19 16:26 Rev.: 4807

Changed the way numOutVars and numInVars are calculated.

12 lines of code changed in 1 file:

ricli576 2010-01-19 16:04 Rev.: 4806

Removed unused methods.

1 lines of code changed in 1 file:

sjoelund.se 2010-01-19 15:22 Rev.: 4805

- Static.mo: Fixed parsing problem (RML accepted it, but the OpenModelica parser gave a proper error).

1 lines of code changed in 1 file:

ricli576 2010-01-19 14:54 Rev.: 4804

Fail if inverse algorithm for single variable.

51 lines of code changed in 1 file:

perost 2010-01-18 18:23 Rev.: 4803

Implemented constant evaluation of reduction functions max, min and sum.

134 lines of code changed in 1 file:

sjoelund.se 2010-01-18 16:32 Rev.: 4802

- Updated modelica_java.jar

0 lines of code changed in 1 file:

sjoelund.se 2010-01-18 15:35 Rev.: 4801

Java 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).

87 lines of code changed in 16 files:

stebr461 2010-01-18 14:41 Rev.: 4800

-fixed a bug with inlining of array functions

71 lines of code changed in 3 files:

sjoelund.se 2010-01-18 13:48 Rev.: 4799

Java 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.

5 lines of code changed in 4 files:

stebr461 2010-01-18 13:04 Rev.: 4798

- Fixed the Inline6 test case

5 lines of code changed in 1 file:

sjoelund.se 2010-01-18 12:20 Rev.: 4797

Java 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.

55 lines of code changed in 9 files:

sjoelund.se 2010-01-18 11:39 Rev.: 4796

- Added Dump.mo changes missing from r4793

1 lines of code changed in 1 file:

adrpo 2010-01-18 11:14 Rev.: 4795

- changed DAE.convertInlineTypeToBool to DAEUtil.convertInlineTypeToBool
as there are no functions in DAE.mo!

1 lines of code changed in 1 file:

sjoelund.se 2010-01-18 11:04 Rev.: 4794

Changes 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.

67 lines of code changed in 7 files:

sjoelund.se 2010-01-18 11:03 Rev.: 4793

- Added getAstAsCorbaString(filename) API call.
+ It prints the string to file and returns a boolean instead of a really long string.

23 lines of code changed in 1 file:

bjozac 2010-01-18 10:27 Rev.: 4792

Some restructure of code, moved functions from DAE to DAEUtil (inline functions)

15 lines of code changed in 3 files:

petar 2010-01-18 10:24 Rev.: 4791

-Forgot to set baseline for test in ForIterator2.mo

8 lines of code changed in 1 file:

petar 2010-01-18 10:09 Rev.: 4790

- Forgot to add ForIterator2.mo to makefile, see previous checkin.

1 lines of code changed in 1 file:

petar 2010-01-18 10:08 Rev.: 4789

-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

161 lines of code changed in 6 files:

stebr461 2010-01-18 09:58 Rev.: 4788

- Added a testcase for inline functions with array arguments, currently in failingtests

31 lines of code changed in 2 files:

perost 2010-01-15 15:30 Rev.: 4787

Cleaned up the handling of for loop iterators in Cevalfunc, Inst and Static a bit.

Added some more comments to the new array constructor code in Static.

87 lines of code changed in 4 files:

bjozac 2010-01-15 15:24 Rev.: 4786

Fixed "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.

4 lines of code changed in 1 file:

bjozac 2010-01-15 14:05 Rev.: 4785

Some code cleanups.

18 lines of code changed in 2 files:

ricli576 2010-01-15 12:23 Rev.: 4784

Fixed bug in generation of init_fixed array: some variables should be marked as
not fixed if they have initial equations.

30171 lines of code changed in 3 files:

ppriv 2010-01-14 23:54 Rev.: 4783

- 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

44248 lines of code changed in 22 files:

perost 2010-01-14 17:51 Rev.: 4782

Added testcase for vectorization of types extended from base types.

29 lines of code changed in 2 files:

perost 2010-01-14 17:50 Rev.: 4781

Fixed vectorization of types extended from base types.

23 lines of code changed in 1 file:

ricli576 2010-01-14 14:57 Rev.: 4779

- Generate record declarations
- Generate CREF_QUAL
- Fixed bug in type generation: generate struct instead of modelica_struct

1138 lines of code changed in 4 files:

ricli576 2010-01-14 12:06 Rev.: 4778

- 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

2947 lines of code changed in 5 files:

adrpo 2010-01-14 11:19 Rev.: 4777

- 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

7 lines of code changed in 3 files:

perost 2010-01-14 11:04 Rev.: 4776

Added testcase for array constructors.

135 lines of code changed in 2 files:

perost 2010-01-14 10:21 Rev.: 4775

Implemented support for multiple iterators in array constructors.

165 lines of code changed in 1 file:

perost 2010-01-14 10:13 Rev.: 4774

Fixed Exp.makeSum so that it works correctly if the second expression is zero.

17 lines of code changed in 1 file:

adrpo 2010-01-14 09:20 Rev.: 4773

- added test for instance function flattening
- made the display in rtest a bit better

106 lines of code changed in 3 files:

sjoelund.se 2010-01-13 17:48 Rev.: 4772

- 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.

852 lines of code changed in 48 files:

sjoelund.se 2010-01-13 17:38 Rev.: 4771

- Fix Dump.mo asCorbaString for FOR_ITER_FARG, SUBSCRIPT and CREF_QUAL.

5 lines of code changed in 1 file:

ricli576 2010-01-13 09:43 Rev.: 4770

- Implemented value blocks
- Fixed bug in wild assign
- Added special case for builtin max

568 lines of code changed in 5 files:

sjoelund.se 2010-01-12 15:53 Rev.: 4769

- 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

1026 lines of code changed in 27 files:

ricli576 2010-01-12 15:18 Rev.: 4768

- 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

1760 lines of code changed in 5 files:

sjoelund.se 2010-01-11 18:07 Rev.: 4767

- Dump.mo: Fixed asCorbaString output for Absyn.ANNOTATION and Absyn.SUB.

5 lines of code changed in 1 file:

sjoelund.se 2010-01-11 18:06 Rev.: 4766

- Util.mo: Added missing replaceable type X subtypeof Any where missing.

7 lines of code changed in 1 file:

ricli576 2010-01-11 16:58 Rev.: 4765

Added genDiscrete to context and used it (set to false) in one place.

501 lines of code changed in 5 files:

sjoelund.se 2010-01-11 12:27 Rev.: 4764

- 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).

11 lines of code changed in 1 file:

perost 2010-01-11 10:36 Rev.: 4763

Implemented built-in functions div, mod and rem. rem might not be correct yet
though.

29 lines of code changed in 3 files:

adrpo 2010-01-11 05:41 Rev.: 4762

Connect.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.

DAE.mo
- added specialized function to create the origin information data.
- split of type information origin and model origin in DAE.ElementSource
- connect origin information is now a list as when connecting more than
two components together you need it.
- renamed some of the functions adding/getting information from DAE.ElementSource

ConnectionGraph.mo
- got rid of connection DAE as is already generated from the connection set.
- now a branch only contains the connect that generated it and the equation
with the constraintEquality function
- when running the breaking algorithm based on the origin information we
should remove the DAE equations added to the DAE from the connection sets
and add the equalityConstraint equation. this is on the TODO list.

Other .mo files
- adapted to changes in DAE.mo
- replaced list<Ty1, Ty2> with correct list<tuple<Ty1, Ty2>
I should update MetaModelica and OMC to detect these.
- minor editing of comments.

1004 lines of code changed in 14 files:

perost 2010-01-10 18:46 Rev.: 4761

Fixed expansion of array constructors on the form 'r[i] for i in 1:n'.

9 lines of code changed in 1 file:

adrpo 2010-01-08 20:16 Rev.: 4760

- added DAE.ElementSource to all records in DAE.Element.
- changed all the models accordingly.

2151 lines of code changed in 21 files:

adrpo 2010-01-08 18:13 Rev.: 4759

- 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!

116 lines of code changed in 1 file:

ricli576 2010-01-08 17:46 Rev.: 4758

Fixed so a few more external functions can be generated.

1344 lines of code changed in 5 files:

sjoelund.se 2010-01-08 16:49 Rev.: 4757

- SCode.restrString: Added metarecord and uniontype restrictions.

2 lines of code changed in 1 file:

bjozac 2010-01-08 15:52 Rev.: 4756

added rollback on error messages generated inside cevalfunc function.

11 lines of code changed in 1 file:

ricli576 2010-01-08 15:45 Rev.: 4755

Refactored templates: moved things around and renamed some templates.

3746 lines of code changed in 3 files:

ricli576 2010-01-08 12:25 Rev.: 4754

- Added new function function_updateDepend needed by runtime
- Just a copy of function_updateDependents (for now)
- Implemented basic infrastructure for external functions

3762 lines of code changed in 5 files:

petar 2010-01-08 10:06 Rev.: 4753

-Fixed bug (really fixed this time ;) on trimChar. Moved it to platform independent impl. first in file.

31 lines of code changed in 1 file:

petar 2010-01-07 11:43 Rev.: 4752

-Forgot to change linux implemenation for trimChar bugfix.

3 lines of code changed in 1 file:

sjoelund.se 2010-01-07 10:37 Rev.: 4751

- 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).

2017 lines of code changed in 10 files:

petar 2010-01-07 10:22 Rev.: 4750

-Disabled balancedChecking since it depends on backend.

12 lines of code changed in 1 file:

adrpo 2010-01-07 03:32 Rev.: 4749

- 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.

290 lines of code changed in 1 file:

adrpo 2010-01-07 03:23 Rev.: 4748

- added a multiplication function for a list of optional integers.

22 lines of code changed in 1 file:

adrpo 2010-01-07 03:22 Rev.: 4747

- added commented-out debug_show_depth(2); for faster debugging due
to only 2 level display for variables.

2 lines of code changed in 1 file:

adrpo 2010-01-07 03:21 Rev.: 4746

- minor comment in elabModValue

5 lines of code changed in 1 file:

adrpo 2010-01-07 03:20 Rev.: 4745

- 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).

37 lines of code changed in 1 file:

adrpo 2010-01-07 03:17 Rev.: 4744

- 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

85 lines of code changed in 1 file:

adrpo 2010-01-07 03:14 Rev.: 4743

- renamed DAEUtil.removeEquations to DAEUtil.splitDAEIntoVarsAndEquations
as is a better name. Better use of the local variables in this function.

96 lines of code changed in 1 file:

adrpo 2010-01-07 03:12 Rev.: 4742

- minor text alignment

6 lines of code changed in 1 file:

adrpo 2010-01-07 03:10 Rev.: 4741

- dump more information during connection graph collection and braking.
- disable the connection braking for now.

74 lines of code changed in 1 file:

adrpo 2010-01-07 03:06 Rev.: 4740

- minor changes and the possibility to dump the DAELow representation during checkModel

5 lines of code changed in 1 file:

adrpo 2010-01-07 03:05 Rev.: 4739

- use failure(cevalIsExternalObjectConstructor(cache,funcpath,env))
instead of (cache,false) = Static.isExternalObjectFunction(cache,env,funcpath);
to guard against ceval of external functions.

5 lines of code changed in 1 file:

adrpo 2010-01-07 03:03 Rev.: 4738

- replace Face.INNER/OUTER with INSIDE and OUTSIDE to not create confusion
- renamed function getInner* -> getInside* and getOuter* -> getOutside*
- rewrote some of the comments.

58 lines of code changed in 1 file:

sjoelund.se 2010-01-06 13:28 Rev.: 4737

- 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).

3 lines of code changed in 2 files:

sjoelund.se 2010-01-06 09:18 Rev.: 4736

- Added systemimplmisc.cpp to Linux makefiles.
- Fixed the testcases in the testsuite that assumed floor() returns an integer.

4 lines of code changed in 5 files:

wbraun 2010-01-05 17:51 Rev.: 4735

fixed some bugs, so that all tests from test-suite should pass.

23 lines of code changed in 3 files:

petar 2010-01-05 17:15 Rev.: 4734

-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 ;)

85 lines of code changed in 13 files:

bjozac 2010-01-05 10:29 Rev.: 4733

Added a strip subs function for crefs.

21 lines of code changed in 1 file:

ricli576 2010-01-04 17:57 Rev.: 4732

Implemented more non-linear equations.

56 lines of code changed in 4 files:

wbraun 2010-01-04 17:00 Rev.: 4731

- DAELow.mo:
+ add Expressions of when condition to IncidenceMatrix to sort them in right order.

- Codegen.mo
+ Modified function generateExpression to generate other Relation expressions.
+ Added modified function additinal so that the current event management continue
unaffected.

- SimCodegen.mo:
+ Added function generateUpdateDepended to generate new function_updateDepend,
which is for calculating all equation(also when) in sorting order uses in EventHandle.
+ Added modified functions additinal so that the current event management continue
unaffected.

- simulation_runtime.*:
+ added runge-kutta integration Method
+ some additions for event handling with euler and runge-kutta

- simulation_events.*:
+ fixes some issues

- solver_euler.*:
+ Revision of the euler and the event handling for the euler
+ removed some old commented out debug prints.

1369 lines of code changed in 9 files:

ricli576 2010-01-04 16:35 Rev.: 4730

Generate mixed systems.

1544 lines of code changed in 5 files:

December 2009 »

Generated by StatSVN 0.7.0