Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.674/1.674, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.116e-05, allocations: 4 kB / 225 MB, free: 2.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 38.77 MB / 263.8 MB, free: 9.836 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1231/0.3827, allocations: 78.98 MB / 342.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.383, allocations: 83.95 kB / 342.8 MB, free: 10.66 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4043/0.7874, allocations: 56.75 MB / 399.6 MB, free: 73.53 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.665e-06/0.7874, allocations: 0 / 399.6 MB, free: 73.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.617e-05/0.7875, allocations: 48 kB / 399.6 MB, free: 73.48 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 931 * Number of variables: 931 Notification: Performance of Generate backend data structure: time 0.006824/0.7944, allocations: 2.524 MB / 402.2 MB, free: 70.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.7944, allocations: 8.031 kB / 402.2 MB, free: 70.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01025/0.8047, allocations: 1.966 MB / 404.1 MB, free: 68.94 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009601/0.8144, allocations: 3.268 MB / 407.4 MB, free: 65.67 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002063/0.8146, allocations: 184.3 kB / 407.6 MB, free: 65.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001033/0.8157, allocations: 235.8 kB / 407.8 MB, free: 65.3 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01319/0.8289, allocations: 6.699 MB / 414.5 MB, free: 57.86 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001334/0.829, allocations: 43.62 kB / 414.6 MB, free: 57.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007785/0.8298, allocations: 120.2 kB / 414.7 MB, free: 57.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001076/0.8309, allocations: 0.722 MB / 415.4 MB, free: 57 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01169/0.8426, allocations: 5.552 MB / 421 MB, free: 51.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/0.8771, allocations: 33.29 MB / 454.2 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00526/0.8824, allocations: 2.262 MB / 456.5 MB, free: 14.65 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.8841, allocations: 1.008 MB / 457.5 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.56e-05/0.8842, allocations: 23.91 kB / 457.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.657e-05/0.8842, allocations: 43.19 kB / 457.6 MB, free: 13.56 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 6.346e-06/0.8842, allocations: 3.938 kB / 457.6 MB, free: 13.55 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.02051/0.9048, allocations: 7.009 MB / 464.6 MB, free: 6.422 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.9049, allocations: 140.5 kB / 464.7 MB, free: 6.254 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/0.9094, allocations: 2.478 MB / 467.2 MB, free: 3.758 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002046/0.9096, allocations: 45.69 kB / 467.3 MB, free: 3.707 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001409/0.9111, allocations: 2.059 MB / 469.3 MB, free: 1.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005117/0.9116, allocations: 438.6 kB / 469.7 MB, free: 1.184 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003435/0.912, allocations: 84 kB / 469.8 MB, free: 1.102 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002689/0.9122, allocations: 499.5 kB / 470.3 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002995/0.9152, allocations: 1.352 MB / 471.7 MB, free: 15.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006108/0.9214, allocations: 4.116 MB / 475.8 MB, free: 9.715 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00502/0.9265, allocations: 2.35 MB / 478.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.348e-05/0.9266, allocations: 32 kB / 478.2 MB, free: 7.332 MB / 330.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01555/0.9422, allocations: 5.658 MB / 483.8 MB, free: 1.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.592e-05/0.9423, allocations: 48 kB / 483.9 MB, free: 1.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.9425, allocations: 100 kB / 484 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003142/0.9456, allocations: 0.7975 MB / 484.8 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004416/0.9501, allocations: 1.002 MB / 485.8 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007827/0.9579, allocations: 4.098 MB / 489.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00452/0.9625, allocations: 287.5 kB / 490.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009352/0.9635, allocations: 268 kB / 490.4 MB, free: 10.94 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 454 * Number of states: 0 () * Number of discrete variables: 15 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (528): * Single equations (assignments): 524 * Array equations: 3 * 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,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009179/0.9644, allocations: 442.6 kB / 490.8 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/0.965, allocations: 233 kB / 491.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005099/0.9701, allocations: 1.841 MB / 492.9 MB, free: 8.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.937e-05/0.9702, allocations: 12 kB / 492.9 MB, free: 8.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/0.9703, allocations: 11.94 kB / 492.9 MB, free: 8.391 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.037e-05/0.9703, allocations: 7.922 kB / 492.9 MB, free: 8.383 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01254/0.9829, allocations: 4.79 MB / 497.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.9829, allocations: 4 kB / 497.7 MB, free: 3.508 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000888/0.9838, allocations: 131.8 kB / 497.9 MB, free: 3.379 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00271/0.9865, allocations: 0.6487 MB / 498.5 MB, free: 2.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000162/0.9867, allocations: 12 kB / 498.5 MB, free: 2.715 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2056/1.192, allocations: 3.637 MB / 0.4904 GB, free: 92.65 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/1.192, allocations: 1.594 kB / 0.4904 GB, free: 92.65 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007403/1.2, allocations: 3.758 MB / 0.4941 GB, free: 92.11 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001165/1.201, allocations: 447.9 kB / 0.4945 GB, free: 92.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/1.201, allocations: 20.17 kB / 0.4945 GB, free: 92.02 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.203, allocations: 63.58 kB / 0.4946 GB, free: 92.02 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/1.203, allocations: 57.98 kB / 0.4946 GB, free: 92.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/1.203, allocations: 33.91 kB / 0.4947 GB, free: 92.02 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003292/1.206, allocations: 1.709 MB / 0.4963 GB, free: 91.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.83e-07/1.206, allocations: 0 / 0.4963 GB, free: 91.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004437/1.211, allocations: 0.6497 MB / 0.497 GB, free: 91.86 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 71 * Array equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0003885/1.211, allocations: 153.1 kB / 0.4971 GB, free: 91.77 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006161/1.217, allocations: 3.182 MB / 0.5002 GB, free: 91.64 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.33e-06/1.218, allocations: 4.469 kB / 0.5002 GB, free: 91.64 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001593/1.219, allocations: 0.9083 MB / 0.5011 GB, free: 91.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001624/1.221, allocations: 234.2 kB / 0.5013 GB, free: 91.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009387/1.23, allocations: 4.405 MB / 0.5056 GB, free: 90.63 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002955/1.233, allocations: 2.233 MB / 0.5078 GB, free: 89.67 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.004349/1.238, allocations: 1.393 MB / 0.5092 GB, free: 89.64 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006724/1.238, allocations: 159.7 kB / 0.5093 GB, free: 89.64 MB / 346.7 MB Notification: Performance of SimCode: time 1.529e-06/1.238, allocations: 0 / 0.5093 GB, free: 89.64 MB / 346.7 MB Notification: Performance of Templates: time 0.05659/1.295, allocations: 21.16 MB / 0.53 GB, free: 80.71 MB / 346.7 MB