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.1_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.704e-05, allocations: 8 kB / 273.1 MB, free: 3.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08682/0.08688, allocations: 48.7 MB / 321.8 MB, free: 2.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3571/0.444, allocations: 92.95 MB / 414.7 MB, free: 2.387 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002038/0.4443, allocations: 75.08 kB / 414.8 MB, free: 2.348 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4632/0.9074, allocations: 116.6 MB / 0.519 GB, free: 4.387 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.994e-06/0.9075, allocations: 4 kB / 0.519 GB, free: 4.383 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002465/0.9078, allocations: 87.94 kB / 0.519 GB, free: 4.297 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: 1910 * Number of variables: 1910 Notification: Performance of Generate backend data structure: time 0.2578/1.166, allocations: 4.435 MB / 0.5234 GB, free: 85.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.166, allocations: 9.75 kB / 0.5234 GB, free: 85.34 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02029/1.186, allocations: 3.647 MB / 0.5269 GB, free: 85.01 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01517/1.201, allocations: 4.806 MB / 0.5316 GB, free: 84.74 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005107/1.202, allocations: 378.5 kB / 0.532 GB, free: 84.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00261/1.204, allocations: 499.7 kB / 0.5325 GB, free: 84.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0311/1.236, allocations: 12.03 MB / 0.5442 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002316/1.236, allocations: 35.59 kB / 0.5443 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002052/1.238, allocations: 224.5 kB / 0.5445 GB, free: 83.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002523/1.24, allocations: 1.394 MB / 0.5458 GB, free: 83.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02621/1.267, allocations: 11 MB / 0.5566 GB, free: 83.17 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06953/1.336, allocations: 42.73 MB / 0.5983 GB, free: 60.08 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01134/1.348, allocations: 4.671 MB / 0.6029 GB, free: 57.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004165/1.352, allocations: 2.419 MB / 0.6052 GB, free: 56.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/1.353, allocations: 1.318 MB / 0.6065 GB, free: 55.74 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/1.353, allocations: 58.72 kB / 0.6066 GB, free: 55.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=250): time 7.083e-06/1.353, allocations: 0 / 0.6066 GB, free: 55.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=268): time 0.05083/1.404, allocations: 16.35 MB / 0.6225 GB, free: 44.79 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/1.404, allocations: 103 kB / 0.6226 GB, free: 44.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00487/1.409, allocations: 2.856 MB / 0.6254 GB, free: 42.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004259/1.409, allocations: 58.95 kB / 0.6255 GB, free: 42.08 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001941/1.411, allocations: 3.257 MB / 0.6287 GB, free: 39.17 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001058/1.412, allocations: 0.969 MB / 0.6296 GB, free: 38.32 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004448/1.413, allocations: 128.2 kB / 0.6297 GB, free: 38.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000353/1.413, allocations: 0.5651 MB / 0.6303 GB, free: 37.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00435/1.418, allocations: 2.408 MB / 0.6326 GB, free: 35.54 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006227/1.424, allocations: 5.733 MB / 0.6382 GB, free: 28.59 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006366/1.43, allocations: 3.753 MB / 0.6419 GB, free: 25.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.245e-05/1.43, allocations: 36 kB / 0.6419 GB, free: 25.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=805) (initialization): time 0.01912/1.45, allocations: 8.656 MB / 0.6504 GB, free: 18.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.899e-05/1.45, allocations: 58.81 kB / 0.6504 GB, free: 18.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001211/1.45, allocations: 116 kB / 0.6506 GB, free: 17.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003794/1.454, allocations: 1.065 MB / 0.6516 GB, free: 17.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005742/1.459, allocations: 1.376 MB / 0.6529 GB, free: 16.05 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007939/1.467, allocations: 5.086 MB / 0.6579 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005349/1.473, allocations: 325.5 kB / 0.6582 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001039/1.474, allocations: 351.3 kB / 0.6586 GB, free: 10.96 MB / 426.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.001016/1.475, allocations: 0.5548 MB / 0.6591 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005999/1.475, allocations: 319.8 kB / 0.6594 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01054/1.486, allocations: 5.311 MB / 0.6646 GB, free: 5.742 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.287e-05/1.486, allocations: 51.94 kB / 0.6646 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.486, allocations: 0 / 0.6646 GB, free: 5.695 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.435e-05/1.486, allocations: 17.64 kB / 0.6647 GB, free: 5.691 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03028/1.517, allocations: 13.24 MB / 0.6776 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-05/1.517, allocations: 15.95 kB / 0.6776 GB, free: 8.809 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002585/1.519, allocations: 428 kB / 0.678 GB, free: 8.395 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003905/1.523, allocations: 0.8907 MB / 0.6789 GB, free: 7.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004955/1.524, allocations: 55.98 kB / 0.6789 GB, free: 7.445 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008725/1.532, allocations: 4.417 MB / 0.6832 GB, free: 2.898 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.38e-05/1.532, allocations: 19.97 kB / 0.6833 GB, free: 2.879 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.283/1.815, allocations: 9.023 MB / 0.6921 GB, free: 89.82 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002224/1.818, allocations: 0.7307 MB / 0.6928 GB, free: 89.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000896/1.819, allocations: 52.67 kB / 0.6928 GB, free: 89.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002478/1.821, allocations: 143.1 kB / 0.693 GB, free: 89.72 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007346/1.822, allocations: 169.9 kB / 0.6931 GB, free: 89.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002998/1.822, allocations: 82.42 kB / 0.6932 GB, free: 89.72 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00462/1.827, allocations: 1.946 MB / 0.6951 GB, free: 89.56 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.193e-06/1.827, allocations: 0 / 0.6951 GB, free: 89.56 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007388/1.834, allocations: 1.118 MB / 0.6962 GB, free: 89.56 MB / 442.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.0007841/1.835, allocations: 207.8 kB / 0.6964 GB, free: 89.47 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01119/1.846, allocations: 5.741 MB / 0.702 GB, free: 89.34 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/1.846, allocations: 3.938 kB / 0.702 GB, free: 89.34 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004372/1.851, allocations: 2.192 MB / 0.7042 GB, free: 89.21 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002649/1.854, allocations: 391.5 kB / 0.7045 GB, free: 89.19 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02119/1.875, allocations: 9.74 MB / 0.714 GB, free: 87.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007313/1.882, allocations: 3.933 MB / 0.7179 GB, free: 86.33 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006954/1.889, allocations: 2.206 MB / 0.72 GB, free: 86.29 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.89, allocations: 241.5 kB / 0.7203 GB, free: 86.29 MB / 442.7 MB Notification: Performance of SimCode: time 1.678e-06/1.89, allocations: 3.156 kB / 0.7203 GB, free: 86.29 MB / 442.7 MB Notification: Performance of Templates: time 0.09303/1.983, allocations: 34.41 MB / 0.7539 GB, free: 84.66 MB / 442.7 MB