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.2_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadModel(ModelicaTest): time 2.481/2.481, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.379e-05/3.394e-05, allocations: 7.984 kB / 304.9 MB, free: 5.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3496/0.3497, allocations: 54.84 MB / 359.8 MB, free: 3.047 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.5015, allocations: 99.2 MB / 459 MB, free: 13.75 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002407/0.5018, allocations: 78.58 kB / 459.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8159/1.318, allocations: 128.6 MB / 0.5739 GB, free: 105.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.772e-06/1.318, allocations: 0 / 0.5739 GB, free: 105.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004657/1.318, allocations: 119.5 kB / 0.574 GB, free: 105.1 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2209 * Number of variables: 2209 Notification: Performance of Generate backend data structure: time 0.0287/1.347, allocations: 6.237 MB / 0.5801 GB, free: 102.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.326e-05/1.347, allocations: 6.969 kB / 0.5801 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06982/1.417, allocations: 6.458 MB / 0.5864 GB, free: 99.53 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02343/1.44, allocations: 8.557 MB / 0.5947 GB, free: 94.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004822/1.441, allocations: 447.4 kB / 0.5952 GB, free: 94.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/1.444, allocations: 0.5858 MB / 0.5957 GB, free: 93.88 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03856/1.483, allocations: 15.23 MB / 0.6106 GB, free: 78.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003393/1.483, allocations: 67.41 kB / 0.6107 GB, free: 78 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002487/1.485, allocations: 263.5 kB / 0.6109 GB, free: 77.79 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002968/1.488, allocations: 1.685 MB / 0.6126 GB, free: 76.11 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03449/1.523, allocations: 14.46 MB / 0.6267 GB, free: 61.64 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09257/1.616, allocations: 56.27 MB / 0.6816 GB, free: 4.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02328/1.639, allocations: 7.936 MB / 0.6894 GB, free: 12.32 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009369/1.648, allocations: 4.69 MB / 0.694 GB, free: 7.621 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002965/1.651, allocations: 2.211 MB / 0.6961 GB, free: 5.043 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.878e-05/1.651, allocations: 61.08 kB / 0.6962 GB, free: 4.973 MB / 474.7 MB Notification: Performance of pre-optimization done (n=367): time 9.024e-06/1.651, allocations: 0 / 0.6962 GB, free: 4.973 MB / 474.7 MB Notification: Performance of matching and sorting (n=419): time 0.4625/2.114, allocations: 33.37 MB / 0.7288 GB, free: 109.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/2.114, allocations: 120.1 kB / 0.7289 GB, free: 109.6 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007999/2.122, allocations: 3.827 MB / 0.7326 GB, free: 108.7 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009256/2.123, allocations: 85.38 kB / 0.7327 GB, free: 108.6 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002844/2.126, allocations: 3.91 MB / 0.7365 GB, free: 105.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002194/2.128, allocations: 1.484 MB / 0.738 GB, free: 104.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000808/2.129, allocations: 152.2 kB / 0.7381 GB, free: 104.6 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005466/2.13, allocations: 0.636 MB / 0.7387 GB, free: 104.1 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008124/2.138, allocations: 3.825 MB / 0.7425 GB, free: 102.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01044/2.148, allocations: 7.566 MB / 0.7499 GB, free: 96.69 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0106/2.159, allocations: 5.411 MB / 0.7551 GB, free: 95.1 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001162/2.159, allocations: 40.69 kB / 0.7552 GB, free: 95.1 MB / 474.7 MB Notification: Performance of matching and sorting (n=1017) (initialization): time 0.03498/2.194, allocations: 13.57 MB / 0.7684 GB, free: 91.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001079/2.194, allocations: 59.88 kB / 0.7685 GB, free: 91.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001652/2.194, allocations: 131.7 kB / 0.7686 GB, free: 91.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009612/2.204, allocations: 2.629 MB / 0.7712 GB, free: 90.83 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0136/2.218, allocations: 1.948 MB / 0.7731 GB, free: 89.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02331/2.241, allocations: 13.61 MB / 0.7864 GB, free: 78.02 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008021/2.249, allocations: 484.1 kB / 0.7868 GB, free: 77.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/2.251, allocations: 434 kB / 0.7873 GB, free: 77.25 MB / 474.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.002268/2.253, allocations: 0.6523 MB / 0.7879 GB, free: 76.59 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001155/2.254, allocations: 466 kB / 0.7883 GB, free: 76.13 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02422/2.279, allocations: 10.36 MB / 0.7985 GB, free: 67.93 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001034/2.279, allocations: 64.31 kB / 0.7985 GB, free: 67.87 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.987e-05/2.279, allocations: 11.94 kB / 0.7985 GB, free: 67.86 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.413e-05/2.279, allocations: 19.84 kB / 0.7986 GB, free: 67.86 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04934/2.328, allocations: 20.95 MB / 0.819 GB, free: 49.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.088e-05/2.328, allocations: 12 kB / 0.819 GB, free: 49.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004706/2.333, allocations: 0.7888 MB / 0.8198 GB, free: 48.22 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008874/2.342, allocations: 2.412 MB / 0.8222 GB, free: 45.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009101/2.343, allocations: 76.5 kB / 0.8222 GB, free: 45.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02052/2.363, allocations: 12.37 MB / 0.8343 GB, free: 33.09 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-05/2.364, allocations: 15.94 kB / 0.8343 GB, free: 33.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03025/2.394, allocations: 16.13 MB / 0.8501 GB, free: 16.26 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003864/2.398, allocations: 1.155 MB / 0.8512 GB, free: 15.08 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001892/2.4, allocations: 73.48 kB / 0.8513 GB, free: 15.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00433/2.404, allocations: 300.3 kB / 0.8516 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/2.405, allocations: 267 kB / 0.8518 GB, free: 14.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004841/2.406, allocations: 112.9 kB / 0.8519 GB, free: 14.35 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005628/2.411, allocations: 2.667 MB / 0.8545 GB, free: 11.68 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.04e-06/2.411, allocations: 0 / 0.8545 GB, free: 11.68 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009521/2.421, allocations: 1.655 MB / 0.8561 GB, free: 10.03 MB / 474.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.001185/2.422, allocations: 232.2 kB / 0.8564 GB, free: 9.801 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01872/2.441, allocations: 9.374 MB / 0.8655 GB, free: 432 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/2.441, allocations: 0 / 0.8655 GB, free: 432 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009945/2.451, allocations: 4.157 MB / 0.8696 GB, free: 12.24 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004822/2.456, allocations: 0.6266 MB / 0.8702 GB, free: 11.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3129/2.769, allocations: 13.29 MB / 0.8832 GB, free: 117 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01126/2.78, allocations: 4.749 MB / 0.8878 GB, free: 116.2 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01077/2.791, allocations: 2.736 MB / 0.8905 GB, free: 116.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002562/2.793, allocations: 352 kB / 0.8908 GB, free: 116.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.947e-06/2.794, allocations: 0 / 0.8908 GB, free: 116.1 MB / 490.7 MB Notification: Performance of Templates: time 0.1574/2.951, allocations: 64.34 MB / 0.9536 GB, free: 96 MB / 490.7 MB