Running command: translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") Notification: Performance of loadModel(PlanarMechanics): time 1.948/1.948, allocations: 234.8 MB / 247 MB, free: 2.059 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.271e-05, allocations: 6.391 kB / 302.2 MB, free: 14.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09628, allocations: 52.39 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3766/0.473, allocations: 85.86 MB / 440.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.4732, allocations: 71.97 kB / 440.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1993/0.6725, allocations: 54.5 MB / 495 MB, free: 4.211 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.6726, allocations: 7.938 kB / 495 MB, free: 4.203 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.584e-05/0.6727, allocations: 44 kB / 495.1 MB, free: 4.16 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: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.008481/0.6812, allocations: 2.601 MB / 497.7 MB, free: 1.504 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/0.6812, allocations: 8.875 kB / 497.7 MB, free: 1.496 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01176/0.693, allocations: 1.888 MB / 499.6 MB, free: 15.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004354/0.6974, allocations: 1.525 MB / 0.4894 GB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002483/0.6977, allocations: 188.9 kB / 0.4895 GB, free: 13.84 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001006/0.6987, allocations: 259.8 kB / 0.4898 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0162/0.7149, allocations: 6.709 MB / 0.4963 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.26e-05/0.715, allocations: 15.88 kB / 0.4963 GB, free: 6.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005781/0.7156, allocations: 111.9 kB / 0.4965 GB, free: 6.461 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001559/0.7172, allocations: 0.7899 MB / 0.4972 GB, free: 5.668 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01603/0.7332, allocations: 6.313 MB / 0.5034 GB, free: 15.34 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3081/1.041, allocations: 21.16 MB / 0.5241 GB, free: 100.6 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00525/1.047, allocations: 1.977 MB / 0.526 GB, free: 100 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001412/1.048, allocations: 0.6476 MB / 0.5266 GB, free: 100 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006861/1.055, allocations: 3.292 MB / 0.5298 GB, free: 98.41 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/1.055, allocations: 38.5 kB / 0.5299 GB, free: 98.38 MB / 442.7 MB Notification: Performance of pre-optimization done (n=106): time 4.972e-06/1.055, allocations: 3.625 kB / 0.5299 GB, free: 98.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=120): time 0.01436/1.069, allocations: 4.895 MB / 0.5347 GB, free: 97.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/1.07, allocations: 65.7 kB / 0.5347 GB, free: 97.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00456/1.074, allocations: 2.011 MB / 0.5367 GB, free: 97.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001778/1.074, allocations: 43.56 kB / 0.5367 GB, free: 97.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001478/1.076, allocations: 1.825 MB / 0.5385 GB, free: 96.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005421/1.076, allocations: 467.6 kB / 0.5389 GB, free: 95.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002736/1.077, allocations: 66.86 kB / 0.539 GB, free: 95.79 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002696/1.077, allocations: 448.6 kB / 0.5394 GB, free: 95.48 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002434/1.079, allocations: 1.041 MB / 0.5405 GB, free: 95.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003655/1.083, allocations: 2.873 MB / 0.5433 GB, free: 93.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003626/1.087, allocations: 1.78 MB / 0.545 GB, free: 93.08 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.195e-05/1.087, allocations: 20 kB / 0.545 GB, free: 93.08 MB / 442.7 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.009566/1.096, allocations: 3.834 MB / 0.5488 GB, free: 92.88 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.828e-05/1.097, allocations: 38.34 kB / 0.5488 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-05/1.097, allocations: 63.53 kB / 0.5489 GB, free: 92.88 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006183/1.097, allocations: 209.9 kB / 0.5491 GB, free: 92.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00322/1.1, allocations: 0.7333 MB / 0.5498 GB, free: 92.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003234/1.104, allocations: 2.455 MB / 0.5522 GB, free: 91.38 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.107, allocations: 167.5 kB / 0.5523 GB, free: 91.38 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005745/1.108, allocations: 199.2 kB / 0.5525 GB, free: 91.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 390 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005877/1.108, allocations: 339.3 kB / 0.5528 GB, free: 91.17 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/1.109, allocations: 184.9 kB / 0.553 GB, free: 91.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00323/1.112, allocations: 1.562 MB / 0.5545 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001404/1.112, allocations: 23.2 kB / 0.5546 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.05e-06/1.112, allocations: 0 / 0.5546 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.46e-05/1.112, allocations: 6.328 kB / 0.5546 GB, free: 90.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01066/1.123, allocations: 4.806 MB / 0.5593 GB, free: 88.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/1.123, allocations: 3.938 kB / 0.5593 GB, free: 88.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009425/1.124, allocations: 164.6 kB / 0.5594 GB, free: 88.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004462/1.124, allocations: 113.6 kB / 0.5595 GB, free: 88.82 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.714e-05/1.125, allocations: 30.11 kB / 0.5596 GB, free: 88.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002284/1.127, allocations: 1.985 MB / 0.5615 GB, free: 87.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.033e-06/1.127, allocations: 2 kB / 0.5615 GB, free: 87.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/1.131, allocations: 2.641 MB / 0.5641 GB, free: 85.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000761/1.132, allocations: 271.1 kB / 0.5643 GB, free: 85.72 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003561/1.132, allocations: 28.59 kB / 0.5644 GB, free: 85.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001057/1.133, allocations: 58.17 kB / 0.5644 GB, free: 85.69 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/1.134, allocations: 66.88 kB / 0.5645 GB, free: 85.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/1.134, allocations: 44.47 kB / 0.5645 GB, free: 85.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002608/1.136, allocations: 1.428 MB / 0.5659 GB, free: 85.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.222e-06/1.136, allocations: 0 / 0.5659 GB, free: 85.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003769/1.14, allocations: 0.5764 MB / 0.5665 GB, free: 85.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (87): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003795/1.141, allocations: 161.8 kB / 0.5666 GB, free: 84.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004725/1.145, allocations: 2.437 MB / 0.569 GB, free: 84.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.284e-06/1.145, allocations: 0 / 0.569 GB, free: 84.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001263/1.147, allocations: 0.7842 MB / 0.5698 GB, free: 83.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/1.149, allocations: 302.1 kB / 0.5701 GB, free: 83.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.159, allocations: 4.487 MB / 0.5745 GB, free: 81.83 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/1.162, allocations: 2.416 MB / 0.5768 GB, free: 80.69 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00356/1.166, allocations: 1.049 MB / 0.5778 GB, free: 80.61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00052/1.166, allocations: 144.7 kB / 0.578 GB, free: 80.59 MB / 442.7 MB Notification: Performance of SimCode: time 1.607e-06/1.166, allocations: 0 / 0.578 GB, free: 80.59 MB / 442.7 MB Notification: Performance of Templates: time 0.05438/1.221, allocations: 19.79 MB / 0.5973 GB, free: 71.2 MB / 442.7 MB