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.3_ModelicaTest.MultiBody.Joints.Revolute2") Notification: Performance of loadModel(ModelicaTest): time 2.332/2.332, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.244e-05/3.256e-05, allocations: 7.984 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3303, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1604/0.4907, allocations: 105.4 MB / 487.6 MB, free: 3.141 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/0.491, allocations: 79.95 kB / 487.6 MB, free: 3.062 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7811/1.272, allocations: 129 MB / 0.6022 GB, free: 73.48 MB / 458.8 MB Notification: Performance of FrontEnd: time 3.874e-06/1.272, allocations: 0 / 0.6022 GB, free: 73.48 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003107/1.273, allocations: 115.9 kB / 0.6023 GB, free: 73.37 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2212 * Number of variables: 2212 Notification: Performance of Generate backend data structure: time 0.019/1.292, allocations: 6.247 MB / 0.6084 GB, free: 67.05 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/1.292, allocations: 8.031 kB / 0.6084 GB, free: 67.04 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03422/1.326, allocations: 6.465 MB / 0.6147 GB, free: 60.56 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02371/1.35, allocations: 8.577 MB / 0.6231 GB, free: 51.92 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007582/1.35, allocations: 435.4 kB / 0.6235 GB, free: 51.5 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004231/1.355, allocations: 0.5856 MB / 0.6241 GB, free: 50.91 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04586/1.401, allocations: 15.24 MB / 0.639 GB, free: 34.95 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002944/1.401, allocations: 63.44 kB / 0.639 GB, free: 34.89 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002147/1.403, allocations: 259.8 kB / 0.6393 GB, free: 34.63 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003023/1.406, allocations: 1.699 MB / 0.6409 GB, free: 32.93 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03349/1.44, allocations: 14.47 MB / 0.6551 GB, free: 18.45 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1122/1.552, allocations: 56.37 MB / 0.7101 GB, free: 8.84 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02547/1.577, allocations: 7.937 MB / 0.7179 GB, free: 0.668 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.2998/1.877, allocations: 4.687 MB / 0.7224 GB, free: 121.8 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002215/1.88, allocations: 2.206 MB / 0.7246 GB, free: 119.8 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.014e-05/1.88, allocations: 67.2 kB / 0.7247 GB, free: 119.7 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=367): time 9.245e-06/1.88, allocations: 2.719 kB / 0.7247 GB, free: 119.7 MB / 0.4949 GB Notification: Performance of matching and sorting (n=419): time 0.1242/2.004, allocations: 33.37 MB / 0.7573 GB, free: 118.1 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.35e-05/2.004, allocations: 121.9 kB / 0.7574 GB, free: 118 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007088/2.011, allocations: 3.841 MB / 0.7611 GB, free: 116.7 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0008476/2.012, allocations: 86.91 kB / 0.7612 GB, free: 116.7 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.0028/2.015, allocations: 3.923 MB / 0.765 GB, free: 113.9 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001914/2.017, allocations: 1.489 MB / 0.7665 GB, free: 112.8 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008066/2.018, allocations: 152 kB / 0.7666 GB, free: 112.7 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0004993/2.018, allocations: 0.6402 MB / 0.7673 GB, free: 112.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007548/2.026, allocations: 3.827 MB / 0.771 GB, free: 111 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009793/2.035, allocations: 7.584 MB / 0.7784 GB, free: 104.8 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/2.046, allocations: 5.422 MB / 0.7837 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000101/2.046, allocations: 37.59 kB / 0.7837 GB, free: 103.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1020) (initialization): time 0.03163/2.077, allocations: 13.6 MB / 0.797 GB, free: 93.91 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/2.077, allocations: 60 kB / 0.7971 GB, free: 93.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001358/2.078, allocations: 132 kB / 0.7972 GB, free: 93.72 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009588/2.087, allocations: 2.632 MB / 0.7998 GB, free: 91.95 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009175/2.096, allocations: 1.944 MB / 0.8017 GB, free: 90.37 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02198/2.118, allocations: 13.62 MB / 0.815 GB, free: 78.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007648/2.126, allocations: 480.2 kB / 0.8154 GB, free: 78.23 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001561/2.128, allocations: 439.2 kB / 0.8158 GB, free: 77.83 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 597 * Number of states: 0 () * Number of discrete variables: 48 (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.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 (923): * Single equations (assignments): 915 * 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.001577/2.129, allocations: 0.6593 MB / 0.8165 GB, free: 77.17 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001022/2.13, allocations: 468.6 kB / 0.8169 GB, free: 76.71 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02169/2.152, allocations: 10.36 MB / 0.8271 GB, free: 68.53 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.656e-05/2.152, allocations: 67.08 kB / 0.8271 GB, free: 68.47 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.008e-05/2.152, allocations: 12 kB / 0.8271 GB, free: 68.46 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-05/2.152, allocations: 17.91 kB / 0.8271 GB, free: 68.46 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04507/2.197, allocations: 20.97 MB / 0.8476 GB, free: 50.21 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.584e-05/2.198, allocations: 8 kB / 0.8476 GB, free: 50.2 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004663/2.202, allocations: 0.7878 MB / 0.8484 GB, free: 49.41 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008881/2.211, allocations: 2.401 MB / 0.8507 GB, free: 47 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008875/2.212, allocations: 83.98 kB / 0.8508 GB, free: 46.92 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0199/2.232, allocations: 12.37 MB / 0.8629 GB, free: 34.27 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.436e-05/2.232, allocations: 15.94 kB / 0.8629 GB, free: 34.26 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02793/2.26, allocations: 16.14 MB / 0.8787 GB, free: 17.44 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003492/2.263, allocations: 1.163 MB / 0.8798 GB, free: 16.25 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001171/2.265, allocations: 79.98 kB / 0.8799 GB, free: 16.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003967/2.269, allocations: 294.2 kB / 0.8802 GB, free: 15.89 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001139/2.27, allocations: 266 kB / 0.8804 GB, free: 15.62 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004709/2.27, allocations: 112 kB / 0.8805 GB, free: 15.52 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.0058/2.276, allocations: 2.68 MB / 0.8832 GB, free: 12.83 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.548e-06/2.276, allocations: 3.938 kB / 0.8832 GB, free: 12.83 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.009699/2.286, allocations: 1.656 MB / 0.8848 GB, free: 11.18 MB / 0.4949 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.001084/2.287, allocations: 241.9 kB / 0.885 GB, free: 10.94 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01769/2.305, allocations: 9.381 MB / 0.8942 GB, free: 1.555 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.292e-05/2.305, allocations: 0 / 0.8942 GB, free: 1.555 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.008857/2.314, allocations: 4.152 MB / 0.8982 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/2.318, allocations: 0.6406 MB / 0.8988 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3532/2.671, allocations: 13.3 MB / 0.9118 GB, free: 128.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008201/2.679, allocations: 4.751 MB / 0.9165 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.009106/2.689, allocations: 2.743 MB / 0.9192 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002194/2.691, allocations: 350.3 kB / 0.9195 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of SimCode: time 2.199e-06/2.691, allocations: 0 / 0.9195 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.1848/2.876, allocations: 64.46 MB / 0.9824 GB, free: 105.9 MB / 0.5105 GB