Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Revolute,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Joints_Revolute",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.953/1.953, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.658e-05, allocations: 4 kB / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1024/0.1024, allocations: 48.69 MB / 316.3 MB, free: 4.535 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4266/0.5291, allocations: 88.71 MB / 405 MB, free: 3.777 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002566/0.5294, allocations: 77.16 kB / 405.1 MB, free: 3.742 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3591/0.8885, allocations: 84.04 MB / 489.1 MB, free: 2.984 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.8886, allocations: 0 / 489.1 MB, free: 2.984 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001945/0.8888, allocations: 71.94 kB / 489.2 MB, free: 2.914 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1567 * Number of variables: 1567 Notification: Performance of Generate backend data structure: time 0.286/1.175, allocations: 3.648 MB / 492.8 MB, free: 91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/1.175, allocations: 9.375 kB / 492.8 MB, free: 91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02896/1.204, allocations: 3.508 MB / 496.4 MB, free: 90.73 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01782/1.222, allocations: 4.139 MB / 0.4888 GB, free: 90.48 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/1.222, allocations: 124.7 kB / 0.4889 GB, free: 90.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003023/1.225, allocations: 221 kB / 0.4891 GB, free: 90.48 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01899/1.244, allocations: 7.264 MB / 0.4962 GB, free: 90.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.026/1.27, allocations: 9.47 MB / 0.5054 GB, free: 89.22 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001825/1.271, allocations: 36.2 kB / 0.5055 GB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001672/1.272, allocations: 15 kB / 0.5055 GB, free: 89.21 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002633/1.275, allocations: 1.205 MB / 0.5067 GB, free: 89.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06886/1.344, allocations: 32.98 MB / 0.5389 GB, free: 72.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006814/1.351, allocations: 4.167 MB / 0.5429 GB, free: 70.09 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004251/1.355, allocations: 2.236 MB / 0.5451 GB, free: 69.23 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00214/1.357, allocations: 1.876 MB / 0.547 GB, free: 67.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/1.357, allocations: 54.66 kB / 0.547 GB, free: 67.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=231): time 5.159e-06/1.357, allocations: 0 / 0.547 GB, free: 67.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=238): time 0.04167/1.399, allocations: 14.06 MB / 0.5607 GB, free: 59.66 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.972e-05/1.399, allocations: 73.41 kB / 0.5608 GB, free: 59.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/1.403, allocations: 2.237 MB / 0.563 GB, free: 57.61 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005126/1.404, allocations: 28.92 kB / 0.563 GB, free: 57.58 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.405, allocations: 2.8 MB / 0.5658 GB, free: 55.03 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001225/1.407, allocations: 0.8415 MB / 0.5666 GB, free: 54.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/1.407, allocations: 0 / 0.5666 GB, free: 54.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000369/1.408, allocations: 0.5537 MB / 0.5671 GB, free: 53.77 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004394/1.412, allocations: 2.125 MB / 0.5692 GB, free: 51.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006466/1.419, allocations: 5.252 MB / 0.5743 GB, free: 45.49 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007088/1.426, allocations: 3.374 MB / 0.5776 GB, free: 42.73 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001075/1.426, allocations: 32 kB / 0.5776 GB, free: 42.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=744) (initialization): time 0.02034/1.446, allocations: 7.404 MB / 0.5849 GB, free: 36.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.38e-05/1.446, allocations: 59.47 kB / 0.5849 GB, free: 36.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/1.447, allocations: 115.2 kB / 0.585 GB, free: 36.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003853/1.45, allocations: 0.8123 MB / 0.5858 GB, free: 35.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008051/1.458, allocations: 1.283 MB / 0.5871 GB, free: 34.54 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007608/1.466, allocations: 3.981 MB / 0.591 GB, free: 31.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005455/1.472, allocations: 204.5 kB / 0.5912 GB, free: 30.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00107/1.473, allocations: 323.8 kB / 0.5915 GB, free: 30.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 506 * Number of states: 0 () * Number of discrete variables: 24 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.color[3],axis.color[2],axis.color[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 (684): * Single equations (assignments): 677 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009945/1.474, allocations: 387.6 kB / 0.5919 GB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01043/1.484, allocations: 4.089 MB / 0.5958 GB, free: 26.75 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008028/1.485, allocations: 260.6 kB / 0.5961 GB, free: 26.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.498, allocations: 4.569 MB / 0.6006 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001278/1.498, allocations: 47.27 kB / 0.6006 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/1.498, allocations: 8 kB / 0.6006 GB, free: 22 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-05/1.498, allocations: 7.969 kB / 0.6006 GB, free: 21.99 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02571/1.524, allocations: 9.567 MB / 0.61 GB, free: 12.33 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.064e-05/1.524, allocations: 8.969 kB / 0.61 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003323/1.527, allocations: 371.4 kB / 0.6103 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00364/1.531, allocations: 0.6483 MB / 0.611 GB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005301/1.532, allocations: 15.98 kB / 0.611 GB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00669/1.538, allocations: 3.474 MB / 0.6144 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.13e-05/1.538, allocations: 12.06 kB / 0.6144 GB, free: 7.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01602/1.555, allocations: 7.588 MB / 0.6218 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002461/1.557, allocations: 0.6382 MB / 0.6224 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008861/1.558, allocations: 15.98 kB / 0.6224 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00261/1.561, allocations: 103.8 kB / 0.6225 GB, free: 15.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007554/1.561, allocations: 137 kB / 0.6227 GB, free: 14.88 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002639/1.562, allocations: 67.98 kB / 0.6227 GB, free: 14.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003621/1.565, allocations: 1.463 MB / 0.6241 GB, free: 13.34 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/1.565, allocations: 0 / 0.6241 GB, free: 13.34 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0068/1.572, allocations: 0.8304 MB / 0.625 GB, free: 12.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (181): * Single equations (assignments): 174 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02012/1.592, allocations: 10.12 MB / 0.6348 GB, free: 2.148 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2896/1.882, allocations: 5.178 MB / 0.6399 GB, free: 98.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-05/1.882, allocations: 1.094 kB / 0.6399 GB, free: 98.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004649/1.887, allocations: 1.955 MB / 0.6418 GB, free: 98.28 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002072/1.889, allocations: 212.7 kB / 0.642 GB, free: 98.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03005/1.919, allocations: 9.633 MB / 0.6514 GB, free: 96.56 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007628/1.927, allocations: 3.316 MB / 0.6547 GB, free: 95.78 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004756/1.931, allocations: 1.845 MB / 0.6565 GB, free: 95.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/1.931, allocations: 0 / 0.6565 GB, free: 95.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.91/5.842, allocations: 90.98 MB / 0.7453 GB, free: 44.33 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Joints.Revolute_res.mat does not exist to compare? outputFormat=mat