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.1_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 1.859/1.859, allocations: 209.3 MB / 221.5 MB, free: 7.742 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.501e-05/3.512e-05, allocations: 4 kB / 273.1 MB, free: 3.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08903/0.08909, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3642/0.4534, allocations: 91.73 MB / 413.5 MB, free: 3.195 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002166/0.4536, allocations: 69.25 kB / 413.6 MB, free: 3.188 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4321/0.8857, allocations: 109.2 MB / 0.5106 GB, free: 13.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.278e-06/0.8858, allocations: 0 / 0.5106 GB, free: 13.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004784/0.8863, allocations: 111.9 kB / 0.5107 GB, free: 13.31 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1490 * Number of variables: 1490 Notification: Performance of Generate backend data structure: time 0.02151/0.9078, allocations: 6.111 MB / 0.5166 GB, free: 7.125 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.9079, allocations: 12.03 kB / 0.5167 GB, free: 7.113 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3883/1.296, allocations: 10.13 MB / 0.5266 GB, free: 78.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03731/1.333, allocations: 9.812 MB / 0.5361 GB, free: 77.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004693/1.334, allocations: 363.8 kB / 0.5365 GB, free: 77.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001782/1.336, allocations: 469.7 kB / 0.5369 GB, free: 77.73 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02831/1.364, allocations: 10.6 MB / 0.5473 GB, free: 76.15 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002722/1.364, allocations: 62.86 kB / 0.5473 GB, free: 76.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008739/1.365, allocations: 197 kB / 0.5475 GB, free: 76.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001598/1.367, allocations: 1.003 MB / 0.5485 GB, free: 76.12 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/1.393, allocations: 8.8 MB / 0.5571 GB, free: 76.1 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06774/1.461, allocations: 43.95 MB / 0.6 GB, free: 51.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03249/1.493, allocations: 7.859 MB / 0.6077 GB, free: 49.98 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00731/1.501, allocations: 4.928 MB / 0.6125 GB, free: 47.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/1.502, allocations: 1.127 MB / 0.6136 GB, free: 46.99 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.822e-05/1.502, allocations: 69.28 kB / 0.6137 GB, free: 46.93 MB / 426.7 MB Notification: Performance of pre-optimization done (n=286): time 6.801e-06/1.502, allocations: 2.969 kB / 0.6137 GB, free: 46.93 MB / 426.7 MB Notification: Performance of matching and sorting (n=415): time 0.2468/1.749, allocations: 64.98 MB / 0.6771 GB, free: 10.93 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2876/2.037, allocations: 10.91 MB / 0.6878 GB, free: 86.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008574/2.045, allocations: 3.688 MB / 0.6914 GB, free: 86.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009411/2.046, allocations: 94.06 kB / 0.6915 GB, free: 86.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002458/2.049, allocations: 2.994 MB / 0.6944 GB, free: 86.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002014/2.051, allocations: 1.436 MB / 0.6958 GB, free: 85.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007239/2.052, allocations: 113.9 kB / 0.6959 GB, free: 85.68 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003672/2.052, allocations: 0.531 MB / 0.6964 GB, free: 85.37 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00961/2.062, allocations: 4.415 MB / 0.7007 GB, free: 85.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01053/2.072, allocations: 6.411 MB / 0.707 GB, free: 82.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0108/2.083, allocations: 5.406 MB / 0.7123 GB, free: 82.87 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.735e-05/2.083, allocations: 19.48 kB / 0.7123 GB, free: 82.87 MB / 442.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.06057/2.144, allocations: 18.27 MB / 0.7301 GB, free: 81.89 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.473e-05/2.144, allocations: 32.66 kB / 0.7302 GB, free: 81.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.324e-05/2.144, allocations: 65.91 kB / 0.7302 GB, free: 81.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03149/2.176, allocations: 8.599 MB / 0.7386 GB, free: 80.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005655/2.181, allocations: 1.032 MB / 0.7396 GB, free: 80.39 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09381/2.275, allocations: 48.46 MB / 0.787 GB, free: 55.21 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006858/2.282, allocations: 497.6 kB / 0.7874 GB, free: 54.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001254/2.283, allocations: 276.4 kB / 0.7877 GB, free: 54.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 54 (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.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 (528): * Single equations (assignments): 523 * 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.001523/2.285, allocations: 0.4895 MB / 0.7882 GB, free: 54.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001317/2.286, allocations: 484.8 kB / 0.7886 GB, free: 53.77 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04171/2.328, allocations: 17.51 MB / 0.8057 GB, free: 40.52 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03816/2.366, allocations: 16.01 MB / 0.8214 GB, free: 28.1 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.981e-05/2.366, allocations: 28 kB / 0.8214 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.738e-05/2.366, allocations: 25.31 kB / 0.8214 GB, free: 28.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3584/2.725, allocations: 34.56 MB / 0.8552 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.951e-05/2.725, allocations: 8.531 kB / 0.8552 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002999/2.728, allocations: 448.1 kB / 0.8556 GB, free: 74.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.03021/2.758, allocations: 8.043 MB / 0.8635 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/2.759, allocations: 73.03 kB / 0.8635 GB, free: 74.32 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09129/2.85, allocations: 47.52 MB / 0.9099 GB, free: 66.51 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.02262/2.873, allocations: 9.67 MB / 0.9194 GB, free: 62.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0548/2.928, allocations: 23.8 MB / 0.9426 GB, free: 53.48 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004493/2.932, allocations: 1.427 MB / 0.944 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001857/2.934, allocations: 76.86 kB / 0.9441 GB, free: 52.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00505/2.939, allocations: 367.6 kB / 0.9444 GB, free: 52.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001855/2.941, allocations: 327.5 kB / 0.9447 GB, free: 52.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006143/2.942, allocations: 107.2 kB / 0.9448 GB, free: 52.69 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00976/2.952, allocations: 2.739 MB / 0.9475 GB, free: 50.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.277e-06/2.952, allocations: 0 / 0.9475 GB, free: 50.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01439/2.966, allocations: 1.974 MB / 0.9495 GB, free: 48.29 MB / 442.7 MB 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.001641/2.968, allocations: 207.5 kB / 0.9496 GB, free: 48.11 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04137/3.009, allocations: 11.97 MB / 0.9613 GB, free: 37.57 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/3.009, allocations: 4 kB / 0.9613 GB, free: 37.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02664/3.036, allocations: 6.891 MB / 0.9681 GB, free: 31.57 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004734/3.041, allocations: 0.7573 MB / 0.9688 GB, free: 30.96 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02797/3.069, allocations: 13.64 MB / 0.9821 GB, free: 18.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007614/3.076, allocations: 4.297 MB / 0.9863 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006117/3.083, allocations: 1.681 MB / 0.988 GB, free: 14.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001839/3.084, allocations: 301.4 kB / 0.9882 GB, free: 14.37 MB / 442.7 MB Notification: Performance of SimCode: time 1.744e-06/3.084, allocations: 0 / 0.9882 GB, free: 14.37 MB / 442.7 MB Notification: Performance of Templates: time 0.5678/3.652, allocations: 107.9 MB / 1.094 GB, free: 73.32 MB / 458.7 MB