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 2.716/2.716, allocations: 235.2 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.427e-05/2.437e-05, allocations: 4 kB / 299.6 MB, free: 216 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3883, allocations: 54.85 MB / 354.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.5597, allocations: 84.75 MB / 439.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5601, allocations: 79.94 kB / 439.3 MB, free: 10.26 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1192/0.6794, allocations: 25.96 MB / 465.2 MB, free: 36 kB / 394.7 MB Notification: Performance of FrontEnd: time 5.149e-06/0.6794, allocations: 4 kB / 465.2 MB, free: 32 kB / 394.7 MB Notification: Performance of Transformations before backend: time 7.655e-05/0.6795, allocations: 32 kB / 465.3 MB, free: 0 / 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.3535/1.033, allocations: 1.574 MB / 466.8 MB, free: 89.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.378e-05/1.033, allocations: 9.406 kB / 466.8 MB, free: 89.68 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/1.035, allocations: 262.3 kB / 467.1 MB, free: 89.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00414/1.039, allocations: 0.8193 MB / 467.9 MB, free: 89.3 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/1.039, allocations: 64.61 kB / 468 MB, free: 89.3 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009831/1.04, allocations: 106.5 kB / 468.1 MB, free: 89.3 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00877/1.049, allocations: 1.702 MB / 469.8 MB, free: 89.29 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007175/1.056, allocations: 3.043 MB / 472.8 MB, free: 88.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.214e-05/1.057, allocations: 16.91 kB / 472.8 MB, free: 88.26 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/1.057, allocations: 18.62 kB / 472.9 MB, free: 88.26 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006126/1.057, allocations: 327.6 kB / 473.2 MB, free: 88.26 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01481/1.072, allocations: 14.43 MB / 487.6 MB, free: 77.65 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.84e-05/1.072, allocations: 169 kB / 487.8 MB, free: 77.48 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.325e-05/1.072, allocations: 80.14 kB / 487.8 MB, free: 77.4 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.956e-05/1.072, allocations: 75.28 kB / 487.9 MB, free: 77.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.341e-05/1.073, allocations: 117.2 kB / 488 MB, free: 77.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 2.525e-06/1.073, allocations: 0 / 488 MB, free: 77.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 0.0002575/1.073, allocations: 127.8 kB / 488.2 MB, free: 77.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/1.073, allocations: 51.41 kB / 488.2 MB, free: 77.06 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/1.075, allocations: 1.102 MB / 489.3 MB, free: 76.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 9.228e-06/1.075, allocations: 26.36 kB / 489.3 MB, free: 76.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008816/1.076, allocations: 1.376 MB / 490.7 MB, free: 75.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.762e-05/1.076, allocations: 45.45 kB / 490.8 MB, free: 75.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.381e-05/1.076, allocations: 0 / 490.8 MB, free: 75.44 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001883/1.076, allocations: 416.8 kB / 491.2 MB, free: 75.08 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006918/1.077, allocations: 316.5 kB / 491.5 MB, free: 74.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/1.078, allocations: 1.827 MB / 493.3 MB, free: 72.74 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/1.08, allocations: 0.7167 MB / 494 MB, free: 72.47 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.54e-05/1.08, allocations: 15.31 kB / 494 MB, free: 72.47 MB / 394.7 MB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004155/1.084, allocations: 1.71 MB / 495.7 MB, free: 71.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.127e-05/1.084, allocations: 30.84 kB / 495.8 MB, free: 71.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.579e-05/1.084, allocations: 60.22 kB / 495.8 MB, free: 71.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001196/1.084, allocations: 77.06 kB / 495.9 MB, free: 71.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002501/1.087, allocations: 490 kB / 496.4 MB, free: 71.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.434e-05/1.087, allocations: 112 kB / 496.5 MB, free: 71.77 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/1.089, allocations: 242.2 kB / 496.7 MB, free: 71.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001841/1.089, allocations: 138.4 kB / 496.9 MB, free: 71.61 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.000317/1.089, allocations: 333.9 kB / 497.2 MB, free: 71.32 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000196/1.09, allocations: 234.3 kB / 497.4 MB, free: 71.12 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/1.09, allocations: 210 kB / 497.6 MB, free: 70.96 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/1.09, allocations: 202.8 kB / 497.8 MB, free: 70.81 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-05/1.09, allocations: 180.2 kB / 498 MB, free: 70.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.754e-05/1.09, allocations: 184 kB / 498.2 MB, free: 70.44 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.665e-05/1.09, allocations: 186.7 kB / 498.4 MB, free: 70.25 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/1.092, allocations: 1.006 MB / 499.4 MB, free: 69.65 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/1.092, allocations: 104.3 kB / 499.5 MB, free: 69.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/1.092, allocations: 104.9 kB / 499.6 MB, free: 69.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.705e-05/1.092, allocations: 180.2 kB / 499.8 MB, free: 69.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.994e-05/1.092, allocations: 186.7 kB / 499.9 MB, free: 69.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.328e-05/1.092, allocations: 180.3 kB / 0.4884 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.478e-05/1.092, allocations: 184.1 kB / 0.4886 GB, free: 68.7 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/1.092, allocations: 401.7 kB / 0.4889 GB, free: 68.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000257/1.092, allocations: 273.4 kB / 0.4892 GB, free: 68.07 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/1.093, allocations: 184.2 kB / 0.4894 GB, free: 67.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004737/1.093, allocations: 107.3 kB / 0.4895 GB, free: 67.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.156e-05/1.093, allocations: 184.2 kB / 0.4897 GB, free: 67.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.386e-05/1.093, allocations: 108.5 kB / 0.4898 GB, free: 67.48 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001285/1.094, allocations: 0.7025 MB / 0.4905 GB, free: 67.19 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.01e-07/1.094, allocations: 0 / 0.4905 GB, free: 67.19 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002629/1.097, allocations: 412.7 kB / 0.4908 GB, free: 67.07 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.0004824/1.098, allocations: 0.9207 MB / 0.4917 GB, free: 66.2 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001805/1.099, allocations: 0.7551 MB / 0.4925 GB, free: 65.78 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/1.099, allocations: 0 / 0.4925 GB, free: 65.78 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.568e-06/1.099, allocations: 8 kB / 0.4925 GB, free: 65.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007786/1.1, allocations: 0.6033 MB / 0.4931 GB, free: 65.17 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007479/1.108, allocations: 2.484 MB / 0.4955 GB, free: 62.98 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001857/1.11, allocations: 1.61 MB / 0.4971 GB, free: 61.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002462/1.112, allocations: 450 kB / 0.4975 GB, free: 61.39 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001256/1.113, allocations: 0.6577 MB / 0.4981 GB, free: 60.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/1.113, allocations: 0 / 0.4981 GB, free: 60.79 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09182/1.205, allocations: 18.4 MB / 0.5161 GB, free: 44.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003071/1.206, allocations: 143.7 kB / 0.5163 GB, free: 43.87 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.537/4.743, allocations: 0 / 0.5163 GB, free: 43.87 MB / 394.7 MB