Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|bodyOfJoint.body.w_a.2.|joint.phi",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.694/1.694, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.95e-05/2.97e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2106, allocations: 38.76 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1525/0.3632, allocations: 101 MB / 364.8 MB, free: 4.621 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/0.3635, allocations: 83.95 kB / 364.9 MB, free: 4.539 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6122/0.9757, allocations: 127.3 MB / 492.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.652e-06/0.9757, allocations: 4 kB / 492.2 MB, free: 14.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004503/0.9762, allocations: 144 kB / 492.3 MB, free: 14.01 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.02781/1.004, allocations: 7.071 MB / 499.4 MB, free: 6.863 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.972e-05/1.004, allocations: 12.03 kB / 499.4 MB, free: 6.852 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01684/1.021, allocations: 2.764 MB / 0.4904 GB, free: 4.074 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2349/1.256, allocations: 7.476 MB / 0.4977 GB, free: 41.81 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000589/1.256, allocations: 0.5157 MB / 0.4982 GB, free: 41.79 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002985/1.259, allocations: 0.6946 MB / 0.4989 GB, free: 41.79 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04479/1.304, allocations: 17.05 MB / 0.5155 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000417/1.305, allocations: 77.31 kB / 0.5156 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002629/1.307, allocations: 330.1 kB / 0.5159 GB, free: 38.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/1.31, allocations: 1.496 MB / 0.5174 GB, free: 38.28 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03729/1.348, allocations: 14.08 MB / 0.5311 GB, free: 38.25 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.1014/1.449, allocations: 73.2 MB / 0.6026 GB, free: 4.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02926/1.478, allocations: 7.598 MB / 0.61 GB, free: 15.38 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007607/1.486, allocations: 3.932 MB / 0.6139 GB, free: 11.76 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2553/1.741, allocations: 16.24 MB / 0.6297 GB, free: 71.38 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.344e-05/1.741, allocations: 64.14 kB / 0.6298 GB, free: 71.34 MB / 378.7 MB Notification: Performance of pre-optimization done (n=261): time 6.881e-06/1.741, allocations: 0 / 0.6298 GB, free: 71.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=335): time 0.1483/1.89, allocations: 39.92 MB / 0.6688 GB, free: 66.87 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02912/1.919, allocations: 15.29 MB / 0.6837 GB, free: 63.73 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01017/1.929, allocations: 5.023 MB / 0.6886 GB, free: 62.35 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007552/1.93, allocations: 72.77 kB / 0.6887 GB, free: 62.28 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003378/1.933, allocations: 4.746 MB / 0.6933 GB, free: 58.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001865/1.935, allocations: 1.254 MB / 0.6945 GB, free: 58.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009938/1.936, allocations: 182 kB / 0.6947 GB, free: 57.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0006175/1.937, allocations: 0.6901 MB / 0.6954 GB, free: 57.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008753/1.946, allocations: 4.266 MB / 0.6996 GB, free: 55.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01162/1.957, allocations: 9.426 MB / 0.7088 GB, free: 47.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01132/1.969, allocations: 6.28 MB / 0.7149 GB, free: 43.16 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001322/1.969, allocations: 52 kB / 0.7149 GB, free: 43.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.04629/2.015, allocations: 17.78 MB / 0.7323 GB, free: 29.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/2.015, allocations: 80 kB / 0.7324 GB, free: 28.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001941/2.016, allocations: 184 kB / 0.7326 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02018/2.036, allocations: 5 MB / 0.7374 GB, free: 25.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008941/2.045, allocations: 2.022 MB / 0.7394 GB, free: 23.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.301/2.346, allocations: 37.16 MB / 0.7757 GB, free: 55.63 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0216/2.367, allocations: 0.633 MB / 0.7763 GB, free: 55.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003333/2.371, allocations: 0.5716 MB / 0.7769 GB, free: 55.63 MB / 378.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,(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.004669/2.376, allocations: 0.7879 MB / 0.7776 GB, free: 55.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002342/2.378, allocations: 0.5341 MB / 0.7782 GB, free: 55.52 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03162/2.41, allocations: 11.09 MB / 0.789 GB, free: 54.94 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.954e-05/2.41, allocations: 44.67 kB / 0.789 GB, free: 54.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0571/2.467, allocations: 10.15 MB / 0.7989 GB, free: 54.38 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001279/2.467, allocations: 19.73 kB / 0.799 GB, free: 54.38 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08621/2.553, allocations: 25.22 MB / 0.8236 GB, free: 47.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-05/2.553, allocations: 6.75 kB / 0.8236 GB, free: 47.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/2.557, allocations: 454.4 kB / 0.824 GB, free: 47.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01899/2.576, allocations: 4.262 MB / 0.8282 GB, free: 46.53 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008418/2.576, allocations: 68.44 kB / 0.8283 GB, free: 46.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0544/2.631, allocations: 29.36 MB / 0.8569 GB, free: 29.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02064/2.652, allocations: 12.59 MB / 0.8692 GB, free: 18.31 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03453/2.686, allocations: 15.95 MB / 0.8848 GB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003641/2.69, allocations: 1.206 MB / 0.886 GB, free: 3.676 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001518/2.691, allocations: 60.7 kB / 0.886 GB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005239/2.697, allocations: 272.3 kB / 0.8863 GB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001241/2.698, allocations: 246.5 kB / 0.8865 GB, free: 3.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004522/2.698, allocations: 99.98 kB / 0.8866 GB, free: 3.238 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007585/2.706, allocations: 3.502 MB / 0.8901 GB, free: 176 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.197e-06/2.706, allocations: 0 / 0.8901 GB, free: 176 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.01514/2.721, allocations: 2.499 MB / 0.8925 GB, free: 14.06 MB / 394.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.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 (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.001343/2.722, allocations: 269.2 kB / 0.8928 GB, free: 13.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0238/2.746, allocations: 10.76 MB / 0.9033 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/2.746, allocations: 0 / 0.9033 GB, free: 3.484 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2571/3.003, allocations: 4.513 MB / 0.9077 GB, free: 72.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005723/3.009, allocations: 0.7467 MB / 0.9084 GB, free: 72.84 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.03208/3.041, allocations: 13.98 MB / 0.922 GB, free: 70.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01468/3.056, allocations: 5.136 MB / 0.9271 GB, free: 69.2 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0191/3.075, allocations: 2.758 MB / 0.9298 GB, free: 69.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003564/3.079, allocations: 374.2 kB / 0.9301 GB, free: 69.13 MB / 394.7 MB Notification: Performance of SimCode: time 2.492e-06/3.079, allocations: 0 / 0.9301 GB, free: 69.13 MB / 394.7 MB Notification: Performance of Templates: time 0.2461/3.325, allocations: 91.04 MB / 1.019 GB, free: 22.12 MB / 394.7 MB