Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.323/2.323, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.163e-05, allocations: 7.984 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4252/0.4253, allocations: 54.86 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1637/0.5891, allocations: 85.41 MB / 445.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.5894, allocations: 72.69 kB / 445.3 MB, free: 11.38 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1235/0.7129, allocations: 26.73 MB / 472.1 MB, free: 476 kB / 394.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.7129, allocations: 4 kB / 472.1 MB, free: 472 kB / 394.7 MB Notification: Performance of Transformations before backend: time 7.988e-05/0.713, allocations: 32 kB / 472.1 MB, free: 440 kB / 394.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.004345/0.7174, allocations: 1.573 MB / 473.7 MB, free: 14.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.7175, allocations: 15.97 kB / 473.7 MB, free: 14.79 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001032/0.7185, allocations: 350.2 kB / 474 MB, free: 14.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.7199, allocations: 257.2 kB / 474.3 MB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00237/0.7223, allocations: 0.8256 MB / 475.1 MB, free: 13.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.7225, allocations: 143.8 kB / 475.3 MB, free: 13.18 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004769/0.723, allocations: 184 kB / 475.4 MB, free: 13 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007656/0.7307, allocations: 3.293 MB / 478.7 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.452e-05/0.7308, allocations: 19.81 kB / 478.7 MB, free: 9.289 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003018/0.7311, allocations: 95.91 kB / 478.8 MB, free: 9.195 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000633/0.7317, allocations: 324.2 kB / 479.2 MB, free: 8.879 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005356/0.7371, allocations: 1.753 MB / 480.9 MB, free: 7.121 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02011/0.7573, allocations: 15.11 MB / 496 MB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.7574, allocations: 173.1 kB / 496.2 MB, free: 7.336 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.207e-05/0.7575, allocations: 80.14 kB / 496.3 MB, free: 7.254 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.7575, allocations: 75.28 kB / 496.3 MB, free: 7.18 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.334e-05/0.7576, allocations: 109.8 kB / 496.5 MB, free: 7.062 MB / 426.7 MB Notification: Performance of pre-optimization done (n=0): time 2.074e-06/0.7576, allocations: 0 / 496.5 MB, free: 7.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=0): time 0.0004216/0.758, allocations: 160.1 kB / 496.6 MB, free: 6.898 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.7581, allocations: 126.7 kB / 496.7 MB, free: 6.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003061/0.7612, allocations: 1.422 MB / 498.2 MB, free: 5.332 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.7613, allocations: 25.7 kB / 498.2 MB, free: 5.301 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001268/0.7625, allocations: 1.369 MB / 499.5 MB, free: 3.91 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.7626, allocations: 43.95 kB / 499.6 MB, free: 3.867 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.897e-05/0.7627, allocations: 40 kB / 499.6 MB, free: 3.828 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002354/0.763, allocations: 402.7 kB / 0.4883 GB, free: 3.426 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.7638, allocations: 347.9 kB / 0.4886 GB, free: 3.082 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002115/0.766, allocations: 1.868 MB / 0.4905 GB, free: 420 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001751/0.7678, allocations: 0.7723 MB / 0.4912 GB, free: 15.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.794e-05/0.7678, allocations: 16 kB / 0.4912 GB, free: 15.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004884/0.7727, allocations: 1.846 MB / 0.493 GB, free: 13.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.025e-05/0.7728, allocations: 29.72 kB / 0.4931 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.29e-05/0.7729, allocations: 60.88 kB / 0.4931 GB, free: 13.68 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.773, allocations: 80 kB / 0.4932 GB, free: 13.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/0.7754, allocations: 487 kB / 0.4937 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000123/0.7755, allocations: 111.5 kB / 0.4938 GB, free: 13.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002092/0.7776, allocations: 312.5 kB / 0.4941 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002565/0.7779, allocations: 136 kB / 0.4942 GB, free: 12.58 MB / 442.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.0004093/0.7783, allocations: 379 kB / 0.4946 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002887/0.7786, allocations: 223.4 kB / 0.4948 GB, free: 11.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.7789, allocations: 228.1 kB / 0.495 GB, free: 11.74 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.712e-05/0.779, allocations: 180.2 kB / 0.4952 GB, free: 11.55 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.326e-05/0.7791, allocations: 180.9 kB / 0.4953 GB, free: 11.37 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.756e-05/0.7792, allocations: 184.2 kB / 0.4955 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002619/0.7818, allocations: 1.481 MB / 0.497 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.56e-05/0.7819, allocations: 101 kB / 0.497 GB, free: 9.539 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.7819, allocations: 105 kB / 0.4971 GB, free: 9.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.265e-05/0.782, allocations: 180.4 kB / 0.4973 GB, free: 9.246 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.602e-05/0.7821, allocations: 184.3 kB / 0.4975 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-05/0.7822, allocations: 180.3 kB / 0.4977 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.591e-05/0.7823, allocations: 184.2 kB / 0.4978 GB, free: 8.688 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.7827, allocations: 421.2 kB / 0.4982 GB, free: 8.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004647/0.7831, allocations: 300.4 kB / 0.4985 GB, free: 7.93 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000231/0.7834, allocations: 176.3 kB / 0.4987 GB, free: 7.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005008/0.7839, allocations: 113 kB / 0.4988 GB, free: 7.633 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.17e-05/0.784, allocations: 180.2 kB / 0.499 GB, free: 7.449 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.136e-05/0.784, allocations: 104.9 kB / 0.4991 GB, free: 7.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002156/0.7862, allocations: 0.9771 MB / 0.5 GB, free: 6.363 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7862, allocations: 0 / 0.5 GB, free: 6.363 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002541/0.7888, allocations: 434.1 kB / 0.5004 GB, free: 5.938 MB / 442.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.0007137/0.7895, allocations: 0.9477 MB / 0.5014 GB, free: 4.957 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.7917, allocations: 0.7939 MB / 0.5021 GB, free: 4.176 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.867e-06/0.7917, allocations: 1 kB / 0.5021 GB, free: 4.176 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.592e-06/0.7918, allocations: 3.938 kB / 0.5022 GB, free: 4.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/0.7928, allocations: 0.6416 MB / 0.5028 GB, free: 3.527 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.8011, allocations: 2.719 MB / 0.5054 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002158/0.8033, allocations: 1.607 MB / 0.507 GB, free: 15.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001262/0.8045, allocations: 0.6711 MB / 0.5077 GB, free: 14.43 MB / 458.7 MB Notification: Performance of SimCode: time 1.192e-06/0.8046, allocations: 0 / 0.5077 GB, free: 14.43 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.161/3.966, allocations: 25.58 MB / 0.5326 GB, free: 127.4 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Visualizers.Shapes_res.mat does not exist to compare? outputFormat=mat