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.494/2.494, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.74e-05/2.75e-05, allocations: 4 kB / 299.5 MB, free: 6.348 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.3757, allocations: 54.86 MB / 354.4 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1734/0.5491, allocations: 90.28 MB / 444.6 MB, free: 5.621 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003135/0.5495, allocations: 75.97 kB / 444.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08836/0.6379, allocations: 19.47 MB / 464.2 MB, free: 1.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6379, allocations: 0 / 464.2 MB, free: 1.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 8.323e-05/0.638, allocations: 23.98 kB / 464.2 MB, free: 1.895 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.005144/0.6432, allocations: 1.377 MB / 465.6 MB, free: 480 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.6433, allocations: 8.031 kB / 465.6 MB, free: 472 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001915/0.6452, allocations: 202.3 kB / 465.8 MB, free: 268 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.6477, allocations: 0.6919 MB / 466.5 MB, free: 15.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.07e-05/0.6478, allocations: 36 kB / 466.5 MB, free: 15.49 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003808/0.6482, allocations: 59.91 kB / 466.6 MB, free: 15.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004519/0.6527, allocations: 1.687 MB / 468.3 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00547/0.6582, allocations: 1.94 MB / 470.2 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.886e-05/0.6584, allocations: 7.938 kB / 470.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/0.6586, allocations: 7.953 kB / 470.2 MB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005151/0.6591, allocations: 201.9 kB / 470.4 MB, free: 11.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01353/0.6726, allocations: 7.452 MB / 477.9 MB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.6737, allocations: 410.6 kB / 478.3 MB, free: 3.363 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.6743, allocations: 232.8 kB / 478.5 MB, free: 3.133 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002263/0.6766, allocations: 1.738 MB / 480.2 MB, free: 1.117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.496e-05/0.6766, allocations: 38.56 kB / 480.3 MB, free: 1.07 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.346e-06/0.6767, allocations: 0 / 480.3 MB, free: 1.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.3146/0.9913, allocations: 1.996 MB / 482.3 MB, free: 107.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.9914, allocations: 57.47 kB / 482.3 MB, free: 107.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/0.9928, allocations: 0.6525 MB / 483 MB, free: 107.4 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 9.126e-05/0.993, allocations: 27.05 kB / 483 MB, free: 107.4 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005972/0.9936, allocations: 0.666 MB / 483.7 MB, free: 107.1 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002461/0.9938, allocations: 209.4 kB / 483.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.649e-05/0.9939, allocations: 0 / 483.9 MB, free: 106.9 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.9941, allocations: 391 kB / 484.2 MB, free: 106.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007675/0.9949, allocations: 334.3 kB / 484.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001128/0.996, allocations: 0.9453 MB / 485.5 MB, free: 105.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.9972, allocations: 0.5468 MB / 486.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.861e-05/0.9973, allocations: 6.75 kB / 486.1 MB, free: 105.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002648/0.9999, allocations: 1.201 MB / 487.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/1, allocations: 16.22 kB / 487.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/1, allocations: 22.69 kB / 487.3 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.677e-05/1, allocations: 36.98 kB / 487.4 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002182/1.002, allocations: 319.9 kB / 487.7 MB, free: 105.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001/1.003, allocations: 1.315 MB / 489 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/1.005, allocations: 33.45 kB / 489 MB, free: 104.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/1.005, allocations: 67.25 kB / 489.1 MB, free: 104.5 MB / 410.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.0002733/1.005, allocations: 173.2 kB / 489.2 MB, free: 104.3 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00122/1.006, allocations: 0.5708 MB / 489.8 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/1.006, allocations: 80.64 kB / 489.9 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000265/1.007, allocations: 95.02 kB / 490 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/1.007, allocations: 10.5 kB / 490 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.007, allocations: 0 / 490 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.936e-06/1.007, allocations: 3.703 kB / 490 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/1.011, allocations: 1.829 MB / 491.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.011, allocations: 8.469 kB / 491.8 MB, free: 103.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009946/1.012, allocations: 131.3 kB / 492 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/1.012, allocations: 11 kB / 492 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/1.012, allocations: 7.656 kB / 492 MB, free: 103.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008658/1.013, allocations: 1.283 MB / 493.3 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-05/1.013, allocations: 15.16 kB / 493.3 MB, free: 102.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/1.015, allocations: 1.07 MB / 494.4 MB, free: 101.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/1.015, allocations: 192.2 kB / 494.5 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/1.015, allocations: 11.77 kB / 494.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005399/1.016, allocations: 14.19 kB / 494.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/1.016, allocations: 52.42 kB / 494.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.023e-05/1.016, allocations: 25.91 kB / 494.6 MB, free: 101.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0007401/1.017, allocations: 459 kB / 495.1 MB, free: 101.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.017, allocations: 4 kB / 495.1 MB, free: 101.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001675/1.018, allocations: 179.9 kB / 495.3 MB, free: 101.3 MB / 410.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.001917/1.02, allocations: 3.415 MB / 498.7 MB, free: 98.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001981/1.022, allocations: 0.7723 MB / 499.5 MB, free: 97.91 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.195e-06/1.022, allocations: 0 / 499.5 MB, free: 97.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005891/1.023, allocations: 247.6 kB / 499.7 MB, free: 97.84 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000869/1.024, allocations: 86.03 kB / 499.8 MB, free: 97.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004885/1.029, allocations: 1.846 MB / 0.4899 GB, free: 96.93 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/1.03, allocations: 1.239 MB / 0.4911 GB, free: 96.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001479/1.031, allocations: 326.2 kB / 0.4914 GB, free: 96.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007128/1.032, allocations: 393.8 kB / 0.4918 GB, free: 95.8 MB / 410.7 MB Notification: Performance of SimCode: time 1.843e-06/1.032, allocations: 3.625 kB / 0.4918 GB, free: 95.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07211/1.104, allocations: 14.72 MB / 0.5061 GB, free: 87.25 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/1.105, allocations: 151.8 kB / 0.5063 GB, free: 87.05 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.919/4.024, allocations: 0 / 0.5063 GB, free: 87.05 MB / 410.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