Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.123/3.123, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.392e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4631, allocations: 54.84 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2156/0.6787, allocations: 90.29 MB / 444.7 MB, free: 4.773 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.6791, allocations: 83.89 kB / 444.8 MB, free: 4.691 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.113/0.792, allocations: 19.54 MB / 464.3 MB, free: 1 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.7921, allocations: 4 kB / 464.3 MB, free: 0.9961 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.383e-05/0.7922, allocations: 20 kB / 464.3 MB, free: 0.9766 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.3924/1.185, allocations: 1.371 MB / 465.7 MB, free: 92.44 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.206e-05/1.185, allocations: 9.062 kB / 465.7 MB, free: 92.44 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008346/1.186, allocations: 149.4 kB / 465.9 MB, free: 92.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00248/1.188, allocations: 203.2 kB / 466.1 MB, free: 92.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003346/1.191, allocations: 0.69 MB / 466.8 MB, free: 92.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/1.192, allocations: 43.16 kB / 466.8 MB, free: 92.1 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006601/1.192, allocations: 59.38 kB / 466.9 MB, free: 92.1 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006443/1.199, allocations: 1.69 MB / 468.6 MB, free: 92.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006532/1.205, allocations: 1.937 MB / 470.5 MB, free: 91.7 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.749e-05/1.205, allocations: 16.45 kB / 470.5 MB, free: 91.69 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/1.206, allocations: 3.875 kB / 470.5 MB, free: 91.69 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005838/1.206, allocations: 207.4 kB / 470.7 MB, free: 91.69 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01503/1.221, allocations: 7.442 MB / 478.2 MB, free: 87.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/1.223, allocations: 422.5 kB / 478.6 MB, free: 87.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006493/1.223, allocations: 237.1 kB / 478.8 MB, free: 87.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002488/1.226, allocations: 1.738 MB / 480.5 MB, free: 85.67 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/1.226, allocations: 40.12 kB / 480.6 MB, free: 85.62 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 4.799e-06/1.226, allocations: 0 / 480.6 MB, free: 85.62 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.01587/1.242, allocations: 2 MB / 482.6 MB, free: 85.12 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/1.242, allocations: 62.5 kB / 482.6 MB, free: 85.05 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.243, allocations: 0.6486 MB / 483.3 MB, free: 84.74 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/1.244, allocations: 29.45 kB / 483.3 MB, free: 84.71 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005901/1.244, allocations: 0.6665 MB / 484 MB, free: 84.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/1.244, allocations: 206.6 kB / 484.2 MB, free: 84.02 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.517e-05/1.245, allocations: 0 / 484.2 MB, free: 84.02 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000183/1.245, allocations: 388.2 kB / 484.6 MB, free: 83.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009397/1.246, allocations: 330.8 kB / 484.9 MB, free: 83.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/1.247, allocations: 0.9483 MB / 485.8 MB, free: 82.62 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001398/1.248, allocations: 0.5445 MB / 486.4 MB, free: 82.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.945e-05/1.248, allocations: 6.688 kB / 486.4 MB, free: 82.44 MB / 394.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.003448/1.252, allocations: 1.199 MB / 487.6 MB, free: 82.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.311e-05/1.252, allocations: 14.19 kB / 487.6 MB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/1.252, allocations: 24.59 kB / 487.6 MB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.745e-05/1.252, allocations: 36.8 kB / 487.7 MB, free: 82.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002992/1.255, allocations: 331.2 kB / 488 MB, free: 81.97 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/1.256, allocations: 1.316 MB / 489.3 MB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/1.258, allocations: 33.41 kB / 489.3 MB, free: 80.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/1.258, allocations: 65.75 kB / 489.4 MB, free: 80.66 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[1],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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003158/1.258, allocations: 177.2 kB / 489.6 MB, free: 80.51 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001881/1.259, allocations: 73.66 kB / 489.6 MB, free: 80.47 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/1.259, allocations: 101.2 kB / 489.7 MB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/1.259, allocations: 7.312 kB / 489.7 MB, free: 80.41 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/1.259, allocations: 3.953 kB / 489.7 MB, free: 80.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.259, allocations: 0 / 489.7 MB, free: 80.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005653/1.265, allocations: 1.828 MB / 491.6 MB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.258e-05/1.265, allocations: 7.875 kB / 491.6 MB, free: 79.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/1.266, allocations: 129.4 kB / 491.7 MB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.182e-05/1.266, allocations: 14.53 kB / 491.7 MB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/1.266, allocations: 7.844 kB / 491.7 MB, free: 79.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/1.267, allocations: 1.288 MB / 493 MB, free: 78.13 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.267, allocations: 8 kB / 493 MB, free: 78.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001673/1.269, allocations: 1.067 MB / 494.1 MB, free: 76.85 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004365/1.269, allocations: 190.8 kB / 494.3 MB, free: 76.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001525/1.27, allocations: 12 kB / 494.3 MB, free: 76.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/1.27, allocations: 11.52 kB / 494.3 MB, free: 76.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/1.27, allocations: 51.09 kB / 494.3 MB, free: 76.6 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.887e-05/1.271, allocations: 28 kB / 494.4 MB, free: 76.57 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009353/1.272, allocations: 460.9 kB / 494.8 MB, free: 76.17 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.272, allocations: 0 / 494.8 MB, free: 76.17 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001785/1.273, allocations: 178 kB / 495 MB, free: 76 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/1.276, allocations: 3.423 MB / 498.4 MB, free: 72.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002273/1.278, allocations: 0.7714 MB / 499.2 MB, free: 71.74 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/1.278, allocations: 2.562 kB / 499.2 MB, free: 71.74 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007472/1.279, allocations: 249.8 kB / 499.4 MB, free: 71.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001072/1.28, allocations: 86.38 kB / 499.5 MB, free: 71.45 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006292/1.286, allocations: 1.85 MB / 0.4896 GB, free: 69.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.288, allocations: 1.241 MB / 0.4908 GB, free: 68.67 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001939/1.29, allocations: 330.3 kB / 0.4912 GB, free: 68.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009754/1.291, allocations: 393.8 kB / 0.4915 GB, free: 68.1 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/1.291, allocations: 4 kB / 0.4915 GB, free: 68.1 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09783/1.388, allocations: 14.95 MB / 0.5061 GB, free: 54.75 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003363/1.389, allocations: 152.9 kB / 0.5063 GB, free: 54.55 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.958/5.347, allocations: 0 / 0.5063 GB, free: 54.55 MB / 394.7 MB