Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.464/2.464, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.584e-05, allocations: 4 kB / 347.1 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.411, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.5941, allocations: 99.76 MB / 0.4968 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002682/0.5944, allocations: 79.95 kB / 0.4968 GB, free: 6.781 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09164/0.6861, allocations: 20.83 MB / 0.5172 GB, free: 1.82 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.686e-06/0.6861, allocations: 0 / 0.5172 GB, free: 1.82 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.85e-05/0.6862, allocations: 20 kB / 0.5172 GB, free: 1.801 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004459/0.6907, allocations: 1.384 MB / 0.5186 GB, free: 376 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.007e-05/0.6908, allocations: 16.02 kB / 0.5186 GB, free: 360 kB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005204/0.6913, allocations: 194.2 kB / 0.5188 GB, free: 156 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3487/1.04, allocations: 207.2 kB / 0.519 GB, free: 102.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/1.043, allocations: 0.7051 MB / 0.5196 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001423/1.043, allocations: 81.41 kB / 0.5197 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005466/1.044, allocations: 104.5 kB / 0.5198 GB, free: 102.6 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01034/1.054, allocations: 2.653 MB / 0.5224 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.509e-05/1.054, allocations: 8.75 kB / 0.5224 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001909/1.054, allocations: 45.23 kB / 0.5225 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004679/1.055, allocations: 209.1 kB / 0.5227 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009425/1.064, allocations: 2.352 MB / 0.525 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01228/1.076, allocations: 8.629 MB / 0.5334 GB, free: 96.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006738/1.083, allocations: 0.989 MB / 0.5344 GB, free: 96.61 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005709/1.084, allocations: 254.5 kB / 0.5346 GB, free: 96.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001781/1.086, allocations: 1.736 MB / 0.5363 GB, free: 95.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/1.086, allocations: 45.66 kB / 0.5363 GB, free: 94.98 MB / 442.7 MB Notification: Performance of pre-optimization done (n=44): time 2.665e-06/1.086, allocations: 0 / 0.5363 GB, free: 94.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=58): time 0.01846/1.104, allocations: 2.695 MB / 0.539 GB, free: 94.44 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/1.104, allocations: 59.8 kB / 0.539 GB, free: 94.38 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/1.106, allocations: 0.7987 MB / 0.5398 GB, free: 94.03 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.732e-05/1.106, allocations: 36.36 kB / 0.5398 GB, free: 93.99 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003795/1.106, allocations: 0.6854 MB / 0.5405 GB, free: 93.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001891/1.106, allocations: 213.5 kB / 0.5407 GB, free: 93.26 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-05/1.106, allocations: 22.62 kB / 0.5407 GB, free: 93.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001094/1.107, allocations: 372.9 kB / 0.5411 GB, free: 92.91 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007951/1.107, allocations: 351.8 kB / 0.5414 GB, free: 92.8 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001055/1.108, allocations: 0.9728 MB / 0.5424 GB, free: 91.82 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001107/1.11, allocations: 0.5742 MB / 0.5429 GB, free: 91.61 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.418e-05/1.11, allocations: 6.719 kB / 0.5429 GB, free: 91.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002634/1.112, allocations: 1.264 MB / 0.5442 GB, free: 91.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.238e-05/1.112, allocations: 12.91 kB / 0.5442 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.822e-05/1.112, allocations: 24.5 kB / 0.5442 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.646e-05/1.112, allocations: 32.22 kB / 0.5442 GB, free: 91.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.115, allocations: 320.6 kB / 0.5445 GB, free: 91.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/1.116, allocations: 1.377 MB / 0.5459 GB, free: 89.65 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/1.117, allocations: 59.19 kB / 0.5459 GB, free: 89.59 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.117, allocations: 64.16 kB / 0.546 GB, free: 89.53 MB / 442.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: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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.0002671/1.117, allocations: 219.2 kB / 0.5462 GB, free: 89.32 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/1.117, allocations: 86.91 kB / 0.5463 GB, free: 89.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002774/1.118, allocations: 114.8 kB / 0.5464 GB, free: 89.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.714e-06/1.118, allocations: 4 kB / 0.5464 GB, free: 89.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/1.118, allocations: 5.906 kB / 0.5464 GB, free: 89.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/1.118, allocations: 3.797 kB / 0.5464 GB, free: 89.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004846/1.123, allocations: 2.127 MB / 0.5485 GB, free: 87.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.123, allocations: 13.83 kB / 0.5485 GB, free: 87.22 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.124, allocations: 127.3 kB / 0.5486 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.63e-05/1.124, allocations: 8 kB / 0.5486 GB, free: 87.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.511e-05/1.124, allocations: 20 kB / 0.5487 GB, free: 87.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008723/1.125, allocations: 1.337 MB / 0.55 GB, free: 85.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/1.125, allocations: 8 kB / 0.55 GB, free: 85.65 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/1.126, allocations: 1.13 MB / 0.5511 GB, free: 84.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002505/1.126, allocations: 163.7 kB / 0.5512 GB, free: 84.14 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001332/1.127, allocations: 23.89 kB / 0.5513 GB, free: 84.12 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006132/1.127, allocations: 16 kB / 0.5513 GB, free: 84.11 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.959e-05/1.127, allocations: 62.42 kB / 0.5513 GB, free: 84.06 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.89e-05/1.127, allocations: 20 kB / 0.5514 GB, free: 84.04 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001017/1.128, allocations: 0.5857 MB / 0.5519 GB, free: 83.52 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.128, allocations: 0 / 0.5519 GB, free: 83.52 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00142/1.13, allocations: 216 kB / 0.5521 GB, free: 83.3 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.001922/1.132, allocations: 3.467 MB / 0.5555 GB, free: 79.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002022/1.134, allocations: 0.8221 MB / 0.5563 GB, free: 78.95 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.134, allocations: 0 / 0.5563 GB, free: 78.95 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007178/1.135, allocations: 274.9 kB / 0.5566 GB, free: 78.71 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009782/1.136, allocations: 118 kB / 0.5567 GB, free: 78.61 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/1.141, allocations: 2.045 MB / 0.5587 GB, free: 76.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.142, allocations: 1.242 MB / 0.5599 GB, free: 75.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007756/1.143, allocations: 410.4 kB / 0.5603 GB, free: 75.27 MB / 442.7 MB Notification: Performance of SimCode: time 1.573e-06/1.143, allocations: 0 / 0.5603 GB, free: 75.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.992/4.135, allocations: 21.46 MB / 0.5813 GB, free: 55.16 MB / 442.7 MB