Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadModel(ModelicaTest): time 2.35/2.35, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.6e-05, allocations: 4 kB / 304.9 MB, free: 5.172 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3401, allocations: 54.86 MB / 359.8 MB, free: 3.125 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.4934, allocations: 99.77 MB / 459.6 MB, free: 13.14 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002136/0.4936, allocations: 67.97 kB / 459.6 MB, free: 13.08 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7045/1.198, allocations: 116.7 MB / 0.5628 GB, free: 106.6 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.61e-06/1.198, allocations: 3.938 kB / 0.5628 GB, free: 106.6 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002089/1.198, allocations: 92.88 kB / 0.5629 GB, free: 106.6 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: 1911 * Number of variables: 1911 Notification: Performance of Generate backend data structure: time 0.01342/1.212, allocations: 4.44 MB / 0.5673 GB, free: 104.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.212, allocations: 14.38 kB / 0.5673 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02034/1.232, allocations: 3.657 MB / 0.5708 GB, free: 104.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.246, allocations: 4.81 MB / 0.5755 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003755/1.247, allocations: 379.3 kB / 0.5759 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002361/1.249, allocations: 499.2 kB / 0.5764 GB, free: 102.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/1.278, allocations: 12.03 MB / 0.5881 GB, free: 97.6 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002228/1.278, allocations: 38.2 kB / 0.5882 GB, free: 97.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001966/1.28, allocations: 229.8 kB / 0.5884 GB, free: 97.45 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002573/1.283, allocations: 1.392 MB / 0.5897 GB, free: 97.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0252/1.308, allocations: 11.01 MB / 0.6005 GB, free: 88.49 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06737/1.376, allocations: 42.74 MB / 0.6422 GB, free: 44.96 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/1.387, allocations: 4.671 MB / 0.6468 GB, free: 40.04 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003942/1.391, allocations: 2.417 MB / 0.6491 GB, free: 37.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/1.392, allocations: 1.319 MB / 0.6504 GB, free: 36.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.791e-05/1.392, allocations: 52.5 kB / 0.6505 GB, free: 36.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=250): time 7.35e-06/1.392, allocations: 4 kB / 0.6505 GB, free: 36.03 MB / 458.7 MB Notification: Performance of matching and sorting (n=268): time 0.04757/1.44, allocations: 16.35 MB / 0.6665 GB, free: 19.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.928e-05/1.44, allocations: 107 kB / 0.6666 GB, free: 19.43 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004825/1.445, allocations: 2.849 MB / 0.6693 GB, free: 16.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004419/1.445, allocations: 65.53 kB / 0.6694 GB, free: 16.51 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001803/1.447, allocations: 3.253 MB / 0.6726 GB, free: 13.25 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001038/1.448, allocations: 0.9866 MB / 0.6735 GB, free: 12.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004107/1.448, allocations: 116 kB / 0.6737 GB, free: 12.16 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003573/1.449, allocations: 0.5703 MB / 0.6742 GB, free: 11.58 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004686/1.453, allocations: 2.406 MB / 0.6766 GB, free: 9.168 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006924/1.46, allocations: 5.726 MB / 0.6821 GB, free: 1.781 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00767/1.468, allocations: 3.758 MB / 0.6858 GB, free: 14.03 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001125/1.468, allocations: 32 kB / 0.6859 GB, free: 14 MB / 474.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.02363/1.492, allocations: 8.645 MB / 0.6943 GB, free: 5.336 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.492, allocations: 60.92 kB / 0.6944 GB, free: 5.277 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001823/1.492, allocations: 120 kB / 0.6945 GB, free: 5.16 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004294/1.497, allocations: 1.066 MB / 0.6955 GB, free: 4.09 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00655/1.503, allocations: 1.384 MB / 0.6969 GB, free: 2.703 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2822/1.786, allocations: 5.071 MB / 0.7018 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005524/1.791, allocations: 323.6 kB / 0.7021 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001374/1.792, allocations: 351.5 kB / 0.7025 GB, free: 104.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 537 * Number of states: 0 () * Number of discrete variables: 39 (axis1.color[3],axis1.color[2],axis1.color[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.color[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 (743): * Single equations (assignments): 736 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00153/1.794, allocations: 0.5556 MB / 0.703 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006994/1.795, allocations: 322.6 kB / 0.7033 GB, free: 104.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0129/1.808, allocations: 5.305 MB / 0.7085 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001112/1.808, allocations: 48.98 kB / 0.7085 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-05/1.808, allocations: 7.031 kB / 0.7085 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.202e-05/1.808, allocations: 15.98 kB / 0.7086 GB, free: 104.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03192/1.84, allocations: 13.25 MB / 0.7215 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/1.84, allocations: 11.91 kB / 0.7215 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002613/1.843, allocations: 427.3 kB / 0.7219 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003969/1.847, allocations: 0.8829 MB / 0.7228 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005077/1.847, allocations: 59.05 kB / 0.7228 GB, free: 103.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007693/1.855, allocations: 4.419 MB / 0.7271 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-05/1.855, allocations: 17.38 kB / 0.7272 GB, free: 101.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.87, allocations: 9.022 MB / 0.736 GB, free: 97.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/1.872, allocations: 0.7408 MB / 0.7367 GB, free: 96.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008129/1.873, allocations: 48.56 kB / 0.7367 GB, free: 96.76 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002145/1.875, allocations: 144.5 kB / 0.7369 GB, free: 96.73 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004732/1.876, allocations: 173.4 kB / 0.737 GB, free: 96.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002732/1.876, allocations: 81.03 kB / 0.7371 GB, free: 96.69 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004125/1.88, allocations: 1.943 MB / 0.739 GB, free: 96.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.92e-07/1.88, allocations: 0 / 0.739 GB, free: 96.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00701/1.887, allocations: 1.117 MB / 0.7401 GB, free: 95.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (209): * Single equations (assignments): 202 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006785/1.888, allocations: 205.4 kB / 0.7403 GB, free: 95.77 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01105/1.899, allocations: 5.738 MB / 0.7459 GB, free: 94.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.241e-05/1.899, allocations: 3.531 kB / 0.7459 GB, free: 94.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004356/1.904, allocations: 2.196 MB / 0.7481 GB, free: 93.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.906, allocations: 390.7 kB / 0.7484 GB, free: 93.18 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03426/1.941, allocations: 9.753 MB / 0.758 GB, free: 89.65 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0159/1.957, allocations: 3.923 MB / 0.7618 GB, free: 88.26 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01596/1.973, allocations: 2.216 MB / 0.7639 GB, free: 88.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002663/1.975, allocations: 241.6 kB / 0.7642 GB, free: 88.2 MB / 474.7 MB Notification: Performance of SimCode: time 2.679e-06/1.975, allocations: 0 / 0.7642 GB, free: 88.2 MB / 474.7 MB Notification: Performance of Templates: time 0.1059/2.081, allocations: 34.42 MB / 0.7978 GB, free: 66.66 MB / 474.7 MB