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_4.0.0_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.426/2.426, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.193e-05/3.209e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.111, allocations: 61.89 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4668/0.5778, allocations: 106.3 MB / 0.5045 GB, free: 13.78 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004118/0.5783, allocations: 80.77 kB / 0.5046 GB, free: 13.7 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7852/1.364, allocations: 112.5 MB / 0.6145 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.159e-06/1.364, allocations: 0 / 0.6145 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005591/1.364, allocations: 108.4 kB / 0.6146 GB, free: 108.9 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: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.02412/1.388, allocations: 6.102 MB / 0.6205 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.388, allocations: 10.42 kB / 0.6206 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05286/1.441, allocations: 10.13 MB / 0.6305 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02865/1.47, allocations: 9.206 MB / 0.6394 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000511/1.47, allocations: 370 kB / 0.6398 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002119/1.473, allocations: 474.5 kB / 0.6402 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04454/1.517, allocations: 10.61 MB / 0.6506 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000581/1.518, allocations: 65 kB / 0.6507 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002649/1.521, allocations: 201.9 kB / 0.6509 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003151/1.524, allocations: 0.9933 MB / 0.6518 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04388/1.568, allocations: 8.811 MB / 0.6604 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09302/1.661, allocations: 43.99 MB / 0.7034 GB, free: 77.24 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05347/1.714, allocations: 7.857 MB / 0.7111 GB, free: 75.31 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01271/1.727, allocations: 4.934 MB / 0.7159 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002451/1.73, allocations: 1.121 MB / 0.717 GB, free: 71.53 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.608e-05/1.73, allocations: 60.81 kB / 0.717 GB, free: 71.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 1.417e-05/1.73, allocations: 7.938 kB / 0.7171 GB, free: 71.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415): time 0.2781/2.008, allocations: 64.78 MB / 0.7803 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01943/2.027, allocations: 10.9 MB / 0.791 GB, free: 3.039 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00799/2.035, allocations: 3.647 MB / 0.7945 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/2.036, allocations: 85.7 kB / 0.7946 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003757/2.04, allocations: 2.999 MB / 0.7975 GB, free: 12.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002583/2.043, allocations: 1.435 MB / 0.7989 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007348/2.044, allocations: 108 kB / 0.799 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005189/2.044, allocations: 0.5336 MB / 0.7996 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009668/2.054, allocations: 4.423 MB / 0.8039 GB, free: 5.793 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3198/2.374, allocations: 6.426 MB / 0.8102 GB, free: 110.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01223/2.386, allocations: 5.419 MB / 0.8154 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-05/2.386, allocations: 19.38 kB / 0.8155 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.05267/2.439, allocations: 18.27 MB / 0.8333 GB, free: 110 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.245e-05/2.439, allocations: 33.81 kB / 0.8333 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.404e-05/2.439, allocations: 65.94 kB / 0.8334 GB, free: 110 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02932/2.468, allocations: 8.601 MB / 0.8418 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005138/2.473, allocations: 1.044 MB / 0.8428 GB, free: 109.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08415/2.558, allocations: 48.46 MB / 0.8902 GB, free: 92.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007066/2.565, allocations: 0.4938 MB / 0.8906 GB, free: 92.51 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001466/2.566, allocations: 274.3 kB / 0.8909 GB, free: 92.46 MB / 0.5261 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.001642/2.568, allocations: 0.4916 MB / 0.8914 GB, free: 92.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/2.569, allocations: 483.2 kB / 0.8918 GB, free: 92.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04301/2.612, allocations: 17.51 MB / 0.9089 GB, free: 85.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03988/2.652, allocations: 16 MB / 0.9246 GB, free: 73.59 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.231e-05/2.652, allocations: 28 kB / 0.9246 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.82e-05/2.652, allocations: 20.02 kB / 0.9246 GB, free: 73.56 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0761/2.729, allocations: 34.57 MB / 0.9584 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-05/2.729, allocations: 8 kB / 0.9584 GB, free: 42.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002956/2.732, allocations: 455 kB / 0.9588 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02855/2.76, allocations: 8.035 MB / 0.9667 GB, free: 34.12 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001049/2.761, allocations: 79.98 kB / 0.9667 GB, free: 34.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.465/3.226, allocations: 47.51 MB / 1.013 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01984/3.246, allocations: 9.678 MB / 1.023 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05201/3.298, allocations: 23.79 MB / 1.046 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/3.3, allocations: 0.5092 MB / 1.046 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001746/3.302, allocations: 80.19 kB / 1.046 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004862/3.307, allocations: 362.8 kB / 1.047 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001794/3.308, allocations: 335.5 kB / 1.047 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006129/3.309, allocations: 100.5 kB / 1.047 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0056/3.315, allocations: 2.703 MB / 1.05 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.094e-06/3.315, allocations: 0 / 1.05 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008779/3.323, allocations: 1.967 MB / 1.052 GB, free: 113.9 MB / 0.5417 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.001087/3.325, allocations: 204.1 kB / 1.052 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02433/3.349, allocations: 11.98 MB / 1.064 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/3.349, allocations: 3.969 kB / 1.064 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/3.365, allocations: 6.902 MB / 1.07 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005136/3.37, allocations: 0.7437 MB / 1.071 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02852/3.398, allocations: 13.62 MB / 1.084 GB, free: 101.4 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008078/3.407, allocations: 4.284 MB / 1.089 GB, free: 99.96 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006436/3.413, allocations: 1.683 MB / 1.09 GB, free: 99.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/3.415, allocations: 302.5 kB / 1.09 GB, free: 99.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.95e-06/3.415, allocations: 0 / 1.09 GB, free: 99.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.2398/3.655, allocations: 107.8 MB / 1.196 GB, free: 14.32 MB / 0.5417 GB