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.3_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 2.033/2.033, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.938e-05/2.953e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08482/0.08487, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.4788, allocations: 113.6 MB / 430.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.4791, allocations: 92.25 kB / 430.6 MB, free: 6.934 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7417/1.221, allocations: 128.7 MB / 0.5462 GB, free: 88.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.446e-06/1.221, allocations: 0 / 0.5462 GB, free: 88.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004184/1.221, allocations: 154.9 kB / 0.5463 GB, free: 88.08 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.02652/1.248, allocations: 7.132 MB / 0.5533 GB, free: 85.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.289e-05/1.248, allocations: 10.75 kB / 0.5533 GB, free: 85.49 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01642/1.264, allocations: 2.775 MB / 0.556 GB, free: 85.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02163/1.286, allocations: 7.537 MB / 0.5634 GB, free: 84.13 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005715/1.287, allocations: 0.5276 MB / 0.5639 GB, free: 84.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/1.29, allocations: 0.7023 MB / 0.5646 GB, free: 84.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04385/1.333, allocations: 17.3 MB / 0.5815 GB, free: 78.39 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003053/1.334, allocations: 74.41 kB / 0.5815 GB, free: 78.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001816/1.336, allocations: 337 kB / 0.5819 GB, free: 78.15 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002721/1.338, allocations: 1.537 MB / 0.5834 GB, free: 77.87 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03718/1.376, allocations: 14.28 MB / 0.5973 GB, free: 69.6 MB / 426.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.3746/1.75, allocations: 73.78 MB / 0.6694 GB, free: 72.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0308/1.781, allocations: 7.786 MB / 0.677 GB, free: 71.36 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00673/1.788, allocations: 3.985 MB / 0.6809 GB, free: 71.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03176/1.82, allocations: 16.69 MB / 0.6972 GB, free: 67.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/1.82, allocations: 56.12 kB / 0.6972 GB, free: 67.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=275): time 7.639e-06/1.82, allocations: 2.438 kB / 0.6972 GB, free: 67.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.1511/1.971, allocations: 39.21 MB / 0.7355 GB, free: 58.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02873/2, allocations: 14.86 MB / 0.75 GB, free: 51.59 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01065/2.01, allocations: 5.044 MB / 0.7549 GB, free: 49.86 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007956/2.011, allocations: 76.05 kB / 0.755 GB, free: 49.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003555/2.015, allocations: 4.775 MB / 0.7597 GB, free: 45.74 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001791/2.017, allocations: 1.302 MB / 0.7609 GB, free: 44.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001086/2.018, allocations: 187.2 kB / 0.7611 GB, free: 44.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000607/2.018, allocations: 0.6957 MB / 0.7618 GB, free: 43.82 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00778/2.026, allocations: 4.057 MB / 0.7658 GB, free: 40.17 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01063/2.037, allocations: 9.223 MB / 0.7748 GB, free: 29.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/2.048, allocations: 6.081 MB / 0.7807 GB, free: 24.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001381/2.048, allocations: 56 kB / 0.7808 GB, free: 24.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=1198) (initialization): time 0.04551/2.093, allocations: 17.35 MB / 0.7977 GB, free: 10.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/2.094, allocations: 90.41 kB / 0.7978 GB, free: 10.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001884/2.094, allocations: 187.9 kB / 0.798 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01992/2.114, allocations: 4.985 MB / 0.8028 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008968/2.123, allocations: 2.024 MB / 0.8048 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3414/2.464, allocations: 37.03 MB / 0.841 GB, free: 93.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01015/2.474, allocations: 0.5498 MB / 0.8415 GB, free: 93.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001958/2.476, allocations: 0.5645 MB / 0.8421 GB, free: 93.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 841 * Number of states: 0 () * Number of discrete variables: 60 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (1064): * Single equations (assignments): 1053 * 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.002129/2.479, allocations: 0.7933 MB / 0.8428 GB, free: 93.19 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0014/2.48, allocations: 0.5366 MB / 0.8434 GB, free: 93.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02797/2.508, allocations: 10.47 MB / 0.8536 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.444e-05/2.508, allocations: 44.38 kB / 0.8536 GB, free: 92.62 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02517/2.533, allocations: 9.546 MB / 0.863 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.616e-05/2.533, allocations: 17.62 kB / 0.863 GB, free: 92.05 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0571/2.59, allocations: 23.58 MB / 0.886 GB, free: 84.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/2.591, allocations: 8.625 kB / 0.886 GB, free: 84.11 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003081/2.594, allocations: 463.1 kB / 0.8865 GB, free: 84.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01576/2.609, allocations: 3.693 MB / 0.8901 GB, free: 83.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007873/2.61, allocations: 70.44 kB / 0.8901 GB, free: 83.34 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0495/2.66, allocations: 27.32 MB / 0.9168 GB, free: 69.4 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02365/2.683, allocations: 12.11 MB / 0.9286 GB, free: 62.94 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03301/2.717, allocations: 15.18 MB / 0.9435 GB, free: 50.05 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003687/2.72, allocations: 1.164 MB / 0.9446 GB, free: 48.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001642/2.722, allocations: 60 kB / 0.9447 GB, free: 48.92 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00484/2.727, allocations: 227.5 kB / 0.9449 GB, free: 48.79 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001363/2.728, allocations: 241.4 kB / 0.9451 GB, free: 48.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004868/2.729, allocations: 102.8 kB / 0.9452 GB, free: 48.55 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.008048/2.737, allocations: 3.516 MB / 0.9486 GB, free: 45.43 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.155e-06/2.737, allocations: 0 / 0.9486 GB, free: 45.43 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01215/2.749, allocations: 2.066 MB / 0.9507 GB, free: 43.39 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 208 * 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%) 11,(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.001354/2.75, allocations: 269.7 kB / 0.9509 GB, free: 43.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01988/2.77, allocations: 10.4 MB / 0.9611 GB, free: 33.97 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/2.77, allocations: 0 / 0.9611 GB, free: 33.97 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007838/2.778, allocations: 4.146 MB / 0.9651 GB, free: 30.15 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005054/2.783, allocations: 0.7545 MB / 0.9659 GB, free: 29.54 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03213/2.815, allocations: 13.71 MB / 0.9792 GB, free: 16.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/2.827, allocations: 5.164 MB / 0.9843 GB, free: 11.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01127/2.838, allocations: 2.754 MB / 0.987 GB, free: 8.406 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/2.84, allocations: 363.4 kB / 0.9873 GB, free: 8.051 MB / 458.7 MB Notification: Performance of SimCode: time 1.92e-06/2.84, allocations: 0 / 0.9873 GB, free: 8.051 MB / 458.7 MB Notification: Performance of Templates: time 0.4751/3.315, allocations: 88.19 MB / 1.073 GB, free: 74.67 MB / 458.7 MB