Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 2.041/2.041, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.496e-05/2.502e-05, allocations: 4 kB / 292.2 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08755/0.0876, allocations: 50.41 MB / 342.6 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5095, allocations: 92 MB / 434.6 MB, free: 2.012 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.5098, allocations: 93.31 kB / 434.7 MB, free: 1.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2491/0.759, allocations: 58.35 MB / 493 MB, free: 11.83 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.262e-06/0.759, allocations: 3.938 kB / 493 MB, free: 11.83 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001759/0.7592, allocations: 44 kB / 493 MB, free: 11.79 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01233/0.7716, allocations: 2.529 MB / 495.6 MB, free: 9.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.735e-05/0.7717, allocations: 11.97 kB / 495.6 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02012/0.7918, allocations: 1.97 MB / 497.6 MB, free: 7.211 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01067/0.8025, allocations: 3.142 MB / 0.489 GB, free: 4.016 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002473/0.8028, allocations: 176.6 kB / 0.4891 GB, free: 3.84 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009943/0.8038, allocations: 235.9 kB / 0.4894 GB, free: 3.609 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/0.8186, allocations: 6.711 MB / 0.4959 GB, free: 12.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001369/0.8188, allocations: 51.52 kB / 0.496 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005265/0.8193, allocations: 115.9 kB / 0.4961 GB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001357/0.8207, allocations: 0.715 MB / 0.4968 GB, free: 11.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0197/0.8404, allocations: 5.567 MB / 0.5022 GB, free: 5.645 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3/1.14, allocations: 33.36 MB / 0.5348 GB, free: 93.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005792/1.146, allocations: 2.272 MB / 0.537 GB, free: 93.05 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/1.148, allocations: 1.009 MB / 0.538 GB, free: 93.02 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-05/1.148, allocations: 15.47 kB / 0.538 GB, free: 93.02 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/1.148, allocations: 49.98 kB / 0.5381 GB, free: 92.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=98): time 5.67e-06/1.148, allocations: 0 / 0.5381 GB, free: 92.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=106): time 0.02215/1.171, allocations: 6.965 MB / 0.5449 GB, free: 91.13 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.954e-05/1.171, allocations: 144.2 kB / 0.545 GB, free: 90.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004981/1.176, allocations: 2.483 MB / 0.5474 GB, free: 90.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002209/1.176, allocations: 47.84 kB / 0.5475 GB, free: 90.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001493/1.177, allocations: 2.072 MB / 0.5495 GB, free: 89.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005541/1.178, allocations: 437.3 kB / 0.5499 GB, free: 89.43 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003223/1.178, allocations: 90.47 kB / 0.55 GB, free: 89.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002915/1.179, allocations: 0.4916 MB / 0.5505 GB, free: 89.12 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002984/1.182, allocations: 1.354 MB / 0.5518 GB, free: 89.1 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004234/1.186, allocations: 4.133 MB / 0.5558 GB, free: 85.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004362/1.19, allocations: 2.372 MB / 0.5581 GB, free: 85.44 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.316e-05/1.19, allocations: 29.94 kB / 0.5582 GB, free: 85.44 MB / 442.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01424/1.205, allocations: 5.687 MB / 0.5637 GB, free: 85.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.636e-05/1.205, allocations: 53.56 kB / 0.5638 GB, free: 85.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/1.205, allocations: 99.75 kB / 0.5639 GB, free: 85.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003098/1.208, allocations: 0.8002 MB / 0.5647 GB, free: 85.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004507/1.213, allocations: 0.995 MB / 0.5656 GB, free: 85.03 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/1.219, allocations: 4.101 MB / 0.5696 GB, free: 83.24 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004677/1.224, allocations: 290.2 kB / 0.5699 GB, free: 83.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007726/1.225, allocations: 272.3 kB / 0.5702 GB, free: 83.12 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 457 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (531): * Single equations (assignments): 527 * 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.0007645/1.226, allocations: 450.6 kB / 0.5706 GB, free: 82.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005819/1.226, allocations: 230.4 kB / 0.5708 GB, free: 82.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004765/1.231, allocations: 1.845 MB / 0.5726 GB, free: 82.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.351e-05/1.231, allocations: 12.34 kB / 0.5726 GB, free: 82.08 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/1.231, allocations: 3.938 kB / 0.5726 GB, free: 82.08 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/1.231, allocations: 8.797 kB / 0.5726 GB, free: 82.08 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0117/1.243, allocations: 4.787 MB / 0.5773 GB, free: 80.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.702e-05/1.243, allocations: 6.5 kB / 0.5773 GB, free: 80.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009549/1.244, allocations: 139 kB / 0.5775 GB, free: 80.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002694/1.247, allocations: 0.6377 MB / 0.5781 GB, free: 80.28 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/1.247, allocations: 18.75 kB / 0.5781 GB, free: 80.27 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005517/1.252, allocations: 3.623 MB / 0.5816 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.724e-06/1.252, allocations: 4.438 kB / 0.5816 GB, free: 78.27 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007278/1.26, allocations: 3.76 MB / 0.5853 GB, free: 76.74 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008053/1.261, allocations: 297.7 kB / 0.5856 GB, free: 76.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004006/1.261, allocations: 17.45 kB / 0.5856 GB, free: 76.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001375/1.262, allocations: 75.58 kB / 0.5857 GB, free: 76.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001926/1.263, allocations: 52.17 kB / 0.5857 GB, free: 76.47 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/1.263, allocations: 30.66 kB / 0.5858 GB, free: 76.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003162/1.266, allocations: 1.718 MB / 0.5874 GB, free: 75.84 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.154e-06/1.266, allocations: 2.188 kB / 0.5874 GB, free: 75.84 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00481/1.271, allocations: 0.6506 MB / 0.5881 GB, free: 75.75 MB / 442.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.0004298/1.271, allocations: 172.2 kB / 0.5882 GB, free: 75.64 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006287/1.278, allocations: 3.184 MB / 0.5914 GB, free: 74.55 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.229e-06/1.278, allocations: 3.844 kB / 0.5914 GB, free: 74.55 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001592/1.279, allocations: 0.9092 MB / 0.5922 GB, free: 74.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/1.281, allocations: 227.8 kB / 0.5925 GB, free: 74.05 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008838/1.29, allocations: 4.414 MB / 0.5968 GB, free: 71.69 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002585/1.292, allocations: 2.244 MB / 0.599 GB, free: 69.9 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00413/1.297, allocations: 1.404 MB / 0.6003 GB, free: 69.02 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/1.297, allocations: 158.8 kB / 0.6005 GB, free: 68.88 MB / 442.7 MB Notification: Performance of SimCode: time 2.125e-06/1.297, allocations: 0 / 0.6005 GB, free: 68.88 MB / 442.7 MB Notification: Performance of Templates: time 0.05781/1.355, allocations: 21.27 MB / 0.6213 GB, free: 52.23 MB / 442.7 MB