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_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadModel(Modelica): time 1.848/1.848, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.701e-05/2.701e-05, allocations: 8 kB / 255.4 MB, free: 2.715 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 44.49 MB / 299.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4725, allocations: 106.8 MB / 406.7 MB, free: 15.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4727, allocations: 85.98 kB / 406.8 MB, free: 15.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7113/1.184, allocations: 127.3 MB / 0.5216 GB, free: 57.6 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.32e-06/1.184, allocations: 1.312 kB / 0.5216 GB, free: 57.6 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0006915/1.185, allocations: 139.7 kB / 0.5217 GB, free: 57.59 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.04231/1.227, allocations: 7.074 MB / 0.5286 GB, free: 55.07 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.344e-05/1.227, allocations: 15.62 kB / 0.5286 GB, free: 55.07 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02807/1.255, allocations: 2.763 MB / 0.5313 GB, free: 54.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03503/1.29, allocations: 7.493 MB / 0.5386 GB, free: 53.79 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008399/1.291, allocations: 0.5202 MB / 0.5392 GB, free: 53.78 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003313/1.295, allocations: 0.6821 MB / 0.5398 GB, free: 53.77 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07327/1.368, allocations: 17.04 MB / 0.5565 GB, free: 50.27 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007177/1.369, allocations: 81.61 kB / 0.5565 GB, free: 50.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004131/1.373, allocations: 336.2 kB / 0.5569 GB, free: 50.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004729/1.378, allocations: 1.497 MB / 0.5583 GB, free: 50.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06092/1.439, allocations: 14.08 MB / 0.5721 GB, free: 48.69 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.1247/1.563, allocations: 73.29 MB / 0.6437 GB, free: 6.602 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02722/1.591, allocations: 7.568 MB / 0.651 GB, free: 352 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3291/1.92, allocations: 5.104 MB / 0.656 GB, free: 69.62 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03358/1.953, allocations: 15.92 MB / 0.6716 GB, free: 66.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.381e-05/1.954, allocations: 63.59 kB / 0.6716 GB, free: 66.64 MB / 410.7 MB Notification: Performance of pre-optimization done (n=261): time 6.736e-06/1.954, allocations: 0 / 0.6716 GB, free: 66.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=335): time 0.1521/2.106, allocations: 38.76 MB / 0.7095 GB, free: 61.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02995/2.136, allocations: 14.85 MB / 0.724 GB, free: 54.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0106/2.146, allocations: 5.028 MB / 0.7289 GB, free: 52.85 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007675/2.147, allocations: 71.95 kB / 0.729 GB, free: 52.79 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003513/2.151, allocations: 4.741 MB / 0.7336 GB, free: 49.35 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001799/2.153, allocations: 1.256 MB / 0.7348 GB, free: 48.43 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001246/2.154, allocations: 180.5 kB / 0.735 GB, free: 48.29 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007657/2.155, allocations: 0.6874 MB / 0.7357 GB, free: 47.82 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008595/2.163, allocations: 4.026 MB / 0.7396 GB, free: 46.39 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01132/2.175, allocations: 9.181 MB / 0.7486 GB, free: 38.02 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01346/2.188, allocations: 6.05 MB / 0.7545 GB, free: 35.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003124/2.188, allocations: 52 kB / 0.7545 GB, free: 35.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.1074/2.296, allocations: 17.27 MB / 0.7714 GB, free: 21.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001323/2.296, allocations: 84 kB / 0.7715 GB, free: 21.27 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001962/2.296, allocations: 184 kB / 0.7716 GB, free: 21.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0215/2.318, allocations: 4.994 MB / 0.7765 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008883/2.327, allocations: 1.998 MB / 0.7785 GB, free: 16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3203/2.647, allocations: 37.02 MB / 0.8146 GB, free: 67.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0106/2.658, allocations: 0.5472 MB / 0.8152 GB, free: 67.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002315/2.66, allocations: 0.5593 MB / 0.8157 GB, free: 67.28 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.002718/2.663, allocations: 0.7902 MB / 0.8165 GB, free: 67.17 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001397/2.664, allocations: 0.5247 MB / 0.817 GB, free: 67.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02921/2.693, allocations: 10.41 MB / 0.8272 GB, free: 66.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.962e-05/2.694, allocations: 42.52 kB / 0.8272 GB, free: 66.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02687/2.72, allocations: 9.479 MB / 0.8365 GB, free: 66.03 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.685e-05/2.721, allocations: 15.42 kB / 0.8365 GB, free: 66.03 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06495/2.786, allocations: 23.45 MB / 0.8594 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.726e-05/2.786, allocations: 6.656 kB / 0.8594 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003257/2.789, allocations: 452.5 kB / 0.8598 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01702/2.806, allocations: 3.817 MB / 0.8635 GB, free: 61.35 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007615/2.807, allocations: 63.06 kB / 0.8636 GB, free: 61.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04954/2.856, allocations: 27.37 MB / 0.8903 GB, free: 47.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02304/2.879, allocations: 12.12 MB / 0.9022 GB, free: 41.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.034/2.913, allocations: 15.02 MB / 0.9168 GB, free: 31.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003587/2.917, allocations: 1.147 MB / 0.9179 GB, free: 30.93 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001291/2.918, allocations: 64.36 kB / 0.918 GB, free: 30.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004025/2.922, allocations: 215 kB / 0.9182 GB, free: 30.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/2.923, allocations: 241.5 kB / 0.9184 GB, free: 30.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004068/2.924, allocations: 91.12 kB / 0.9185 GB, free: 30.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006739/2.931, allocations: 3.504 MB / 0.9219 GB, free: 27.45 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.076e-06/2.931, allocations: 0 / 0.9219 GB, free: 27.45 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01109/2.942, allocations: 2.042 MB / 0.9239 GB, free: 25.43 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.001108/2.943, allocations: 266.7 kB / 0.9242 GB, free: 25.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01844/2.961, allocations: 10.32 MB / 0.9343 GB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.215e-06/2.961, allocations: 0 / 0.9343 GB, free: 16.26 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007179/2.969, allocations: 4.099 MB / 0.9383 GB, free: 12.51 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004342/2.973, allocations: 0.7543 MB / 0.939 GB, free: 11.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0332/3.006, allocations: 13.66 MB / 0.9524 GB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01199/3.018, allocations: 5.111 MB / 0.9573 GB, free: 12.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01052/3.029, allocations: 2.733 MB / 0.96 GB, free: 9.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001823/3.031, allocations: 359.4 kB / 0.9604 GB, free: 9.078 MB / 442.7 MB Notification: Performance of SimCode: time 1.659e-06/3.031, allocations: 0 / 0.9604 GB, free: 9.078 MB / 442.7 MB Notification: Performance of Templates: time 0.4613/3.492, allocations: 87.48 MB / 1.046 GB, free: 63.46 MB / 442.7 MB