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_trunk_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.257e-05/3.265e-05, allocations: 7.984 kB / 292.7 MB, free: 8.352 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09046/0.09051, allocations: 50.41 MB / 343.1 MB, free: 5.922 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.5061, allocations: 115.2 MB / 458.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002706/0.5064, allocations: 84.52 kB / 458.4 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7182/1.225, allocations: 127.9 MB / 0.5725 GB, free: 97.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.745e-06/1.225, allocations: 2.156 kB / 0.5725 GB, free: 97.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004223/1.225, allocations: 143.8 kB / 0.5727 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.0281/1.253, allocations: 7.039 MB / 0.5795 GB, free: 94.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.996e-05/1.253, allocations: 7.281 kB / 0.5795 GB, free: 94.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01671/1.27, allocations: 2.758 MB / 0.5822 GB, free: 94.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02091/1.291, allocations: 7.155 MB / 0.5892 GB, free: 92.25 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/1.292, allocations: 0.5122 MB / 0.5897 GB, free: 92.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002945/1.295, allocations: 0.6932 MB / 0.5904 GB, free: 91.84 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04471/1.339, allocations: 17.02 MB / 0.607 GB, free: 82.05 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003495/1.34, allocations: 90.33 kB / 0.6071 GB, free: 81.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002412/1.342, allocations: 326 kB / 0.6074 GB, free: 81.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002512/1.345, allocations: 1.498 MB / 0.6089 GB, free: 80.44 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05046/1.395, allocations: 14.03 MB / 0.6226 GB, free: 66.66 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.4154/1.811, allocations: 72.86 MB / 0.6937 GB, free: 45.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04421/1.855, allocations: 7.707 MB / 0.7013 GB, free: 45.2 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01111/1.866, allocations: 3.935 MB / 0.7051 GB, free: 45.16 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05035/1.916, allocations: 16.49 MB / 0.7212 GB, free: 41.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.729e-05/1.917, allocations: 61.31 kB / 0.7213 GB, free: 41.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 1.345e-05/1.917, allocations: 3.812 kB / 0.7213 GB, free: 41.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.1593/2.076, allocations: 38.75 MB / 0.7591 GB, free: 31.29 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02996/2.106, allocations: 14.86 MB / 0.7736 GB, free: 23.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009642/2.116, allocations: 4.947 MB / 0.7785 GB, free: 21.39 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007513/2.116, allocations: 73.7 kB / 0.7785 GB, free: 21.31 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003275/2.12, allocations: 4.682 MB / 0.7831 GB, free: 17.12 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001617/2.121, allocations: 1.27 MB / 0.7843 GB, free: 16 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008288/2.122, allocations: 178.3 kB / 0.7845 GB, free: 15.82 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004925/2.123, allocations: 0.6885 MB / 0.7852 GB, free: 15.24 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007441/2.13, allocations: 4 MB / 0.7891 GB, free: 11.64 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01052/2.141, allocations: 9.099 MB / 0.798 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02187/2.163, allocations: 6.544 MB / 0.8044 GB, free: 13.31 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001836/2.163, allocations: 52 kB / 0.8044 GB, free: 13.26 MB / 458.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.05179/2.215, allocations: 17.17 MB / 0.8212 GB, free: 13.75 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001803/2.215, allocations: 87.98 kB / 0.8213 GB, free: 13.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002641/2.215, allocations: 184.1 kB / 0.8214 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02208/2.237, allocations: 4.966 MB / 0.8263 GB, free: 8.531 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009234/2.247, allocations: 1.977 MB / 0.8282 GB, free: 6.551 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07297/2.32, allocations: 37.05 MB / 0.8644 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01025/2.33, allocations: 0.5363 MB / 0.8649 GB, free: 64 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002333/2.332, allocations: 0.5543 MB / 0.8655 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.002659/2.335, allocations: 0.7849 MB / 0.8662 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00151/2.336, allocations: 0.5206 MB / 0.8668 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03187/2.368, allocations: 10.37 MB / 0.8769 GB, free: 3.699 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/2.368, allocations: 51.94 kB / 0.8769 GB, free: 3.648 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.3366/2.705, allocations: 9.451 MB / 0.8862 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.585e-05/2.705, allocations: 17.2 kB / 0.8862 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06192/2.767, allocations: 23 MB / 0.9086 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.936e-05/2.767, allocations: 2.938 kB / 0.9086 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003369/2.771, allocations: 446.8 kB / 0.9091 GB, free: 148.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01736/2.788, allocations: 3.693 MB / 0.9127 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007836/2.789, allocations: 58.97 kB / 0.9127 GB, free: 148.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04877/2.838, allocations: 27.3 MB / 0.9394 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02275/2.86, allocations: 12.13 MB / 0.9512 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03489/2.895, allocations: 14.61 MB / 0.9655 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001803/2.897, allocations: 0.559 MB / 0.966 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001837/2.899, allocations: 59.02 kB / 0.9661 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004973/2.904, allocations: 216.2 kB / 0.9663 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001612/2.906, allocations: 239.8 kB / 0.9665 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004903/2.906, allocations: 90.81 kB / 0.9666 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007618/2.914, allocations: 3.435 MB / 0.97 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.28e-06/2.914, allocations: 0 / 0.97 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01135/2.925, allocations: 2.039 MB / 0.972 GB, free: 120.4 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.00123/2.927, allocations: 262.6 kB / 0.9722 GB, free: 120.2 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01826/2.945, allocations: 10.27 MB / 0.9822 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.593e-06/2.945, allocations: 0 / 0.9822 GB, free: 111 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007435/2.952, allocations: 4.093 MB / 0.9862 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004899/2.957, allocations: 0.7526 MB / 0.987 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/2.987, allocations: 13.4 MB / 1 GB, free: 94.67 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01049/2.997, allocations: 5.079 MB / 1.005 GB, free: 90.94 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01028/3.007, allocations: 2.715 MB / 1.008 GB, free: 89.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001869/3.009, allocations: 344.6 kB / 1.008 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of SimCode: time 1.654e-06/3.009, allocations: 0 / 1.008 GB, free: 89.06 MB / 0.5105 GB Notification: Performance of Templates: time 0.5157/3.525, allocations: 87.17 MB / 1.093 GB, free: 141.9 MB / 0.5105 GB