Here the solution (it originates from Martin Sjölund of OM) wich I'm happy to share:
OK so I basically followed the following steps on my 64bit Ubuntu 13.10 bit machine.
Note: I got into trouble trying to get Dymola running with 32bit version of
#!/usr/bin/env python | |
from __future__ import with_statement | |
from BeautifulSoup import BeautifulSoup | |
import subprocess as sub | |
import re | |
import glob | |
import sys | |
import os | |
os.chdir('/tmp/MSLrelease/Modelica_aster/Modelica aster/Resources/help/') # this is needed for check_local_files() |
#!/bin/bash | |
OMLIBRARY="/tmp/MSLrelease/Modelica_aster/Modelica aster/Resources/help/" | |
cd "$OMLIBRARY" | |
rm -f *.png *.pdf FindFiles.log | |
grep -v http:// *.html | grep -v [Mm][Oo][Dd][Ee][Ll][Ii][Cc][Aa]:// | egrep -o "[A-Za-z_0-9%.: -]*/[A-Za-z_0-9%.:/ -]*\.(png|jpg|pdf)" | cut -d: -f2- | sort -u | tr -d \" > tmp | |
for f in `cat tmp`; do | |
f=`echo $f | sed 's/%20/ /'` | |
if test -f "$OMLIBRARY/$f"; then | |
## This one will be needed/adjusted for standalone documentation | |
`echo $f` |
model test | |
annotation (Documentation(info="<html> | |
<pre> | |
A = [1,2,3; | |
3,4,5; | |
2,1,4]; | |
b = {10,22,12}; | |
x = Matrices.solve(A,b); | |
Matrices.eigenValues(A); |
*.pyc |
*.pyc |
*.pyc |
Here the solution (it originates from Martin Sjölund of OM) wich I'm happy to share:
OK so I basically followed the following steps on my 64bit Ubuntu 13.10 bit machine.
Note: I got into trouble trying to get Dymola running with 32bit version of
#!/usr/bin/env python | |
"""strip outputs from an IPython Notebook | |
Opens a notebook, strips its output, and writes the outputless version to the original file. | |
Useful mainly as a git filter or pre-commit hook for users who don't want to track output in VCS. | |
This does mostly the same thing as the `Clear All Output` command in the notebook UI. | |
(based on: https://gist.github.com/minrk/6176788) |
For equation | |
controller.BooleanExpression1.y = time > 2500; | |
found in class Modelica.Blocks.Interfaces, /home/dietmarw/.workspace/gh-modelica/Modelica/Modelica/Blocks/Sources.mo at line 82, and used in component controller.BooleanExpression1. | |
The expression "time > 2500" will generate a state event and not a time event. | |
This is not an error, but it slightly decreases performance and is unlikely to be intentional. | |
The only supported variants for time-events are "time>=expr" and "time<expr", where expr is a discrete-time expression. | |
You can turn off this warning by setting Advanced.PedanticModelica=false. | |
For equation |
I hereby claim:
To claim this, I am signing this object: