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_trunk_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.412/2.412, allocations: 270.1 MB / 283.6 MB, free: 3.094 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.11e-05/4.134e-05, allocations: 4 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1238, allocations: 61.89 MB / 410.3 MB, free: 12.97 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4402/0.5641, allocations: 106.3 MB / 0.5045 GB, free: 13.73 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.5643, allocations: 77 kB / 0.5046 GB, free: 13.65 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7697/1.334, allocations: 112.5 MB / 0.6145 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.976e-06/1.334, allocations: 0 / 0.6145 GB, free: 108.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005249/1.335, allocations: 107.2 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.02274/1.357, allocations: 6.109 MB / 0.6206 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/1.357, allocations: 8.875 kB / 0.6206 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05306/1.411, allocations: 10.14 MB / 0.6305 GB, free: 107 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02823/1.439, allocations: 9.209 MB / 0.6395 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004739/1.439, allocations: 368.5 kB / 0.6398 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001972/1.441, allocations: 474.2 kB / 0.6403 GB, free: 106 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03154/1.473, allocations: 10.61 MB / 0.6506 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003383/1.473, allocations: 59.7 kB / 0.6507 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00155/1.475, allocations: 205.2 kB / 0.6509 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001813/1.477, allocations: 0.9924 MB / 0.6519 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02594/1.503, allocations: 8.815 MB / 0.6605 GB, free: 104.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06872/1.571, allocations: 43.97 MB / 0.7034 GB, free: 77.22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03119/1.603, allocations: 7.86 MB / 0.7111 GB, free: 75.27 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007353/1.61, allocations: 4.932 MB / 0.7159 GB, free: 72.62 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/1.612, allocations: 1.127 MB / 0.717 GB, free: 71.44 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/1.612, allocations: 64.81 kB / 0.7171 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=286): time 6.957e-06/1.612, allocations: 3.938 kB / 0.7171 GB, free: 71.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=415): time 0.3166/1.928, allocations: 64.79 MB / 0.7803 GB, free: 14 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.03614/1.964, allocations: 10.89 MB / 0.791 GB, free: 2.949 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01582/1.98, allocations: 3.647 MB / 0.7945 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.001805/1.982, allocations: 93.7 kB / 0.7946 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.003997/1.986, allocations: 2.988 MB / 0.7975 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002867/1.989, allocations: 1.443 MB / 0.799 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/1.99, allocations: 112 kB / 0.7991 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006121/1.991, allocations: 0.5336 MB / 0.7996 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01047/2.001, allocations: 4.419 MB / 0.8039 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3905/2.392, allocations: 6.424 MB / 0.8102 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02006/2.412, allocations: 5.417 MB / 0.8155 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001456/2.412, allocations: 18 kB / 0.8155 GB, free: 110.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=721) (initialization): time 0.07258/2.485, allocations: 18.27 MB / 0.8333 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.864e-05/2.485, allocations: 35.09 kB / 0.8334 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.011e-05/2.485, allocations: 66.78 kB / 0.8334 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03151/2.516, allocations: 8.609 MB / 0.8418 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005565/2.522, allocations: 1.036 MB / 0.8428 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09364/2.616, allocations: 48.48 MB / 0.8902 GB, free: 92.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006934/2.623, allocations: 495.8 kB / 0.8907 GB, free: 92.76 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001409/2.624, allocations: 276.3 kB / 0.8909 GB, free: 92.71 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.001711/2.626, allocations: 0.4923 MB / 0.8914 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001339/2.627, allocations: 485.5 kB / 0.8919 GB, free: 92.44 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04549/2.673, allocations: 17.51 MB / 0.909 GB, free: 85.99 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03974/2.713, allocations: 16 MB / 0.9246 GB, free: 73.6 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.609e-05/2.713, allocations: 30.47 kB / 0.9246 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.67e-05/2.713, allocations: 19.64 kB / 0.9246 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07795/2.791, allocations: 34.57 MB / 0.9584 GB, free: 42.57 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.063e-05/2.791, allocations: 8 kB / 0.9584 GB, free: 42.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002987/2.794, allocations: 445.8 kB / 0.9588 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02852/2.822, allocations: 8.037 MB / 0.9667 GB, free: 34.13 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/2.824, allocations: 79.98 kB / 0.9667 GB, free: 34.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4119/3.235, allocations: 47.52 MB / 1.013 GB, free: 117.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02048/3.256, allocations: 9.681 MB / 1.023 GB, free: 115.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08902/3.345, allocations: 23.78 MB / 1.046 GB, free: 114.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001542/3.347, allocations: 0.511 MB / 1.046 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/3.348, allocations: 75.06 kB / 1.046 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004265/3.352, allocations: 364 kB / 1.047 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001406/3.354, allocations: 336.6 kB / 1.047 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005319/3.354, allocations: 106.8 kB / 1.047 GB, free: 114.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.004937/3.359, allocations: 2.697 MB / 1.05 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.015e-06/3.359, allocations: 0 / 1.05 GB, free: 113.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.008325/3.368, allocations: 1.97 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.0008468/3.369, allocations: 197.2 kB / 1.052 GB, free: 113.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02389/3.393, allocations: 11.98 MB / 1.064 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.597e-06/3.393, allocations: 3.531 kB / 1.064 GB, free: 109.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01578/3.408, 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.004829/3.413, allocations: 0.7478 MB / 1.071 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02824/3.442, allocations: 13.61 MB / 1.084 GB, free: 101.3 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0074/3.449, allocations: 4.293 MB / 1.089 GB, free: 99.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006561/3.456, allocations: 1.682 MB / 1.09 GB, free: 99.86 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002134/3.458, allocations: 298.2 kB / 1.09 GB, free: 99.85 MB / 0.5417 GB Notification: Performance of SimCode: time 2.889e-06/3.458, allocations: 0 / 1.09 GB, free: 99.85 MB / 0.5417 GB Notification: Performance of Templates: time 0.2241/3.682, allocations: 107.8 MB / 1.196 GB, free: 14.13 MB / 0.5417 GB