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_trunk_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadModel(ModelicaTest): time 2.552/2.552, allocations: 270 MB / 283.6 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.481e-05/3.498e-05, allocations: 4 kB / 348.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3334, allocations: 61.87 MB / 410.3 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1855/0.5189, allocations: 107.6 MB / 0.5058 GB, free: 14.78 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000228/0.5191, allocations: 79.97 kB / 0.5059 GB, free: 14.7 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7697/1.289, allocations: 115.7 MB / 0.6188 GB, free: 21.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.322e-06/1.289, allocations: 0 / 0.6188 GB, free: 21.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001909/1.289, allocations: 88 kB / 0.6189 GB, free: 21.3 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.01132/1.3, allocations: 4.307 MB / 0.6231 GB, free: 16.92 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/1.3, allocations: 15.97 kB / 0.6232 GB, free: 16.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02473/1.325, allocations: 3.621 MB / 0.6267 GB, free: 13.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02417/1.349, allocations: 4.612 MB / 0.6312 GB, free: 8.609 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000644/1.35, allocations: 365.4 kB / 0.6315 GB, free: 8.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003552/1.354, allocations: 475.8 kB / 0.632 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05089/1.405, allocations: 11.68 MB / 0.6434 GB, free: 11.57 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001892/1.405, allocations: 35.7 kB / 0.6434 GB, free: 11.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001212/1.406, allocations: 211.9 kB / 0.6436 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002516/1.409, allocations: 1.33 MB / 0.6449 GB, free: 9.996 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02864/1.437, allocations: 10.85 MB / 0.6555 GB, free: 15.14 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07767/1.515, allocations: 41.15 MB / 0.6957 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01276/1.528, allocations: 4.658 MB / 0.7003 GB, free: 60 kB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004746/1.533, allocations: 2.411 MB / 0.7026 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001752/1.534, allocations: 1.315 MB / 0.7039 GB, free: 12.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.479e-05/1.534, allocations: 56.5 kB / 0.704 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=249): time 7.108e-06/1.534, allocations: 0 / 0.704 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of matching and sorting (n=267): time 0.3595/1.894, allocations: 15.49 MB / 0.7191 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.93e-05/1.894, allocations: 73.97 kB / 0.7192 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005602/1.9, allocations: 2.803 MB / 0.7219 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004489/1.9, allocations: 61.7 kB / 0.722 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00218/1.902, allocations: 3.12 MB / 0.725 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.00108/1.903, allocations: 0.9706 MB / 0.7259 GB, free: 119 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003968/1.904, allocations: 116.4 kB / 0.7261 GB, free: 119 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000358/1.904, allocations: 0.5697 MB / 0.7266 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004684/1.909, allocations: 2.378 MB / 0.7289 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006179/1.915, allocations: 5.598 MB / 0.7344 GB, free: 114.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00657/1.922, allocations: 3.701 MB / 0.738 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-05/1.922, allocations: 31.38 kB / 0.7381 GB, free: 114.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=786) (initialization): time 0.02065/1.943, allocations: 8.514 MB / 0.7464 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.845e-05/1.943, allocations: 53.48 kB / 0.7464 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001273/1.943, allocations: 115 kB / 0.7465 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004255/1.947, allocations: 1.067 MB / 0.7476 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006165/1.953, allocations: 1.339 MB / 0.7489 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008741/1.962, allocations: 5.065 MB / 0.7538 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005315/1.967, allocations: 324 kB / 0.7541 GB, free: 112.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001184/1.969, allocations: 345.9 kB / 0.7545 GB, free: 112.6 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.001232/1.97, allocations: 0.5501 MB / 0.755 GB, free: 112.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006816/1.971, allocations: 311 kB / 0.7553 GB, free: 112.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.983, allocations: 5.302 MB / 0.7605 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.84e-05/1.983, allocations: 50.89 kB / 0.7605 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/1.983, allocations: 0 / 0.7605 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.654e-05/1.983, allocations: 16.69 kB / 0.7605 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/2.013, allocations: 12.99 MB / 0.7732 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-05/2.013, allocations: 12.75 kB / 0.7732 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00258/2.015, allocations: 423 kB / 0.7736 GB, free: 106.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003871/2.019, allocations: 0.885 MB / 0.7745 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004685/2.02, allocations: 58.41 kB / 0.7746 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007546/2.027, allocations: 4.42 MB / 0.7789 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/2.027, allocations: 19.06 kB / 0.7789 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0155/2.043, allocations: 8.955 MB / 0.7876 GB, free: 99.71 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009489/2.044, allocations: 374.2 kB / 0.788 GB, free: 99.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008536/2.045, allocations: 51.88 kB / 0.788 GB, free: 99.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002111/2.047, allocations: 147.6 kB / 0.7882 GB, free: 99.37 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004801/2.048, allocations: 162 kB / 0.7883 GB, free: 99.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002572/2.048, allocations: 81.17 kB / 0.7884 GB, free: 99.32 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.00401/2.052, allocations: 1.905 MB / 0.7903 GB, free: 98 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.104e-06/2.052, allocations: 7.828 kB / 0.7903 GB, free: 98 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006976/2.059, allocations: 1.086 MB / 0.7913 GB, free: 96.92 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.0007465/2.06, allocations: 209.3 kB / 0.7915 GB, free: 96.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01023/2.07, allocations: 5.685 MB / 0.7971 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.355e-05/2.07, allocations: 4 kB / 0.7971 GB, free: 91.58 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003998/2.074, allocations: 2.193 MB / 0.7992 GB, free: 89.59 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/2.077, allocations: 403 kB / 0.7996 GB, free: 89.26 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01983/2.097, allocations: 9.488 MB / 0.8089 GB, free: 80.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007173/2.104, allocations: 3.816 MB / 0.8126 GB, free: 77.85 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.006627/2.11, allocations: 2.152 MB / 0.8147 GB, free: 76.48 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001218/2.112, allocations: 238.6 kB / 0.8149 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of SimCode: time 1.866e-06/2.112, allocations: 0 / 0.8149 GB, free: 76.25 MB / 0.5105 GB Notification: Performance of Templates: time 0.09096/2.203, allocations: 34.24 MB / 0.8484 GB, free: 49.04 MB / 0.5105 GB