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.904/1.904, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.114e-05/4.132e-05, allocations: 11.98 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1057/0.1058, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4243/0.5301, allocations: 78.94 MB / 400.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5305, allocations: 79.94 kB / 400.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1071/0.6376, allocations: 26.74 MB / 427.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6377, allocations: 0 / 427.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.268e-05/0.6378, allocations: 32 kB / 427.6 MB, free: 15.93 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.004443/0.6422, allocations: 1.572 MB / 429.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.6423, allocations: 12.03 kB / 429.2 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009983/0.6433, allocations: 342.3 kB / 429.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/0.6447, allocations: 261.2 kB / 429.8 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002663/0.6474, allocations: 0.8255 MB / 430.6 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.6476, allocations: 147.7 kB / 430.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005983/0.6483, allocations: 188 kB / 430.9 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008425/0.6567, allocations: 3.316 MB / 434.3 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.436e-05/0.6568, allocations: 15.81 kB / 434.3 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003302/0.6572, allocations: 87.95 kB / 434.4 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006855/0.6579, allocations: 328.1 kB / 434.7 MB, free: 8.367 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005523/0.6634, allocations: 1.82 MB / 436.5 MB, free: 6.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02034/0.6838, allocations: 15.12 MB / 451.6 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.684, allocations: 177 kB / 451.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.623e-05/0.684, allocations: 80.14 kB / 451.9 MB, free: 6.664 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.6841, allocations: 75.28 kB / 452 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.499e-05/0.6841, allocations: 109.8 kB / 452.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.264e-06/0.6841, allocations: 4 kB / 452.1 MB, free: 6.469 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.000391/0.6845, allocations: 144.2 kB / 452.2 MB, free: 6.32 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.222e-05/0.6846, allocations: 130.7 kB / 452.3 MB, free: 6.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/0.688, allocations: 1.426 MB / 453.8 MB, free: 4.746 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.135e-05/0.6881, allocations: 25.7 kB / 453.8 MB, free: 4.715 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.6897, allocations: 1.377 MB / 455.2 MB, free: 3.316 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.845e-05/0.6898, allocations: 47.95 kB / 455.2 MB, free: 3.27 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001107/0.6899, allocations: 40 kB / 455.2 MB, free: 3.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002437/0.6902, allocations: 398.8 kB / 455.6 MB, free: 2.832 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008938/0.6911, allocations: 343.9 kB / 456 MB, free: 2.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.6933, allocations: 1.88 MB / 457.8 MB, free: 15.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001816/0.6952, allocations: 0.7684 MB / 458.6 MB, free: 15.04 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.002e-05/0.6953, allocations: 16 kB / 458.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005264/0.7005, allocations: 2.005 MB / 460.6 MB, free: 13.01 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.323e-05/0.7006, allocations: 29 kB / 460.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.207e-05/0.7007, allocations: 59.95 kB / 460.7 MB, free: 12.92 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001293/0.7009, allocations: 88 kB / 460.8 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/0.7034, allocations: 479.1 kB / 461.3 MB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001289/0.7035, allocations: 107.6 kB / 461.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00213/0.7057, allocations: 312.6 kB / 461.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002832/0.706, allocations: 136 kB / 461.8 MB, free: 11.82 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.0005181/0.7065, allocations: 374 kB / 462.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.7068, allocations: 227.4 kB / 462.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003398/0.7072, allocations: 224.3 kB / 462.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.359e-05/0.7073, allocations: 184.2 kB / 462.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.796e-05/0.7074, allocations: 180.3 kB / 463 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.898e-05/0.7075, allocations: 180.2 kB / 463.2 MB, free: 10.43 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003273/0.7107, allocations: 1.473 MB / 464.6 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.081e-05/0.7109, allocations: 105 kB / 464.7 MB, free: 8.785 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.7109, allocations: 104.9 kB / 464.8 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.569e-05/0.711, allocations: 180.4 kB / 465 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.698e-05/0.7111, allocations: 188.2 kB / 465.2 MB, free: 8.301 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.937e-05/0.7112, allocations: 180.3 kB / 465.4 MB, free: 8.117 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.818e-05/0.7113, allocations: 188.1 kB / 465.6 MB, free: 7.926 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003948/0.7117, allocations: 425.2 kB / 466 MB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/0.7122, allocations: 292.5 kB / 466.3 MB, free: 7.172 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002573/0.7125, allocations: 180.3 kB / 466.4 MB, free: 6.988 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005254/0.713, allocations: 112.9 kB / 466.5 MB, free: 6.871 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.697e-05/0.7131, allocations: 192.1 kB / 466.7 MB, free: 6.676 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.7132, allocations: 105 kB / 466.8 MB, free: 6.566 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002248/0.7154, allocations: 0.9771 MB / 467.8 MB, free: 5.59 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.62e-07/0.7154, allocations: 0 / 467.8 MB, free: 5.59 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002368/0.7178, allocations: 438 kB / 468.2 MB, free: 5.16 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.000773/0.7186, allocations: 0.94 MB / 469.2 MB, free: 4.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002278/0.7209, allocations: 0.8724 MB / 470.1 MB, free: 3.332 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.721, allocations: 0 / 470.1 MB, free: 3.332 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.779e-06/0.721, allocations: 192 / 470.1 MB, free: 3.332 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.7221, allocations: 0.6408 MB / 470.7 MB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008239/0.7304, allocations: 2.723 MB / 473.4 MB, free: 15.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00212/0.7326, allocations: 1.607 MB / 475 MB, free: 14.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/0.7338, allocations: 0.6711 MB / 475.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of SimCode: time 5.42e-06/0.7339, allocations: 0 / 475.7 MB, free: 13.59 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.91/3.644, allocations: 25.83 MB / 0.4898 GB, free: 3.734 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