Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.077/2.077, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.778e-05/3.789e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1178, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4135/0.5314, allocations: 78.96 MB / 400.8 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.5317, allocations: 71.97 kB / 400.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1089/0.6406, allocations: 26.74 MB / 427.6 MB, free: 15.52 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.6407, allocations: 4 kB / 427.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.341e-05/0.6408, allocations: 32 kB / 427.7 MB, free: 15.49 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.004128/0.6449, allocations: 1.572 MB / 429.3 MB, free: 13.87 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/0.645, allocations: 12.03 kB / 429.3 MB, free: 13.86 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008298/0.6458, allocations: 346.3 kB / 429.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.6472, allocations: 257.2 kB / 429.9 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002278/0.6495, allocations: 0.8295 MB / 430.7 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/0.6497, allocations: 143.8 kB / 430.8 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004217/0.6501, allocations: 188 kB / 431 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007851/0.658, allocations: 3.289 MB / 434.3 MB, free: 8.379 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-05/0.6581, allocations: 19.81 kB / 434.3 MB, free: 8.359 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/0.6584, allocations: 87.95 kB / 434.4 MB, free: 8.273 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006552/0.6591, allocations: 332 kB / 434.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.6639, allocations: 1.761 MB / 436.5 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01892/0.6829, allocations: 15.1 MB / 451.6 MB, free: 6.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.6831, allocations: 177.1 kB / 451.8 MB, free: 6.406 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.234e-05/0.6831, allocations: 80.14 kB / 451.8 MB, free: 6.324 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.199e-05/0.6832, allocations: 79.28 kB / 451.9 MB, free: 6.246 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.538e-05/0.6832, allocations: 109.8 kB / 452 MB, free: 6.129 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.026e-06/0.6832, allocations: 3.938 kB / 452 MB, free: 6.125 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003171/0.6836, allocations: 160.1 kB / 452.2 MB, free: 5.961 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.692e-05/0.6837, allocations: 126.7 kB / 452.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002792/0.6865, allocations: 1.422 MB / 453.7 MB, free: 4.395 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.6865, allocations: 25.7 kB / 453.8 MB, free: 4.363 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001295/0.6878, allocations: 1.355 MB / 455.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.738e-05/0.6879, allocations: 43.95 kB / 455.2 MB, free: 2.941 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.317e-05/0.688, allocations: 40 kB / 455.2 MB, free: 2.902 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003067/0.6883, allocations: 438.7 kB / 455.6 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008525/0.6892, allocations: 351.9 kB / 456 MB, free: 2.117 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002223/0.6914, allocations: 1.872 MB / 457.8 MB, free: 15.44 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001718/0.6931, allocations: 0.7684 MB / 458.6 MB, free: 14.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.04e-05/0.6932, allocations: 16 kB / 458.6 MB, free: 14.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004541/0.6977, allocations: 1.885 MB / 460.5 MB, free: 12.77 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.956e-05/0.6978, allocations: 32 kB / 460.5 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-05/0.6979, allocations: 60.86 kB / 460.6 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001253/0.698, allocations: 80 kB / 460.7 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002265/0.7003, allocations: 491 kB / 461.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001243/0.7005, allocations: 111.6 kB / 461.3 MB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.7024, allocations: 312.6 kB / 461.6 MB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001933/0.7026, allocations: 136 kB / 461.7 MB, free: 11.57 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.000376/0.703, allocations: 370.1 kB / 462.1 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002299/0.7032, allocations: 223.4 kB / 462.3 MB, free: 10.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003309/0.7036, allocations: 228.2 kB / 462.5 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.375e-05/0.7037, allocations: 184.2 kB / 462.7 MB, free: 10.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.798e-05/0.7037, allocations: 176.3 kB / 462.9 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-05/0.7038, allocations: 184.2 kB / 463 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002414/0.7062, allocations: 1.473 MB / 464.5 MB, free: 8.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-05/0.7063, allocations: 101.1 kB / 464.6 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.492e-05/0.7064, allocations: 112.9 kB / 464.7 MB, free: 8.422 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.302e-05/0.7064, allocations: 180.3 kB / 464.9 MB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.665e-05/0.7065, allocations: 176.3 kB / 465.1 MB, free: 8.059 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.717e-05/0.7066, allocations: 180.2 kB / 465.2 MB, free: 7.875 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-05/0.7067, allocations: 184.2 kB / 465.4 MB, free: 7.688 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.707, allocations: 429.1 kB / 465.8 MB, free: 7.242 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003908/0.7074, allocations: 296.5 kB / 466.1 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002443/0.7077, allocations: 180.3 kB / 466.3 MB, free: 6.742 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005056/0.7082, allocations: 108.9 kB / 466.4 MB, free: 6.629 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.7083, allocations: 180.2 kB / 466.6 MB, free: 6.445 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.327e-05/0.7083, allocations: 101 kB / 466.7 MB, free: 6.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001965/0.7103, allocations: 0.981 MB / 467.7 MB, free: 5.359 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.7103, allocations: 0 / 467.7 MB, free: 5.359 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002342/0.7127, allocations: 442 kB / 468.1 MB, free: 4.926 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.000665/0.7133, allocations: 0.9323 MB / 469 MB, free: 3.965 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/0.7153, allocations: 0.8016 MB / 469.8 MB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7153, allocations: 1.062 kB / 469.8 MB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.7153, allocations: 0 / 469.8 MB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009775/0.7163, allocations: 0.6447 MB / 470.5 MB, free: 2.527 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007404/0.7238, allocations: 2.542 MB / 473 MB, free: 15.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001938/0.7257, allocations: 1.603 MB / 474.6 MB, free: 14.29 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002245/0.728, allocations: 487 kB / 475.1 MB, free: 13.81 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001061/0.7291, allocations: 0.6632 MB / 475.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7291, allocations: 4 kB / 475.8 MB, free: 13.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1035/0.8327, allocations: 21.81 MB / 497.6 MB, free: 7.402 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00034/0.833, allocations: 141.8 kB / 497.7 MB, free: 7.184 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.177/4.01, allocations: 7.938 kB / 497.7 MB, free: 7.176 MB / 426.7 MB