Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Visualizers.Shapes,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Visualizers_Shapes",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.379/3.379, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.089e-05/3.104e-05, allocations: 0 / 299.5 MB, free: 212 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.447/0.4471, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.6814, allocations: 84.74 MB / 439.2 MB, free: 10.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/0.6818, allocations: 71.97 kB / 439.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5849/1.267, allocations: 26.1 MB / 465.3 MB, free: 89.98 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.156e-06/1.267, allocations: 0 / 465.3 MB, free: 89.98 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.000171/1.267, allocations: 34.22 kB / 465.4 MB, free: 89.98 MB / 394.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.006171/1.273, allocations: 1.567 MB / 466.9 MB, free: 89.51 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.901e-05/1.273, allocations: 9.688 kB / 466.9 MB, free: 89.51 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001338/1.275, allocations: 273.9 kB / 467.2 MB, free: 89.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/1.277, allocations: 261.3 kB / 467.5 MB, free: 89.34 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/1.28, allocations: 0.8273 MB / 468.3 MB, free: 89.08 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002004/1.281, allocations: 81.31 kB / 468.4 MB, free: 89.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006818/1.281, allocations: 106.3 kB / 468.5 MB, free: 89.07 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006408/1.288, allocations: 1.694 MB / 470.2 MB, free: 89.06 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009273/1.297, allocations: 3.048 MB / 473.2 MB, free: 88.03 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-05/1.297, allocations: 19.28 kB / 473.2 MB, free: 88.03 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003314/1.298, allocations: 13.17 kB / 473.2 MB, free: 88.02 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007302/1.298, allocations: 327.7 kB / 473.6 MB, free: 88.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01795/1.316, allocations: 14.43 MB / 488 MB, free: 77.35 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.461e-05/1.316, allocations: 165.1 kB / 488.1 MB, free: 77.18 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.466e-05/1.316, allocations: 86.55 kB / 488.2 MB, free: 77.09 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.214e-05/1.316, allocations: 75.28 kB / 488.3 MB, free: 77.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.587e-05/1.317, allocations: 112.8 kB / 488.4 MB, free: 76.9 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.547e-06/1.317, allocations: 5.406 kB / 488.4 MB, free: 76.9 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.000302/1.317, allocations: 130.7 kB / 488.5 MB, free: 76.82 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.57e-05/1.317, allocations: 51.41 kB / 488.6 MB, free: 76.75 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002104/1.319, allocations: 1.101 MB / 489.7 MB, free: 76.27 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/1.319, allocations: 25.7 kB / 489.7 MB, free: 76.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001017/1.32, allocations: 1.376 MB / 491.1 MB, free: 75.14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/1.32, allocations: 45.38 kB / 491.1 MB, free: 75.13 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.448e-05/1.32, allocations: 3.406 kB / 491.1 MB, free: 75.13 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002053/1.32, allocations: 417.8 kB / 491.6 MB, free: 74.77 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007977/1.321, allocations: 306.1 kB / 491.9 MB, free: 74.68 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001687/1.323, allocations: 1.835 MB / 493.7 MB, free: 72.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001715/1.325, allocations: 0.7149 MB / 494.4 MB, free: 72.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.261e-05/1.325, allocations: 18.19 kB / 494.4 MB, free: 72.16 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.005079/1.33, allocations: 1.709 MB / 496.1 MB, free: 71.55 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/1.33, allocations: 29.44 kB / 496.2 MB, free: 71.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/1.33, allocations: 56.12 kB / 496.2 MB, free: 71.55 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001234/1.33, allocations: 80.62 kB / 496.3 MB, free: 71.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002841/1.333, allocations: 480.3 kB / 496.8 MB, free: 71.49 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.696e-05/1.333, allocations: 112.8 kB / 496.9 MB, free: 71.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002306/1.335, allocations: 247 kB / 497.1 MB, free: 71.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/1.336, allocations: 135.8 kB / 497.2 MB, free: 71.3 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.0003515/1.336, allocations: 333.2 kB / 497.6 MB, free: 71.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.336, allocations: 207.2 kB / 497.8 MB, free: 70.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/1.337, allocations: 217 kB / 498 MB, free: 70.7 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.684e-05/1.337, allocations: 180.1 kB / 498.2 MB, free: 70.52 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.866e-05/1.337, allocations: 180.2 kB / 498.3 MB, free: 70.33 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.69e-05/1.337, allocations: 179.7 kB / 498.5 MB, free: 70.15 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001665/1.338, allocations: 1.015 MB / 499.5 MB, free: 69.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-05/1.339, allocations: 112.5 kB / 499.6 MB, free: 69.43 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.297e-05/1.339, allocations: 101 kB / 499.7 MB, free: 69.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.935e-05/1.339, allocations: 176.3 kB / 499.9 MB, free: 69.15 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.219e-05/1.339, allocations: 184.2 kB / 0.4884 GB, free: 68.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.019e-05/1.339, allocations: 183.3 kB / 0.4885 GB, free: 68.78 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.665e-05/1.339, allocations: 176.3 kB / 0.4887 GB, free: 68.6 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002712/1.339, allocations: 407.3 kB / 0.4891 GB, free: 68.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003526/1.339, allocations: 266.5 kB / 0.4894 GB, free: 67.97 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002475/1.34, allocations: 183.9 kB / 0.4895 GB, free: 67.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005413/1.34, allocations: 109 kB / 0.4896 GB, free: 67.67 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/1.34, allocations: 184.2 kB / 0.4898 GB, free: 67.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.512e-05/1.34, allocations: 111.4 kB / 0.4899 GB, free: 67.38 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001456/1.342, allocations: 0.7043 MB / 0.4906 GB, free: 67.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.342, allocations: 0 / 0.4906 GB, free: 67.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002888/1.345, allocations: 407.6 kB / 0.491 GB, free: 66.97 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.0005746/1.345, allocations: 0.9128 MB / 0.4919 GB, free: 66.11 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00196/1.347, allocations: 0.7685 MB / 0.4926 GB, free: 65.54 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/1.347, allocations: 0 / 0.4926 GB, free: 65.54 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.148e-06/1.347, allocations: 0 / 0.4926 GB, free: 65.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009132/1.348, allocations: 0.6037 MB / 0.4932 GB, free: 64.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00839/1.357, allocations: 2.476 MB / 0.4956 GB, free: 62.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00217/1.359, allocations: 1.613 MB / 0.4972 GB, free: 61.43 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00264/1.362, allocations: 461.6 kB / 0.4977 GB, free: 61.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001365/1.363, allocations: 0.656 MB / 0.4983 GB, free: 60.54 MB / 394.7 MB Notification: Performance of SimCode: time 1.362e-06/1.363, allocations: 0 / 0.4983 GB, free: 60.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/1.463, allocations: 18.56 MB / 0.5164 GB, free: 43.73 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003117/1.464, allocations: 143.7 kB / 0.5166 GB, free: 43.54 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.876/5.339, allocations: 0 / 0.5166 GB, free: 43.54 MB / 394.7 MB