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.826/1.826, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.07e-05, allocations: 5.391 kB / 255.3 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07949/0.07954, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4497, allocations: 106.8 MB / 406.6 MB, free: 15.55 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.4501, allocations: 84.77 kB / 406.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7058/1.156, allocations: 127.3 MB / 0.5215 GB, free: 57.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.223e-06/1.156, allocations: 0 / 0.5215 GB, free: 57.34 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004539/1.156, allocations: 144 kB / 0.5217 GB, free: 57.33 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.02781/1.184, allocations: 7.072 MB / 0.5286 GB, free: 54.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.184, allocations: 13.97 kB / 0.5286 GB, free: 54.81 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01677/1.201, allocations: 2.763 MB / 0.5313 GB, free: 54.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02252/1.224, allocations: 7.484 MB / 0.5386 GB, free: 53.53 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005797/1.224, allocations: 0.5149 MB / 0.5391 GB, free: 53.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003095/1.227, allocations: 0.6888 MB / 0.5398 GB, free: 53.51 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04534/1.273, allocations: 17.13 MB / 0.5565 GB, free: 49.97 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003857/1.273, allocations: 87.58 kB / 0.5566 GB, free: 49.96 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002651/1.276, allocations: 328.6 kB / 0.5569 GB, free: 49.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002949/1.279, allocations: 1.497 MB / 0.5584 GB, free: 49.94 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03828/1.317, allocations: 14.33 MB / 0.5723 GB, free: 48.47 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.42, allocations: 73.29 MB / 0.6439 GB, free: 6.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02801/1.448, allocations: 7.597 MB / 0.6513 GB, free: 148 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007939/1.456, allocations: 3.941 MB / 0.6552 GB, free: 12.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2838/1.74, allocations: 16.01 MB / 0.6708 GB, free: 83.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.698e-05/1.74, allocations: 63.67 kB / 0.6709 GB, free: 83.81 MB / 426.7 MB Notification: Performance of pre-optimization done (n=261): time 7.726e-06/1.74, allocations: 0 / 0.6709 GB, free: 83.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=335): time 0.1542/1.894, allocations: 38.76 MB / 0.7087 GB, free: 79.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03021/1.925, allocations: 14.87 MB / 0.7233 GB, free: 76.35 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01149/1.936, allocations: 5.02 MB / 0.7282 GB, free: 75 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008141/1.937, allocations: 70.17 kB / 0.7282 GB, free: 74.94 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003362/1.94, allocations: 4.583 MB / 0.7327 GB, free: 71.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001789/1.942, allocations: 1.255 MB / 0.7339 GB, free: 70.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001022/1.943, allocations: 181.6 kB / 0.7341 GB, free: 70.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008034/1.944, allocations: 0.7015 MB / 0.7348 GB, free: 70.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008845/1.953, allocations: 4.026 MB / 0.7387 GB, free: 68.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01177/1.965, allocations: 9.238 MB / 0.7477 GB, free: 60.32 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01193/1.977, allocations: 6.035 MB / 0.7536 GB, free: 58.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001555/1.977, allocations: 50.12 kB / 0.7537 GB, free: 58.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=1181) (initialization): time 0.04848/2.025, allocations: 17.61 MB / 0.7709 GB, free: 49.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001442/2.026, allocations: 98.14 kB / 0.771 GB, free: 49.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002208/2.026, allocations: 180 kB / 0.7711 GB, free: 49.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02045/2.046, allocations: 4.98 MB / 0.776 GB, free: 45.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0087/2.055, allocations: 2.002 MB / 0.778 GB, free: 44.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06033/2.115, allocations: 37.01 MB / 0.8141 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/2.126, allocations: 0.552 MB / 0.8146 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002109/2.128, allocations: 0.559 MB / 0.8152 GB, free: 10.22 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.003083/2.131, allocations: 0.8023 MB / 0.816 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001377/2.133, allocations: 0.5206 MB / 0.8165 GB, free: 8.902 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.287/2.42, allocations: 10.39 MB / 0.8266 GB, free: 69.67 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/2.42, allocations: 47.2 kB / 0.8267 GB, free: 69.67 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02834/2.448, allocations: 9.478 MB / 0.8359 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.73e-05/2.448, allocations: 17.58 kB / 0.8359 GB, free: 69.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06117/2.509, allocations: 23.47 MB / 0.8589 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.871e-05/2.509, allocations: 3.781 kB / 0.8589 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003188/2.513, allocations: 448.8 kB / 0.8593 GB, free: 67.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01803/2.531, allocations: 3.812 MB / 0.863 GB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008475/2.532, allocations: 70.06 kB / 0.8631 GB, free: 67.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05122/2.583, allocations: 27.36 MB / 0.8898 GB, free: 54.71 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02383/2.607, allocations: 12.12 MB / 0.9016 GB, free: 48.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03448/2.641, allocations: 15.02 MB / 0.9163 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00394/2.645, allocations: 1.155 MB / 0.9174 GB, free: 42.01 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001884/2.647, allocations: 58.16 kB / 0.9175 GB, free: 41.97 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005082/2.652, allocations: 217.7 kB / 0.9177 GB, free: 41.93 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001451/2.654, allocations: 243.9 kB / 0.9179 GB, free: 41.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000601/2.654, allocations: 95.36 kB / 0.918 GB, free: 41.88 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008758/2.663, allocations: 3.499 MB / 0.9214 GB, free: 40.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.489e-06/2.663, allocations: 2.438 kB / 0.9214 GB, free: 40.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01265/2.676, allocations: 2.042 MB / 0.9234 GB, free: 38.75 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.001436/2.677, allocations: 263.9 kB / 0.9237 GB, free: 38.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02022/2.698, allocations: 10.65 MB / 0.9341 GB, free: 29.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.514e-05/2.698, allocations: 5.375 kB / 0.9341 GB, free: 29.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00813/2.706, allocations: 4.19 MB / 0.9382 GB, free: 25.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005348/2.711, allocations: 0.7574 MB / 0.9389 GB, free: 24.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03438/2.746, allocations: 14.39 MB / 0.953 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01123/2.757, allocations: 5.11 MB / 0.958 GB, free: 8.215 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002109/2.759, allocations: 419.7 kB / 0.9584 GB, free: 7.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.9e-06/2.759, allocations: 4 kB / 0.9584 GB, free: 7.816 MB / 426.7 MB Notification: Performance of Templates: time 0.9068/3.666, allocations: 244.8 MB / 1.197 GB, free: 82.68 MB / 458.7 MB