Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 270 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.394e-05/3.43e-05, allocations: 11.17 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1333, allocations: 61.89 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5651/0.6985, allocations: 103.4 MB / 0.5017 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/0.6989, allocations: 79.95 kB / 0.5018 GB, free: 440 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4197/1.119, allocations: 86.42 MB / 0.5862 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.565e-06/1.119, allocations: 0 / 0.5862 GB, free: 9.344 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001981/1.119, allocations: 68 kB / 0.5863 GB, free: 9.277 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1512 * Number of variables: 1512 Notification: Performance of Generate backend data structure: time 0.01415/1.133, allocations: 3.621 MB / 0.5898 GB, free: 5.598 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/1.133, allocations: 8.031 kB / 0.5898 GB, free: 5.59 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003452/1.137, allocations: 0.7585 MB / 0.5906 GB, free: 4.82 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02888/1.166, allocations: 3.629 MB / 0.5941 GB, free: 1.18 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0191/1.185, allocations: 4.756 MB / 0.5987 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004447/1.185, allocations: 283.4 kB / 0.599 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002697/1.188, allocations: 379.8 kB / 0.5994 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03284/1.221, allocations: 9.959 MB / 0.6091 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002553/1.221, allocations: 27.8 kB / 0.6091 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002437/1.224, allocations: 171.9 kB / 0.6093 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.3587/1.582, allocations: 1.156 MB / 0.6104 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03157/1.614, allocations: 9.637 MB / 0.6198 GB, free: 126.6 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07594/1.69, allocations: 35.7 MB / 0.6547 GB, free: 110.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/1.702, allocations: 4.246 MB / 0.6588 GB, free: 108 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004652/1.707, allocations: 2.125 MB / 0.6609 GB, free: 107.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001602/1.708, allocations: 1.317 MB / 0.6622 GB, free: 106.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/1.708, allocations: 55.5 kB / 0.6623 GB, free: 106 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=236): time 6.673e-06/1.708, allocations: 0 / 0.6623 GB, free: 106 MB / 0.5105 GB Notification: Performance of matching and sorting (n=252): time 0.05686/1.765, allocations: 14.03 MB / 0.676 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001374/1.767, allocations: 1.532 MB / 0.6774 GB, free: 100.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00516/1.772, allocations: 2.394 MB / 0.6798 GB, free: 99.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005786/1.772, allocations: 58.17 kB / 0.6798 GB, free: 99.49 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00213/1.775, allocations: 2.667 MB / 0.6824 GB, free: 97.62 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001438/1.776, allocations: 0.9195 MB / 0.6833 GB, free: 96.94 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000672/1.777, allocations: 107.4 kB / 0.6834 GB, free: 96.86 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.00044/1.777, allocations: 0.5452 MB / 0.684 GB, free: 96.45 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005651/1.783, allocations: 2.327 MB / 0.6862 GB, free: 95.72 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007568/1.791, allocations: 5.238 MB / 0.6914 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008081/1.799, allocations: 3.554 MB / 0.6948 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001313/1.799, allocations: 30.22 kB / 0.6949 GB, free: 90.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=731) (initialization): time 0.03573/1.835, allocations: 8.925 MB / 0.7036 GB, free: 85.34 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/1.835, allocations: 48 kB / 0.7036 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02144/1.856, allocations: 4.464 MB / 0.708 GB, free: 81.87 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01914/1.875, allocations: 2.056 MB / 0.71 GB, free: 80.64 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007799/1.883, allocations: 1.249 MB / 0.7112 GB, free: 79.57 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01027/1.894, allocations: 4.931 MB / 0.716 GB, free: 75.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006231/1.9, allocations: 386 kB / 0.7164 GB, free: 74.76 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001045/1.901, allocations: 314.8 kB / 0.7167 GB, free: 74.46 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 26 (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],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (669): * Single equations (assignments): 657 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001093/1.902, allocations: 0.4965 MB / 0.7172 GB, free: 73.96 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007075/1.903, allocations: 280.4 kB / 0.7175 GB, free: 73.69 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01563/1.918, allocations: 5.225 MB / 0.7226 GB, free: 69.48 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01443/1.933, allocations: 4.503 MB / 0.727 GB, free: 65.81 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.63e-05/1.933, allocations: 9.562 kB / 0.727 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.757e-05/1.933, allocations: 15.34 kB / 0.727 GB, free: 65.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03923/1.972, allocations: 14.29 MB / 0.7409 GB, free: 53.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.754e-05/1.972, allocations: 8 kB / 0.7409 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003531/1.976, allocations: 407.3 kB / 0.7413 GB, free: 53.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007787/1.984, allocations: 1.193 MB / 0.7425 GB, free: 52 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005772/1.984, allocations: 62.62 kB / 0.7426 GB, free: 51.94 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006458/1.991, allocations: 4.432 MB / 0.7469 GB, free: 47.25 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001064/1.992, allocations: 1.463 MB / 0.7483 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02048/2.012, allocations: 8.613 MB / 0.7567 GB, free: 36.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008887/2.013, allocations: 337.5 kB / 0.757 GB, free: 36.26 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008489/2.014, allocations: 52.69 kB / 0.7571 GB, free: 36.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003134/2.017, allocations: 192.6 kB / 0.7573 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006308/2.018, allocations: 170.4 kB / 0.7574 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/2.018, allocations: 79.88 kB / 0.7575 GB, free: 35.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003484/2.022, allocations: 1.624 MB / 0.7591 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.52e-07/2.022, allocations: 0 / 0.7591 GB, free: 34.15 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006593/2.028, allocations: 1.051 MB / 0.7601 GB, free: 33.11 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 182 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0222/2.051, allocations: 11.77 MB / 0.7716 GB, free: 21.01 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01516/2.066, allocations: 6.105 MB / 0.7776 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/2.066, allocations: 0 / 0.7776 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007457/2.073, allocations: 2.783 MB / 0.7803 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002708/2.076, allocations: 351.8 kB / 0.7806 GB, free: 11.69 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02665/2.103, allocations: 10.27 MB / 0.7907 GB, free: 1.293 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007017/2.11, allocations: 3.323 MB / 0.7939 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00916/2.119, allocations: 2.067 MB / 0.7959 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00474/2.124, allocations: 1.737 MB / 0.7976 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of SimCode: time 1.653e-06/2.124, allocations: 0 / 0.7976 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6573/2.781, allocations: 70.43 MB / 0.8664 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002853/2.782, allocations: 183.7 kB / 0.8666 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.782/7.564, allocations: 0 / 0.8666 GB, free: 122.3 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat