Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.38/2.38, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.292e-05/4.295e-05, allocations: 4.938 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4247, allocations: 54.85 MB / 359.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1681/0.5928, allocations: 90.95 MB / 450.8 MB, free: 5.996 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5931, allocations: 71.97 kB / 450.9 MB, free: 5.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08904/0.6822, allocations: 19.9 MB / 470.8 MB, free: 1.93 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.6823, allocations: 0 / 470.8 MB, free: 1.93 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.207e-05/0.6824, allocations: 28.92 kB / 470.8 MB, free: 1.902 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.004686/0.687, allocations: 1.373 MB / 472.2 MB, free: 492 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6871, allocations: 8.031 kB / 472.2 MB, free: 484 kB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006264/0.6878, allocations: 194.2 kB / 472.4 MB, free: 280 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.6894, allocations: 202.3 kB / 472.6 MB, free: 76 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002328/0.6918, allocations: 0.6919 MB / 473.3 MB, free: 15.34 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-05/0.6919, allocations: 74.05 kB / 473.3 MB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/0.6923, allocations: 108 kB / 473.5 MB, free: 15.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009688/0.702, allocations: 2.633 MB / 476.1 MB, free: 12.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/0.7021, allocations: 7.938 kB / 476.1 MB, free: 12.35 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002007/0.7023, allocations: 52.5 kB / 476.1 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004656/0.7028, allocations: 205.8 kB / 476.3 MB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009681/0.7125, allocations: 2.346 MB / 478.7 MB, free: 9.754 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01508/0.7276, allocations: 8.523 MB / 487.2 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007383/0.7351, allocations: 0.9948 MB / 488.2 MB, free: 15.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006563/0.7358, allocations: 252.7 kB / 488.5 MB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002278/0.7381, allocations: 1.735 MB / 490.2 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.7382, allocations: 39.28 kB / 490.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of pre-optimization done (n=44): time 3.667e-06/0.7382, allocations: 0 / 490.2 MB, free: 13.65 MB / 426.7 MB Notification: Performance of matching and sorting (n=58): time 0.01971/0.7579, allocations: 2.703 MB / 492.9 MB, free: 10.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.758, allocations: 55.97 kB / 493 MB, free: 10.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.7597, allocations: 0.7771 MB / 493.8 MB, free: 10.08 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.039e-05/0.7598, allocations: 33.7 kB / 493.8 MB, free: 10.04 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005755/0.7604, allocations: 0.6746 MB / 494.5 MB, free: 9.359 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.7606, allocations: 213.1 kB / 494.7 MB, free: 9.148 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.13e-05/0.7607, allocations: 24 kB / 494.7 MB, free: 9.125 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002208/0.7609, allocations: 366.8 kB / 495.1 MB, free: 8.758 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009095/0.7619, allocations: 346.5 kB / 495.4 MB, free: 8.418 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001359/0.7632, allocations: 0.9426 MB / 496.3 MB, free: 7.176 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.7646, allocations: 0.569 MB / 496.9 MB, free: 6.605 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.435e-05/0.7646, allocations: 8 kB / 496.9 MB, free: 6.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003152/0.7678, allocations: 1.253 MB / 498.2 MB, free: 5.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.288e-05/0.7679, allocations: 16 kB / 498.2 MB, free: 5.324 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.094e-05/0.7679, allocations: 20 kB / 498.2 MB, free: 5.305 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.383e-05/0.768, allocations: 35.94 kB / 498.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/0.7703, allocations: 311.5 kB / 498.6 MB, free: 4.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/0.7717, allocations: 1.368 MB / 499.9 MB, free: 3.461 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.773, allocations: 55.89 kB / 500 MB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001241/0.7731, allocations: 60.16 kB / 0.4883 GB, free: 3.348 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.0003174/0.7734, allocations: 215.5 kB / 0.4885 GB, free: 3.129 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001695/0.7736, allocations: 82.92 kB / 0.4886 GB, free: 3.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/0.774, allocations: 116.4 kB / 0.4887 GB, free: 2.934 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/0.774, allocations: 8 kB / 0.4887 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.774, allocations: 0 / 0.4887 GB, free: 2.926 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.774, allocations: 3.984 kB / 0.4887 GB, free: 2.922 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005549/0.7796, allocations: 2.125 MB / 0.4908 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.7796, allocations: 4 kB / 0.4908 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001067/0.7807, allocations: 131.7 kB / 0.4909 GB, free: 0.5273 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.773e-05/0.7807, allocations: 12 kB / 0.4909 GB, free: 0.5156 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.18e-05/0.7808, allocations: 19.94 kB / 0.491 GB, free: 0.4961 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001197/0.782, allocations: 1.337 MB / 0.4923 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/0.7821, allocations: 11.95 kB / 0.4923 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001753/0.7838, allocations: 1.119 MB / 0.4934 GB, free: 13.64 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/0.7843, allocations: 203.9 kB / 0.4936 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.7844, allocations: 19.98 kB / 0.4936 GB, free: 13.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006327/0.7851, allocations: 20 kB / 0.4936 GB, free: 13.38 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.7852, allocations: 51.84 kB / 0.4936 GB, free: 13.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.624e-05/0.7853, allocations: 20 kB / 0.4937 GB, free: 13.31 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001268/0.7866, allocations: 0.5694 MB / 0.4942 GB, free: 12.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7866, allocations: 0 / 0.4942 GB, free: 12.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001501/0.7881, allocations: 216 kB / 0.4944 GB, free: 12.53 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.002725/0.7908, allocations: 3.476 MB / 0.4978 GB, free: 8.852 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.7932, allocations: 0.8076 MB / 0.4986 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/0.7933, allocations: 0 / 0.4986 GB, free: 8.047 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.7941, allocations: 281.1 kB / 0.4989 GB, free: 7.773 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.7951, allocations: 123.1 kB / 0.499 GB, free: 7.652 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00599/0.8012, allocations: 2.021 MB / 0.501 GB, free: 5.508 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/0.8025, allocations: 1.232 MB / 0.5022 GB, free: 4.246 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009443/0.8035, allocations: 403.3 kB / 0.5026 GB, free: 3.852 MB / 442.7 MB Notification: Performance of SimCode: time 1.412e-06/0.8035, allocations: 0 / 0.5026 GB, free: 3.852 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.324/4.127, allocations: 21.07 MB / 0.5231 GB, free: 134.3 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.SphericalSpherical_res.mat does not exist to compare? outputFormat=mat