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.2_ModelicaTest.MultiBody.Joints.RevolutePlanarLoopConstraint") Notification: Performance of loadModel(ModelicaTest): time 2.394/2.394, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.509e-05, allocations: 4 kB / 304.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3673/0.3674, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.5204, allocations: 98.54 MB / 458.3 MB, free: 14.37 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002671/0.5207, allocations: 83.94 kB / 458.4 MB, free: 14.29 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7079/1.229, allocations: 109.4 MB / 0.5545 GB, free: 99.71 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.213e-06/1.229, allocations: 0 / 0.5545 GB, free: 99.71 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004551/1.229, allocations: 111.2 kB / 0.5546 GB, free: 99.71 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1493 * Number of variables: 1493 Notification: Performance of Generate backend data structure: time 0.02063/1.25, allocations: 6.104 MB / 0.5605 GB, free: 97.57 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.25, allocations: 6.562 kB / 0.5605 GB, free: 97.57 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05086/1.301, allocations: 10.13 MB / 0.5704 GB, free: 97.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0276/1.328, allocations: 9.84 MB / 0.58 GB, free: 95.03 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004147/1.329, allocations: 364.2 kB / 0.5804 GB, free: 94.86 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001951/1.331, allocations: 471.5 kB / 0.5808 GB, free: 94.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03013/1.361, allocations: 10.6 MB / 0.5912 GB, free: 90.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003197/1.361, allocations: 65.34 kB / 0.5912 GB, free: 90.21 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001348/1.363, allocations: 204.6 kB / 0.5914 GB, free: 90.08 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00187/1.365, allocations: 0.9953 MB / 0.5924 GB, free: 89.9 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02584/1.39, allocations: 8.807 MB / 0.601 GB, free: 85.2 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06532/1.456, allocations: 43.98 MB / 0.644 GB, free: 40.48 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02889/1.485, allocations: 7.849 MB / 0.6516 GB, free: 32.62 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007004/1.492, allocations: 4.935 MB / 0.6565 GB, free: 27.69 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001409/1.493, allocations: 1.118 MB / 0.6575 GB, free: 26.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.894e-05/1.493, allocations: 68.81 kB / 0.6576 GB, free: 26.34 MB / 458.7 MB Notification: Performance of pre-optimization done (n=286): time 7.298e-06/1.493, allocations: 0 / 0.6576 GB, free: 26.34 MB / 458.7 MB Notification: Performance of matching and sorting (n=415): time 0.5788/2.072, allocations: 64.98 MB / 0.7211 GB, free: 103.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02122/2.093, allocations: 10.9 MB / 0.7317 GB, free: 99.42 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007862/2.101, allocations: 3.686 MB / 0.7353 GB, free: 98.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009761/2.102, allocations: 85.44 kB / 0.7354 GB, free: 98.07 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002406/2.105, allocations: 3.002 MB / 0.7383 GB, free: 96.11 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001958/2.107, allocations: 1.434 MB / 0.7397 GB, free: 95.05 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007487/2.107, allocations: 113.1 kB / 0.7398 GB, free: 94.96 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003335/2.108, allocations: 0.5343 MB / 0.7404 GB, free: 94.56 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008442/2.116, allocations: 4.411 MB / 0.7447 GB, free: 92.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009732/2.126, allocations: 6.408 MB / 0.7509 GB, free: 88.62 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01013/2.136, allocations: 5.406 MB / 0.7562 GB, free: 86.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.156e-05/2.136, allocations: 19 kB / 0.7562 GB, free: 86.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.048/2.184, allocations: 18.26 MB / 0.774 GB, free: 81.49 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.239e-05/2.184, allocations: 33.66 kB / 0.7741 GB, free: 81.49 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.427e-05/2.185, allocations: 66 kB / 0.7741 GB, free: 81.49 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03269/2.217, allocations: 8.604 MB / 0.7825 GB, free: 79.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00538/2.223, allocations: 1.031 MB / 0.7836 GB, free: 78.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.082/2.305, allocations: 48.46 MB / 0.8309 GB, free: 35.43 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007054/2.312, allocations: 0.4927 MB / 0.8314 GB, free: 34.95 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001498/2.313, allocations: 279.9 kB / 0.8316 GB, free: 34.67 MB / 474.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.002372/2.316, allocations: 487.8 kB / 0.8321 GB, free: 34.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001801/2.318, allocations: 492 kB / 0.8326 GB, free: 33.71 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04421/2.362, allocations: 17.5 MB / 0.8496 GB, free: 16.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04015/2.402, allocations: 16.01 MB / 0.8653 GB, free: 200 kB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.862e-05/2.402, allocations: 29.5 kB / 0.8653 GB, free: 172 kB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.877e-05/2.402, allocations: 20.48 kB / 0.8653 GB, free: 152 kB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.386/2.788, allocations: 34.56 MB / 0.8991 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.23e-05/2.788, allocations: 12.09 kB / 0.8991 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004904/2.793, allocations: 449.8 kB / 0.8995 GB, free: 107.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.05485/2.848, allocations: 8.038 MB / 0.9074 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001579/2.85, allocations: 81.58 kB / 0.9074 GB, free: 107.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09579/2.946, allocations: 47.53 MB / 0.9539 GB, free: 89.69 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01823/2.964, allocations: 9.681 MB / 0.9633 GB, free: 84.91 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05009/3.014, allocations: 23.78 MB / 0.9865 GB, free: 65.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004682/3.019, allocations: 1.421 MB / 0.9879 GB, free: 63.79 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001986/3.021, allocations: 72 kB / 0.988 GB, free: 63.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005042/3.026, allocations: 362.2 kB / 0.9883 GB, free: 63.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001999/3.028, allocations: 331.9 kB / 0.9887 GB, free: 63.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008289/3.029, allocations: 110.1 kB / 0.9888 GB, free: 63.2 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006089/3.035, allocations: 2.729 MB / 0.9914 GB, free: 60.78 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.003e-06/3.035, allocations: 0 / 0.9914 GB, free: 60.78 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009758/3.045, allocations: 1.981 MB / 0.9934 GB, free: 58.8 MB / 490.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.00125/3.046, allocations: 212.1 kB / 0.9936 GB, free: 58.63 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02358/3.07, allocations: 11.96 MB / 1.005 GB, free: 48.09 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.037e-05/3.07, allocations: 2.906 kB / 1.005 GB, free: 48.09 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01535/3.085, allocations: 6.9 MB / 1.012 GB, free: 41.94 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/3.09, allocations: 0.7469 MB / 1.013 GB, free: 41.23 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02994/3.12, allocations: 13.64 MB / 1.026 GB, free: 27.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008612/3.129, allocations: 4.299 MB / 1.03 GB, free: 23.27 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006534/3.136, allocations: 1.679 MB / 1.032 GB, free: 21.68 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002353/3.138, allocations: 299.3 kB / 1.032 GB, free: 21.39 MB / 490.7 MB Notification: Performance of SimCode: time 1.77e-06/3.138, allocations: 0 / 1.032 GB, free: 21.39 MB / 490.7 MB Notification: Performance of Templates: time 0.5225/3.66, allocations: 108 MB / 1.138 GB, free: 103.3 MB / 0.4948 GB