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.845/1.845, allocations: 194.9 MB / 208.5 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.101e-05/3.117e-05, allocations: 7.469 kB / 255.4 MB, free: 3.176 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08947/0.08953, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3834/0.473, allocations: 106.8 MB / 406.7 MB, free: 15.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/0.4733, allocations: 85.98 kB / 406.8 MB, free: 15.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7046/1.178, allocations: 127.3 MB / 0.5216 GB, free: 57.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.862e-06/1.178, allocations: 0 / 0.5216 GB, free: 57.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004359/1.178, allocations: 142.3 kB / 0.5217 GB, free: 57.36 MB / 394.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.02715/1.206, allocations: 7.07 MB / 0.5286 GB, free: 54.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.206, allocations: 11.47 kB / 0.5286 GB, free: 54.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01645/1.222, allocations: 2.76 MB / 0.5313 GB, free: 54.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02235/1.245, allocations: 7.5 MB / 0.5386 GB, free: 53.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006099/1.245, allocations: 0.5142 MB / 0.5391 GB, free: 53.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003265/1.249, allocations: 0.6862 MB / 0.5398 GB, free: 53.53 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04626/1.295, allocations: 17.05 MB / 0.5564 GB, free: 50.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000417/1.295, allocations: 87.11 kB / 0.5565 GB, free: 50.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002911/1.298, allocations: 327.1 kB / 0.5568 GB, free: 50.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002931/1.301, allocations: 1.499 MB / 0.5583 GB, free: 50 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03771/1.339, allocations: 14.07 MB / 0.572 GB, free: 48.59 MB / 394.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.1029/1.442, allocations: 73.29 MB / 0.6436 GB, free: 6.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02732/1.469, allocations: 7.57 MB / 0.651 GB, free: 0.5781 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2709/1.74, allocations: 5.012 MB / 0.6559 GB, free: 69.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0343/1.775, allocations: 15.92 MB / 0.6715 GB, free: 66.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.775, allocations: 67.38 kB / 0.6715 GB, free: 66.44 MB / 410.7 MB Notification: Performance of pre-optimization done (n=261): time 8.414e-06/1.775, allocations: 0.75 kB / 0.6715 GB, free: 66.44 MB / 410.7 MB Notification: Performance of matching and sorting (n=335): time 0.1497/1.924, allocations: 38.75 MB / 0.7094 GB, free: 61.75 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0292/1.954, allocations: 14.86 MB / 0.7239 GB, free: 54.44 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01148/1.965, allocations: 5.019 MB / 0.7288 GB, free: 52.71 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008284/1.966, allocations: 76.3 kB / 0.7289 GB, free: 52.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003361/1.97, allocations: 4.575 MB / 0.7333 GB, free: 49.22 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001861/1.971, allocations: 1.253 MB / 0.7345 GB, free: 48.31 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001225/1.973, allocations: 184.3 kB / 0.7347 GB, free: 48.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007197/1.973, allocations: 0.6986 MB / 0.7354 GB, free: 47.69 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008612/1.982, allocations: 4.03 MB / 0.7393 GB, free: 46.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01157/1.994, allocations: 9.177 MB / 0.7483 GB, free: 37.88 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01186/2.006, allocations: 6.047 MB / 0.7542 GB, free: 35.2 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001532/2.006, allocations: 53.88 kB / 0.7543 GB, free: 35.15 MB / 410.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.04558/2.051, allocations: 17.09 MB / 0.7709 GB, free: 21.64 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001388/2.052, allocations: 80 kB / 0.771 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000204/2.052, allocations: 184 kB / 0.7712 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0198/2.072, allocations: 4.995 MB / 0.7761 GB, free: 18.01 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008803/2.08, allocations: 1.996 MB / 0.778 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3285/2.409, allocations: 37.27 MB / 0.8144 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01078/2.42, allocations: 0.5487 MB / 0.815 GB, free: 67.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00236/2.422, allocations: 0.5602 MB / 0.8155 GB, free: 67.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 838 * 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 (1047): * Single equations (assignments): 1036 * 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.003298/2.426, allocations: 0.7914 MB / 0.8163 GB, free: 67.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001588/2.427, allocations: 0.5236 MB / 0.8168 GB, free: 67.24 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03067/2.458, allocations: 10.4 MB / 0.8269 GB, free: 66.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-05/2.458, allocations: 48.53 kB / 0.827 GB, free: 66.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02651/2.485, allocations: 9.475 MB / 0.8362 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.041e-05/2.485, allocations: 16.55 kB / 0.8363 GB, free: 66.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06151/2.546, allocations: 23.46 MB / 0.8592 GB, free: 62.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-05/2.546, allocations: 7.156 kB / 0.8592 GB, free: 62.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003195/2.549, allocations: 450.9 kB / 0.8596 GB, free: 62.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0169/2.566, allocations: 3.816 MB / 0.8633 GB, free: 61.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009113/2.567, allocations: 65.78 kB / 0.8634 GB, free: 61.28 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05024/2.618, allocations: 27.36 MB / 0.8901 GB, free: 47.32 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02326/2.641, allocations: 12.13 MB / 0.902 GB, free: 41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03406/2.675, allocations: 15.01 MB / 0.9166 GB, free: 32.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003826/2.679, allocations: 1.151 MB / 0.9177 GB, free: 30.95 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00195/2.681, allocations: 60.94 kB / 0.9178 GB, free: 30.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005044/2.686, allocations: 217.9 kB / 0.918 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001437/2.687, allocations: 245.2 kB / 0.9182 GB, free: 30.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007263/2.688, allocations: 92.5 kB / 0.9183 GB, free: 30.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008611/2.697, allocations: 3.503 MB / 0.9217 GB, free: 27.47 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.144e-06/2.697, allocations: 0 / 0.9217 GB, free: 27.47 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01263/2.71, allocations: 2.035 MB / 0.9237 GB, free: 25.46 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 4 ($STATESET2.x,$STATESET1.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 (203): * Single equations (assignments): 195 * 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.001393/2.711, allocations: 266.8 kB / 0.924 GB, free: 25.26 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01987/2.731, allocations: 10.31 MB / 0.9341 GB, free: 16.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/2.731, allocations: 2.25 kB / 0.9341 GB, free: 16.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00799/2.739, allocations: 4.104 MB / 0.9381 GB, free: 12.54 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00506/2.744, allocations: 0.7501 MB / 0.9388 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03706/2.781, allocations: 14.38 MB / 0.9528 GB, free: 15.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01305/2.794, allocations: 5.117 MB / 0.9578 GB, free: 11.31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002463/2.797, allocations: 419.4 kB / 0.9582 GB, free: 10.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.159e-06/2.797, allocations: 0.6562 kB / 0.9582 GB, free: 10.9 MB / 442.7 MB Notification: Performance of Templates: time 0.9539/3.751, allocations: 243.4 MB / 1.196 GB, free: 77.91 MB / 458.7 MB