Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.307/2.307, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.78e-05, allocations: 4 kB / 305 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4018, allocations: 54.86 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.17/0.5719, allocations: 90.95 MB / 450.8 MB, free: 5.938 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/0.5723, allocations: 73.16 kB / 450.9 MB, free: 5.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09093/0.6632, allocations: 19.9 MB / 470.8 MB, free: 1.875 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.6633, allocations: 1.031 kB / 470.8 MB, free: 1.875 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.158e-05/0.6634, allocations: 20 kB / 470.8 MB, free: 1.855 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.005141/0.6685, allocations: 1.375 MB / 472.2 MB, free: 444 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6686, allocations: 12.03 kB / 472.2 MB, free: 432 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008608/0.6695, allocations: 190.2 kB / 472.4 MB, free: 232 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001956/0.6715, allocations: 210.2 kB / 472.6 MB, free: 20 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002626/0.6742, allocations: 0.688 MB / 473.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.6744, allocations: 82.03 kB / 473.3 MB, free: 15.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005782/0.6749, allocations: 99.98 kB / 473.4 MB, free: 15.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01027/0.6852, allocations: 2.645 MB / 476.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-05/0.6854, allocations: 11.92 kB / 476.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000232/0.6856, allocations: 53.33 kB / 476.2 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005011/0.6861, allocations: 197.8 kB / 476.3 MB, free: 12.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01018/0.6964, allocations: 2.381 MB / 478.7 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.7124, allocations: 8.527 MB / 487.3 MB, free: 0.8711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007219/0.7197, allocations: 0.9913 MB / 488.2 MB, free: 15.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006656/0.7204, allocations: 252.8 kB / 488.5 MB, free: 15.62 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00229/0.7228, allocations: 1.739 MB / 490.2 MB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/0.7229, allocations: 38.56 kB / 490.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.016e-06/0.7229, allocations: 0 / 490.3 MB, free: 13.55 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01967/0.7425, allocations: 2.695 MB / 493 MB, free: 10.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.7427, allocations: 59.97 kB / 493 MB, free: 10.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001717/0.7444, allocations: 0.7771 MB / 493.8 MB, free: 9.984 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.7446, allocations: 33.7 kB / 493.8 MB, free: 9.945 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006297/0.7452, allocations: 0.6487 MB / 494.5 MB, free: 9.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000287/0.7455, allocations: 217.1 kB / 494.7 MB, free: 9.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.972e-05/0.7456, allocations: 24 kB / 494.7 MB, free: 9.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002625/0.7459, allocations: 402.7 kB / 495.1 MB, free: 8.645 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009997/0.7469, allocations: 350.5 kB / 495.5 MB, free: 8.301 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001568/0.7485, allocations: 0.953 MB / 496.4 MB, free: 7.051 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.7501, allocations: 0.5651 MB / 497 MB, free: 6.484 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/0.7502, allocations: 8 kB / 497 MB, free: 6.477 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003974/0.7542, allocations: 1.346 MB / 498.3 MB, free: 5.125 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.935e-05/0.7543, allocations: 13.72 kB / 498.3 MB, free: 5.113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.971e-05/0.7543, allocations: 24 kB / 498.4 MB, free: 5.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.25e-05/0.7544, allocations: 36.06 kB / 498.4 MB, free: 5.055 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002487/0.7569, allocations: 311.5 kB / 498.7 MB, free: 4.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001469/0.7584, allocations: 1.368 MB / 0.4883 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001294/0.7598, allocations: 59.89 kB / 0.4884 GB, free: 3.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.76, allocations: 68 kB / 0.4885 GB, free: 3.121 MB / 426.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.0003443/0.7604, allocations: 211.6 kB / 0.4887 GB, free: 2.906 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.7606, allocations: 82.92 kB / 0.4888 GB, free: 2.824 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003338/0.761, allocations: 116.4 kB / 0.4889 GB, free: 2.707 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/0.761, allocations: 4 kB / 0.4889 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.761, allocations: 0 / 0.4889 GB, free: 2.703 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.495e-05/0.761, allocations: 7.984 kB / 0.4889 GB, free: 2.695 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006421/0.7675, allocations: 2.133 MB / 0.491 GB, free: 436 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-05/0.7675, allocations: 12.16 kB / 0.491 GB, free: 424 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001173/0.7687, allocations: 127.8 kB / 0.4911 GB, free: 296 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-05/0.7688, allocations: 12 kB / 0.4911 GB, free: 284 kB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.072e-05/0.7689, allocations: 19.94 kB / 0.4911 GB, free: 264 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001371/0.7703, allocations: 1.339 MB / 0.4924 GB, free: 14.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/0.7703, allocations: 15.89 kB / 0.4924 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001968/0.7723, allocations: 1.119 MB / 0.4935 GB, free: 13.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006155/0.773, allocations: 203.9 kB / 0.4937 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.7732, allocations: 23.92 kB / 0.4938 GB, free: 13.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006475/0.7739, allocations: 20 kB / 0.4938 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.774, allocations: 47.84 kB / 0.4938 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.064e-05/0.7741, allocations: 20 kB / 0.4938 GB, free: 13.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001358/0.7754, allocations: 0.5733 MB / 0.4944 GB, free: 12.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.7755, allocations: 0 / 0.4944 GB, free: 12.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001667/0.7772, allocations: 212 kB / 0.4946 GB, free: 12.29 MB / 442.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.003109/0.7803, allocations: 3.468 MB / 0.498 GB, free: 8.617 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.7829, allocations: 0.8319 MB / 0.4988 GB, free: 7.785 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.313e-05/0.783, allocations: 4 kB / 0.4988 GB, free: 7.781 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008653/0.7838, allocations: 276.7 kB / 0.4991 GB, free: 7.512 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001079/0.785, allocations: 119.1 kB / 0.4992 GB, free: 7.395 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006726/0.7917, allocations: 1.919 MB / 0.5011 GB, free: 5.359 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/0.7935, allocations: 1.232 MB / 0.5023 GB, free: 4.098 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001761/0.7953, allocations: 343.4 kB / 0.5026 GB, free: 3.758 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/0.7964, allocations: 391.3 kB / 0.503 GB, free: 3.375 MB / 442.7 MB Notification: Performance of SimCode: time 1.303e-06/0.7964, allocations: 0 / 0.503 GB, free: 3.375 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07926/0.8757, allocations: 16.71 MB / 0.5193 GB, free: 2.719 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003978/0.8761, allocations: 166 kB / 0.5194 GB, free: 2.488 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.047/3.923, allocations: 0 / 0.5194 GB, free: 2.488 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat