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.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.843/1.843, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.932e-05/2.953e-05, allocations: 4 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3423/0.4596, allocations: 84.71 MB / 384.6 MB, free: 21.09 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.4599, allocations: 87.66 kB / 384.7 MB, free: 21.09 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2068/0.6667, allocations: 56.73 MB / 441.4 MB, free: 12.51 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.037e-06/0.6668, allocations: 4 kB / 441.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000114/0.6669, allocations: 44 kB / 441.5 MB, free: 12.46 MB / 330.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.007309/0.6742, allocations: 2.526 MB / 444 MB, free: 10.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.6743, allocations: 8.031 kB / 444 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.6853, allocations: 1.972 MB / 446 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0107/0.696, allocations: 3.269 MB / 449.2 MB, free: 5.34 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002093/0.6963, allocations: 176.5 kB / 449.4 MB, free: 5.219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008069/0.6971, allocations: 231.9 kB / 449.6 MB, free: 5.051 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01489/0.712, allocations: 6.702 MB / 456.3 MB, free: 14.86 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/0.7122, allocations: 39.62 kB / 456.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005489/0.7128, allocations: 119.9 kB / 456.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001319/0.7141, allocations: 0.7111 MB / 457.2 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.728, allocations: 5.571 MB / 462.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04726/0.7753, allocations: 33.3 MB / 496.1 MB, free: 5.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006088/0.7814, allocations: 2.268 MB / 498.3 MB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001972/0.7835, allocations: 1.011 MB / 499.4 MB, free: 2.52 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.536e-05/0.7836, allocations: 11.98 kB / 499.4 MB, free: 2.508 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.064e-05/0.7836, allocations: 50.23 kB / 499.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of pre-optimization done (n=98): time 5.326e-06/0.7836, allocations: 0 / 499.4 MB, free: 2.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=106): time 0.02271/0.8063, allocations: 6.995 MB / 0.4945 GB, free: 11.32 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.8065, allocations: 152.4 kB / 0.4947 GB, free: 11.14 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005181/0.8117, allocations: 2.481 MB / 0.4971 GB, free: 8.645 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002323/0.812, allocations: 37.7 kB / 0.4971 GB, free: 8.602 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002198/0.8142, allocations: 2.067 MB / 0.4992 GB, free: 6.504 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006686/0.8149, allocations: 438.6 kB / 0.4996 GB, free: 6.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003554/0.8152, allocations: 84 kB / 0.4997 GB, free: 5.988 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004292/0.8157, allocations: 495.5 kB / 0.5001 GB, free: 5.496 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002982/0.8187, allocations: 1.356 MB / 0.5015 GB, free: 4.133 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005705/0.8244, allocations: 4.112 MB / 0.5055 GB, free: 14.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005005/0.8295, allocations: 2.354 MB / 0.5078 GB, free: 12.26 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.751e-05/0.8296, allocations: 31.94 kB / 0.5078 GB, free: 12.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01512/0.8447, allocations: 5.669 MB / 0.5133 GB, free: 6.547 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.116e-05/0.8448, allocations: 48 kB / 0.5134 GB, free: 6.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/0.845, allocations: 100.1 kB / 0.5135 GB, free: 6.402 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00308/0.8481, allocations: 0.8045 MB / 0.5143 GB, free: 5.594 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004384/0.8525, allocations: 0.9903 MB / 0.5152 GB, free: 4.602 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007762/0.8603, allocations: 4.098 MB / 0.5192 GB, free: 380 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004396/0.8647, allocations: 283.6 kB / 0.5195 GB, free: 96 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.221/1.086, allocations: 266 kB / 0.5198 GB, free: 109 MB / 410.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.0009794/1.087, allocations: 440.2 kB / 0.5202 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005316/1.087, allocations: 234.1 kB / 0.5204 GB, free: 108.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004766/1.092, allocations: 1.844 MB / 0.5222 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-05/1.092, allocations: 13.31 kB / 0.5222 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.092, allocations: 3.75 kB / 0.5222 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/1.092, allocations: 4.422 kB / 0.5222 GB, free: 108.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.104, allocations: 4.792 MB / 0.5269 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/1.104, allocations: 2 kB / 0.5269 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009128/1.105, allocations: 140.7 kB / 0.527 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002664/1.108, allocations: 0.6408 MB / 0.5277 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000167/1.108, allocations: 17.88 kB / 0.5277 GB, free: 108.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005768/1.114, allocations: 3.626 MB / 0.5312 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.265e-06/1.114, allocations: 5.234 kB / 0.5312 GB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007322/1.121, allocations: 3.751 MB / 0.5349 GB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.123, allocations: 443 kB / 0.5353 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003331/1.123, allocations: 17.75 kB / 0.5353 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/1.124, allocations: 69.53 kB / 0.5354 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.124, allocations: 67 kB / 0.5355 GB, free: 106.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.125, allocations: 31.3 kB / 0.5355 GB, free: 106.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003108/1.128, allocations: 1.712 MB / 0.5372 GB, free: 106.2 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.67e-07/1.128, allocations: 0 / 0.5372 GB, free: 106.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004709/1.132, allocations: 0.6474 MB / 0.5378 GB, free: 106.2 MB / 410.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.0004115/1.133, allocations: 152.2 kB / 0.5379 GB, free: 106.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006056/1.139, allocations: 3.182 MB / 0.541 GB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.214e-06/1.139, allocations: 0 / 0.541 GB, free: 106 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001597/1.141, allocations: 0.9054 MB / 0.5419 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.142, allocations: 234.6 kB / 0.5422 GB, free: 105.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009237/1.152, allocations: 4.396 MB / 0.5464 GB, free: 105 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002775/1.154, allocations: 2.241 MB / 0.5486 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004475/1.159, allocations: 1.396 MB / 0.55 GB, free: 104 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/1.16, allocations: 161.6 kB / 0.5502 GB, free: 104 MB / 410.7 MB Notification: Performance of SimCode: time 2.245e-06/1.16, allocations: 0 / 0.5502 GB, free: 104 MB / 410.7 MB Notification: Performance of Templates: time 0.05686/1.216, allocations: 21.16 MB / 0.5708 GB, free: 103.1 MB / 410.7 MB