Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001213/0.001213, allocations: 182.2 kB / 13.64 MB, free: 1.676 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.636/1.636, allocations: 194.2 MB / 208.4 MB, free: 6.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001671/0.00167, allocations: 120.7 kB / 253.5 MB, free: 9.59 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.552e-05/4.567e-05, allocations: 4 kB / 304.9 MB, free: 29.77 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09272, allocations: 44.5 MB / 349.4 MB, free: 1.258 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3759/0.4687, allocations: 106.8 MB / 456.3 MB, free: 4.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.469, allocations: 89.39 kB / 456.3 MB, free: 4.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5773/1.046, allocations: 127.3 MB / 0.57 GB, free: 72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.272e-06/1.046, allocations: 0 / 0.57 GB, free: 72 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.00036/1.047, allocations: 141.6 kB / 0.5701 GB, free: 71.99 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2355 * Number of variables: 2355 Notification: Performance of Generate backend data structure: time 0.02413/1.071, allocations: 7.069 MB / 0.577 GB, free: 69.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.071, allocations: 11.16 kB / 0.5771 GB, free: 69.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01279/1.084, allocations: 2.768 MB / 0.5798 GB, free: 68.97 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01754/1.101, allocations: 7.493 MB / 0.5871 GB, free: 68.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004335/1.102, allocations: 0.5239 MB / 0.5876 GB, free: 68.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002995/1.105, allocations: 0.6853 MB / 0.5883 GB, free: 68.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03553/1.14, allocations: 17.13 MB / 0.605 GB, free: 62.06 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002395/1.141, allocations: 75.97 kB / 0.6051 GB, free: 62.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001208/1.142, allocations: 326.3 kB / 0.6054 GB, free: 61.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001819/1.144, allocations: 1.507 MB / 0.6068 GB, free: 61.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02971/1.173, allocations: 14.32 MB / 0.6208 GB, free: 51.64 MB / 394.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3507/1.524, allocations: 73.28 MB / 0.6924 GB, free: 68.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02221/1.546, allocations: 7.591 MB / 0.6998 GB, free: 68.25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00544/1.552, allocations: 3.929 MB / 0.7036 GB, free: 68.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02305/1.575, allocations: 15.93 MB / 0.7192 GB, free: 65.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.424e-05/1.575, allocations: 59.39 kB / 0.7193 GB, free: 65.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=261): time 4.618e-06/1.575, allocations: 3.312 kB / 0.7193 GB, free: 65.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=335): time 0.1038/1.679, allocations: 38.76 MB / 0.7571 GB, free: 57.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02076/1.7, allocations: 14.87 MB / 0.7716 GB, free: 49.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008428/1.708, allocations: 5.02 MB / 0.7765 GB, free: 47.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008463/1.709, allocations: 73.7 kB / 0.7766 GB, free: 47.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002671/1.712, allocations: 4.74 MB / 0.7812 GB, free: 43.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001691/1.713, allocations: 1.255 MB / 0.7825 GB, free: 42.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004952/1.714, allocations: 180.5 kB / 0.7826 GB, free: 42.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003776/1.714, allocations: 0.6899 MB / 0.7833 GB, free: 41.54 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004962/1.719, allocations: 4.032 MB / 0.7872 GB, free: 37.91 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007375/1.727, allocations: 9.231 MB / 0.7963 GB, free: 26.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00888/1.736, allocations: 6.043 MB / 0.8022 GB, free: 22.04 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001644/1.736, allocations: 52 kB / 0.8022 GB, free: 21.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.0426/1.778, allocations: 17.79 MB / 0.8196 GB, free: 7.82 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001264/1.779, allocations: 84 kB / 0.8197 GB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002237/1.779, allocations: 180 kB / 0.8198 GB, free: 7.562 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01523/1.794, allocations: 4.988 MB / 0.8247 GB, free: 2.805 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007121/1.801, allocations: 1.992 MB / 0.8266 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3271/2.128, allocations: 37.03 MB / 0.8628 GB, free: 76.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009059/2.137, allocations: 0.5466 MB / 0.8633 GB, free: 76.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/2.139, allocations: 0.5574 MB / 0.8639 GB, free: 76.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1047): * Single equations (assignments): 1036 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 38,(2,100.0%) 23,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 23} Notification: Performance of prepare postOptimizeDAE: time 0.001476/2.141, allocations: 0.7891 MB / 0.8647 GB, free: 76.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001043/2.142, allocations: 0.5326 MB / 0.8652 GB, free: 76.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0202/2.162, allocations: 10.4 MB / 0.8753 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.09e-05/2.162, allocations: 50.17 kB / 0.8754 GB, free: 76.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01839/2.18, allocations: 9.478 MB / 0.8846 GB, free: 73.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-05/2.18, allocations: 15.75 kB / 0.8847 GB, free: 73.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04391/2.224, allocations: 23.48 MB / 0.9076 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-05/2.224, allocations: 7.469 kB / 0.9076 GB, free: 64.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002573/2.227, allocations: 445.1 kB / 0.908 GB, free: 64.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01215/2.239, allocations: 3.816 MB / 0.9117 GB, free: 63.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008576/2.24, allocations: 65.27 kB / 0.9118 GB, free: 63.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0347/2.275, allocations: 27.38 MB / 0.9385 GB, free: 49.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01541/2.29, allocations: 12.11 MB / 0.9504 GB, free: 38.46 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02917/2.319, allocations: 15.01 MB / 0.965 GB, free: 25.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00553/2.325, allocations: 1.154 MB / 0.9662 GB, free: 24.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001797/2.327, allocations: 61.39 kB / 0.9662 GB, free: 24.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003938/2.331, allocations: 220.3 kB / 0.9664 GB, free: 24.52 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000876/2.332, allocations: 249 kB / 0.9667 GB, free: 24.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002917/2.332, allocations: 91.7 kB / 0.9667 GB, free: 24.28 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008853/2.341, allocations: 3.503 MB / 0.9702 GB, free: 21.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/2.341, allocations: 3.938 kB / 0.9702 GB, free: 21.02 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01867/2.36, allocations: 2.029 MB / 0.9722 GB, free: 19.01 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.R_rel.w[2],joint.constantTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (203): * Single equations (assignments): 195 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 12,(3,100.0%) 35,(3,100.0%) 25} * Non-linear torn systems: 1 {3 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.002314/2.362, allocations: 264 kB / 0.9724 GB, free: 18.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02211/2.384, allocations: 10.65 MB / 0.9828 GB, free: 8.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-05/2.384, allocations: 4 kB / 0.9828 GB, free: 8.398 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008412/2.393, allocations: 4.178 MB / 0.9869 GB, free: 4.164 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007235/2.4, allocations: 0.7488 MB / 0.9876 GB, free: 3.457 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2743/2.674, allocations: 13.62 MB / 1.001 GB, free: 87.23 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009145/2.684, allocations: 5.107 MB / 1.006 GB, free: 86.38 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009055/2.693, allocations: 2.738 MB / 1.009 GB, free: 86.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/2.694, allocations: 356.7 kB / 1.009 GB, free: 86.31 MB / 442.7 MB Notification: Performance of SimCode: time 9.82e-07/2.694, allocations: 1.062 kB / 1.009 GB, free: 86.31 MB / 442.7 MB Notification: Performance of Templates: time 0.1371/2.831, allocations: 88.62 MB / 1.095 GB, free: 55.94 MB / 442.7 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)