Running command: translateModel(PlanarMechanics.Examples.FreeBody,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.FreeBody") Notification: Performance of loadModel(PlanarMechanics): time 1.949/1.949, allocations: 234.8 MB / 247 MB, free: 2.039 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.627e-05/3.642e-05, allocations: 4 kB / 302.2 MB, free: 14.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09692/0.09698, allocations: 52.38 MB / 354.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3691/0.4661, allocations: 83.3 MB / 437.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001953/0.4664, allocations: 73.38 kB / 438 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1706/0.637, allocations: 47.47 MB / 485.4 MB, free: 13.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.637, allocations: 3.938 kB / 485.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.548e-05/0.6371, allocations: 36 kB / 485.5 MB, free: 13.8 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 902 * Number of variables: 902 Notification: Performance of Generate backend data structure: time 0.006393/0.6435, allocations: 2.172 MB / 487.6 MB, free: 11.57 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6435, allocations: 8.031 kB / 487.6 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01126/0.6548, allocations: 1.841 MB / 489.5 MB, free: 9.715 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003926/0.6588, allocations: 1.411 MB / 490.9 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000212/0.659, allocations: 172.3 kB / 491.1 MB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008571/0.6599, allocations: 211.9 kB / 491.3 MB, free: 7.887 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.6738, allocations: 6.01 MB / 497.3 MB, free: 1.633 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.91e-05/0.6739, allocations: 15.92 kB / 497.3 MB, free: 1.617 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005091/0.6745, allocations: 95.92 kB / 497.4 MB, free: 1.523 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001369/0.6758, allocations: 0.7074 MB / 498.1 MB, free: 0.8125 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01416/0.69, allocations: 5.781 MB / 0.4921 GB, free: 11.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03629/0.7263, allocations: 18.17 MB / 0.5098 GB, free: 8.516 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003605/0.73, allocations: 1.506 MB / 0.5113 GB, free: 6.887 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00118/0.7312, allocations: 0.5105 MB / 0.5118 GB, free: 6.371 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00557/0.7368, allocations: 2.143 MB / 0.5139 GB, free: 4.102 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.918e-05/0.7369, allocations: 42.94 kB / 0.5139 GB, free: 4.051 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 5.157e-06/0.7369, allocations: 0 / 0.5139 GB, free: 4.051 MB / 442.7 MB Notification: Performance of matching and sorting (n=80): time 0.003538/0.7405, allocations: 1.062 MB / 0.515 GB, free: 2.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.7406, allocations: 55.84 kB / 0.515 GB, free: 2.914 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004271/0.7449, allocations: 1.791 MB / 0.5168 GB, free: 1.117 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.7451, allocations: 33.7 kB / 0.5168 GB, free: 1.078 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2578/1.003, allocations: 1.646 MB / 0.5184 GB, free: 118.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/1.003, allocations: 323.2 kB / 0.5187 GB, free: 118.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003112/1.004, allocations: 52.75 kB / 0.5188 GB, free: 118.4 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0004743/1.004, allocations: 487.1 kB / 0.5192 GB, free: 118 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002517/1.007, allocations: 0.8668 MB / 0.5201 GB, free: 118 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003287/1.01, allocations: 2.505 MB / 0.5225 GB, free: 115.9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003301/1.013, allocations: 1.516 MB / 0.524 GB, free: 115.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001264/1.014, allocations: 16.56 kB / 0.524 GB, free: 115.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=360) (initialization): time 0.008707/1.022, allocations: 3.16 MB / 0.5271 GB, free: 115.7 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.588e-05/1.022, allocations: 29.59 kB / 0.5271 GB, free: 115.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.023, allocations: 64.62 kB / 0.5272 GB, free: 115.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001533/1.023, allocations: 85.75 kB / 0.5273 GB, free: 115.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002928/1.026, allocations: 0.6089 MB / 0.5279 GB, free: 115.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001577/1.026, allocations: 113.9 kB / 0.528 GB, free: 115.6 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/1.029, allocations: 418.5 kB / 0.5284 GB, free: 115.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006757/1.03, allocations: 173.3 kB / 0.5285 GB, free: 115.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 266 * Number of states: 0 () * Number of discrete variables: 3 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (334): * Single equations (assignments): 330 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005756/1.03, allocations: 301.6 kB / 0.5288 GB, free: 115.3 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000321/1.031, allocations: 157.6 kB / 0.529 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/1.033, allocations: 1.012 MB / 0.53 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001413/1.033, allocations: 22.31 kB / 0.53 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.033, allocations: 0 / 0.53 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/1.033, allocations: 2.859 kB / 0.53 GB, free: 115.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00883/1.042, allocations: 3.525 MB / 0.5334 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/1.042, allocations: 2.25 kB / 0.5334 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007026/1.043, allocations: 107.2 kB / 0.5335 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/1.043, allocations: 4.344 kB / 0.5335 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.738e-05/1.043, allocations: 17.33 kB / 0.5336 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/1.043, allocations: 7.25 kB / 0.5336 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.405e-06/1.043, allocations: 2.062 kB / 0.5336 GB, free: 114.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002966/1.046, allocations: 1.72 MB / 0.5352 GB, free: 114.4 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006247/1.046, allocations: 255.3 kB / 0.5355 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/1.047, allocations: 20.83 kB / 0.5355 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007782/1.048, allocations: 31.25 kB / 0.5355 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/1.048, allocations: 34.67 kB / 0.5356 GB, free: 114.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.503e-05/1.048, allocations: 27.47 kB / 0.5356 GB, free: 114.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002611/1.05, allocations: 1.281 MB / 0.5368 GB, free: 114.1 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.067e-06/1.05, allocations: 0 / 0.5368 GB, free: 114.1 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003381/1.054, allocations: 0.6346 MB / 0.5375 GB, free: 114.1 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 50 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000359/1.054, allocations: 155.2 kB / 0.5376 GB, free: 114 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00398/1.058, allocations: 1.85 MB / 0.5394 GB, free: 113.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.135e-06/1.058, allocations: 0 / 0.5394 GB, free: 113.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008114/1.059, allocations: 447.7 kB / 0.5399 GB, free: 113.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/1.061, allocations: 269.2 kB / 0.5401 GB, free: 113.3 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009378/1.07, allocations: 4.067 MB / 0.5441 GB, free: 111.7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003113/1.073, allocations: 2.213 MB / 0.5462 GB, free: 110.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003074/1.076, allocations: 0.8926 MB / 0.5471 GB, free: 110.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/1.077, allocations: 118.5 kB / 0.5472 GB, free: 110.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.862e-06/1.077, allocations: 4 kB / 0.5472 GB, free: 110.5 MB / 442.7 MB Notification: Performance of Templates: time 0.04634/1.123, allocations: 15.99 MB / 0.5628 GB, free: 109.4 MB / 442.7 MB