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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.943/1.943, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.618e-05/2.636e-05, allocations: 7.938 kB / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2502/0.2503, allocations: 44.49 MB / 294.1 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1634/0.4137, allocations: 106.1 MB / 400.3 MB, free: 7.793 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002591/0.414, allocations: 91.94 kB / 400.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.632/1.046, allocations: 124.3 MB / 0.5123 GB, free: 26.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.35e-06/1.046, allocations: 0 / 0.5123 GB, free: 26.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000429/1.046, allocations: 144 kB / 0.5125 GB, free: 26.3 MB / 362.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.02524/1.072, allocations: 7.063 MB / 0.5194 GB, free: 19.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.072, allocations: 8.031 kB / 0.5194 GB, free: 19.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/1.087, allocations: 2.768 MB / 0.5221 GB, free: 16.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02092/1.108, allocations: 7.48 MB / 0.5294 GB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003772/1.109, allocations: 224 kB / 0.5296 GB, free: 8.582 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002743/1.111, allocations: 424.1 kB / 0.53 GB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02215/1.133, allocations: 10.07 MB / 0.5398 GB, free: 14.09 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.279/1.413, allocations: 14.58 MB / 0.5541 GB, free: 48.27 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005454/1.413, allocations: 82.38 kB / 0.5542 GB, free: 48.27 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002658/1.416, allocations: 39.56 kB / 0.5542 GB, free: 48.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003054/1.419, allocations: 1.498 MB / 0.5557 GB, free: 48.25 MB / 378.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.09807/1.517, allocations: 72.68 MB / 0.6266 GB, free: 23.77 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007218/1.524, allocations: 4.81 MB / 0.6313 GB, free: 21.41 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005401/1.53, allocations: 3.53 MB / 0.6348 GB, free: 19.93 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009737/1.531, allocations: 0.7109 MB / 0.6355 GB, free: 19.33 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.187e-05/1.531, allocations: 59.88 kB / 0.6355 GB, free: 19.28 MB / 394.7 MB Notification: Performance of pre-optimization done (n=270): time 7.45e-06/1.531, allocations: 2.625 kB / 0.6355 GB, free: 19.28 MB / 394.7 MB Notification: Performance of matching and sorting (n=353): time 0.1354/1.666, allocations: 41.65 MB / 0.6762 GB, free: 3.125 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001488/1.666, allocations: 162.8 kB / 0.6764 GB, free: 2.934 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01178/1.678, allocations: 4.504 MB / 0.6808 GB, free: 15.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008607/1.679, allocations: 25.7 kB / 0.6808 GB, free: 15.17 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004983/1.684, allocations: 4.648 MB / 0.6853 GB, free: 10.91 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0023/1.686, allocations: 1.277 MB / 0.6866 GB, free: 9.762 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/1.688, allocations: 0 / 0.6866 GB, free: 9.762 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001136/1.689, allocations: 0.7081 MB / 0.6873 GB, free: 9.156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009592/1.698, allocations: 4.025 MB / 0.6912 GB, free: 5.574 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01509/1.714, allocations: 9.313 MB / 0.7003 GB, free: 10.29 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01332/1.727, allocations: 6.07 MB / 0.7062 GB, free: 5.094 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001885/1.727, allocations: 52 kB / 0.7063 GB, free: 5.043 MB / 426.7 MB Notification: Performance of matching and sorting (n=1223) (initialization): time 0.3064/2.034, allocations: 17.24 MB / 0.7231 GB, free: 90.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/2.034, allocations: 85.06 kB / 0.7232 GB, free: 90.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002356/2.034, allocations: 189.5 kB / 0.7234 GB, free: 90.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02457/2.059, allocations: 5.391 MB / 0.7286 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009357/2.068, allocations: 2.078 MB / 0.7307 GB, free: 90.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06032/2.128, allocations: 35.48 MB / 0.7653 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01044/2.139, allocations: 423.4 kB / 0.7657 GB, free: 80.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002243/2.141, allocations: 0.5804 MB / 0.7663 GB, free: 80.12 MB / 426.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.003299/2.144, allocations: 0.5869 MB / 0.7669 GB, free: 79.95 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0015/2.146, allocations: 0.4982 MB / 0.7673 GB, free: 79.95 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03167/2.178, allocations: 10.42 MB / 0.7775 GB, free: 76.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000109/2.178, allocations: 48.22 kB / 0.7776 GB, free: 76.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0258/2.204, allocations: 8.999 MB / 0.7863 GB, free: 73.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.913e-05/2.204, allocations: 18.2 kB / 0.7864 GB, free: 73.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0576/2.261, allocations: 22.72 MB / 0.8086 GB, free: 58.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.365e-05/2.261, allocations: 8 kB / 0.8086 GB, free: 58.94 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003066/2.265, allocations: 476.7 kB / 0.809 GB, free: 58.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0165/2.281, allocations: 3.804 MB / 0.8127 GB, free: 56.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008384/2.282, allocations: 19.61 kB / 0.8127 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04365/2.326, allocations: 25.96 MB / 0.8381 GB, free: 29.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02007/2.346, allocations: 11.64 MB / 0.8495 GB, free: 18.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03462/2.38, allocations: 15.35 MB / 0.8645 GB, free: 2.418 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2631/2.644, allocations: 1.128 MB / 0.8656 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001712/2.645, allocations: 15.5 kB / 0.8656 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004981/2.65, allocations: 176.1 kB / 0.8657 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001567/2.652, allocations: 250.4 kB / 0.866 GB, free: 85.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007727/2.653, allocations: 95.73 kB / 0.8661 GB, free: 85.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007765/2.661, allocations: 2.991 MB / 0.869 GB, free: 85.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.133e-06/2.661, allocations: 0.7188 kB / 0.869 GB, free: 85.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01342/2.674, allocations: 1.831 MB / 0.8708 GB, free: 85.07 MB / 426.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.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 (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.001451/2.676, allocations: 223 kB / 0.871 GB, free: 84.98 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01971/2.695, allocations: 10.41 MB / 0.8812 GB, free: 84.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/2.695, allocations: 6.812 kB / 0.8812 GB, free: 84.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008206/2.704, allocations: 4.146 MB / 0.8852 GB, free: 83.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005064/2.709, allocations: 0.6373 MB / 0.8858 GB, free: 83.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0346/2.743, allocations: 14.29 MB / 0.8998 GB, free: 80.81 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/2.756, allocations: 5.134 MB / 0.9048 GB, free: 79.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002302/2.758, allocations: 415.7 kB / 0.9052 GB, free: 79.94 MB / 426.7 MB Notification: Performance of SimCode: time 2.269e-06/2.758, allocations: 0 / 0.9052 GB, free: 79.94 MB / 426.7 MB Notification: Performance of Templates: time 0.5868/3.345, allocations: 243.5 MB / 1.143 GB, free: 31.86 MB / 442.7 MB