Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.244/2.244, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.725e-05/3.751e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.136, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5125/0.6486, allocations: 89.21 MB / 411.1 MB, free: 284 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003168/0.649, allocations: 71.97 kB / 411.2 MB, free: 212 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4009/1.05, allocations: 86.37 MB / 497.5 MB, free: 9.145 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/1.05, allocations: 0 / 497.5 MB, free: 9.145 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000205/1.05, allocations: 75.98 kB / 497.6 MB, free: 9.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01531/1.066, allocations: 3.693 MB / 0.4895 GB, free: 5.312 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.822e-05/1.066, allocations: 12.03 kB / 0.4896 GB, free: 5.301 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003503/1.069, allocations: 0.7792 MB / 0.4903 GB, free: 4.512 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02914/1.098, allocations: 3.644 MB / 0.4939 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3097/1.408, allocations: 4.91 MB / 0.4987 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005135/1.409, allocations: 293.5 kB / 0.499 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002778/1.411, allocations: 391.9 kB / 0.4993 GB, free: 100.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03452/1.446, allocations: 10.22 MB / 0.5093 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002864/1.446, allocations: 30.89 kB / 0.5093 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002476/1.449, allocations: 182.3 kB / 0.5095 GB, free: 98.77 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00313/1.452, allocations: 1.191 MB / 0.5107 GB, free: 98.76 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02955/1.482, allocations: 9.888 MB / 0.5203 GB, free: 98.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1093/1.591, allocations: 36.46 MB / 0.5559 GB, free: 77.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02912/1.62, allocations: 4.346 MB / 0.5602 GB, free: 75.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004764/1.625, allocations: 2.16 MB / 0.5623 GB, free: 74.43 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00165/1.627, allocations: 1.325 MB / 0.5636 GB, free: 73.24 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/1.627, allocations: 51.81 kB / 0.5636 GB, free: 73.19 MB / 426.7 MB Notification: Performance of pre-optimization done (n=245): time 6.623e-06/1.627, allocations: 0 / 0.5636 GB, free: 73.19 MB / 426.7 MB Notification: Performance of matching and sorting (n=261): time 0.05842/1.685, allocations: 14.31 MB / 0.5776 GB, free: 67.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001305/1.687, allocations: 1.524 MB / 0.5791 GB, free: 65.43 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005261/1.692, allocations: 2.446 MB / 0.5815 GB, free: 63.25 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005634/1.693, allocations: 58.88 kB / 0.5815 GB, free: 63.19 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002062/1.695, allocations: 2.729 MB / 0.5842 GB, free: 60.75 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.696, allocations: 0.9528 MB / 0.5851 GB, free: 59.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/1.697, allocations: 109.1 kB / 0.5852 GB, free: 59.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005626/1.698, allocations: 0.5526 MB / 0.5858 GB, free: 59.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005846/1.703, allocations: 2.365 MB / 0.5881 GB, free: 57.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00778/1.711, allocations: 5.347 MB / 0.5933 GB, free: 50.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/1.719, allocations: 3.598 MB / 0.5968 GB, free: 47.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-05/1.719, allocations: 28 kB / 0.5968 GB, free: 47.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.02584/1.745, allocations: 8.403 MB / 0.6051 GB, free: 40.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/1.745, allocations: 51.89 kB / 0.6051 GB, free: 40.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01294/1.758, allocations: 3.859 MB / 0.6089 GB, free: 37.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00775/1.766, allocations: 1.249 MB / 0.6101 GB, free: 36.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008058/1.774, allocations: 1.284 MB / 0.6113 GB, free: 35.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/1.78, allocations: 4.117 MB / 0.6154 GB, free: 31.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006391/1.786, allocations: 387.7 kB / 0.6157 GB, free: 31.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.788, allocations: 323.7 kB / 0.616 GB, free: 30.97 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 479 * Number of states: 0 () * Number of discrete variables: 21 (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.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (688): * Single equations (assignments): 676 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001186/1.789, allocations: 0.5039 MB / 0.6165 GB, free: 30.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006591/1.789, allocations: 280.5 kB / 0.6168 GB, free: 30.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01764/1.807, allocations: 5.344 MB / 0.622 GB, free: 25.85 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0161/1.823, allocations: 4.589 MB / 0.6265 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.822e-05/1.823, allocations: 0 / 0.6265 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.162e-05/1.823, allocations: 23.73 kB / 0.6265 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04105/1.864, allocations: 14.57 MB / 0.6408 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.793e-05/1.864, allocations: 12 kB / 0.6408 GB, free: 6.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003821/1.868, allocations: 423.3 kB / 0.6412 GB, free: 6.406 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007701/1.876, allocations: 1.186 MB / 0.6423 GB, free: 5.207 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005847/1.877, allocations: 63.97 kB / 0.6424 GB, free: 5.145 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006609/1.883, allocations: 4.44 MB / 0.6467 GB, free: 456 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001472/1.885, allocations: 1.474 MB / 0.6482 GB, free: 14.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02492/1.91, allocations: 8.766 MB / 0.6567 GB, free: 5.633 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.911, allocations: 345.4 kB / 0.6571 GB, free: 5.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.912, allocations: 55.98 kB / 0.6571 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003434/1.916, allocations: 191.6 kB / 0.6573 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007852/1.917, allocations: 173.6 kB / 0.6575 GB, free: 4.859 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003117/1.917, allocations: 75.97 kB / 0.6575 GB, free: 4.785 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005165/1.922, allocations: 1.661 MB / 0.6592 GB, free: 3.113 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.922, allocations: 0 / 0.6592 GB, free: 3.113 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007192/1.929, allocations: 1.053 MB / 0.6602 GB, free: 2.066 MB / 442.7 MB 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 (202): * Single equations (assignments): 192 * 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.3253/2.255, allocations: 11.91 MB / 0.6718 GB, free: 102.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01792/2.273, allocations: 6.187 MB / 0.6779 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.648e-05/2.273, allocations: 1.062 kB / 0.6779 GB, free: 101.8 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009264/2.282, allocations: 2.826 MB / 0.6806 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003272/2.285, allocations: 352.2 kB / 0.6809 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03375/2.319, allocations: 10.54 MB / 0.6912 GB, free: 99.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007352/2.327, allocations: 3.393 MB / 0.6946 GB, free: 98.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009348/2.336, allocations: 2.102 MB / 0.6966 GB, free: 98.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004527/2.34, allocations: 1.81 MB / 0.6984 GB, free: 98.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.673e-06/2.341, allocations: 3.5 kB / 0.6984 GB, free: 98.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1568/2.497, allocations: 70.17 MB / 0.7669 GB, free: 59.96 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/2.498, allocations: 186.8 kB / 0.7671 GB, free: 59.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.704/7.202, allocations: 0 / 0.7671 GB, free: 59.73 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat