Running command: translateModel(ModelicaTest.MultiBody.Joints.Planar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadModel(ModelicaTest): time 2.351/2.351, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.626e-05/3.633e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3245, allocations: 61.87 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.166/0.4905, allocations: 107.6 MB / 0.5044 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.4908, allocations: 75.91 kB / 0.5044 GB, free: 14.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7354/1.226, allocations: 115.7 MB / 0.6174 GB, free: 21.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.207e-06/1.226, allocations: 8 kB / 0.6174 GB, free: 21.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001885/1.226, allocations: 88 kB / 0.6175 GB, free: 21.61 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.0115/1.238, allocations: 4.298 MB / 0.6217 GB, free: 17.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/1.238, allocations: 11.97 kB / 0.6217 GB, free: 17.23 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01837/1.256, allocations: 3.624 MB / 0.6253 GB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/1.27, allocations: 4.608 MB / 0.6298 GB, free: 8.934 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003951/1.27, allocations: 361.4 kB / 0.6301 GB, free: 8.578 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001981/1.272, allocations: 483.7 kB / 0.6306 GB, free: 8.105 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02665/1.299, allocations: 11.68 MB / 0.642 GB, free: 11.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001934/1.299, allocations: 35.73 kB / 0.642 GB, free: 11.86 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001191/1.3, allocations: 215.8 kB / 0.6422 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002496/1.303, allocations: 1.322 MB / 0.6435 GB, free: 10.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02779/1.33, allocations: 10.85 MB / 0.6541 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07742/1.408, allocations: 41.17 MB / 0.6943 GB, free: 5.246 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01297/1.421, allocations: 4.646 MB / 0.6989 GB, free: 380 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004651/1.426, allocations: 2.404 MB / 0.7012 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001702/1.427, allocations: 1.323 MB / 0.7025 GB, free: 12.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.294e-05/1.427, allocations: 52.5 kB / 0.7025 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 1.034e-05/1.427, allocations: 0 / 0.7025 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.3523/1.78, allocations: 15.49 MB / 0.7177 GB, free: 124 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/1.78, allocations: 74.41 kB / 0.7177 GB, free: 123.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005051/1.785, allocations: 2.809 MB / 0.7205 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004471/1.785, allocations: 59.83 kB / 0.7205 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.787, allocations: 3.086 MB / 0.7236 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001169/1.789, allocations: 0.9727 MB / 0.7245 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005089/1.789, allocations: 115 kB / 0.7246 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003699/1.789, allocations: 0.5631 MB / 0.7252 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/1.794, allocations: 2.385 MB / 0.7275 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006416/1.801, allocations: 5.594 MB / 0.733 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006912/1.807, allocations: 3.706 MB / 0.7366 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.838e-05/1.808, allocations: 31.38 kB / 0.7366 GB, free: 117.1 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02009/1.828, allocations: 8.428 MB / 0.7448 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/1.828, allocations: 53.97 kB / 0.7449 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001313/1.828, allocations: 117.8 kB / 0.745 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/1.832, allocations: 1.058 MB / 0.746 GB, free: 116.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006089/1.838, allocations: 1.343 MB / 0.7474 GB, free: 116.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008724/1.847, allocations: 5.078 MB / 0.7523 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005237/1.852, allocations: 320 kB / 0.7526 GB, free: 115.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009922/1.853, allocations: 338.8 kB / 0.7529 GB, free: 115.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 518 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,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.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis2.color[3],axis2.color[2],axis2.color[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 (724): * Single equations (assignments): 717 * 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.001112/1.854, allocations: 0.5474 MB / 0.7535 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006592/1.855, allocations: 318.4 kB / 0.7538 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01114/1.866, allocations: 5.301 MB / 0.759 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.757e-05/1.866, allocations: 42.75 kB / 0.759 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.15e-05/1.866, allocations: 3.406 kB / 0.759 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.783e-05/1.866, allocations: 18.8 kB / 0.759 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02649/1.893, allocations: 13 MB / 0.7717 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.456e-05/1.893, allocations: 10.16 kB / 0.7717 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/1.896, allocations: 424.6 kB / 0.7721 GB, free: 109.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003345/1.899, allocations: 0.8881 MB / 0.773 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002916/1.899, allocations: 56.77 kB / 0.773 GB, free: 109 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007204/1.906, allocations: 4.419 MB / 0.7774 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.284e-05/1.906, allocations: 18.84 kB / 0.7774 GB, free: 106.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01463/1.921, allocations: 8.967 MB / 0.7861 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009037/1.922, allocations: 368 kB / 0.7865 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006213/1.923, allocations: 48 kB / 0.7865 GB, free: 101.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001701/1.924, allocations: 149.1 kB / 0.7867 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000403/1.925, allocations: 163.4 kB / 0.7868 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002592/1.925, allocations: 76.92 kB / 0.7869 GB, free: 101.2 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003516/1.929, allocations: 1.91 MB / 0.7888 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.163e-06/1.929, allocations: 0 / 0.7888 GB, free: 99.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006559/1.935, allocations: 1.087 MB / 0.7898 GB, free: 98.42 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (208): * Single equations (assignments): 201 * 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.0006496/1.936, allocations: 215.1 kB / 0.79 GB, free: 98.22 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.009851/1.946, allocations: 5.683 MB / 0.7956 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/1.946, allocations: 0 / 0.7956 GB, free: 93.08 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003723/1.95, allocations: 2.195 MB / 0.7977 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002459/1.952, allocations: 392.3 kB / 0.7981 GB, free: 90.76 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/1.972, allocations: 10.03 MB / 0.8079 GB, free: 81.82 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005959/1.978, allocations: 3.817 MB / 0.8116 GB, free: 78.91 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001476/1.979, allocations: 285.2 kB / 0.8119 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.817e-06/1.979, allocations: 0 / 0.8119 GB, free: 78.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.1083/2.088, allocations: 79.99 MB / 0.89 GB, free: 6.406 MB / 0.5105 GB