Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.919/1.919, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.758e-05, allocations: 4 kB / 273.2 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.5417, allocations: 78.95 MB / 400.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003537/0.5421, allocations: 82.88 kB / 400.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1227/0.6648, allocations: 26.74 MB / 427.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.6649, allocations: 0 / 427.6 MB, free: 15.85 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001216/0.6651, allocations: 36 kB / 427.7 MB, free: 15.81 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 642 * Number of variables: 642 Notification: Performance of Generate backend data structure: time 0.006185/0.6713, allocations: 1.572 MB / 429.2 MB, free: 14.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.873e-05/0.6713, allocations: 8.031 kB / 429.2 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001504/0.6729, allocations: 350.2 kB / 429.6 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00249/0.6754, allocations: 253.2 kB / 429.8 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00356/0.679, allocations: 0.8294 MB / 430.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003086/0.6794, allocations: 147.8 kB / 430.8 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001043/0.6805, allocations: 188 kB / 431 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01122/0.6917, allocations: 3.293 MB / 434.3 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-05/0.6919, allocations: 19.81 kB / 434.3 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003806/0.6923, allocations: 91.89 kB / 434.4 MB, free: 8.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006709/0.693, allocations: 332.1 kB / 434.7 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005437/0.6984, allocations: 1.749 MB / 436.5 MB, free: 6.512 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02943/0.7279, allocations: 15.12 MB / 451.6 MB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001585/0.7281, allocations: 173.1 kB / 451.7 MB, free: 6.719 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.527e-05/0.7282, allocations: 80.14 kB / 451.8 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.283e-05/0.7283, allocations: 75.28 kB / 451.9 MB, free: 6.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.311e-05/0.7284, allocations: 113.8 kB / 452 MB, free: 6.441 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.417e-06/0.7284, allocations: 0 / 452 MB, free: 6.441 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0006081/0.729, allocations: 152 kB / 452.2 MB, free: 6.285 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.7291, allocations: 130.7 kB / 452.3 MB, free: 6.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00616/0.7353, allocations: 1.426 MB / 453.7 MB, free: 4.711 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.9e-05/0.7354, allocations: 25.7 kB / 453.7 MB, free: 4.68 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.7381, allocations: 1.373 MB / 455.1 MB, free: 3.285 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.7383, allocations: 43.95 kB / 455.2 MB, free: 3.242 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.7385, allocations: 40 kB / 455.2 MB, free: 3.203 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004461/0.739, allocations: 390.8 kB / 455.6 MB, free: 2.812 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/0.741, allocations: 347.9 kB / 455.9 MB, free: 2.469 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004244/0.7453, allocations: 1.872 MB / 457.8 MB, free: 15.79 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003313/0.7487, allocations: 0.7684 MB / 458.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-05/0.7488, allocations: 16 kB / 458.6 MB, free: 15.01 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009446/0.7582, allocations: 1.851 MB / 460.4 MB, free: 13.15 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.151e-05/0.7584, allocations: 31.98 kB / 460.4 MB, free: 13.12 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.016e-05/0.7585, allocations: 63.95 kB / 460.5 MB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001277/0.7586, allocations: 80 kB / 460.6 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/0.7611, allocations: 479.7 kB / 461.1 MB, free: 12.51 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000131/0.7612, allocations: 107.6 kB / 461.2 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/0.7636, allocations: 316.6 kB / 461.5 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004005/0.764, allocations: 136 kB / 461.6 MB, free: 11.96 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 36 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],cone.color[3],cone.color[2],cone.color[1],spring.color[3],spring.color[2],spring.color[1],gearwheel.color[3],gearwheel.color[2],gearwheel.color[1],beam.color[3],beam.color[2],beam.color[1],pipe.color[3],pipe.color[2],pipe.color[1],cylinder.color[3],cylinder.color[2],cylinder.color[1],sphere.color[3],sphere.color[2],sphere.color[1],box.color[3],box.color[2],box.color[1],fixed.color[3],fixed.color[2],fixed.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 257 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004253/0.7644, allocations: 366 kB / 462 MB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003952/0.7648, allocations: 227.4 kB / 462.2 MB, free: 11.36 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004046/0.7653, allocations: 228.3 kB / 462.4 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-05/0.7654, allocations: 180.2 kB / 462.6 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.738e-05/0.7655, allocations: 184.2 kB / 462.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.674e-05/0.7656, allocations: 184.3 kB / 462.9 MB, free: 10.57 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003011/0.7686, allocations: 1.465 MB / 464.4 MB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.192e-05/0.7687, allocations: 108.9 kB / 464.5 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-05/0.7687, allocations: 105 kB / 464.6 MB, free: 8.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.862e-05/0.7688, allocations: 176.4 kB / 464.8 MB, free: 8.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.912e-05/0.7689, allocations: 188.2 kB / 465 MB, free: 8.449 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.389e-05/0.769, allocations: 180.3 kB / 465.1 MB, free: 8.266 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.692e-05/0.7691, allocations: 184.2 kB / 465.3 MB, free: 8.078 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004126/0.7695, allocations: 425.2 kB / 465.7 MB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005266/0.7701, allocations: 296.5 kB / 466 MB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.7703, allocations: 184.2 kB / 466.2 MB, free: 7.133 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005185/0.7709, allocations: 105 kB / 466.3 MB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.964e-05/0.771, allocations: 188.2 kB / 466.5 MB, free: 6.832 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-05/0.7711, allocations: 105 kB / 466.6 MB, free: 6.723 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002355/0.7734, allocations: 0.9693 MB / 467.6 MB, free: 5.754 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7735, allocations: 0 / 467.6 MB, free: 5.754 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002727/0.7762, allocations: 434.1 kB / 468 MB, free: 5.328 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008375/0.7771, allocations: 0.9439 MB / 468.9 MB, free: 4.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002262/0.7794, allocations: 0.8051 MB / 469.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.121e-06/0.7794, allocations: 0 / 469.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5e-06/0.7794, allocations: 1.5 kB / 469.7 MB, free: 3.562 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.7806, allocations: 0.633 MB / 470.4 MB, free: 2.926 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008866/0.7895, allocations: 2.719 MB / 473.1 MB, free: 148 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002443/0.7919, allocations: 1.611 MB / 474.7 MB, free: 14.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.7933, allocations: 0.6711 MB / 475.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of SimCode: time 1.373e-06/0.7933, allocations: 0 / 475.4 MB, free: 13.83 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.885/3.678, allocations: 25.59 MB / 0.4892 GB, free: 4.215 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat