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 2.065/2.065, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.474e-05, allocations: 0 / 267.6 MB, free: 5.332 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.104, allocations: 48.7 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.413/0.5171, allocations: 78.53 MB / 394.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5175, allocations: 78.45 kB / 394.9 MB, free: 13.82 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1044/0.6218, allocations: 25.98 MB / 420.9 MB, free: 7.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.6219, allocations: 4 kB / 420.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.247e-05/0.622, allocations: 36 kB / 420.9 MB, free: 7.648 MB / 346.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.004523/0.6265, allocations: 1.574 MB / 422.5 MB, free: 6.051 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.368e-05/0.6266, allocations: 8.031 kB / 422.5 MB, free: 6.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001752/0.6284, allocations: 257.2 kB / 422.8 MB, free: 5.789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002578/0.631, allocations: 0.8255 MB / 423.6 MB, free: 4.922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001347/0.6312, allocations: 60 kB / 423.6 MB, free: 4.863 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006892/0.6319, allocations: 108 kB / 423.8 MB, free: 4.758 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004925/0.6368, allocations: 1.699 MB / 425.5 MB, free: 3.055 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008275/0.6451, allocations: 3.045 MB / 428.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.061e-05/0.6453, allocations: 19.81 kB / 428.5 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003091/0.6456, allocations: 12 kB / 428.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006735/0.6463, allocations: 328.1 kB / 428.8 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01831/0.6646, allocations: 14.42 MB / 443.3 MB, free: 368 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.6648, allocations: 169.1 kB / 443.4 MB, free: 188 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.691e-05/0.6648, allocations: 84.14 kB / 443.5 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.588e-05/0.6649, allocations: 75.28 kB / 443.6 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.548e-05/0.665, allocations: 109.8 kB / 443.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 2.876e-06/0.665, allocations: 0 / 443.7 MB, free: 15.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003295/0.6653, allocations: 129.6 kB / 443.8 MB, free: 15.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.6654, allocations: 59.41 kB / 443.9 MB, free: 15.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002335/0.6677, allocations: 1.1 MB / 445 MB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.6678, allocations: 25.7 kB / 445 MB, free: 14.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.6692, allocations: 1.419 MB / 446.4 MB, free: 13.12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.311e-05/0.6693, allocations: 43.95 kB / 446.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6694, allocations: 0 / 446.5 MB, free: 13.08 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002283/0.6697, allocations: 390.8 kB / 446.9 MB, free: 12.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007415/0.6704, allocations: 311.9 kB / 447.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002065/0.6725, allocations: 1.833 MB / 449 MB, free: 9.742 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/0.6742, allocations: 0.7175 MB / 449.7 MB, free: 9.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.512e-05/0.6743, allocations: 16 kB / 449.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004969/0.6793, allocations: 1.683 MB / 451.4 MB, free: 7.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.568e-05/0.6794, allocations: 32 kB / 451.4 MB, free: 7.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.593e-05/0.6795, allocations: 56 kB / 451.5 MB, free: 7.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001613/0.6797, allocations: 80 kB / 451.6 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/0.6821, allocations: 479.7 kB / 452 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001197/0.6823, allocations: 111.5 kB / 452.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002151/0.6845, allocations: 256.9 kB / 452.4 MB, free: 6.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003886/0.6849, allocations: 136 kB / 452.5 MB, free: 6.191 MB / 378.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.00042/0.6853, allocations: 326.1 kB / 452.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003118/0.6857, allocations: 233.4 kB / 453.1 MB, free: 5.621 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001943/0.6859, allocations: 207.6 kB / 453.3 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.6862, allocations: 206.4 kB / 453.5 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-05/0.6863, allocations: 180.3 kB / 453.7 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-05/0.6864, allocations: 180.2 kB / 453.8 MB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.395e-05/0.6865, allocations: 180.2 kB / 454 MB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002086/0.6886, allocations: 1.009 MB / 455 MB, free: 3.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-05/0.6886, allocations: 109.1 kB / 455.1 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.559e-05/0.6887, allocations: 109 kB / 455.2 MB, free: 3.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.291e-05/0.6888, allocations: 180.3 kB / 455.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.527e-05/0.6889, allocations: 184.1 kB / 455.6 MB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.451e-05/0.6889, allocations: 176.3 kB / 455.8 MB, free: 2.812 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.166e-05/0.689, allocations: 188.2 kB / 455.9 MB, free: 2.621 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003501/0.6894, allocations: 408.1 kB / 456.3 MB, free: 2.199 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003531/0.6898, allocations: 260.9 kB / 456.6 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002464/0.69, allocations: 180.2 kB / 456.8 MB, free: 1.734 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004163/0.6904, allocations: 105 kB / 456.9 MB, free: 1.625 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.6905, allocations: 180.2 kB / 457 MB, free: 1.441 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.557e-05/0.6906, allocations: 112.9 kB / 457.2 MB, free: 1.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001561/0.6922, allocations: 0.7066 MB / 457.9 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6922, allocations: 0 / 457.9 MB, free: 0.6133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002595/0.6948, allocations: 417.6 kB / 458.3 MB, free: 208 kB / 378.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.0007656/0.6956, allocations: 0.9208 MB / 459.2 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001995/0.6976, allocations: 0.7591 MB / 460 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.6977, allocations: 0 / 460 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.528e-06/0.6977, allocations: 0 / 460 MB, free: 14.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008837/0.6986, allocations: 0.6095 MB / 460.6 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008802/0.7074, allocations: 2.655 MB / 463.2 MB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/0.7101, allocations: 1.606 MB / 464.8 MB, free: 9.527 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.7115, allocations: 0.675 MB / 465.5 MB, free: 8.852 MB / 394.7 MB Notification: Performance of SimCode: time 2.104e-06/0.7116, allocations: 0 / 465.5 MB, free: 8.852 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.87/3.581, allocations: 24.07 MB / 489.6 MB, free: 0.7461 MB / 410.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