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_trunk_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadModel(ModelicaTest): time 2.423/2.423, allocations: 270.1 MB / 283.6 MB, free: 3.016 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.59e-05/3.646e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.115, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4458/0.5609, allocations: 106.8 MB / 0.505 GB, free: 13.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002211/0.5611, allocations: 79.95 kB / 0.5051 GB, free: 13.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8384/1.4, allocations: 128.6 MB / 0.6306 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.868e-06/1.4, allocations: 1.062 kB / 0.6306 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003719/1.4, allocations: 117.4 kB / 0.6307 GB, free: 114.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2169 * Number of variables: 2169 Notification: Performance of Generate backend data structure: time 0.02138/1.421, allocations: 6.155 MB / 0.6367 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.421, allocations: 9.312 kB / 0.6367 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03809/1.46, allocations: 6.443 MB / 0.643 GB, free: 111.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02222/1.482, allocations: 7.951 MB / 0.6508 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004498/1.482, allocations: 431.6 kB / 0.6512 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002833/1.485, allocations: 0.5727 MB / 0.6518 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03806/1.523, allocations: 15.05 MB / 0.6665 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003566/1.524, allocations: 61.61 kB / 0.6665 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002433/1.526, allocations: 259.5 kB / 0.6668 GB, free: 108.8 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002853/1.529, allocations: 1.662 MB / 0.6684 GB, free: 108.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03737/1.566, allocations: 14.38 MB / 0.6824 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09129/1.658, allocations: 55.46 MB / 0.7366 GB, free: 61.23 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02259/1.68, allocations: 7.928 MB / 0.7443 GB, free: 53.82 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0073/1.688, allocations: 4.692 MB / 0.7489 GB, free: 49.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002013/1.69, allocations: 2.207 MB / 0.7511 GB, free: 46.55 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.59e-05/1.69, allocations: 61.08 kB / 0.7511 GB, free: 46.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=367): time 9.646e-06/1.69, allocations: 4 kB / 0.7511 GB, free: 46.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=419): time 0.1119/1.802, allocations: 33.18 MB / 0.7835 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/1.802, allocations: 116 kB / 0.7836 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007074/1.809, allocations: 3.749 MB / 0.7873 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008649/1.81, allocations: 85.7 kB / 0.7874 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002786/1.813, allocations: 3.836 MB / 0.7911 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001944/1.815, allocations: 1.487 MB / 0.7926 GB, free: 4 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007555/1.815, allocations: 155.9 kB / 0.7927 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004869/1.816, allocations: 0.6365 MB / 0.7933 GB, free: 3.207 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007477/1.823, allocations: 3.814 MB / 0.7971 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01272/1.836, allocations: 7.52 MB / 0.8044 GB, free: 6.062 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01171/1.848, allocations: 5.398 MB / 0.8097 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001266/1.848, allocations: 36 kB / 0.8097 GB, free: 0.6094 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.3483/2.196, allocations: 13.53 MB / 0.8229 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/2.197, allocations: 61 kB / 0.823 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002481/2.197, allocations: 129.8 kB / 0.8231 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/2.208, allocations: 2.622 MB / 0.8257 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01024/2.218, allocations: 1.928 MB / 0.8276 GB, free: 114.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02407/2.242, allocations: 13.62 MB / 0.8409 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007855/2.25, allocations: 480.3 kB / 0.8413 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001744/2.252, allocations: 428.2 kB / 0.8417 GB, free: 112.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 588 * Number of states: 0 () * Number of discrete variables: 50 (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.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[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 (914): * Single equations (assignments): 906 * 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.001909/2.254, allocations: 0.6511 MB / 0.8424 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001202/2.255, allocations: 466.2 kB / 0.8428 GB, free: 111.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02415/2.279, allocations: 10.35 MB / 0.8529 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001007/2.279, allocations: 62.55 kB / 0.853 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.756e-05/2.279, allocations: 7.688 kB / 0.853 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.06e-05/2.279, allocations: 20.94 kB / 0.853 GB, free: 110.6 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05587/2.335, allocations: 20.88 MB / 0.8734 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.922e-05/2.335, allocations: 10.81 kB / 0.8734 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00515/2.34, allocations: 0.7868 MB / 0.8742 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009444/2.35, allocations: 2.403 MB / 0.8765 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009012/2.351, allocations: 77.95 kB / 0.8766 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02205/2.373, allocations: 12.37 MB / 0.8887 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/2.373, allocations: 15.56 kB / 0.8887 GB, free: 97.57 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03062/2.404, allocations: 16.12 MB / 0.9044 GB, free: 88.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001407/2.405, allocations: 0.4917 MB / 0.9049 GB, free: 88.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001733/2.407, allocations: 80.78 kB / 0.905 GB, free: 88.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004221/2.411, allocations: 287 kB / 0.9053 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/2.412, allocations: 262 kB / 0.9055 GB, free: 87.94 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005478/2.413, allocations: 112.7 kB / 0.9056 GB, free: 87.84 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.005505/2.418, allocations: 2.63 MB / 0.9082 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.342e-06/2.418, allocations: 0 / 0.9082 GB, free: 85.52 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009025/2.428, allocations: 1.634 MB / 0.9098 GB, free: 83.89 MB / 0.5261 GB 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.001105/2.429, allocations: 240.7 kB / 0.91 GB, free: 83.68 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0173/2.446, allocations: 9.353 MB / 0.9191 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.213e-05/2.446, allocations: 0 / 0.9191 GB, free: 75.28 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.007909/2.454, allocations: 4.151 MB / 0.9232 GB, free: 71.55 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004524/2.459, allocations: 0.6385 MB / 0.9238 GB, free: 71.02 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02894/2.488, allocations: 13.15 MB / 0.9367 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009223/2.497, allocations: 4.67 MB / 0.9412 GB, free: 55.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01038/2.507, allocations: 2.733 MB / 0.9439 GB, free: 54.21 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00235/2.51, allocations: 345.6 kB / 0.9442 GB, free: 53.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.817e-06/2.51, allocations: 3.938 kB / 0.9442 GB, free: 53.89 MB / 0.5261 GB Notification: Performance of Templates: time 0.1519/2.662, allocations: 64.18 MB / 1.007 GB, free: 7.07 MB / 0.5417 GB