Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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.1_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.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001062/0.001062, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.299/1.299, allocations: 170.7 MB / 178.7 MB, free: 15.58 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001703/0.001703, allocations: 103.5 kB / 218 MB, free: 8.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.441e-05/1.443e-05, allocations: 0 / 262.2 MB, free: 26.39 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06957/0.0696, allocations: 38.78 MB / 301 MB, free: 3.609 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3199/0.3895, allocations: 100.4 MB / 401.4 MB, free: 368 kB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.3899, allocations: 86.02 kB / 401.4 MB, free: 324 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6133/1.003, allocations: 124.3 MB / 0.5134 GB, free: 71.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.843e-06/1.003, allocations: 4 kB / 0.5134 GB, free: 71.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005914/1.004, allocations: 142.2 kB / 0.5135 GB, free: 71.44 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2354 * Number of variables: 2354 Notification: Performance of Generate backend data structure: time 0.02403/1.028, allocations: 7.065 MB / 0.5204 GB, free: 68.26 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.028, allocations: 6.781 kB / 0.5204 GB, free: 68.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01307/1.041, allocations: 2.767 MB / 0.5231 GB, free: 67.42 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/1.058, allocations: 7.482 MB / 0.5304 GB, free: 60.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003158/1.058, allocations: 228 kB / 0.5307 GB, free: 60.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/1.061, allocations: 419.7 kB / 0.5311 GB, free: 60.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01659/1.078, allocations: 10.08 MB / 0.5409 GB, free: 50.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02678/1.105, allocations: 14.59 MB / 0.5551 GB, free: 34.32 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002678/1.105, allocations: 79.19 kB / 0.5552 GB, free: 34.24 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001243/1.106, allocations: 40 kB / 0.5553 GB, free: 34.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001858/1.108, allocations: 1.499 MB / 0.5567 GB, free: 32.71 MB / 346.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.2757/1.384, allocations: 72.59 MB / 0.6276 GB, free: 26.89 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/1.389, allocations: 4.809 MB / 0.6323 GB, free: 26.23 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003378/1.393, allocations: 3.529 MB / 0.6358 GB, free: 26.19 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007455/1.394, allocations: 0.7006 MB / 0.6364 GB, free: 25.62 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/1.394, allocations: 74.62 kB / 0.6365 GB, free: 25.58 MB / 346.7 MB Notification: Performance of pre-optimization done (n=270): time 5.32e-06/1.394, allocations: 0 / 0.6365 GB, free: 25.58 MB / 346.7 MB Notification: Performance of matching and sorting (n=353): time 0.1037/1.497, allocations: 41.61 MB / 0.6772 GB, free: 13.37 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/1.497, allocations: 165.3 kB / 0.6773 GB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/1.503, allocations: 4.455 MB / 0.6817 GB, free: 9.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006832/1.504, allocations: 25.7 kB / 0.6817 GB, free: 9.559 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001972/1.506, allocations: 4.751 MB / 0.6863 GB, free: 5.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00133/1.507, allocations: 1.281 MB / 0.6876 GB, free: 4.102 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004243/1.507, allocations: 0 / 0.6876 GB, free: 4.102 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003535/1.508, allocations: 0.6999 MB / 0.6883 GB, free: 3.508 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004775/1.513, allocations: 4.045 MB / 0.6922 GB, free: 0 / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009311/1.522, allocations: 9.317 MB / 0.7013 GB, free: 4.809 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008616/1.531, allocations: 6.071 MB / 0.7072 GB, free: 15.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-05/1.531, allocations: 56 kB / 0.7073 GB, free: 15.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.039/1.57, allocations: 17.39 MB / 0.7243 GB, free: 1.668 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001366/1.57, allocations: 88 kB / 0.7244 GB, free: 1.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002633/1.57, allocations: 188 kB / 0.7245 GB, free: 1.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.231/1.801, allocations: 5.381 MB / 0.7298 GB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00881/1.81, allocations: 2.083 MB / 0.7318 GB, free: 86.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04161/1.852, allocations: 35.51 MB / 0.7665 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008573/1.86, allocations: 414.3 kB / 0.7669 GB, free: 74.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002398/1.863, allocations: 0.5882 MB / 0.7675 GB, free: 74.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 862 * 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 (1089): * Single equations (assignments): 1078 * 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,(2,100.0%) 13,(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.002395/1.865, allocations: 0.5854 MB / 0.768 GB, free: 74.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001185/1.866, allocations: 0.4999 MB / 0.7685 GB, free: 74.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02121/1.887, allocations: 10.42 MB / 0.7787 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.822e-05/1.888, allocations: 46.27 kB / 0.7788 GB, free: 70.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01783/1.905, allocations: 8.992 MB / 0.7875 GB, free: 67.76 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.837e-05/1.906, allocations: 17.44 kB / 0.7876 GB, free: 67.76 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03933/1.945, allocations: 22.72 MB / 0.8097 GB, free: 54.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-05/1.945, allocations: 7.891 kB / 0.8097 GB, free: 54.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002569/1.948, allocations: 480.3 kB / 0.8102 GB, free: 53.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01242/1.96, allocations: 3.795 MB / 0.8139 GB, free: 50.32 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000771/1.961, allocations: 19.98 kB / 0.8139 GB, free: 50.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02988/1.991, allocations: 25.97 MB / 0.8393 GB, free: 24.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01364/2.004, allocations: 11.63 MB / 0.8506 GB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2373/2.242, allocations: 15.35 MB / 0.8656 GB, free: 90.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003041/2.245, allocations: 1.121 MB / 0.8667 GB, free: 90.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008672/2.246, allocations: 14.47 kB / 0.8667 GB, free: 90.34 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003225/2.249, allocations: 177.9 kB / 0.8669 GB, free: 90.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007831/2.25, allocations: 255.6 kB / 0.8672 GB, free: 90.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002942/2.25, allocations: 99.17 kB / 0.8673 GB, free: 90.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005665/2.256, allocations: 2.983 MB / 0.8702 GB, free: 90.16 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.256, allocations: 0.8438 kB / 0.8702 GB, free: 90.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01161/2.267, allocations: 1.828 MB / 0.872 GB, free: 90.16 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 ($STATESET1.x,$STATESET0.x,joint.phi,joint.R_rel.w[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (221): * Single equations (assignments): 213 * 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.001246/2.269, allocations: 223.8 kB / 0.8722 GB, free: 90.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01489/2.283, allocations: 10.41 MB / 0.8823 GB, free: 89.18 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.161e-05/2.284, allocations: 0.875 kB / 0.8823 GB, free: 89.18 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005048/2.289, allocations: 4.159 MB / 0.8864 GB, free: 88.62 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00379/2.292, allocations: 0.6422 MB / 0.887 GB, free: 88.59 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Joints.mo:260:5-270:3:writable] Warning: Variable joint.phi has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02447/2.317, allocations: 13.51 MB / 0.9002 GB, free: 85.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007318/2.324, allocations: 5.123 MB / 0.9052 GB, free: 84.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.008117/2.332, allocations: 2.841 MB / 0.908 GB, free: 84.13 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001246/2.334, allocations: 350.4 kB / 0.9083 GB, free: 84.12 MB / 394.7 MB Notification: Performance of SimCode: time 5.91e-07/2.334, allocations: 4 kB / 0.9083 GB, free: 84.12 MB / 394.7 MB Notification: Performance of Templates: time 0.1237/2.457, allocations: 83.33 MB / 0.9897 GB, free: 22.97 MB / 394.7 MB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)