Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.917/1.917, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.142e-05, allocations: 5.562 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0897/0.08976, allocations: 50.42 MB / 342.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4146/0.5044, allocations: 115.2 MB / 457.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.5048, allocations: 94.11 kB / 457.9 MB, free: 11.28 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7214/1.226, allocations: 127.9 MB / 0.5721 GB, free: 96.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.076e-06/1.226, allocations: 0 / 0.5721 GB, free: 96.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004221/1.227, allocations: 150 kB / 0.5722 GB, free: 96.97 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.02635/1.253, allocations: 7.041 MB / 0.5791 GB, free: 94.43 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.253, allocations: 7.406 kB / 0.5791 GB, free: 94.43 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01658/1.27, allocations: 2.751 MB / 0.5818 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/1.291, allocations: 7.164 MB / 0.5888 GB, free: 92.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005621/1.292, allocations: 0.5129 MB / 0.5893 GB, free: 91.91 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002876/1.294, allocations: 0.6886 MB / 0.5899 GB, free: 91.71 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04471/1.339, allocations: 17.02 MB / 0.6066 GB, free: 81.96 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000343/1.34, allocations: 79.25 kB / 0.6066 GB, free: 81.89 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002285/1.342, allocations: 326.1 kB / 0.6069 GB, free: 81.6 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002601/1.345, allocations: 1.496 MB / 0.6084 GB, free: 80.36 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03474/1.379, allocations: 14.03 MB / 0.6221 GB, free: 66.84 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.4124/1.792, allocations: 72.87 MB / 0.6933 GB, free: 45.64 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03864/1.83, allocations: 7.71 MB / 0.7008 GB, free: 44.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006729/1.837, allocations: 3.932 MB / 0.7046 GB, free: 44.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03303/1.87, allocations: 16.49 MB / 0.7207 GB, free: 41.37 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.184e-05/1.87, allocations: 65.38 kB / 0.7208 GB, free: 41.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=266): time 7.96e-06/1.87, allocations: 2.531 kB / 0.7208 GB, free: 41.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=340): time 0.1521/2.023, allocations: 38.75 MB / 0.7586 GB, free: 31.05 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02893/2.052, allocations: 14.86 MB / 0.7732 GB, free: 23.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01064/2.062, allocations: 4.941 MB / 0.778 GB, free: 21.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007737/2.063, allocations: 78.41 kB / 0.7781 GB, free: 21.13 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003214/2.066, allocations: 4.518 MB / 0.7825 GB, free: 17.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001756/2.068, allocations: 1.275 MB / 0.7837 GB, free: 15.93 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/2.069, allocations: 180 kB / 0.7839 GB, free: 15.75 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0006501/2.07, allocations: 0.6929 MB / 0.7846 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00797/2.078, allocations: 4.002 MB / 0.7885 GB, free: 11.56 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01107/2.089, allocations: 9.097 MB / 0.7974 GB, free: 0.707 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0232/2.112, allocations: 6.579 MB / 0.8038 GB, free: 13.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001868/2.112, allocations: 52 kB / 0.8038 GB, free: 13.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.05178/2.164, allocations: 16.98 MB / 0.8204 GB, free: 14.13 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001674/2.164, allocations: 88.22 kB / 0.8205 GB, free: 14.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002769/2.165, allocations: 180 kB / 0.8207 GB, free: 13.87 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02228/2.187, allocations: 4.975 MB / 0.8255 GB, free: 8.914 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009514/2.197, allocations: 1.981 MB / 0.8275 GB, free: 6.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0746/2.271, allocations: 37.05 MB / 0.8636 GB, free: 0.9805 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01018/2.281, allocations: 0.5368 MB / 0.8642 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002324/2.284, allocations: 0.5507 MB / 0.8647 GB, free: 15.89 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.003056/2.287, allocations: 0.7911 MB / 0.8655 GB, free: 15.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001579/2.289, allocations: 0.5284 MB / 0.866 GB, free: 14.57 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03245/2.321, allocations: 10.36 MB / 0.8761 GB, free: 4.078 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001049/2.321, allocations: 43.98 kB / 0.8762 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.3162/2.637, allocations: 9.454 MB / 0.8854 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.316e-05/2.637, allocations: 18.59 kB / 0.8854 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05905/2.696, allocations: 23.01 MB / 0.9079 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-05/2.697, allocations: 3.344 kB / 0.9079 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003338/2.7, allocations: 441.5 kB / 0.9083 GB, free: 148 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01601/2.716, allocations: 3.688 MB / 0.9119 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007585/2.717, allocations: 57.86 kB / 0.912 GB, free: 147.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05061/2.767, allocations: 27.31 MB / 0.9386 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0238/2.791, allocations: 12.12 MB / 0.9505 GB, free: 128 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06524/2.857, allocations: 14.62 MB / 0.9647 GB, free: 122.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002792/2.859, allocations: 0.5522 MB / 0.9653 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002413/2.862, allocations: 66.38 kB / 0.9653 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008149/2.87, allocations: 216.6 kB / 0.9655 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001941/2.872, allocations: 243.7 kB / 0.9658 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008383/2.873, allocations: 87.06 kB / 0.9659 GB, free: 122.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009873/2.883, allocations: 3.438 MB / 0.9692 GB, free: 121 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.183e-06/2.883, allocations: 0 / 0.9692 GB, free: 121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01149/2.894, allocations: 2.029 MB / 0.9712 GB, free: 120.6 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.001312/2.896, allocations: 275.5 kB / 0.9715 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01891/2.915, allocations: 10.26 MB / 0.9815 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.296e-06/2.915, allocations: 0 / 0.9815 GB, free: 111.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007534/2.922, allocations: 4.094 MB / 0.9855 GB, free: 107.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004726/2.927, allocations: 0.7486 MB / 0.9862 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03114/2.958, allocations: 14.17 MB / 1 GB, free: 94.17 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01035/2.969, allocations: 5.085 MB / 1.005 GB, free: 90.44 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/2.971, allocations: 412.7 kB / 1.005 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of SimCode: time 2.246e-06/2.971, allocations: 0 / 1.005 GB, free: 90.05 MB / 0.5105 GB Notification: Performance of Templates: time 0.9/3.871, allocations: 241.2 MB / 1.241 GB, free: 141.1 MB / 0.5105 GB