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 1.867/1.867, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.271e-05, allocations: 4 kB / 273.1 MB, free: 168 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1034, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4168/0.5203, allocations: 78.94 MB / 400.8 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.5207, allocations: 75.95 kB / 400.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1206/0.6412, allocations: 26.75 MB / 427.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.6413, allocations: 0 / 427.6 MB, free: 15.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000122/0.6414, allocations: 32 kB / 427.6 MB, free: 15.64 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.005947/0.6474, allocations: 1.569 MB / 429.2 MB, free: 14.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.6475, allocations: 12.03 kB / 429.2 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001247/0.6488, allocations: 342.3 kB / 429.6 MB, free: 13.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00191/0.6507, allocations: 265.2 kB / 429.8 MB, free: 13.4 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003649/0.6544, allocations: 0.8255 MB / 430.6 MB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002447/0.6547, allocations: 143.8 kB / 430.8 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007398/0.6554, allocations: 188 kB / 431 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01071/0.6662, allocations: 3.316 MB / 434.3 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001147/0.6663, allocations: 23.81 kB / 434.3 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004486/0.6668, allocations: 87.94 kB / 434.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009241/0.6677, allocations: 336.1 kB / 434.7 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007362/0.6751, allocations: 1.812 MB / 436.5 MB, free: 6.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0273/0.7025, allocations: 15.12 MB / 451.7 MB, free: 6.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001068/0.7026, allocations: 165.1 kB / 451.8 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.7027, allocations: 84.14 kB / 451.9 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.151e-05/0.7027, allocations: 75.28 kB / 452 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.896e-05/0.7028, allocations: 113.7 kB / 452.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.216e-06/0.7028, allocations: 0 / 452.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003597/0.7032, allocations: 144.2 kB / 452.2 MB, free: 6.031 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.97e-05/0.7033, allocations: 130.7 kB / 452.4 MB, free: 5.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/0.7062, allocations: 1.43 MB / 453.8 MB, free: 4.453 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.7063, allocations: 25.7 kB / 453.8 MB, free: 4.422 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001347/0.7076, allocations: 1.355 MB / 455.2 MB, free: 3.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.686e-05/0.7077, allocations: 43.95 kB / 455.2 MB, free: 3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.948e-05/0.7078, allocations: 40 kB / 455.2 MB, free: 2.961 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003122/0.7082, allocations: 438.7 kB / 455.7 MB, free: 2.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009478/0.7091, allocations: 351.9 kB / 456 MB, free: 2.176 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002286/0.7114, allocations: 1.88 MB / 457.9 MB, free: 15.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.7134, allocations: 0.7723 MB / 458.7 MB, free: 14.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.883e-05/0.7135, allocations: 16 kB / 458.7 MB, free: 14.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005471/0.7189, allocations: 2.048 MB / 460.7 MB, free: 12.64 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.931e-05/0.7191, allocations: 31.94 kB / 460.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.832e-05/0.7191, allocations: 59.95 kB / 460.8 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001244/0.7193, allocations: 80 kB / 460.9 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002356/0.7217, allocations: 487 kB / 461.4 MB, free: 12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001249/0.7218, allocations: 107.6 kB / 461.5 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002084/0.7239, allocations: 317 kB / 461.8 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002885/0.7242, allocations: 144 kB / 461.9 MB, free: 11.44 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.0004353/0.7247, allocations: 366.1 kB / 462.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003053/0.725, allocations: 219.4 kB / 462.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003193/0.7253, allocations: 228.3 kB / 462.7 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.707e-05/0.7254, allocations: 188.1 kB / 462.9 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.608e-05/0.7255, allocations: 180.3 kB / 463.1 MB, free: 10.24 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.965e-05/0.7256, allocations: 180.3 kB / 463.3 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.7284, allocations: 1.473 MB / 464.7 MB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.838e-05/0.7286, allocations: 105.1 kB / 464.8 MB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.7286, allocations: 112.9 kB / 464.9 MB, free: 8.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.419e-05/0.7287, allocations: 180.2 kB / 465.1 MB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.045e-05/0.7288, allocations: 176.3 kB / 465.3 MB, free: 7.934 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.09e-05/0.7289, allocations: 188.2 kB / 465.5 MB, free: 7.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.802e-05/0.7289, allocations: 184.2 kB / 465.7 MB, free: 7.555 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003949/0.7293, allocations: 429.1 kB / 466.1 MB, free: 7.109 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004691/0.7298, allocations: 296.5 kB / 466.4 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002176/0.7301, allocations: 184.2 kB / 466.5 MB, free: 6.605 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005089/0.7306, allocations: 105 kB / 466.6 MB, free: 6.496 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.7307, allocations: 188.1 kB / 466.8 MB, free: 6.305 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.7307, allocations: 105 kB / 466.9 MB, free: 6.195 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.002201/0.7329, allocations: 0.9771 MB / 467.9 MB, free: 5.219 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.733, allocations: 0 / 467.9 MB, free: 5.219 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002333/0.7353, allocations: 434.1 kB / 468.3 MB, free: 4.793 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.000736/0.7361, allocations: 0.94 MB / 469.3 MB, free: 3.824 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002259/0.7384, allocations: 0.871 MB / 470.1 MB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.7384, allocations: 0 / 470.1 MB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.84e-06/0.7384, allocations: 0 / 470.1 MB, free: 2.965 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.7395, allocations: 0.6424 MB / 470.8 MB, free: 2.32 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008616/0.7482, allocations: 2.534 MB / 473.3 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002123/0.7504, allocations: 1.611 MB / 474.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002295/0.7527, allocations: 483 kB / 475.4 MB, free: 13.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/0.754, allocations: 0.6594 MB / 476.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of SimCode: time 1.423e-06/0.754, allocations: 0 / 476.1 MB, free: 12.95 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07439/0.8284, allocations: 21.97 MB / 498 MB, free: 7.059 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003163/0.8288, allocations: 143.1 kB / 498.2 MB, free: 6.84 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.084/3.913, allocations: 0 / 498.2 MB, free: 6.84 MB / 426.7 MB