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.3_ModelicaTest.MultiBody.Joints.Planar") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.032e-05/4.048e-05, allocations: 10.59 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3235/0.3236, allocations: 58.84 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1627/0.4863, allocations: 106.1 MB / 488.3 MB, free: 2.371 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/0.4866, allocations: 79.95 kB / 488.4 MB, free: 2.293 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6977/1.184, allocations: 117.7 MB / 0.5919 GB, free: 84.39 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.783e-06/1.184, allocations: 0 / 0.5919 GB, free: 84.39 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002208/1.185, allocations: 95.92 kB / 0.592 GB, free: 84.3 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.01267/1.197, allocations: 4.458 MB / 0.5963 GB, free: 79.78 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/1.197, allocations: 8.031 kB / 0.5963 GB, free: 79.77 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0191/1.216, allocations: 3.659 MB / 0.5999 GB, free: 76.1 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01374/1.23, allocations: 4.823 MB / 0.6046 GB, free: 71.22 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/1.231, allocations: 377.9 kB / 0.605 GB, free: 70.85 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/1.233, allocations: 0.4919 MB / 0.6055 GB, free: 70.36 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02908/1.262, allocations: 12.05 MB / 0.6172 GB, free: 57.78 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002152/1.262, allocations: 43.59 kB / 0.6173 GB, free: 57.74 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002048/1.265, allocations: 223.8 kB / 0.6175 GB, free: 57.52 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002429/1.267, allocations: 1.389 MB / 0.6188 GB, free: 56.13 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03039/1.297, allocations: 11.02 MB / 0.6296 GB, free: 45.09 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09899/1.396, allocations: 42.86 MB / 0.6715 GB, free: 1.105 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/1.409, allocations: 4.668 MB / 0.676 GB, free: 12.2 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004946/1.414, allocations: 2.419 MB / 0.6784 GB, free: 9.777 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001839/1.416, allocations: 1.327 MB / 0.6797 GB, free: 8.227 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.175e-05/1.416, allocations: 56.56 kB / 0.6797 GB, free: 8.164 MB / 474.8 MB Notification: Performance of pre-optimization done (n=250): time 7.616e-06/1.416, allocations: 0 / 0.6797 GB, free: 8.164 MB / 474.8 MB Notification: Performance of matching and sorting (n=268): time 0.05718/1.473, allocations: 16.36 MB / 0.6957 GB, free: 7.668 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.211e-05/1.473, allocations: 107.1 kB / 0.6958 GB, free: 7.547 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006655/1.48, allocations: 2.874 MB / 0.6986 GB, free: 4.668 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004943/1.481, allocations: 61.7 kB / 0.6987 GB, free: 4.602 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00351/1.484, allocations: 3.272 MB / 0.7019 GB, free: 1.281 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001586/1.486, allocations: 0.9829 MB / 0.7028 GB, free: 292 kB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005868/1.486, allocations: 116 kB / 0.7029 GB, free: 176 kB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006268/1.487, allocations: 0.5704 MB / 0.7035 GB, free: 15.59 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005869/1.493, allocations: 2.409 MB / 0.7058 GB, free: 13.18 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009426/1.502, allocations: 5.756 MB / 0.7115 GB, free: 5.75 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00831/1.511, allocations: 3.761 MB / 0.7151 GB, free: 1.984 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/1.511, allocations: 36 kB / 0.7152 GB, free: 1.949 MB / 0.4949 GB Notification: Performance of matching and sorting (n=808) (initialization): time 0.3612/1.872, allocations: 8.658 MB / 0.7236 GB, free: 125 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 9.604e-05/1.872, allocations: 57.25 kB / 0.7237 GB, free: 125 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001438/1.872, allocations: 115.2 kB / 0.7238 GB, free: 125 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004088/1.876, allocations: 1.065 MB / 0.7248 GB, free: 125 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006163/1.883, allocations: 1.392 MB / 0.7262 GB, free: 125 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008602/1.891, allocations: 5.077 MB / 0.7312 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005517/1.897, allocations: 327.5 kB / 0.7315 GB, free: 123.7 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001144/1.898, allocations: 359.2 kB / 0.7318 GB, free: 123.7 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 540 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (746): * Single equations (assignments): 739 * 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.001257/1.899, allocations: 0.5597 MB / 0.7324 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006386/1.9, allocations: 321.2 kB / 0.7327 GB, free: 123.4 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01168/1.912, allocations: 5.315 MB / 0.7379 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-05/1.912, allocations: 48.27 kB / 0.7379 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/1.912, allocations: 3.531 kB / 0.7379 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.333e-05/1.912, allocations: 11.2 kB / 0.7379 GB, free: 123.2 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03512/1.947, allocations: 13.25 MB / 0.7509 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.033e-05/1.947, allocations: 12.56 kB / 0.7509 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002566/1.95, allocations: 427.5 kB / 0.7513 GB, free: 121.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003769/1.953, allocations: 0.8887 MB / 0.7521 GB, free: 121.5 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004472/1.954, allocations: 59 kB / 0.7522 GB, free: 121.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007264/1.961, allocations: 4.416 MB / 0.7565 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.484e-05/1.961, allocations: 19.84 kB / 0.7565 GB, free: 119.2 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01484/1.976, allocations: 9.041 MB / 0.7654 GB, free: 114.9 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/1.978, allocations: 0.7312 MB / 0.7661 GB, free: 114.5 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006666/1.979, allocations: 56.89 kB / 0.7661 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0019/1.981, allocations: 142.4 kB / 0.7663 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003939/1.981, allocations: 174 kB / 0.7664 GB, free: 114.4 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000263/1.982, allocations: 75 kB / 0.7665 GB, free: 114.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.003603/1.985, allocations: 1.969 MB / 0.7684 GB, free: 113.7 MB / 0.4949 GB Notification: Performance of sort global known variables: time 8.93e-07/1.985, allocations: 0 / 0.7684 GB, free: 113.7 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006343/1.992, allocations: 1.117 MB / 0.7695 GB, free: 113.5 MB / 0.4949 GB 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.0005711/1.992, allocations: 208 kB / 0.7697 GB, free: 113.4 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01042/2.003, allocations: 5.753 MB / 0.7753 GB, free: 110.7 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/2.003, allocations: 0 / 0.7753 GB, free: 110.7 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.003791/2.006, allocations: 2.2 MB / 0.7775 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/2.009, allocations: 392.1 kB / 0.7779 GB, free: 108.3 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/2.029, allocations: 9.76 MB / 0.7874 GB, free: 99.68 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007371/2.037, allocations: 3.939 MB / 0.7912 GB, free: 96.69 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006829/2.044, allocations: 2.184 MB / 0.7934 GB, free: 95.33 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/2.045, allocations: 245.7 kB / 0.7936 GB, free: 95.1 MB / 0.4949 GB Notification: Performance of SimCode: time 1.649e-06/2.045, allocations: 0 / 0.7936 GB, free: 95.1 MB / 0.4949 GB Notification: Performance of Templates: time 0.08983/2.135, allocations: 34.55 MB / 0.8273 GB, free: 66.94 MB / 0.4949 GB