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.855/1.855, allocations: 194.9 MB / 210.6 MB, free: 8.344 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.855e-05, allocations: 4 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3161, allocations: 44.5 MB / 303.3 MB, free: 12.96 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01705/0.3332, allocations: 11.1 MB / 314.4 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.009875/0.3431, allocations: 3.711 MB / 318.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001947/0.3451, allocations: 55.88 kB / 318.2 MB, free: 14.72 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001562/0.3467, allocations: 0.5249 MB / 318.7 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006277/0.353, allocations: 1.741 MB / 320.5 MB, free: 12.44 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001503/0.3545, allocations: 383.3 kB / 320.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.3575, allocations: 1.06 MB / 321.9 MB, free: 11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002151/0.3597, allocations: 1.115 MB / 323 MB, free: 9.867 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008134/0.3606, allocations: 478.8 kB / 323.5 MB, free: 9.398 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001373/0.362, allocations: 0.7871 MB / 324.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001942/0.3639, allocations: 0.7567 MB / 325 MB, free: 7.852 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005481/0.3645, allocations: 84 kB / 325.1 MB, free: 7.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001083/0.3656, allocations: 0.8376 MB / 325.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005502/0.3662, allocations: 143.9 kB / 326.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.3707, allocations: 2.988 MB / 329.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3708, allocations: 0 / 329.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.086e-06/0.3708, allocations: 0 / 329.1 MB, free: 3.797 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.506e-05/0.3709, allocations: 0 / 329.1 MB, free: 3.797 MB / 266.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.007739/0.3787, allocations: 2.493 MB / 331.6 MB, free: 1.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/0.3787, allocations: 19.97 kB / 331.6 MB, free: 1.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01257/0.3913, allocations: 1.966 MB / 333.5 MB, free: 15.26 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004079/0.3954, allocations: 1.534 MB / 335.1 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.3956, allocations: 118.8 kB / 335.2 MB, free: 13.56 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005176/0.3961, allocations: 163.8 kB / 335.4 MB, free: 13.4 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01361/0.4097, allocations: 6.397 MB / 341.8 MB, free: 6.484 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.629e-05/0.4099, allocations: 27.75 kB / 341.8 MB, free: 6.457 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003607/0.4103, allocations: 83.84 kB / 341.9 MB, free: 6.375 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003656/0.4139, allocations: 1.378 MB / 343.2 MB, free: 4.992 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01647/0.4304, allocations: 5.685 MB / 348.9 MB, free: 15.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/0.4736, allocations: 26.24 MB / 375.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007347/0.481, allocations: 2.26 MB / 377.4 MB, free: 1.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001093/0.4812, allocations: 11.98 kB / 377.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/0.4812, allocations: 50.5 kB / 377.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 5.059e-06/0.4812, allocations: 0 / 377.5 MB, free: 1.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.03637/0.5176, allocations: 8.866 MB / 386.3 MB, free: 8.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.5178, allocations: 136.5 kB / 386.5 MB, free: 8.508 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005823/0.5236, allocations: 2.615 MB / 389.1 MB, free: 5.879 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002463/0.5239, allocations: 37.7 kB / 389.1 MB, free: 5.836 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001996/0.5259, allocations: 2.063 MB / 391.2 MB, free: 3.742 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006568/0.5266, allocations: 442.8 kB / 391.6 MB, free: 3.305 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000293/0.5269, allocations: 84 kB / 391.7 MB, free: 3.223 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003721/0.5273, allocations: 0.4956 MB / 392.2 MB, free: 2.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003734/0.5311, allocations: 1.386 MB / 393.6 MB, free: 1.324 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0061/0.5372, allocations: 4.172 MB / 397.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005888/0.5431, allocations: 2.362 MB / 400.1 MB, free: 9.367 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.927e-05/0.5433, allocations: 35.94 kB / 400.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=566) (initialization): time 0.01842/0.5617, allocations: 6.035 MB / 406.2 MB, free: 3.277 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.065e-05/0.5619, allocations: 48 kB / 406.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001381/0.562, allocations: 100 kB / 406.3 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004277/0.5663, allocations: 0.8045 MB / 407.1 MB, free: 2.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005596/0.572, allocations: 0.9787 MB / 408.1 MB, free: 1.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009169/0.5812, allocations: 4.243 MB / 412.4 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004341/0.5855, allocations: 247.5 kB / 412.6 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000519/0.5861, allocations: 272 kB / 412.9 MB, free: 12.46 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 456 * 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 (530): * Single equations (assignments): 526 * 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.002676/0.5888, allocations: 1.332 MB / 414.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005026/0.5893, allocations: 233 kB / 414.4 MB, free: 10.88 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00647/0.5958, allocations: 1.849 MB / 416.3 MB, free: 9.016 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/0.5958, allocations: 15.95 kB / 416.3 MB, free: 9 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.102e-05/0.5958, allocations: 4 kB / 416.3 MB, free: 8.996 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.37e-05/0.5959, allocations: 3.984 kB / 416.3 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0136/0.6095, allocations: 4.812 MB / 421.1 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.538e-05/0.6095, allocations: 7.938 kB / 421.1 MB, free: 4.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/0.6107, allocations: 135.8 kB / 421.3 MB, free: 3.957 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003659/0.6144, allocations: 0.6444 MB / 421.9 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/0.6145, allocations: 16 kB / 421.9 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2511/0.8657, allocations: 3.782 MB / 425.7 MB, free: 103.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.8657, allocations: 1.781 kB / 425.7 MB, free: 103.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.8759, allocations: 3.78 MB / 429.5 MB, free: 103.2 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001259/0.8772, allocations: 444.9 kB / 429.9 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005157/0.8778, allocations: 25.23 kB / 429.9 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.8794, allocations: 55.5 kB / 430 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/0.8797, allocations: 64.03 kB / 430.1 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.8798, allocations: 30.12 kB / 430.1 MB, free: 103 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00379/0.8836, allocations: 1.821 MB / 431.9 MB, free: 102.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.92e-07/0.8836, allocations: 0.5625 kB / 431.9 MB, free: 102.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.004182/0.8878, allocations: 0.6639 MB / 432.6 MB, free: 102.3 MB / 362.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.000537/0.8884, allocations: 161.2 kB / 432.7 MB, free: 102.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007148/0.8956, allocations: 3.373 MB / 436.1 MB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/0.8956, allocations: 0 / 436.1 MB, free: 101.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001818/0.8974, allocations: 0.9269 MB / 437 MB, free: 100.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.8992, allocations: 237.8 kB / 437.3 MB, free: 100.6 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.9117, allocations: 6.38 MB / 443.6 MB, free: 96.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002857/0.9147, allocations: 2.233 MB / 445.9 MB, free: 94.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.005351/0.9201, allocations: 1.397 MB / 447.3 MB, free: 93.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006838/0.9208, allocations: 163.4 kB / 447.4 MB, free: 93 MB / 362.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9208, allocations: 4 kB / 447.4 MB, free: 93 MB / 362.7 MB Notification: Performance of Templates: time 0.06011/0.9809, allocations: 21.9 MB / 469.3 MB, free: 71.17 MB / 362.7 MB