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 2.041/2.041, allocations: 194.9 MB / 211.2 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.849e-05/2.863e-05, allocations: 4 kB / 258.8 MB, free: 8.695 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3457, allocations: 44.5 MB / 303.3 MB, free: 12.73 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.1262/0.4719, allocations: 67.86 MB / 371.2 MB, free: 9.656 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04383/0.5158, allocations: 15.09 MB / 386.2 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0161/0.532, allocations: 395 kB / 386.6 MB, free: 10.13 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01237/0.5444, allocations: 3.624 MB / 390.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03559/0.58, allocations: 9.513 MB / 399.8 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007061/0.5871, allocations: 1.139 MB / 400.9 MB, free: 11.81 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.008922/0.5961, allocations: 2.75 MB / 403.7 MB, free: 9.062 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01857/0.6147, allocations: 8.692 MB / 412.3 MB, free: 312 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003718/0.6185, allocations: 1.376 MB / 413.7 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004285/0.6229, allocations: 1.858 MB / 415.6 MB, free: 13.06 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004213/0.6271, allocations: 1.268 MB / 416.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001798/0.629, allocations: 180 kB / 417 MB, free: 11.62 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00422/0.6332, allocations: 2.455 MB / 419.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002233/0.6355, allocations: 436 kB / 419.9 MB, free: 8.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.319/0.9545, allocations: 9.518 MB / 429.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.9546, allocations: 0.625 kB / 429.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.9546, allocations: 0 / 429.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004939/0.9551, allocations: 0 / 429.4 MB, free: 12.46 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.02892/0.9841, allocations: 6.862 MB / 436.3 MB, free: 9.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.9841, allocations: 8.719 kB / 436.3 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01711/1.001, allocations: 2.611 MB / 438.9 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01397/1.015, allocations: 4.525 MB / 443.4 MB, free: 8.703 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005458/1.016, allocations: 426.4 kB / 443.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003412/1.019, allocations: 0.5703 MB / 444.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05358/1.073, allocations: 16.81 MB / 461.2 MB, free: 6.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004076/1.073, allocations: 61.48 kB / 461.3 MB, free: 6.102 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002741/1.076, allocations: 266.2 kB / 461.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006371/1.083, allocations: 2.542 MB / 464.1 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04712/1.13, allocations: 14.43 MB / 478.5 MB, free: 0.6602 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.1288/1.259, allocations: 63.03 MB / 0.5289 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03979/1.298, allocations: 7.615 MB / 0.5363 GB, free: 6.754 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04497/1.344, allocations: 16.18 MB / 0.5521 GB, free: 8.375 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.905e-05/1.344, allocations: 66.62 kB / 0.5522 GB, free: 8.305 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 8.185e-06/1.344, allocations: 0 / 0.5522 GB, free: 8.305 MB / 442.7 MB Notification: Performance of matching and sorting (n=326): time 0.5713/1.915, allocations: 43.41 MB / 0.5945 GB, free: 202.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04766/1.963, allocations: 17.03 MB / 0.6112 GB, free: 193.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01531/1.978, allocations: 5.324 MB / 0.6164 GB, free: 191.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001184/1.979, allocations: 74.66 kB / 0.6164 GB, free: 191.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004852/1.984, allocations: 4.553 MB / 0.6209 GB, free: 188.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002625/1.987, allocations: 1.224 MB / 0.6221 GB, free: 187.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/1.988, allocations: 187.2 kB / 0.6223 GB, free: 187.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009732/1.989, allocations: 0.6978 MB / 0.6229 GB, free: 186.8 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01413/2.004, allocations: 4.055 MB / 0.6269 GB, free: 185.1 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01718/2.021, allocations: 9.246 MB / 0.6359 GB, free: 175.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01398/2.035, allocations: 5.997 MB / 0.6418 GB, free: 169.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/2.035, allocations: 59.83 kB / 0.6418 GB, free: 169.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.06041/2.096, allocations: 17.24 MB / 0.6587 GB, free: 152 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/2.096, allocations: 85.31 kB / 0.6588 GB, free: 151.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002745/2.096, allocations: 188.1 kB / 0.6589 GB, free: 151.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02696/2.123, allocations: 4.577 MB / 0.6634 GB, free: 147.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01258/2.136, allocations: 2.008 MB / 0.6654 GB, free: 145.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07105/2.207, allocations: 35.06 MB / 0.6996 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01251/2.219, allocations: 0.5382 MB / 0.7001 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002257/2.222, allocations: 0.5584 MB / 0.7007 GB, free: 108.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 836 * 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 (1049): * Single equations (assignments): 1036 * Array equations: 6 * 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%) 33,(2,100.0%) 19,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.009541/2.231, allocations: 3.189 MB / 0.7038 GB, free: 104.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001712/2.233, allocations: 0.5245 MB / 0.7043 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0359/2.269, allocations: 9.884 MB / 0.714 GB, free: 94.32 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001008/2.269, allocations: 51.98 kB / 0.714 GB, free: 94.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.03102/2.3, allocations: 8.45 MB / 0.7223 GB, free: 85.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001288/2.3, allocations: 15.94 kB / 0.7223 GB, free: 85.67 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06689/2.367, allocations: 22.57 MB / 0.7443 GB, free: 63.01 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.288e-05/2.367, allocations: 8 kB / 0.7443 GB, free: 63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004597/2.372, allocations: 463.9 kB / 0.7448 GB, free: 62.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01937/2.391, allocations: 3.29 MB / 0.748 GB, free: 59.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009064/2.392, allocations: 59.98 kB / 0.748 GB, free: 59.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05449/2.447, allocations: 25.21 MB / 0.7727 GB, free: 33.44 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0251/2.472, allocations: 11.02 MB / 0.7834 GB, free: 22.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04438/2.516, allocations: 14.67 MB / 0.7977 GB, free: 7.125 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004421/2.521, allocations: 1.13 MB / 0.7988 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.3028/2.824, allocations: 55.84 kB / 0.7989 GB, free: 179.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007023/2.831, allocations: 216.6 kB / 0.7991 GB, free: 179.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001671/2.832, allocations: 228.2 kB / 0.7993 GB, free: 179.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005342/2.833, allocations: 91.05 kB / 0.7994 GB, free: 179.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0092/2.842, allocations: 3.746 MB / 0.8031 GB, free: 179.8 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.12e-07/2.842, allocations: 2 kB / 0.8031 GB, free: 179.8 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01238/2.855, allocations: 1.989 MB / 0.805 GB, free: 179.8 MB / 474.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.constantTorque.phi,bodyOfJoint.body.w_a[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (208): * Single equations (assignments): 200 * 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%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001774/2.856, allocations: 263.7 kB / 0.8053 GB, free: 179.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02448/2.881, allocations: 10.61 MB / 0.8156 GB, free: 178.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/2.881, allocations: 3.719 kB / 0.8156 GB, free: 178.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009858/2.891, allocations: 4.134 MB / 0.8197 GB, free: 176.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006505/2.897, allocations: 0.7356 MB / 0.8204 GB, free: 176.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04011/2.938, allocations: 19.44 MB / 0.8394 GB, free: 164 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009929/2.948, allocations: 5.089 MB / 0.8443 GB, free: 160.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002766/2.95, allocations: 426.5 kB / 0.8448 GB, free: 159.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.142e-06/2.95, allocations: 0 / 0.8448 GB, free: 159.8 MB / 474.7 MB Notification: Performance of Templates: time 0.7364/3.687, allocations: 244 MB / 1.083 GB, free: 95.22 MB / 474.7 MB