Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|revolute1.phi|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadModel(ModelicaTest): time 1.903/1.903, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.891e-05/3.908e-05, allocations: 4 kB / 273.1 MB, free: 3.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08883/0.08889, allocations: 48.69 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3667/0.4556, allocations: 92.4 MB / 414.2 MB, free: 2.961 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001906/0.4558, allocations: 74.58 kB / 414.2 MB, free: 2.922 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7561/1.212, allocations: 128.5 MB / 0.53 GB, free: 78.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.46e-06/1.212, allocations: 0 / 0.53 GB, free: 78.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002981/1.212, allocations: 117.6 kB / 0.5302 GB, free: 78.62 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2208 * Number of variables: 2208 Notification: Performance of Generate backend data structure: time 0.02115/1.233, allocations: 6.237 MB / 0.5362 GB, free: 76.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/1.234, allocations: 8.688 kB / 0.5363 GB, free: 76.43 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03454/1.268, allocations: 6.462 MB / 0.5426 GB, free: 76.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02296/1.291, allocations: 8.562 MB / 0.5509 GB, free: 75.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004917/1.292, allocations: 440.8 kB / 0.5514 GB, free: 75.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003044/1.295, allocations: 0.5816 MB / 0.5519 GB, free: 75.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05018/1.345, allocations: 15.22 MB / 0.5668 GB, free: 73.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005285/1.345, allocations: 55.19 kB / 0.5668 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003508/1.349, allocations: 274.6 kB / 0.5671 GB, free: 73.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006484/1.356, allocations: 1.691 MB / 0.5688 GB, free: 73.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03993/1.396, allocations: 14.46 MB / 0.5829 GB, free: 72.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09697/1.493, allocations: 56.26 MB / 0.6378 GB, free: 32.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02179/1.514, allocations: 7.939 MB / 0.6456 GB, free: 26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007355/1.522, allocations: 4.689 MB / 0.6501 GB, free: 21.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001966/1.524, allocations: 2.207 MB / 0.6523 GB, free: 19.27 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.784e-05/1.524, allocations: 68.88 kB / 0.6524 GB, free: 19.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=367): time 9.176e-06/1.524, allocations: 0 / 0.6524 GB, free: 19.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=419): time 0.1219/1.646, allocations: 33.39 MB / 0.685 GB, free: 5.504 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001075/1.646, allocations: 116 kB / 0.6851 GB, free: 5.371 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008775/1.655, allocations: 3.815 MB / 0.6888 GB, free: 1.543 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008589/1.656, allocations: 81.7 kB / 0.6889 GB, free: 1.457 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2521/1.908, allocations: 3.907 MB / 0.6927 GB, free: 87.03 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002016/1.91, allocations: 1.491 MB / 0.6942 GB, free: 86.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007838/1.911, allocations: 151.8 kB / 0.6943 GB, free: 86.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005974/1.911, allocations: 0.633 MB / 0.6949 GB, free: 85.99 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008409/1.92, allocations: 3.828 MB / 0.6987 GB, free: 85.97 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01149/1.931, allocations: 7.565 MB / 0.706 GB, free: 81.24 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/1.943, allocations: 5.406 MB / 0.7113 GB, free: 81.17 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000181/1.943, allocations: 38.41 kB / 0.7114 GB, free: 81.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.03398/1.977, allocations: 13.58 MB / 0.7246 GB, free: 80.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.977, allocations: 61.31 kB / 0.7247 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001665/1.977, allocations: 130.9 kB / 0.7248 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009812/1.987, allocations: 2.63 MB / 0.7274 GB, free: 80.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009482/1.996, allocations: 1.944 MB / 0.7293 GB, free: 80.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02438/2.021, allocations: 13.61 MB / 0.7426 GB, free: 77.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007705/2.029, allocations: 480.9 kB / 0.743 GB, free: 77.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/2.031, allocations: 435.8 kB / 0.7434 GB, free: 77.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 594 * Number of states: 0 () * Number of discrete variables: 45 (bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (920): * Single equations (assignments): 912 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,69.4%) 32,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001923/2.032, allocations: 0.6515 MB / 0.7441 GB, free: 76.66 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/2.034, allocations: 468 kB / 0.7445 GB, free: 76.41 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02528/2.059, allocations: 10.36 MB / 0.7546 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/2.059, allocations: 64.48 kB / 0.7547 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.733e-05/2.059, allocations: 12.62 kB / 0.7547 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-05/2.059, allocations: 18.47 kB / 0.7547 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07457/2.134, allocations: 20.96 MB / 0.7752 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.225e-05/2.134, allocations: 10.66 kB / 0.7752 GB, free: 66.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009056/2.143, allocations: 0.7854 MB / 0.776 GB, free: 66.15 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01684/2.16, allocations: 2.407 MB / 0.7783 GB, free: 65.53 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001175/2.161, allocations: 79.7 kB / 0.7784 GB, free: 65.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0262/2.187, allocations: 12.36 MB / 0.7905 GB, free: 54.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.201e-05/2.187, allocations: 15.94 kB / 0.7905 GB, free: 54.76 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0282/2.216, allocations: 16.13 MB / 0.8062 GB, free: 40.31 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003407/2.219, allocations: 1.154 MB / 0.8074 GB, free: 39.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/2.22, allocations: 76.31 kB / 0.8074 GB, free: 39.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003824/2.224, allocations: 293.1 kB / 0.8077 GB, free: 38.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/2.225, allocations: 270.9 kB / 0.808 GB, free: 38.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004791/2.226, allocations: 111.5 kB / 0.8081 GB, free: 38.71 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005436/2.231, allocations: 2.672 MB / 0.8107 GB, free: 36.36 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.029e-06/2.231, allocations: 3 kB / 0.8107 GB, free: 36.36 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008537/2.24, allocations: 1.65 MB / 0.8123 GB, free: 34.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 7 (revolute.phi,revolute.w,constantSpeed.phi,revolute2.phi,revolute2.w,revolute3.phi,revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (334): * Single equations (assignments): 326 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 9,(6,69.4%) 29} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008357/2.241, allocations: 247.7 kB / 0.8125 GB, free: 34.49 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01685/2.257, allocations: 9.369 MB / 0.8217 GB, free: 26.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/2.258, allocations: 4 kB / 0.8217 GB, free: 26.08 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00718/2.265, allocations: 4.14 MB / 0.8257 GB, free: 22.36 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003789/2.269, allocations: 0.6355 MB / 0.8264 GB, free: 21.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03281/2.301, allocations: 13.3 MB / 0.8393 GB, free: 9.816 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01436/2.316, allocations: 4.739 MB / 0.844 GB, free: 5.055 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01616/2.332, allocations: 2.735 MB / 0.8466 GB, free: 2.32 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003743/2.336, allocations: 347.3 kB / 0.847 GB, free: 1.98 MB / 442.7 MB Notification: Performance of SimCode: time 2.515e-06/2.336, allocations: 0 / 0.847 GB, free: 1.98 MB / 442.7 MB Notification: Performance of Templates: time 0.423/2.759, allocations: 64.33 MB / 0.9098 GB, free: 87.58 MB / 458.7 MB