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.01/2.01, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.984e-05, allocations: 7.984 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4423/0.5503, allocations: 84.43 MB / 406.3 MB, free: 5.148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004183/0.5508, allocations: 71.97 kB / 406.4 MB, free: 5.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1127/0.6636, allocations: 19.89 MB / 426.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6636, allocations: 0 / 426.3 MB, free: 1.07 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.846e-05/0.6637, allocations: 20 kB / 426.3 MB, free: 1.051 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.005345/0.6691, allocations: 1.369 MB / 427.7 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.495e-05/0.6692, allocations: 8.031 kB / 427.7 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000894/0.6701, allocations: 194.2 kB / 427.9 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001868/0.672, allocations: 202.3 kB / 428.1 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002538/0.6745, allocations: 0.7035 MB / 428.8 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/0.6747, allocations: 74.05 kB / 428.8 MB, free: 14.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005363/0.6753, allocations: 95.98 kB / 428.9 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01048/0.6858, allocations: 2.637 MB / 431.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.787e-05/0.6859, allocations: 7.938 kB / 431.6 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002098/0.6861, allocations: 47.97 kB / 431.6 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005212/0.6867, allocations: 209.8 kB / 431.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01032/0.697, allocations: 2.342 MB / 434.2 MB, free: 8.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01604/0.7131, allocations: 8.534 MB / 442.7 MB, free: 100 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007342/0.7205, allocations: 0.9948 MB / 443.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006903/0.7212, allocations: 253.5 kB / 444 MB, free: 14.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002383/0.7236, allocations: 1.734 MB / 445.7 MB, free: 12.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.7237, allocations: 42.52 kB / 445.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.396e-06/0.7237, allocations: 0 / 445.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.01982/0.7435, allocations: 2.685 MB / 448.4 MB, free: 10.08 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/0.7436, allocations: 63.92 kB / 448.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001739/0.7454, allocations: 0.7809 MB / 449.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001198/0.7456, allocations: 29.7 kB / 449.3 MB, free: 9.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006688/0.7462, allocations: 0.6487 MB / 449.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.7465, allocations: 217.1 kB / 450.1 MB, free: 8.312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.7466, allocations: 24 kB / 450.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002711/0.7469, allocations: 402.7 kB / 450.6 MB, free: 7.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009446/0.7479, allocations: 350.5 kB / 450.9 MB, free: 7.543 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/0.7494, allocations: 0.9426 MB / 451.9 MB, free: 6.301 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.7508, allocations: 0.5651 MB / 452.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.051e-05/0.7509, allocations: 8 kB / 452.4 MB, free: 5.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003714/0.7546, allocations: 1.284 MB / 453.7 MB, free: 4.438 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.161e-05/0.7547, allocations: 12 kB / 453.7 MB, free: 4.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.871e-05/0.7548, allocations: 27.94 kB / 453.7 MB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.541e-05/0.7548, allocations: 32 kB / 453.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002466/0.7573, allocations: 312 kB / 454.1 MB, free: 4.062 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001466/0.7588, allocations: 1.364 MB / 455.4 MB, free: 2.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.7602, allocations: 60.05 kB / 455.5 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.7604, allocations: 64 kB / 455.6 MB, free: 2.449 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.0003612/0.7607, allocations: 211.5 kB / 455.8 MB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002129/0.761, allocations: 82.97 kB / 455.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003369/0.7613, allocations: 116.4 kB / 456 MB, free: 2.039 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.7613, allocations: 4 kB / 456 MB, free: 2.035 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.7613, allocations: 4 kB / 456 MB, free: 2.031 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7614, allocations: 3.953 kB / 456 MB, free: 2.027 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005919/0.7673, allocations: 2.124 MB / 458.1 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.799e-05/0.7674, allocations: 8 kB / 458.1 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.7685, allocations: 128.4 kB / 458.2 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.457e-05/0.7685, allocations: 8 kB / 458.2 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.006e-05/0.7686, allocations: 27.94 kB / 458.3 MB, free: 15.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.7699, allocations: 1.337 MB / 459.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.276e-06/0.7699, allocations: 4 kB / 459.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001841/0.7717, allocations: 1.127 MB / 460.7 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004686/0.7722, allocations: 199.9 kB / 460.9 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.7724, allocations: 23.97 kB / 461 MB, free: 12.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.773, allocations: 20 kB / 461 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.7732, allocations: 55.8 kB / 461 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.7732, allocations: 20 kB / 461.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001258/0.7745, allocations: 0.5733 MB / 461.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.7745, allocations: 0 / 461.6 MB, free: 11.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001513/0.776, allocations: 216 kB / 461.8 MB, free: 11.62 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.002981/0.779, allocations: 3.483 MB / 465.3 MB, free: 7.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002295/0.7814, allocations: 0.791 MB / 466.1 MB, free: 7.145 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.7814, allocations: 4 kB / 466.1 MB, free: 7.141 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007381/0.7821, allocations: 265.5 kB / 466.4 MB, free: 6.883 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.7832, allocations: 115.8 kB / 466.5 MB, free: 6.773 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005786/0.789, allocations: 1.905 MB / 468.4 MB, free: 4.75 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001419/0.7904, allocations: 1.232 MB / 469.6 MB, free: 3.492 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001607/0.7921, allocations: 339.5 kB / 470 MB, free: 3.156 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008465/0.7929, allocations: 395.3 kB / 470.3 MB, free: 2.77 MB / 394.7 MB Notification: Performance of SimCode: time 1.092e-06/0.793, allocations: 7.938 kB / 470.4 MB, free: 2.762 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06159/0.8546, allocations: 16.6 MB / 486.9 MB, free: 2.242 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000274/0.8549, allocations: 160.8 kB / 487.1 MB, free: 2.016 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.948/3.803, allocations: 3.938 kB / 487.1 MB, free: 2.012 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