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 2.056/2.056, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.239e-05/4.276e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4357/0.548, allocations: 84.44 MB / 406.3 MB, free: 5.363 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.5484, allocations: 75.95 kB / 406.4 MB, free: 5.289 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08909/0.6375, allocations: 19.89 MB / 426.3 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.495e-06/0.6376, allocations: 4 kB / 426.3 MB, free: 1.281 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.224e-05/0.6377, allocations: 20 kB / 426.3 MB, free: 1.262 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.004935/0.6426, allocations: 1.373 MB / 427.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/0.6427, allocations: 8.031 kB / 427.7 MB, free: 15.83 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006457/0.6433, allocations: 194.2 kB / 427.9 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001625/0.645, allocations: 202.3 kB / 428 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002243/0.6472, allocations: 0.6918 MB / 428.7 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.283e-05/0.6474, allocations: 82.03 kB / 428.8 MB, free: 14.61 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.6477, allocations: 104 kB / 428.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009779/0.6575, allocations: 2.633 MB / 431.6 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.397e-05/0.6576, allocations: 11.88 kB / 431.6 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002048/0.6578, allocations: 43.98 kB / 431.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004745/0.6583, allocations: 201.9 kB / 431.8 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0099/0.6682, allocations: 2.346 MB / 434.2 MB, free: 9.109 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/0.6837, allocations: 8.527 MB / 442.7 MB, free: 324 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007383/0.6912, allocations: 0.9987 MB / 443.7 MB, free: 15.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006939/0.6919, allocations: 253.5 kB / 443.9 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002419/0.6944, allocations: 1.738 MB / 445.7 MB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.6945, allocations: 38.52 kB / 445.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.627e-06/0.6945, allocations: 0 / 445.7 MB, free: 12.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.02023/0.7147, allocations: 2.689 MB / 448.4 MB, free: 10.29 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.7148, allocations: 63.92 kB / 448.5 MB, free: 10.22 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001696/0.7165, allocations: 0.7731 MB / 449.2 MB, free: 9.441 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001204/0.7167, allocations: 37.64 kB / 449.3 MB, free: 9.398 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006035/0.7173, allocations: 0.6785 MB / 449.9 MB, free: 8.711 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002961/0.7176, allocations: 213.1 kB / 450.1 MB, free: 8.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.374e-05/0.7177, allocations: 20 kB / 450.2 MB, free: 8.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002007/0.7179, allocations: 362.8 kB / 450.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009776/0.7189, allocations: 358.5 kB / 450.9 MB, free: 7.766 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.7204, allocations: 0.9425 MB / 451.8 MB, free: 6.523 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001481/0.7219, allocations: 0.5651 MB / 452.4 MB, free: 5.961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-05/0.722, allocations: 8 kB / 452.4 MB, free: 5.953 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00334/0.7254, allocations: 1.245 MB / 453.6 MB, free: 4.699 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.28e-05/0.7254, allocations: 15.98 kB / 453.6 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/0.7255, allocations: 28 kB / 453.7 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.415e-05/0.7256, allocations: 32 kB / 453.7 MB, free: 4.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002369/0.7279, allocations: 315.5 kB / 454 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.7294, allocations: 1.368 MB / 455.4 MB, free: 2.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.7307, allocations: 56.05 kB / 455.4 MB, free: 2.766 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.7309, allocations: 68 kB / 455.5 MB, free: 2.699 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.0003245/0.7312, allocations: 203.5 kB / 455.7 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000188/0.7314, allocations: 82.97 kB / 455.8 MB, free: 2.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003077/0.7317, allocations: 116.4 kB / 455.9 MB, free: 2.297 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7317, allocations: 4 kB / 455.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.7318, allocations: 0 / 455.9 MB, free: 2.293 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.154e-05/0.7318, allocations: 7.938 kB / 455.9 MB, free: 2.285 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005824/0.7376, allocations: 2.129 MB / 458 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/0.7377, allocations: 11.94 kB / 458.1 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001098/0.7388, allocations: 123.9 kB / 458.2 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.326e-05/0.7388, allocations: 11.98 kB / 458.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.7389, allocations: 20 kB / 458.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/0.7401, allocations: 1.345 MB / 459.5 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.878e-06/0.7401, allocations: 8.094 kB / 459.6 MB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.742, allocations: 1.12 MB / 460.7 MB, free: 12.98 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004944/0.7425, allocations: 203.9 kB / 460.9 MB, free: 12.77 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001545/0.7427, allocations: 20 kB / 460.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000584/0.7433, allocations: 19.98 kB / 460.9 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.7434, allocations: 59.8 kB / 461 MB, free: 12.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.7435, allocations: 16 kB / 461 MB, free: 12.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.7448, allocations: 0.5733 MB / 461.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.7448, allocations: 0 / 461.6 MB, free: 12.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001752/0.7466, allocations: 220 kB / 461.8 MB, free: 11.87 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.002948/0.7496, allocations: 3.467 MB / 465.2 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.7521, allocations: 0.8115 MB / 466.1 MB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.176e-05/0.7522, allocations: 4 kB / 466.1 MB, free: 7.383 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008574/0.753, allocations: 273.1 kB / 466.3 MB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.7541, allocations: 111.3 kB / 466.4 MB, free: 7.012 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006129/0.7602, allocations: 2.025 MB / 468.5 MB, free: 4.863 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.7617, allocations: 1.232 MB / 469.7 MB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000943/0.7626, allocations: 399.3 kB / 470.1 MB, free: 3.215 MB / 394.7 MB Notification: Performance of SimCode: time 1.503e-06/0.7627, allocations: 0 / 470.1 MB, free: 3.215 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.12/3.882, allocations: 21.08 MB / 491.2 MB, free: 14.12 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