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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.992/1.992, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.629e-05/2.636e-05, allocations: 4 kB / 292.1 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09858/0.09863, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.508, allocations: 115.2 MB / 457.7 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002611/0.5083, allocations: 92.25 kB / 457.8 MB, free: 11.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7493/1.258, allocations: 127.9 MB / 0.572 GB, free: 97.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.258, allocations: 0 / 0.572 GB, free: 97.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004281/1.258, allocations: 143.4 kB / 0.5721 GB, free: 97.13 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2341 * Number of variables: 2341 Notification: Performance of Generate backend data structure: time 0.02542/1.284, allocations: 7.042 MB / 0.579 GB, free: 94.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/1.284, allocations: 7.688 kB / 0.579 GB, free: 94.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01518/1.299, allocations: 2.753 MB / 0.5817 GB, free: 94.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02119/1.32, allocations: 7.171 MB / 0.5887 GB, free: 92.27 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000549/1.321, allocations: 0.5104 MB / 0.5892 GB, free: 92.06 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002827/1.323, allocations: 0.6826 MB / 0.5899 GB, free: 91.86 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0441/1.368, allocations: 17.03 MB / 0.6065 GB, free: 81.85 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003504/1.368, allocations: 79.25 kB / 0.6066 GB, free: 81.77 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002373/1.37, allocations: 329.3 kB / 0.6069 GB, free: 81.49 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002559/1.373, allocations: 1.496 MB / 0.6084 GB, free: 80.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03451/1.407, allocations: 14.03 MB / 0.6221 GB, free: 66.61 MB / 442.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.3962/1.804, allocations: 72.87 MB / 0.6932 GB, free: 45.85 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03145/1.835, allocations: 7.702 MB / 0.7007 GB, free: 45.16 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006661/1.842, allocations: 3.946 MB / 0.7046 GB, free: 45.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03134/1.873, allocations: 16.49 MB / 0.7207 GB, free: 41.57 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/1.873, allocations: 62.34 kB / 0.7208 GB, free: 41.54 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 7.235e-06/1.873, allocations: 0 / 0.7208 GB, free: 41.54 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.1505/2.024, allocations: 38.75 MB / 0.7586 GB, free: 31.25 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02868/2.053, allocations: 14.86 MB / 0.7731 GB, free: 23.94 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009656/2.062, allocations: 4.943 MB / 0.7779 GB, free: 21.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000752/2.063, allocations: 80.17 kB / 0.778 GB, free: 21.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003338/2.066, allocations: 4.68 MB / 0.7826 GB, free: 16.95 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001687/2.068, allocations: 1.272 MB / 0.7838 GB, free: 15.82 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009097/2.069, allocations: 183 kB / 0.784 GB, free: 15.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005284/2.07, allocations: 0.6842 MB / 0.7847 GB, free: 15.06 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008203/2.078, allocations: 4.004 MB / 0.7886 GB, free: 11.46 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01128/2.089, allocations: 9.102 MB / 0.7975 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0236/2.113, allocations: 6.605 MB / 0.8039 GB, free: 13.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001857/2.113, allocations: 52 kB / 0.804 GB, free: 13.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.05234/2.165, allocations: 17.18 MB / 0.8207 GB, free: 13.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001603/2.166, allocations: 84 kB / 0.8208 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000267/2.166, allocations: 180 kB / 0.821 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02251/2.188, allocations: 4.975 MB / 0.8259 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009602/2.198, allocations: 1.981 MB / 0.8278 GB, free: 6.547 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07905/2.277, allocations: 37.04 MB / 0.864 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009978/2.287, allocations: 0.5383 MB / 0.8645 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002196/2.289, allocations: 0.5576 MB / 0.865 GB, free: 15.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 62 (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.arrow.arrowLine.twoHeadedArrow,sensorConstraintRelative.arrow.headAtOrigin,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 (1042): * Single equations (assignments): 1031 * 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.002217/2.292, allocations: 0.7757 MB / 0.8658 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001474/2.293, allocations: 0.5206 MB / 0.8663 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03087/2.324, allocations: 10.37 MB / 0.8764 GB, free: 3.695 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001002/2.324, allocations: 47.95 kB / 0.8765 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.3144/2.639, allocations: 9.455 MB / 0.8857 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.75e-05/2.639, allocations: 16.08 kB / 0.8857 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0605/2.699, allocations: 23.01 MB / 0.9082 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-05/2.699, allocations: 3.469 kB / 0.9082 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003418/2.703, allocations: 447.4 kB / 0.9086 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01649/2.719, allocations: 3.69 MB / 0.9122 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000836/2.72, allocations: 58.06 kB / 0.9123 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07636/2.796, allocations: 27.3 MB / 0.9389 GB, free: 134.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02403/2.821, allocations: 12.12 MB / 0.9508 GB, free: 128.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03502/2.856, allocations: 14.62 MB / 0.9651 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001686/2.857, allocations: 0.5577 MB / 0.9656 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001432/2.859, allocations: 57.69 kB / 0.9657 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00457/2.863, allocations: 217.3 kB / 0.9659 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001215/2.865, allocations: 248.5 kB / 0.9661 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004534/2.865, allocations: 91.53 kB / 0.9662 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007727/2.873, allocations: 3.434 MB / 0.9695 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.918e-06/2.873, allocations: 0 / 0.9695 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0115/2.884, allocations: 2.029 MB / 0.9715 GB, free: 120.3 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (206): * Single equations (assignments): 198 * 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.001307/2.886, allocations: 273.5 kB / 0.9718 GB, free: 120.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0187/2.905, allocations: 10.26 MB / 0.9818 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.503e-06/2.905, allocations: 0 / 0.9818 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007674/2.912, allocations: 4.09 MB / 0.9858 GB, free: 107.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004952/2.917, allocations: 0.7606 MB / 0.9865 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02896/2.946, allocations: 13.4 MB / 0.9996 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009754/2.956, allocations: 5.077 MB / 1.005 GB, free: 90.8 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009923/2.966, allocations: 2.711 MB / 1.007 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001787/2.968, allocations: 346.1 kB / 1.008 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of SimCode: time 2.228e-06/2.968, allocations: 0 / 1.008 GB, free: 88.93 MB / 0.5105 GB Notification: Performance of Templates: time 0.478/3.446, allocations: 87.16 MB / 1.093 GB, free: 142 MB / 0.5105 GB