Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.129/2.129, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.221e-05/3.231e-05, allocations: 4 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09224/0.0923, allocations: 44.52 MB / 300 MB, free: 6.031 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4219/0.5143, allocations: 84.7 MB / 384.7 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/0.5147, allocations: 85.45 kB / 384.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2884/0.8032, allocations: 56.74 MB / 441.5 MB, free: 5.543 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.524e-06/0.8032, allocations: 4 kB / 441.5 MB, free: 5.539 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001621/0.8034, allocations: 40 kB / 441.5 MB, free: 5.5 MB / 330.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.01168/0.8151, allocations: 2.532 MB / 444.1 MB, free: 3.113 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.838e-05/0.8152, allocations: 12.03 kB / 444.1 MB, free: 3.102 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001773/0.817, allocations: 485.8 kB / 444.6 MB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02258/0.8396, allocations: 1.966 MB / 446.5 MB, free: 0.8516 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01993/0.8596, allocations: 3.268 MB / 449.8 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.8598, allocations: 175.9 kB / 450 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008244/0.8607, allocations: 243.5 kB / 450.2 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.8789, allocations: 6.718 MB / 456.9 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002196/0.8792, allocations: 43.53 kB / 457 MB, free: 6.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009632/0.8801, allocations: 125.4 kB / 457.1 MB, free: 6.789 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002392/0.8826, allocations: 0.7108 MB / 457.8 MB, free: 6.078 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01688/0.8995, allocations: 5.697 MB / 463.5 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05401/0.9535, allocations: 33.29 MB / 496.8 MB, free: 14.06 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01187/0.9655, allocations: 2.281 MB / 499.1 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0038/0.9693, allocations: 1.007 MB / 0.4883 GB, free: 10.61 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001458/0.9695, allocations: 19.75 kB / 0.4884 GB, free: 10.59 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6e-05/0.9696, allocations: 38.56 kB / 0.4884 GB, free: 10.55 MB / 394.7 MB Notification: Performance of pre-optimization done (n=98): time 7.284e-06/0.9697, allocations: 0 / 0.4884 GB, free: 10.55 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.03134/1.001, allocations: 7.017 MB / 0.4953 GB, free: 3.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.484e-05/1.001, allocations: 140.5 kB / 0.4954 GB, free: 3.238 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00576/1.007, allocations: 2.489 MB / 0.4978 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000282/1.007, allocations: 37.7 kB / 0.4979 GB, free: 0.6875 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002162/1.009, allocations: 2.069 MB / 0.4999 GB, free: 14.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007142/1.01, allocations: 438 kB / 0.5003 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003427/1.011, allocations: 84.19 kB / 0.5004 GB, free: 14.12 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003893/1.011, allocations: 499.5 kB / 0.5009 GB, free: 13.62 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003482/1.014, allocations: 1.352 MB / 0.5022 GB, free: 12.26 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00656/1.021, allocations: 4.139 MB / 0.5062 GB, free: 6.707 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005967/1.027, allocations: 2.35 MB / 0.5085 GB, free: 4.355 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.627e-05/1.027, allocations: 32 kB / 0.5085 GB, free: 4.324 MB / 410.7 MB Notification: Performance of matching and sorting (n=564) (initialization): time 0.282/1.309, allocations: 5.933 MB / 0.5143 GB, free: 107.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/1.309, allocations: 58.92 kB / 0.5144 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001878/1.31, allocations: 103.1 kB / 0.5145 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004314/1.314, allocations: 0.8008 MB / 0.5153 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006243/1.32, allocations: 0.9851 MB / 0.5162 GB, free: 107.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008719/1.329, allocations: 4.099 MB / 0.5202 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005024/1.334, allocations: 283 kB / 0.5205 GB, free: 106.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008623/1.335, allocations: 271 kB / 0.5208 GB, free: 106.2 MB / 410.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.0008215/1.336, allocations: 443.5 kB / 0.5212 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005764/1.336, allocations: 230.4 kB / 0.5214 GB, free: 106.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006655/1.343, allocations: 1.843 MB / 0.5232 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-05/1.343, allocations: 15.59 kB / 0.5232 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.343, allocations: 7.859 kB / 0.5232 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/1.343, allocations: 5.625 kB / 0.5232 GB, free: 106 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/1.358, allocations: 4.78 MB / 0.5279 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.949e-05/1.359, allocations: 0 / 0.5279 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001305/1.36, allocations: 145 kB / 0.528 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003505/1.363, allocations: 0.6349 MB / 0.5287 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002118/1.364, allocations: 17.94 kB / 0.5287 GB, free: 105.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007065/1.371, allocations: 3.632 MB / 0.5322 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.371, allocations: 1.781 kB / 0.5322 GB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009056/1.38, allocations: 3.756 MB / 0.5359 GB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.381, allocations: 447.1 kB / 0.5363 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003945/1.382, allocations: 16.5 kB / 0.5363 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.383, allocations: 77.77 kB / 0.5364 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002331/1.384, allocations: 57.31 kB / 0.5365 GB, free: 103.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.384, allocations: 27.38 kB / 0.5365 GB, free: 103.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003527/1.387, allocations: 1.705 MB / 0.5382 GB, free: 103.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.32e-07/1.387, allocations: 0 / 0.5382 GB, free: 103.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004718/1.392, allocations: 0.6502 MB / 0.5388 GB, free: 103.4 MB / 410.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.009436/1.402, allocations: 4.692 MB / 0.5434 GB, free: 101.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007265/1.409, allocations: 3.321 MB / 0.5466 GB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/1.409, allocations: 0 / 0.5466 GB, free: 101.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001763/1.411, allocations: 0.935 MB / 0.5475 GB, free: 100.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/1.413, allocations: 228.3 kB / 0.5477 GB, free: 100.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01581/1.428, allocations: 5.23 MB / 0.5529 GB, free: 98.84 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002822/1.431, allocations: 2.24 MB / 0.555 GB, free: 97.82 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.005531/1.437, allocations: 1.39 MB / 0.5564 GB, free: 97.79 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002149/1.439, allocations: 1.041 MB / 0.5574 GB, free: 96.97 MB / 410.7 MB Notification: Performance of SimCode: time 2.726e-06/1.439, allocations: 3.781 kB / 0.5574 GB, free: 96.97 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.127/1.566, allocations: 48.66 MB / 0.6049 GB, free: 63.56 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/1.566, allocations: 176.4 kB / 0.6051 GB, free: 63.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.054/5.62, allocations: 0 / 0.6051 GB, free: 63.34 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.Pendulum_res.mat does not exist to compare? outputFormat=mat