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.3_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum") Notification: Performance of loadModel(Modelica): time 1.986/1.986, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.35e-05, allocations: 4 kB / 269.4 MB, free: 6.398 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1253, allocations: 47.58 MB / 316.9 MB, free: 6.734 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4436/0.569, allocations: 90.48 MB / 407.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.5693, allocations: 87.2 kB / 407.5 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2272/0.7965, allocations: 57.64 MB / 465.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.246e-06/0.7965, allocations: 0 / 465.1 MB, free: 11.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001223/0.7967, allocations: 48 kB / 465.2 MB, free: 10.98 MB / 378.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.00787/0.8045, allocations: 2.537 MB / 467.7 MB, free: 8.383 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.502e-05/0.8046, allocations: 12.03 kB / 467.7 MB, free: 8.371 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01112/0.8158, allocations: 1.97 MB / 469.7 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01092/0.8267, allocations: 3.298 MB / 473 MB, free: 3.043 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002787/0.827, allocations: 176.6 kB / 473.2 MB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001238/0.8283, allocations: 231.9 kB / 473.4 MB, free: 2.641 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01536/0.8437, allocations: 6.707 MB / 480.1 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001359/0.8439, allocations: 51.52 kB / 480.2 MB, free: 11.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005685/0.8445, allocations: 127.8 kB / 480.3 MB, free: 10.96 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001359/0.8458, allocations: 0.7111 MB / 481 MB, free: 10.25 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01378/0.8596, allocations: 5.567 MB / 486.6 MB, free: 4.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04768/0.9074, allocations: 33.41 MB / 0.5078 GB, free: 2.105 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2359/1.143, allocations: 2.263 MB / 0.51 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/1.145, allocations: 1.009 MB / 0.511 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.456e-05/1.145, allocations: 8.688 kB / 0.511 GB, free: 119.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/1.145, allocations: 46.84 kB / 0.511 GB, free: 119.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=98): time 6.093e-06/1.146, allocations: 0 / 0.511 GB, free: 119.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=106): time 0.02233/1.168, allocations: 7.031 MB / 0.5179 GB, free: 117.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/1.168, allocations: 145.4 kB / 0.518 GB, free: 117.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005227/1.173, allocations: 2.5 MB / 0.5205 GB, free: 117.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/1.173, allocations: 37.19 kB / 0.5205 GB, free: 117.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001538/1.175, allocations: 2.082 MB / 0.5225 GB, free: 116.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005122/1.175, allocations: 441.1 kB / 0.523 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002912/1.176, allocations: 91.11 kB / 0.5231 GB, free: 116.1 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002782/1.176, allocations: 499.1 kB / 0.5235 GB, free: 115.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00278/1.179, allocations: 1.354 MB / 0.5249 GB, free: 115.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00422/1.183, allocations: 4.132 MB / 0.5289 GB, free: 112.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00429/1.187, allocations: 2.362 MB / 0.5312 GB, free: 112.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.74e-05/1.188, allocations: 30.12 kB / 0.5312 GB, free: 112.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01412/1.202, allocations: 5.693 MB / 0.5368 GB, free: 111.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/1.202, allocations: 45.03 kB / 0.5368 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001075/1.202, allocations: 100.9 kB / 0.5369 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002762/1.205, allocations: 0.8123 MB / 0.5377 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004206/1.209, allocations: 0.9957 MB / 0.5387 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006711/1.216, allocations: 4.097 MB / 0.5427 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004734/1.221, allocations: 291.1 kB / 0.543 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007934/1.221, allocations: 277.3 kB / 0.5432 GB, free: 110 MB / 426.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.0007351/1.222, allocations: 445.5 kB / 0.5437 GB, free: 109.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00056/1.223, allocations: 235.7 kB / 0.5439 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004374/1.227, allocations: 1.833 MB / 0.5457 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.56e-05/1.227, allocations: 19.59 kB / 0.5457 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/1.227, allocations: 3.562 kB / 0.5457 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.786e-05/1.227, allocations: 8.438 kB / 0.5457 GB, free: 108.9 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/1.238, allocations: 4.795 MB / 0.5504 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.457e-05/1.238, allocations: 3.156 kB / 0.5504 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009144/1.239, allocations: 138.6 kB / 0.5505 GB, free: 107.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002392/1.242, allocations: 0.6351 MB / 0.5511 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001468/1.242, allocations: 21.89 kB / 0.5512 GB, free: 107.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0057/1.248, allocations: 3.631 MB / 0.5547 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.073e-06/1.248, allocations: 6.984 kB / 0.5547 GB, free: 105.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007048/1.255, allocations: 3.759 MB / 0.5584 GB, free: 103.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.256, allocations: 446.9 kB / 0.5588 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003855/1.256, allocations: 17.84 kB / 0.5588 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001354/1.258, allocations: 70.92 kB / 0.5589 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.258, allocations: 55.2 kB / 0.5589 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/1.258, allocations: 36.36 kB / 0.559 GB, free: 103.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003418/1.261, allocations: 1.727 MB / 0.5607 GB, free: 102.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.133e-06/1.262, allocations: 0 / 0.5607 GB, free: 102.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004732/1.266, allocations: 0.654 MB / 0.5613 GB, free: 102.5 MB / 426.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.0003826/1.267, allocations: 151.7 kB / 0.5615 GB, free: 102.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006158/1.273, allocations: 3.189 MB / 0.5646 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.072e-06/1.273, allocations: 0 / 0.5646 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001591/1.275, allocations: 0.9027 MB / 0.5654 GB, free: 100.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001584/1.276, allocations: 237.1 kB / 0.5657 GB, free: 100.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009113/1.285, allocations: 4.437 MB / 0.57 GB, free: 97.38 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/1.288, allocations: 2.244 MB / 0.5722 GB, free: 95.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004148/1.292, allocations: 1.404 MB / 0.5736 GB, free: 94.71 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005921/1.293, allocations: 166.7 kB / 0.5737 GB, free: 94.56 MB / 426.7 MB Notification: Performance of SimCode: time 1.787e-06/1.293, allocations: 0 / 0.5737 GB, free: 94.56 MB / 426.7 MB Notification: Performance of Templates: time 0.05651/1.349, allocations: 21.28 MB / 0.5945 GB, free: 78.23 MB / 426.7 MB