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.774/1.774, allocations: 171.2 MB / 185.7 MB, free: 1.398 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.856e-05/2.851e-05, allocations: 4 kB / 228.2 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.08254, allocations: 38.77 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum): time 0.01777/0.1004, allocations: 11.1 MB / 278 MB, free: 5.328 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.01037/0.1108, allocations: 3.694 MB / 281.7 MB, free: 1.625 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002201/0.1131, allocations: 55.88 kB / 281.8 MB, free: 1.57 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001982/0.1151, allocations: 0.521 MB / 282.3 MB, free: 1.047 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.1222, allocations: 1.738 MB / 284 MB, free: 15.3 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00161/0.1239, allocations: 399.2 kB / 284.4 MB, free: 14.91 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.003348/0.1273, allocations: 1.056 MB / 285.5 MB, free: 13.86 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002501/0.1298, allocations: 1.107 MB / 286.6 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.131, allocations: 490.7 kB / 287.1 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001728/0.1328, allocations: 0.7832 MB / 287.9 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002297/0.1351, allocations: 0.7529 MB / 288.6 MB, free: 10.7 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007758/0.136, allocations: 80 kB / 288.7 MB, free: 10.62 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001345/0.1373, allocations: 0.8454 MB / 289.5 MB, free: 9.777 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.138, allocations: 144 kB / 289.7 MB, free: 9.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005253/0.1432, allocations: 2.978 MB / 292.6 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1433, allocations: 0 / 292.6 MB, free: 6.652 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.1433, allocations: 0 / 292.6 MB, free: 6.652 MB / 250.7 MB Notification: Performance of Transformations before backend: time 0.0001417/0.1435, allocations: 0 / 292.6 MB, free: 6.652 MB / 250.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.00819/0.1517, allocations: 2.497 MB / 295.1 MB, free: 4.098 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.985e-05/0.1517, allocations: 12.03 kB / 295.2 MB, free: 4.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01294/0.1647, allocations: 1.974 MB / 297.1 MB, free: 2.105 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00449/0.1692, allocations: 1.538 MB / 298.7 MB, free: 0.5195 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001861/0.1694, allocations: 118.8 kB / 298.8 MB, free: 412 kB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000812/0.1703, allocations: 151.9 kB / 298.9 MB, free: 260 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2383/0.4086, allocations: 6.395 MB / 305.3 MB, free: 25.94 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001163/0.4088, allocations: 33.73 kB / 305.4 MB, free: 25.92 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004583/0.4093, allocations: 77.47 kB / 305.4 MB, free: 25.9 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004102/0.4134, allocations: 1.373 MB / 306.8 MB, free: 25.67 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0168/0.4302, allocations: 5.695 MB / 312.5 MB, free: 23.97 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0397/0.47, allocations: 26.22 MB / 338.7 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007509/0.4775, allocations: 2.262 MB / 341 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001252/0.4777, allocations: 14.81 kB / 341 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.4778, allocations: 38.56 kB / 341 MB, free: 12.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=98): time 4.559e-06/0.4778, allocations: 4 kB / 341 MB, free: 12.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=106): time 0.03828/0.5161, allocations: 8.863 MB / 349.9 MB, free: 2.969 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.695e-05/0.5162, allocations: 144.5 kB / 350 MB, free: 2.797 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006501/0.5227, allocations: 2.615 MB / 352.7 MB, free: 172 kB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002822/0.5231, allocations: 42.64 kB / 352.7 MB, free: 124 kB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002473/0.5255, allocations: 2.064 MB / 354.8 MB, free: 14.06 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008349/0.5264, allocations: 440 kB / 355.2 MB, free: 13.64 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004397/0.5269, allocations: 84 kB / 355.3 MB, free: 13.55 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004091/0.5273, allocations: 499.5 kB / 355.8 MB, free: 13.06 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004088/0.5314, allocations: 1.39 MB / 357.2 MB, free: 11.66 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006663/0.5381, allocations: 4.18 MB / 361.3 MB, free: 6.059 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006288/0.5445, allocations: 2.359 MB / 363.7 MB, free: 3.703 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/0.5447, allocations: 28 kB / 363.7 MB, free: 3.676 MB / 282.7 MB Notification: Performance of matching and sorting (n=566) (initialization): time 0.01941/0.5641, allocations: 6.024 MB / 369.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001032/0.5643, allocations: 56.19 kB / 369.8 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/0.5644, allocations: 100.1 kB / 369.9 MB, free: 13.49 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004286/0.5687, allocations: 0.815 MB / 370.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006035/0.5748, allocations: 0.9824 MB / 371.7 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00997/0.5849, allocations: 4.235 MB / 375.9 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004556/0.5895, allocations: 248.4 kB / 376.2 MB, free: 7.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001085/0.5906, allocations: 277.6 kB / 376.4 MB, free: 6.816 MB / 298.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.003286/0.5939, allocations: 1.331 MB / 377.8 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006128/0.5946, allocations: 233 kB / 378 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006524/0.6011, allocations: 1.845 MB / 379.9 MB, free: 3.383 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.183e-05/0.6012, allocations: 17.09 kB / 379.9 MB, free: 3.367 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.298e-05/0.6012, allocations: 7.906 kB / 379.9 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-05/0.6013, allocations: 7.969 kB / 379.9 MB, free: 3.355 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01454/0.6158, allocations: 4.807 MB / 384.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.6159, allocations: 0 / 384.7 MB, free: 14.49 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/0.6171, allocations: 135.8 kB / 384.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003657/0.6208, allocations: 0.6521 MB / 385.5 MB, free: 13.7 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001579/0.621, allocations: 20 kB / 385.5 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00844/0.6294, allocations: 3.796 MB / 389.3 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.6295, allocations: 4.031 kB / 389.3 MB, free: 9.75 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.6398, allocations: 3.782 MB / 393.1 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.6412, allocations: 449.8 kB / 393.5 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004501/0.6417, allocations: 16.94 kB / 393.5 MB, free: 5.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.6433, allocations: 63.91 kB / 393.6 MB, free: 5.367 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002286/0.6435, allocations: 52.86 kB / 393.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/0.6437, allocations: 36.06 kB / 393.7 MB, free: 5.281 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.004373/0.6481, allocations: 1.824 MB / 395.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.6481, allocations: 0 / 395.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.004549/0.6527, allocations: 0.6576 MB / 396.2 MB, free: 2.797 MB / 314.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.0005919/0.6533, allocations: 167.2 kB / 396.3 MB, free: 2.633 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.009172/0.6625, allocations: 3.372 MB / 399.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/0.6626, allocations: 0 / 399.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002135/0.6647, allocations: 0.9288 MB / 400.6 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.6666, allocations: 237.5 kB / 400.9 MB, free: 14.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01472/0.6813, allocations: 6.374 MB / 407.2 MB, free: 7.676 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003535/0.6849, allocations: 2.244 MB / 409.5 MB, free: 5.398 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.006046/0.691, allocations: 1.392 MB / 410.9 MB, free: 4 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008136/0.6919, allocations: 167.4 kB / 411 MB, free: 3.836 MB / 330.7 MB Notification: Performance of SimCode: time 8.62e-07/0.6919, allocations: 0 / 411 MB, free: 3.836 MB / 330.7 MB Notification: Performance of Templates: time 0.2898/0.9818, allocations: 21.9 MB / 432.9 MB, free: 107.5 MB / 346.7 MB