Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.ColorMaps,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Visualizers_ColorMaps",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.892e-05/3.896e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4641/0.5645, allocations: 84.69 MB / 406.5 MB, free: 5.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5648, allocations: 71.97 kB / 406.6 MB, free: 5.043 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3858/0.9506, allocations: 78.03 MB / 484.6 MB, free: 6.711 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.9507, allocations: 0 / 484.6 MB, free: 6.711 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.001117/0.9518, allocations: 136 kB / 484.8 MB, free: 6.578 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 0.01744/0.9693, allocations: 6.506 MB / 491.3 MB, free: 15.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.925e-05/0.9693, allocations: 15.97 kB / 491.3 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002571/0.9719, allocations: 0.6507 MB / 491.9 MB, free: 15.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005111/0.9771, allocations: 1.127 MB / 493.1 MB, free: 14.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01355/0.9907, allocations: 4.086 MB / 497.2 MB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002687/0.991, allocations: 189 kB / 497.3 MB, free: 9.832 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.9922, allocations: 240 kB / 497.6 MB, free: 9.598 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01777/1.01, allocations: 6.321 MB / 0.4921 GB, free: 3.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.286e-05/1.01, allocations: 7.938 kB / 0.4921 GB, free: 3.062 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007479/1.011, allocations: 108 kB / 0.4922 GB, free: 2.957 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001757/1.013, allocations: 1.012 MB / 0.4932 GB, free: 1.941 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5648/1.578, allocations: 3.814 MB / 0.4969 GB, free: 94.93 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04456/1.622, allocations: 20.15 MB / 0.5166 GB, free: 88.85 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002626/1.625, allocations: 334.2 kB / 0.5169 GB, free: 88.82 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/1.625, allocations: 60.88 kB / 0.517 GB, free: 88.82 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007617/1.633, allocations: 3.423 MB / 0.5203 GB, free: 86.59 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.674e-05/1.633, allocations: 105.8 kB / 0.5204 GB, free: 86.48 MB / 426.8 MB Notification: Performance of pre-optimization done (n=0): time 2.354e-06/1.633, allocations: 2.594 kB / 0.5204 GB, free: 86.48 MB / 426.8 MB Notification: Performance of matching and sorting (n=0): time 0.001885/1.635, allocations: 0.8336 MB / 0.5212 GB, free: 85.99 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.299e-05/1.635, allocations: 127.9 kB / 0.5213 GB, free: 85.85 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02451/1.659, allocations: 9.176 MB / 0.5303 GB, free: 85 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/1.659, allocations: 32.41 kB / 0.5303 GB, free: 84.97 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005852/1.665, allocations: 5.012 MB / 0.5352 GB, free: 81.1 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/1.665, allocations: 92.38 kB / 0.5353 GB, free: 81.07 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001941/1.666, allocations: 84.84 kB / 0.5354 GB, free: 81 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002182/1.666, allocations: 490.3 kB / 0.5359 GB, free: 80.61 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.667, allocations: 0.713 MB / 0.5366 GB, free: 80.41 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002948/1.67, allocations: 3.9 MB / 0.5404 GB, free: 75.8 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003099/1.674, allocations: 1.622 MB / 0.542 GB, free: 75.48 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.407e-05/1.674, allocations: 31.22 kB / 0.542 GB, free: 75.48 MB / 426.8 MB Notification: Performance of matching and sorting (n=534) (initialization): time 0.00872/1.682, allocations: 3.832 MB / 0.5457 GB, free: 74.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.436e-05/1.682, allocations: 54.5 kB / 0.5458 GB, free: 74.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/1.683, allocations: 119.9 kB / 0.5459 GB, free: 74.32 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001868/1.683, allocations: 168.2 kB / 0.5461 GB, free: 74.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004434/1.687, allocations: 0.9797 MB / 0.547 GB, free: 74.18 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001829/1.687, allocations: 228.3 kB / 0.5472 GB, free: 74.13 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005606/1.693, allocations: 0.6327 MB / 0.5479 GB, free: 73.75 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000614/1.694, allocations: 282.7 kB / 0.5481 GB, free: 73.72 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 534 * Number of states: 0 () * Number of discrete variables: 27 (translate7.color[3],translate7.color[2],translate7.color[1],translate6.color[3],translate6.color[2],translate6.color[1],translate5.color[3],translate5.color[2],translate5.color[1],translate4.color[3],translate4.color[2],translate4.color[1],translate3.color[3],translate3.color[2],translate3.color[1],translate2.color[3],translate2.color[2],translate2.color[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (534): * Single equations (assignments): 534 * 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.00056/1.694, allocations: 0.5335 MB / 0.5486 GB, free: 73.26 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00152/1.696, allocations: 0.9094 MB / 0.5495 GB, free: 72.7 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/1.698, allocations: 1.018 MB / 0.5505 GB, free: 72.32 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.22e-05/1.699, allocations: 176.3 kB / 0.5507 GB, free: 72.14 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.67e-05/1.699, allocations: 186.7 kB / 0.5509 GB, free: 71.96 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-05/1.699, allocations: 184 kB / 0.551 GB, free: 71.78 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.711, allocations: 5.125 MB / 0.5561 GB, free: 69.86 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/1.711, allocations: 106.3 kB / 0.5562 GB, free: 69.76 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.048e-05/1.711, allocations: 104.9 kB / 0.5563 GB, free: 69.65 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-05/1.711, allocations: 179.6 kB / 0.5564 GB, free: 69.47 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.897e-05/1.711, allocations: 179.5 kB / 0.5566 GB, free: 69.29 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-05/1.711, allocations: 183.2 kB / 0.5568 GB, free: 69.11 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.12e-05/1.711, allocations: 176.3 kB / 0.5569 GB, free: 68.93 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/1.712, allocations: 1.158 MB / 0.5581 GB, free: 68.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/1.714, allocations: 1.071 MB / 0.5591 GB, free: 67.34 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001055/1.715, allocations: 183.7 kB / 0.5593 GB, free: 67.15 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002007/1.717, allocations: 135.3 kB / 0.5594 GB, free: 67.05 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.77e-05/1.717, allocations: 179.5 kB / 0.5596 GB, free: 66.87 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/1.717, allocations: 108.2 kB / 0.5597 GB, free: 66.76 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.01755/1.735, allocations: 7.035 MB / 0.5666 GB, free: 64.62 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.163e-06/1.735, allocations: 0 / 0.5666 GB, free: 64.62 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.005993/1.741, allocations: 1.147 MB / 0.5677 GB, free: 64.3 MB / 426.8 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.001996/1.743, allocations: 1.721 MB / 0.5694 GB, free: 63.03 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.003864/1.747, allocations: 1.671 MB / 0.571 GB, free: 62.53 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.747, allocations: 3.406 kB / 0.571 GB, free: 62.53 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 4.519e-06/1.747, allocations: 0 / 0.571 GB, free: 62.53 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02161/1.769, allocations: 3.28 MB / 0.5742 GB, free: 61.39 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05657/1.825, allocations: 20.29 MB / 0.594 GB, free: 47.59 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01228/1.838, allocations: 5.444 MB / 0.5993 GB, free: 43.69 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007335/1.845, allocations: 4.13 MB / 0.6034 GB, free: 39.86 MB / 426.8 MB Notification: Performance of SimCode: time 1.743e-06/1.845, allocations: 0 / 0.6034 GB, free: 39.86 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.085/8.93, allocations: 198.4 MB / 0.7971 GB, free: 2.129 MB / 442.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Visualizers.ColorMaps_res.mat does not exist to compare? outputFormat=mat