Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.762/1.762, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.458e-05/2.469e-05, allocations: 4 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2594, allocations: 38.78 MB / 258.4 MB, free: 12.17 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1492/0.4086, allocations: 78.31 MB / 336.7 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/0.409, allocations: 83.94 kB / 336.7 MB, free: 15.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4648/0.8739, allocations: 55.86 MB / 392.6 MB, free: 80.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.8739, allocations: 0 / 392.6 MB, free: 80.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001067/0.874, allocations: 47.81 kB / 392.7 MB, free: 80.35 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.008474/0.8825, allocations: 2.533 MB / 395.2 MB, free: 78.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.8826, allocations: 10.16 kB / 395.2 MB, free: 78.57 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01517/0.8978, allocations: 1.965 MB / 397.2 MB, free: 76.88 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01155/0.9094, allocations: 3.262 MB / 400.4 MB, free: 73.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/0.9095, allocations: 76.86 kB / 400.5 MB, free: 73.52 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007549/0.9103, allocations: 132 kB / 400.6 MB, free: 73.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008452/0.9188, allocations: 3.909 MB / 404.5 MB, free: 69.48 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.9308, allocations: 6.191 MB / 410.7 MB, free: 62.49 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001286/0.9309, allocations: 47.53 kB / 410.8 MB, free: 62.44 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004723/0.9314, allocations: 24 kB / 410.8 MB, free: 62.42 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001353/0.9328, allocations: 0.7111 MB / 411.5 MB, free: 61.71 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04068/0.9735, allocations: 31.94 MB / 443.4 MB, free: 28.9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003282/0.9768, allocations: 2.024 MB / 445.5 MB, free: 26.73 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001824/0.9787, allocations: 0.9834 MB / 446.5 MB, free: 25.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.91e-05/0.9788, allocations: 15.75 kB / 446.5 MB, free: 25.72 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.9789, allocations: 50.44 kB / 446.5 MB, free: 25.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=98): time 4.488e-06/0.9789, allocations: 0 / 446.5 MB, free: 25.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=106): time 0.02359/1.002, allocations: 8.19 MB / 454.7 MB, free: 17.35 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.985e-05/1.003, allocations: 140.5 kB / 454.8 MB, free: 17.18 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003875/1.006, allocations: 2.147 MB / 457 MB, free: 15.01 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002866/1.007, allocations: 33.7 kB / 457 MB, free: 14.97 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001523/1.008, allocations: 2.12 MB / 459.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006057/1.009, allocations: 422.6 kB / 459.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003328/1.009, allocations: 4.188 kB / 459.6 MB, free: 12.39 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003772/1.01, allocations: 0.5398 MB / 460.1 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002681/1.012, allocations: 1.313 MB / 461.4 MB, free: 10.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004412/1.017, allocations: 4.208 MB / 465.6 MB, free: 4.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004871/1.022, allocations: 2.334 MB / 468 MB, free: 2.492 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.912e-05/1.022, allocations: 32 kB / 468 MB, free: 2.461 MB / 314.7 MB Notification: Performance of matching and sorting (n=588) (initialization): time 0.01716/1.039, allocations: 5.476 MB / 473.5 MB, free: 12.97 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001053/1.039, allocations: 52 kB / 473.5 MB, free: 12.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/1.039, allocations: 107.9 kB / 473.6 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/1.044, allocations: 0.8124 MB / 474.4 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006415/1.05, allocations: 1.033 MB / 475.5 MB, free: 10.97 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008866/1.059, allocations: 3.972 MB / 479.4 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005116/1.064, allocations: 199.6 kB / 479.6 MB, free: 6.695 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001067/1.065, allocations: 288 kB / 479.9 MB, free: 6.414 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * 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 (552): * Single equations (assignments): 548 * 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.0008552/1.066, allocations: 354.4 kB / 480.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007705/1.074, allocations: 2.197 MB / 482.5 MB, free: 3.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007935/1.075, allocations: 213.2 kB / 482.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006694/1.081, allocations: 1.769 MB / 484.4 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.715e-05/1.082, allocations: 15.95 kB / 484.5 MB, free: 1.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/1.082, allocations: 11.92 kB / 484.5 MB, free: 1.828 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/1.082, allocations: 3.984 kB / 484.5 MB, free: 1.824 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/1.096, allocations: 4.311 MB / 488.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.586e-05/1.096, allocations: 0 / 488.8 MB, free: 13.46 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001335/1.097, allocations: 143.8 kB / 488.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003765/1.101, allocations: 0.6327 MB / 489.6 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002131/1.101, allocations: 7.625 kB / 489.6 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007764/1.109, allocations: 3.509 MB / 493.1 MB, free: 9.055 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.207e-06/1.109, allocations: 3.953 kB / 493.1 MB, free: 9.051 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009958/1.119, allocations: 3.676 MB / 496.8 MB, free: 5.305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/1.12, allocations: 422.1 kB / 497.2 MB, free: 4.871 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004448/1.121, allocations: 4 kB / 497.2 MB, free: 4.867 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.123, allocations: 63.95 kB / 497.2 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002633/1.123, allocations: 47.94 kB / 497.3 MB, free: 4.758 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.123, allocations: 31.98 kB / 497.3 MB, free: 4.727 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.003316/1.126, allocations: 1.412 MB / 498.7 MB, free: 3.301 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.51e-07/1.126, allocations: 0 / 498.7 MB, free: 3.301 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005149/1.132, allocations: 0.5508 MB / 499.3 MB, free: 2.75 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.2456/1.377, allocations: 4.597 MB / 0.4921 GB, free: 97.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007345/1.385, allocations: 3.171 MB / 0.4952 GB, free: 97.7 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/1.385, allocations: 0 / 0.4952 GB, free: 97.7 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001842/1.386, allocations: 0.8933 MB / 0.496 GB, free: 97.58 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001809/1.388, allocations: 191.1 kB / 0.4962 GB, free: 97.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01569/1.404, allocations: 5.082 MB / 0.5012 GB, free: 96.61 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/1.407, allocations: 2.236 MB / 0.5034 GB, free: 95.86 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.006384/1.414, allocations: 1.428 MB / 0.5047 GB, free: 95.83 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002412/1.416, allocations: 1.052 MB / 0.5058 GB, free: 95.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.473e-06/1.416, allocations: 0 / 0.5058 GB, free: 95.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1233/1.54, allocations: 44.88 MB / 0.5496 GB, free: 65.72 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/1.54, allocations: 150.7 kB / 0.5497 GB, free: 65.53 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.616/5.156, allocations: 4 kB / 0.5497 GB, free: 65.52 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat