Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.126/2.126, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.793e-05/3.796e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1172, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4245/0.5417, allocations: 84.42 MB / 406.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.5421, allocations: 75.95 kB / 406.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08984/0.632, allocations: 19.88 MB / 426.2 MB, free: 1.098 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.632, allocations: 0 / 426.2 MB, free: 1.098 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.513e-05/0.6321, allocations: 20 kB / 426.3 MB, free: 1.078 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.004948/0.6371, allocations: 1.38 MB / 427.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.6372, allocations: 8.031 kB / 427.7 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007481/0.6379, allocations: 190.1 kB / 427.8 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001656/0.6396, allocations: 198.3 kB / 428 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.6421, allocations: 0.6996 MB / 428.7 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001167/0.6423, allocations: 82.03 kB / 428.8 MB, free: 14.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/0.6427, allocations: 95.98 kB / 428.9 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01008/0.6528, allocations: 2.649 MB / 431.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.507e-05/0.6529, allocations: 7.938 kB / 431.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.6531, allocations: 43.98 kB / 431.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004798/0.6536, allocations: 213.8 kB / 431.8 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009964/0.6636, allocations: 2.373 MB / 434.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01531/0.6789, allocations: 8.534 MB / 442.7 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007241/0.6862, allocations: 0.9991 MB / 443.7 MB, free: 15.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006832/0.687, allocations: 245.5 kB / 444 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002404/0.6894, allocations: 1.742 MB / 445.7 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/0.6895, allocations: 38.56 kB / 445.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.005e-06/0.6895, allocations: 0 / 445.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.01931/0.7088, allocations: 2.685 MB / 448.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.7089, allocations: 63.91 kB / 448.5 MB, free: 9.984 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001605/0.7105, allocations: 0.7731 MB / 449.3 MB, free: 9.203 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.191e-05/0.7106, allocations: 37.7 kB / 449.3 MB, free: 9.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006356/0.7113, allocations: 0.6565 MB / 450 MB, free: 8.492 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002893/0.7116, allocations: 205.1 kB / 450.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.69e-05/0.7117, allocations: 24 kB / 450.2 MB, free: 8.266 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002632/0.7119, allocations: 402.7 kB / 450.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/0.7129, allocations: 358.5 kB / 450.9 MB, free: 7.512 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.7144, allocations: 0.9529 MB / 451.9 MB, free: 6.258 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/0.7158, allocations: 0.5574 MB / 452.4 MB, free: 5.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/0.7158, allocations: 8 kB / 452.4 MB, free: 5.695 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003447/0.7193, allocations: 1.346 MB / 453.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.7194, allocations: 12 kB / 453.8 MB, free: 4.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.672e-05/0.7194, allocations: 24 kB / 453.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.275e-05/0.7195, allocations: 32 kB / 453.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002296/0.7218, allocations: 320.1 kB / 454.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001489/0.7233, allocations: 1.376 MB / 455.5 MB, free: 2.457 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.7246, allocations: 43.91 kB / 455.6 MB, free: 2.414 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001451/0.7248, allocations: 75.98 kB / 455.7 MB, free: 2.34 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.000335/0.7251, allocations: 207.5 kB / 455.9 MB, free: 2.129 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.7253, allocations: 78.97 kB / 455.9 MB, free: 2.051 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003231/0.7257, allocations: 120.5 kB / 456.1 MB, free: 1.926 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.7257, allocations: 4 kB / 456.1 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/0.7257, allocations: 4 kB / 456.1 MB, free: 1.918 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.7257, allocations: 7.938 kB / 456.1 MB, free: 1.91 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005987/0.7317, allocations: 2.14 MB / 458.2 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.536e-05/0.7318, allocations: 4 kB / 458.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.7329, allocations: 128.6 kB / 458.3 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.878e-05/0.7329, allocations: 16 kB / 458.4 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.213e-05/0.733, allocations: 16 kB / 458.4 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001353/0.7344, allocations: 1.348 MB / 459.7 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/0.7344, allocations: 8 kB / 459.7 MB, free: 13.98 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.7363, allocations: 1.115 MB / 460.8 MB, free: 12.6 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005067/0.7369, allocations: 207.9 kB / 461 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001365/0.737, allocations: 20 kB / 461.1 MB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005795/0.7376, allocations: 20 kB / 461.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001211/0.7378, allocations: 55.78 kB / 461.1 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.636e-05/0.7378, allocations: 28 kB / 461.2 MB, free: 12.26 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001252/0.7391, allocations: 0.5616 MB / 461.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7391, allocations: 0 / 461.7 MB, free: 11.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001536/0.7407, allocations: 220 kB / 461.9 MB, free: 11.49 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.003125/0.7438, allocations: 3.479 MB / 465.4 MB, free: 7.805 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002358/0.7462, allocations: 0.835 MB / 466.3 MB, free: 6.973 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/0.7463, allocations: 4 kB / 466.3 MB, free: 6.969 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000757/0.747, allocations: 266.1 kB / 466.5 MB, free: 6.711 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009793/0.748, allocations: 119.2 kB / 466.6 MB, free: 6.594 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006075/0.7541, allocations: 1.921 MB / 468.6 MB, free: 4.555 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/0.7557, allocations: 1.236 MB / 469.8 MB, free: 3.293 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001632/0.7573, allocations: 339.5 kB / 470.1 MB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008994/0.7582, allocations: 395.3 kB / 470.5 MB, free: 2.57 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.7583, allocations: 0 / 470.5 MB, free: 2.57 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0638/0.8221, allocations: 16.7 MB / 487.2 MB, free: 1.949 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003251/0.8225, allocations: 158.7 kB / 487.4 MB, free: 1.723 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.1/3.922, allocations: 3.938 kB / 487.4 MB, free: 1.719 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat