Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.928/1.928, allocations: 171.2 MB / 183.8 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.047e-05, allocations: 0 / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.2766, allocations: 38.76 MB / 263.9 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.4151, allocations: 78.99 MB / 342.8 MB, free: 10.76 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003181/0.4155, allocations: 83.95 kB / 342.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4497/0.8652, allocations: 56.74 MB / 399.7 MB, free: 73.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.8652, allocations: 0 / 399.7 MB, free: 73.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.792e-05/0.8653, allocations: 44 kB / 399.7 MB, free: 73.55 MB / 314.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.007267/0.8726, allocations: 2.53 MB / 402.2 MB, free: 70.98 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.8727, allocations: 16.03 kB / 402.2 MB, free: 70.96 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001107/0.8738, allocations: 481.8 kB / 402.7 MB, free: 70.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01451/0.8883, allocations: 1.965 MB / 404.7 MB, free: 68.53 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01179/0.9001, allocations: 3.267 MB / 408 MB, free: 65.26 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001624/0.9003, allocations: 177.5 kB / 408.1 MB, free: 65.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009232/0.9013, allocations: 241.5 kB / 408.4 MB, free: 64.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0147/0.916, allocations: 6.703 MB / 415.1 MB, free: 57.45 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001309/0.9162, allocations: 47.56 kB / 415.1 MB, free: 57.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005484/0.9167, allocations: 122.8 kB / 415.2 MB, free: 57.3 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001356/0.9181, allocations: 0.7032 MB / 415.9 MB, free: 56.61 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01432/0.9324, allocations: 5.563 MB / 421.5 MB, free: 51.04 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04114/0.9736, allocations: 33.29 MB / 454.8 MB, free: 16.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006823/0.9805, allocations: 2.274 MB / 457.1 MB, free: 14.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.9825, allocations: 1.011 MB / 458.1 MB, free: 13.16 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.626e-05/0.9826, allocations: 11.98 kB / 458.1 MB, free: 13.15 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/0.9827, allocations: 47.12 kB / 458.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 3.807e-06/0.9827, allocations: 7.938 kB / 458.1 MB, free: 13.09 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.02589/1.009, allocations: 7.01 MB / 465.1 MB, free: 5.953 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/1.009, allocations: 136.5 kB / 465.3 MB, free: 5.789 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004742/1.013, allocations: 2.478 MB / 467.8 MB, free: 3.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002744/1.014, allocations: 37.7 kB / 467.8 MB, free: 3.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001429/1.015, allocations: 2.058 MB / 469.8 MB, free: 1.164 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006178/1.016, allocations: 438.6 kB / 470.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.016, allocations: 80 kB / 470.4 MB, free: 0.6523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002592/1.016, allocations: 0.4965 MB / 470.8 MB, free: 148 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003544/1.02, allocations: 1.348 MB / 472.2 MB, free: 14.79 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006603/1.027, allocations: 4.115 MB / 476.3 MB, free: 9.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005764/1.032, allocations: 2.356 MB / 478.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.601e-05/1.033, allocations: 28 kB / 478.7 MB, free: 6.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.01821/1.051, allocations: 5.601 MB / 484.3 MB, free: 1.266 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.377e-05/1.051, allocations: 48 kB / 484.3 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001533/1.051, allocations: 100 kB / 484.4 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/1.055, allocations: 0.8125 MB / 485.3 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006294/1.062, allocations: 0.9865 MB / 486.2 MB, free: 15.31 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009442/1.071, allocations: 4.098 MB / 490.3 MB, free: 11.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/1.076, allocations: 279.6 kB / 490.6 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.077, allocations: 280 kB / 490.9 MB, free: 10.54 MB / 346.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.0008689/1.078, allocations: 438.5 kB / 491.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006495/1.079, allocations: 229 kB / 491.5 MB, free: 9.871 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006802/1.086, allocations: 1.853 MB / 493.4 MB, free: 8.008 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.608e-05/1.086, allocations: 12 kB / 493.4 MB, free: 7.996 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.086, allocations: 4 kB / 493.4 MB, free: 7.992 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/1.086, allocations: 3.984 kB / 493.4 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01539/1.101, allocations: 4.794 MB / 498.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.101, allocations: 4.062 kB / 498.2 MB, free: 3.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00134/1.103, allocations: 139.8 kB / 498.3 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003784/1.107, allocations: 0.6369 MB / 499 MB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002393/1.107, allocations: 23.98 kB / 499 MB, free: 2.309 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2395/1.346, allocations: 3.627 MB / 0.4908 GB, free: 93.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.482e-06/1.346, allocations: 3.438 kB / 0.4909 GB, free: 93.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009089/1.355, allocations: 3.755 MB / 0.4945 GB, free: 92.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.357, allocations: 440.4 kB / 0.4949 GB, free: 92.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003725/1.357, allocations: 20.91 kB / 0.495 GB, free: 92.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001707/1.359, allocations: 70.5 kB / 0.495 GB, free: 92.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.359, allocations: 56.17 kB / 0.4951 GB, free: 92.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/1.359, allocations: 33.81 kB / 0.4951 GB, free: 92.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003561/1.363, allocations: 1.708 MB / 0.4968 GB, free: 92.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.363, allocations: 0 / 0.4968 GB, free: 92.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.004739/1.368, allocations: 0.6474 MB / 0.4974 GB, free: 92.34 MB / 346.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.009439/1.377, allocations: 4.686 MB / 0.502 GB, free: 90.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007136/1.384, allocations: 3.187 MB / 0.5051 GB, free: 90.86 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/1.384, allocations: 0 / 0.5051 GB, free: 90.86 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001789/1.386, allocations: 0.9048 MB / 0.506 GB, free: 90.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0018/1.388, allocations: 234.1 kB / 0.5062 GB, free: 90.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01534/1.403, allocations: 5.526 MB / 0.5116 GB, free: 88.64 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/1.406, allocations: 2.231 MB / 0.5138 GB, free: 87.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00209/1.408, allocations: 1.079 MB / 0.5148 GB, free: 86.81 MB / 346.7 MB Notification: Performance of SimCode: time 1.373e-06/1.408, allocations: 0 / 0.5148 GB, free: 86.81 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.557/4.965, allocations: 60 MB / 0.5734 GB, free: 37.11 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat