Running command: translateModel(ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w|revolute3.phi|revolute3.w|revolute4.phi|revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.614/2.614, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.276e-05, allocations: 4 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3256, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1621/0.4878, allocations: 104.7 MB / 486.9 MB, free: 3.805 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002525/0.4881, allocations: 79.97 kB / 487 MB, free: 3.727 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7024/1.19, allocations: 111.4 MB / 0.5843 GB, free: 91.18 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.293e-06/1.19, allocations: 0 / 0.5843 GB, free: 91.18 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0004057/1.191, allocations: 106.8 kB / 0.5844 GB, free: 91.08 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.0203/1.211, allocations: 6.13 MB / 0.5904 GB, free: 84.89 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.211, allocations: 12.03 kB / 0.5904 GB, free: 84.88 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04917/1.26, allocations: 10.14 MB / 0.6003 GB, free: 74.71 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02593/1.286, allocations: 9.848 MB / 0.6099 GB, free: 64.79 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004265/1.287, allocations: 366.6 kB / 0.6103 GB, free: 64.43 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001796/1.289, allocations: 471.6 kB / 0.6107 GB, free: 63.96 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02744/1.316, allocations: 10.62 MB / 0.6211 GB, free: 52.77 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002798/1.317, allocations: 55.47 kB / 0.6212 GB, free: 52.71 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009101/1.317, allocations: 203.9 kB / 0.6214 GB, free: 52.52 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001538/1.319, allocations: 1.003 MB / 0.6223 GB, free: 51.51 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02447/1.343, allocations: 8.822 MB / 0.631 GB, free: 42.67 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06513/1.409, allocations: 44.07 MB / 0.674 GB, free: 13.38 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03143/1.44, allocations: 7.871 MB / 0.6817 GB, free: 5.496 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008886/1.449, allocations: 4.925 MB / 0.6865 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001859/1.451, allocations: 1.129 MB / 0.6876 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.316e-05/1.451, allocations: 68.81 kB / 0.6877 GB, free: 15.19 MB / 490.8 MB Notification: Performance of pre-optimization done (n=286): time 7.282e-06/1.451, allocations: 0 / 0.6877 GB, free: 15.19 MB / 490.8 MB Notification: Performance of matching and sorting (n=415): time 0.6126/2.064, allocations: 64.98 MB / 0.7511 GB, free: 126.6 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02133/2.085, allocations: 10.89 MB / 0.7617 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007913/2.093, allocations: 3.713 MB / 0.7654 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0009664/2.094, allocations: 91.08 kB / 0.7655 GB, free: 120.3 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.002554/2.097, allocations: 3.007 MB / 0.7684 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002063/2.099, allocations: 1.441 MB / 0.7698 GB, free: 117.1 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000699/2.099, allocations: 119 kB / 0.7699 GB, free: 117 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0003615/2.1, allocations: 0.5327 MB / 0.7704 GB, free: 116.6 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00845/2.108, allocations: 4.424 MB / 0.7748 GB, free: 114.9 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009849/2.118, allocations: 6.427 MB / 0.781 GB, free: 110.6 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01003/2.128, allocations: 5.42 MB / 0.7863 GB, free: 107.2 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.68e-05/2.128, allocations: 20 kB / 0.7863 GB, free: 107.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.04541/2.174, allocations: 18.28 MB / 0.8042 GB, free: 92.96 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 6.056e-05/2.174, allocations: 32 kB / 0.8042 GB, free: 92.93 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.115e-05/2.174, allocations: 68 kB / 0.8043 GB, free: 92.87 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02911/2.203, allocations: 8.599 MB / 0.8127 GB, free: 86.87 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005144/2.208, allocations: 1.038 MB / 0.8137 GB, free: 85.95 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08581/2.294, allocations: 48.47 MB / 0.861 GB, free: 37.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007032/2.301, allocations: 499.1 kB / 0.8615 GB, free: 36.72 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/2.303, allocations: 279.9 kB / 0.8618 GB, free: 36.45 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 301 * Number of states: 0 () * Number of discrete variables: 57 (fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],bodyCylinder3.color[3],bodyCylinder3.color[2],bodyCylinder3.color[1],bodyCylinder3.body.sphereColor[3],bodyCylinder3.body.sphereColor[2],bodyCylinder3.body.sphereColor[1],bodyCylinder2.color[3],bodyCylinder2.color[2],bodyCylinder2.color[1],bodyCylinder2.body.sphereColor[3],bodyCylinder2.body.sphereColor[2],bodyCylinder2.body.sphereColor[1],bodyCylinder1.color[3],bodyCylinder1.color[2],bodyCylinder1.color[1],bodyCylinder1.body.sphereColor[3],bodyCylinder1.body.sphereColor[2],bodyCylinder1.body.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],revolute4.cylinderColor[3],revolute4.cylinderColor[2],revolute4.cylinderColor[1],revolute3.cylinderColor[3],revolute3.cylinderColor[2],revolute3.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (531): * Single equations (assignments): 526 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 103,(3,88.9%) 23} * Non-linear torn systems: 1 {2 48} Notification: Performance of prepare postOptimizeDAE: time 0.001779/2.305, allocations: 0.5002 MB / 0.8623 GB, free: 35.95 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/2.306, allocations: 485.8 kB / 0.8627 GB, free: 35.46 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04397/2.35, allocations: 17.5 MB / 0.8798 GB, free: 17.94 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04006/2.39, allocations: 16.01 MB / 0.8955 GB, free: 1.887 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.102e-05/2.39, allocations: 28 kB / 0.8955 GB, free: 1.859 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.777e-05/2.39, allocations: 19.92 kB / 0.8955 GB, free: 1.84 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3941/2.784, allocations: 34.56 MB / 0.9293 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.574e-05/2.784, allocations: 9.891 kB / 0.9293 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004948/2.789, allocations: 446.4 kB / 0.9297 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03329/2.823, allocations: 8.041 MB / 0.9375 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001092/2.824, allocations: 81.56 kB / 0.9376 GB, free: 130.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08918/2.913, allocations: 47.53 MB / 0.984 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01699/2.93, allocations: 9.671 MB / 0.9935 GB, free: 99.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05088/2.981, allocations: 23.79 MB / 1.017 GB, free: 79.74 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004392/2.985, allocations: 1.429 MB / 1.018 GB, free: 78.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001876/2.987, allocations: 79.94 kB / 1.018 GB, free: 78.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004937/2.992, allocations: 361.4 kB / 1.019 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001865/2.994, allocations: 336.5 kB / 1.019 GB, free: 77.94 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008066/2.995, allocations: 99.61 kB / 1.019 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006425/3.001, allocations: 2.748 MB / 1.022 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.248e-06/3.002, allocations: 1.422 kB / 1.022 GB, free: 75.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.009184/3.011, allocations: 1.975 MB / 1.024 GB, free: 73.44 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET1.x[2],$STATESET1.x[1],revolute3.phi,revolute2.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (226): * Single equations (assignments): 223 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(12,51.4%) 96,(4,100.0%) 37} * Non-linear torn systems: 1 {2 49} Notification: Performance of Backend phase and start with SimCode phase: time 0.001139/3.012, allocations: 211.6 kB / 1.024 GB, free: 73.26 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0238/3.036, allocations: 11.98 MB / 1.035 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-05/3.036, allocations: 4 kB / 1.035 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01558/3.051, allocations: 6.887 MB / 1.042 GB, free: 54.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005236/3.057, allocations: 0.75 MB / 1.043 GB, free: 54.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02917/3.086, allocations: 13.66 MB / 1.056 GB, free: 40.39 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008215/3.094, allocations: 4.301 MB / 1.06 GB, free: 36.09 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006736/3.101, allocations: 1.703 MB / 1.062 GB, free: 34.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00204/3.103, allocations: 299.4 kB / 1.062 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.907e-06/3.103, allocations: 0 / 1.062 GB, free: 34.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.563/3.666, allocations: 108 MB / 1.168 GB, free: 130 MB / 0.5261 GB