Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.981e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.437/0.5427, allocations: 84.43 MB / 406.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002887/0.5431, allocations: 75.03 kB / 406.3 MB, free: 5.426 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09275/0.6358, allocations: 19.88 MB / 426.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.836e-06/0.6359, allocations: 0 / 426.2 MB, free: 1.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.549e-05/0.636, allocations: 20 kB / 426.2 MB, free: 1.41 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.005133/0.6412, allocations: 1.377 MB / 427.6 MB, free: 15.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.993e-05/0.6412, allocations: 16.03 kB / 427.6 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006734/0.6419, allocations: 194.2 kB / 427.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001627/0.6436, allocations: 198.3 kB / 428 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002468/0.6461, allocations: 0.6996 MB / 428.7 MB, free: 14.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.6462, allocations: 74.05 kB / 428.8 MB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000381/0.6466, allocations: 99.98 kB / 428.9 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009994/0.6566, allocations: 2.653 MB / 431.5 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.635e-05/0.6568, allocations: 7.938 kB / 431.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002105/0.657, allocations: 47.97 kB / 431.6 MB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004928/0.6575, allocations: 205.8 kB / 431.8 MB, free: 11.57 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009993/0.6675, allocations: 2.373 MB / 434.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/0.6837, allocations: 8.534 MB / 442.7 MB, free: 412 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007406/0.6911, allocations: 1.003 MB / 443.7 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/0.6919, allocations: 245.5 kB / 443.9 MB, free: 15.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002512/0.6944, allocations: 1.742 MB / 445.7 MB, free: 13.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.585e-05/0.6945, allocations: 42.59 kB / 445.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.955e-06/0.6945, allocations: 0 / 445.7 MB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.01958/0.7141, allocations: 2.685 MB / 448.4 MB, free: 10.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.7142, allocations: 63.92 kB / 448.5 MB, free: 10.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.7158, allocations: 0.7731 MB / 449.2 MB, free: 9.523 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.44e-05/0.7159, allocations: 33.7 kB / 449.3 MB, free: 9.484 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/0.7165, allocations: 0.6823 MB / 450 MB, free: 8.793 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.7168, allocations: 205.1 kB / 450.2 MB, free: 8.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.439e-05/0.7169, allocations: 28 kB / 450.2 MB, free: 8.562 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.7171, allocations: 366.8 kB / 450.5 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009215/0.718, allocations: 350.5 kB / 450.9 MB, free: 7.852 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00145/0.7195, allocations: 0.953 MB / 451.8 MB, free: 6.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.7208, allocations: 0.5612 MB / 452.4 MB, free: 6.039 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/0.7208, allocations: 8 kB / 452.4 MB, free: 6.031 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003085/0.7239, allocations: 1.307 MB / 453.7 MB, free: 4.715 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.053e-05/0.724, allocations: 16 kB / 453.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.662e-05/0.7241, allocations: 24 kB / 453.8 MB, free: 4.676 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.934e-05/0.7241, allocations: 35.94 kB / 453.8 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.7264, allocations: 315.4 kB / 454.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001403/0.7278, allocations: 1.369 MB / 455.5 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/0.7291, allocations: 51.91 kB / 455.5 MB, free: 2.785 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.7293, allocations: 68.16 kB / 455.6 MB, free: 2.719 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * 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 (154): * Single equations (assignments): 153 * 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.0003181/0.7296, allocations: 207.5 kB / 455.8 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.7298, allocations: 78.97 kB / 455.9 MB, free: 2.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003177/0.7301, allocations: 120.4 kB / 456 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.7301, allocations: 8 kB / 456 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.7301, allocations: 0 / 456 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.7302, allocations: 7.938 kB / 456 MB, free: 2.289 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.7359, allocations: 2.148 MB / 458.1 MB, free: 4 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.305e-05/0.736, allocations: 4 kB / 458.1 MB, free: 0 / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/0.7371, allocations: 123.9 kB / 458.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/0.7371, allocations: 15.94 kB / 458.3 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/0.7372, allocations: 16 kB / 458.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.7385, allocations: 1.345 MB / 459.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/0.7385, allocations: 8 kB / 459.7 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001929/0.7405, allocations: 1.121 MB / 460.8 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004986/0.741, allocations: 207.9 kB / 461 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.7411, allocations: 20 kB / 461 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005965/0.7417, allocations: 16 kB / 461 MB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001149/0.7419, allocations: 63.72 kB / 461.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.016e-05/0.7419, allocations: 20 kB / 461.1 MB, free: 12.64 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001227/0.7432, allocations: 0.5655 MB / 461.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7432, allocations: 0 / 461.7 MB, free: 12.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001409/0.7446, allocations: 223.9 kB / 461.9 MB, free: 11.86 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.002927/0.7476, allocations: 3.471 MB / 465.3 MB, free: 8.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.7501, allocations: 0.8554 MB / 466.2 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/0.7501, allocations: 0 / 466.2 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008577/0.751, allocations: 277.1 kB / 466.5 MB, free: 7.066 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009823/0.752, allocations: 119.2 kB / 466.6 MB, free: 6.949 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005668/0.7577, allocations: 2.025 MB / 468.6 MB, free: 4.801 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/0.759, allocations: 1.24 MB / 469.9 MB, free: 3.535 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008561/0.7599, allocations: 399.3 kB / 470.2 MB, free: 3.145 MB / 394.7 MB Notification: Performance of SimCode: time 1.332e-06/0.7599, allocations: 0 / 470.2 MB, free: 3.145 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.019/3.779, allocations: 21.24 MB / 491.5 MB, free: 13.9 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat