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.856/1.856, allocations: 194.9 MB / 210.6 MB, free: 8.141 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.125e-05/3.12e-05, allocations: 8 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.29, allocations: 44.51 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.1012/0.3913, allocations: 67.87 MB / 371.2 MB, free: 9.516 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04131/0.4327, allocations: 15.08 MB / 386.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0146/0.4473, allocations: 399 kB / 386.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01196/0.4593, allocations: 3.616 MB / 390.3 MB, free: 6.359 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03444/0.4938, allocations: 9.509 MB / 399.8 MB, free: 12.82 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006559/0.5004, allocations: 1.135 MB / 400.9 MB, free: 11.69 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.007909/0.5084, allocations: 2.755 MB / 403.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01705/0.5255, allocations: 8.68 MB / 412.4 MB, free: 188 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002802/0.5284, allocations: 1.376 MB / 413.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003366/0.5318, allocations: 1.854 MB / 415.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003488/0.5353, allocations: 1.272 MB / 416.9 MB, free: 11.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001124/0.5364, allocations: 184 kB / 417.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003194/0.5396, allocations: 2.451 MB / 419.5 MB, free: 9.035 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001577/0.5412, allocations: 436 kB / 419.9 MB, free: 8.609 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.31/0.8513, allocations: 9.524 MB / 429.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8513, allocations: 0 / 429.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.875e-06/0.8513, allocations: 0 / 429.5 MB, free: 12.44 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004072/0.8518, allocations: 0.5312 kB / 429.5 MB, free: 12.44 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.02507/0.8768, allocations: 6.864 MB / 436.3 MB, free: 9.879 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.8769, allocations: 8.906 kB / 436.3 MB, free: 9.879 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01624/0.8932, allocations: 2.613 MB / 438.9 MB, free: 9.426 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01275/0.906, allocations: 4.524 MB / 443.5 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004186/0.9064, allocations: 424.4 kB / 443.9 MB, free: 8.668 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003015/0.9095, allocations: 0.5658 MB / 444.4 MB, free: 8.664 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04719/0.9567, allocations: 16.81 MB / 461.3 MB, free: 6.082 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002633/0.957, allocations: 57.44 kB / 461.3 MB, free: 6.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001509/0.9585, allocations: 265 kB / 461.6 MB, free: 6.074 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005833/0.9644, allocations: 2.547 MB / 464.1 MB, free: 6.047 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04458/1.009, allocations: 14.43 MB / 478.6 MB, free: 0.5664 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.1205/1.129, allocations: 63.02 MB / 0.5289 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03845/1.168, allocations: 7.613 MB / 0.5363 GB, free: 6.668 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03845/1.207, allocations: 16.18 MB / 0.5521 GB, free: 8.27 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.677e-05/1.207, allocations: 74.56 kB / 0.5522 GB, free: 8.191 MB / 442.7 MB Notification: Performance of pre-optimization done (n=260): time 7.053e-06/1.207, allocations: 0 / 0.5522 GB, free: 8.191 MB / 442.7 MB Notification: Performance of matching and sorting (n=326): time 0.477/1.684, allocations: 43.4 MB / 0.5946 GB, free: 202.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03701/1.721, allocations: 17.05 MB / 0.6112 GB, free: 193.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009574/1.73, allocations: 5.319 MB / 0.6164 GB, free: 191.6 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009265/1.731, allocations: 76.92 kB / 0.6165 GB, free: 191.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003479/1.735, allocations: 4.713 MB / 0.6211 GB, free: 188.5 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001908/1.737, allocations: 1.22 MB / 0.6223 GB, free: 187.6 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008752/1.738, allocations: 182 kB / 0.6224 GB, free: 187.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004827/1.738, allocations: 0.6883 MB / 0.6231 GB, free: 187 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009193/1.747, allocations: 4.056 MB / 0.6271 GB, free: 185.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01211/1.76, allocations: 9.248 MB / 0.6361 GB, free: 174.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01299/1.773, allocations: 5.999 MB / 0.642 GB, free: 169 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001127/1.773, allocations: 56 kB / 0.642 GB, free: 168.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1180) (initialization): time 0.05652/1.829, allocations: 17.44 MB / 0.6591 GB, free: 151.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.829, allocations: 84 kB / 0.6591 GB, free: 151.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001861/1.83, allocations: 188.1 kB / 0.6593 GB, free: 151.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02608/1.856, allocations: 4.575 MB / 0.6638 GB, free: 146.6 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01208/1.868, allocations: 2.004 MB / 0.6657 GB, free: 144.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06769/1.936, allocations: 35.06 MB / 0.7 GB, free: 108.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01153/1.947, allocations: 0.5361 MB / 0.7005 GB, free: 108.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001618/1.949, allocations: 0.5584 MB / 0.701 GB, free: 107.5 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.007316/1.956, allocations: 3.194 MB / 0.7042 GB, free: 104.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001436/1.958, allocations: 0.5245 MB / 0.7047 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03316/1.991, allocations: 9.888 MB / 0.7143 GB, free: 93.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.508e-05/1.991, allocations: 51.98 kB / 0.7144 GB, free: 93.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02901/2.02, allocations: 8.45 MB / 0.7226 GB, free: 85.12 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.727e-05/2.02, allocations: 15.94 kB / 0.7226 GB, free: 85.1 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06134/2.081, allocations: 22.56 MB / 0.7447 GB, free: 62.45 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.824e-05/2.082, allocations: 8 kB / 0.7447 GB, free: 62.44 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004506/2.086, allocations: 471.8 kB / 0.7451 GB, free: 61.98 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01877/2.105, allocations: 3.282 MB / 0.7483 GB, free: 58.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006603/2.106, allocations: 59.98 kB / 0.7484 GB, free: 58.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05376/2.159, allocations: 25.2 MB / 0.773 GB, free: 32.89 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02386/2.183, allocations: 11.02 MB / 0.7838 GB, free: 21.58 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03916/2.222, allocations: 14.67 MB / 0.7981 GB, free: 6.566 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2792/2.502, allocations: 1.127 MB / 0.7992 GB, free: 180.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002005/2.504, allocations: 56.38 kB / 0.7993 GB, free: 180.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005722/2.51, allocations: 218.2 kB / 0.7995 GB, free: 180.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001065/2.511, allocations: 229 kB / 0.7997 GB, free: 180.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004179/2.511, allocations: 88.34 kB / 0.7998 GB, free: 180.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007687/2.519, allocations: 3.745 MB / 0.8034 GB, free: 179.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.72e-07/2.519, allocations: 0 / 0.8034 GB, free: 179.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0109/2.53, allocations: 1.994 MB / 0.8054 GB, free: 179.9 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.001422/2.531, allocations: 268.7 kB / 0.8056 GB, free: 179.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02269/2.554, allocations: 10.61 MB / 0.816 GB, free: 178.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/2.554, allocations: 0 / 0.816 GB, free: 178.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009166/2.563, allocations: 4.143 MB / 0.82 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.006043/2.569, allocations: 0.7393 MB / 0.8208 GB, free: 176.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0366/2.606, allocations: 18.66 MB / 0.839 GB, free: 164 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008978/2.615, allocations: 5.076 MB / 0.8439 GB, free: 160.2 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01154/2.626, allocations: 2.761 MB / 0.8466 GB, free: 158.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001937/2.628, allocations: 362.4 kB / 0.847 GB, free: 158.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.363e-06/2.628, allocations: 0 / 0.847 GB, free: 158.1 MB / 474.7 MB Notification: Performance of Templates: time 0.198/2.826, allocations: 83.77 MB / 0.9288 GB, free: 76.43 MB / 474.7 MB