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.432/2.432, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.51e-05/2.559e-05, allocations: 4 kB / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1217, allocations: 48.7 MB / 316.3 MB, free: 4.168 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5694, allocations: 78.51 MB / 394.8 MB, free: 13.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/0.5698, allocations: 74.7 kB / 394.9 MB, free: 13.92 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1091/0.6789, allocations: 25.98 MB / 420.9 MB, free: 7.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.679, allocations: 4 kB / 420.9 MB, free: 7.508 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.454e-05/0.6791, allocations: 32 kB / 420.9 MB, free: 7.477 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.004902/0.684, allocations: 1.569 MB / 422.5 MB, free: 5.855 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.935e-05/0.6841, allocations: 12.03 kB / 422.5 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.6859, allocations: 257.2 kB / 422.8 MB, free: 5.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/0.6889, allocations: 0.8294 MB / 423.6 MB, free: 4.719 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001368/0.6891, allocations: 60 kB / 423.7 MB, free: 4.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008161/0.6899, allocations: 108 kB / 423.8 MB, free: 4.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005389/0.6953, allocations: 1.696 MB / 425.5 MB, free: 2.855 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0089/0.7043, allocations: 3.046 MB / 428.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.931e-05/0.7044, allocations: 15.88 kB / 428.5 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003464/0.7047, allocations: 12 kB / 428.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006794/0.7054, allocations: 328.1 kB / 428.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01911/0.7246, allocations: 14.43 MB / 443.3 MB, free: 164 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.7248, allocations: 173.1 kB / 443.4 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.7248, allocations: 84.14 kB / 443.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.069e-05/0.7249, allocations: 75.28 kB / 443.6 MB, free: 15.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.911e-05/0.7249, allocations: 113.8 kB / 443.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of pre-optimization done (n=0): time 3.105e-06/0.7249, allocations: 0 / 443.7 MB, free: 15.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=0): time 0.0003484/0.7253, allocations: 132.3 kB / 443.8 MB, free: 15.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.7254, allocations: 55.41 kB / 443.9 MB, free: 15.5 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002468/0.7278, allocations: 1.104 MB / 445 MB, free: 14.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.7279, allocations: 25.7 kB / 445 MB, free: 14.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001475/0.7294, allocations: 1.374 MB / 446.4 MB, free: 12.95 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.533e-05/0.7295, allocations: 43.95 kB / 446.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.7297, allocations: 0 / 446.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003891/0.7301, allocations: 418.7 kB / 446.8 MB, free: 12.49 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008475/0.731, allocations: 303.9 kB / 447.1 MB, free: 12.19 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/0.7332, allocations: 1.833 MB / 449 MB, free: 9.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001802/0.7351, allocations: 0.7176 MB / 449.7 MB, free: 8.836 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.783e-05/0.7352, allocations: 16 kB / 449.7 MB, free: 8.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005416/0.7406, allocations: 1.702 MB / 451.4 MB, free: 7.113 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.451e-05/0.7407, allocations: 35.94 kB / 451.4 MB, free: 7.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.935e-05/0.7408, allocations: 56 kB / 451.5 MB, free: 7.023 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001229/0.7409, allocations: 80 kB / 451.6 MB, free: 6.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00255/0.7435, allocations: 483.7 kB / 452.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001292/0.7437, allocations: 115.5 kB / 452.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002225/0.7459, allocations: 252.9 kB / 452.4 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004154/0.7464, allocations: 136 kB / 452.5 MB, free: 5.977 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.0004062/0.7468, allocations: 330 kB / 452.9 MB, free: 5.645 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003169/0.7471, allocations: 225.5 kB / 453.1 MB, free: 5.41 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001841/0.7473, allocations: 203.7 kB / 453.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003558/0.7477, allocations: 218.3 kB / 453.5 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-05/0.7478, allocations: 176.3 kB / 453.7 MB, free: 4.797 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.445e-05/0.7479, allocations: 180.3 kB / 453.8 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-05/0.7479, allocations: 180.3 kB / 454 MB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.7499, allocations: 1.013 MB / 455 MB, free: 3.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.433e-05/0.75, allocations: 109 kB / 455.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.159e-05/0.7501, allocations: 104.9 kB / 455.2 MB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.597e-05/0.7502, allocations: 176.3 kB / 455.4 MB, free: 2.969 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.7502, allocations: 184.2 kB / 455.6 MB, free: 2.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.889e-05/0.7503, allocations: 184.2 kB / 455.8 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.291e-05/0.7504, allocations: 184.2 kB / 456 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003673/0.7508, allocations: 404.1 kB / 456.4 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003875/0.7512, allocations: 264.8 kB / 456.6 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.7515, allocations: 180.2 kB / 456.8 MB, free: 1.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.7519, allocations: 112.9 kB / 456.9 MB, free: 1.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.843e-05/0.752, allocations: 180.3 kB / 457.1 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.538e-05/0.7521, allocations: 104.9 kB / 457.2 MB, free: 1.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001723/0.7538, allocations: 0.7144 MB / 457.9 MB, free: 400 kB / 378.7 MB Notification: Performance of sort global known variables: time 1.182e-06/0.7539, allocations: 0 / 457.9 MB, free: 400 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.002937/0.7568, allocations: 413.8 kB / 458.3 MB, free: 15.98 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.0009203/0.7578, allocations: 0.909 MB / 459.2 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002216/0.76, allocations: 0.763 MB / 460 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.7601, allocations: 0 / 460 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.438e-06/0.7601, allocations: 0 / 460 MB, free: 14.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009748/0.7611, allocations: 0.6092 MB / 460.6 MB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009128/0.7702, allocations: 2.47 MB / 463 MB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002982/0.7733, allocations: 1.61 MB / 464.7 MB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002519/0.7758, allocations: 457.5 kB / 465.1 MB, free: 9.059 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001464/0.7773, allocations: 0.6555 MB / 465.8 MB, free: 8.402 MB / 394.7 MB Notification: Performance of SimCode: time 1.653e-06/0.7774, allocations: 0 / 465.8 MB, free: 8.402 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08274/0.8601, allocations: 18.4 MB / 484.2 MB, free: 6.023 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003285/0.8605, allocations: 127.3 kB / 484.3 MB, free: 5.836 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.183/4.043, allocations: 0 / 484.3 MB, free: 5.836 MB / 410.7 MB