Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotion,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.119e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4137, allocations: 54.85 MB / 359.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2036/0.6174, allocations: 95.94 MB / 455.8 MB, free: 0.8711 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003425/0.6178, allocations: 77.17 kB / 455.9 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7567/1.374, allocations: 86.55 MB / 0.5297 GB, free: 107 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.926e-06/1.375, allocations: 0 / 0.5297 GB, free: 107 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002259/1.375, allocations: 73.58 kB / 0.5298 GB, free: 107 MB / 458.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.01591/1.391, allocations: 3.703 MB / 0.5334 GB, free: 105.4 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.757e-05/1.391, allocations: 9.625 kB / 0.5334 GB, free: 105.4 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004012/1.395, allocations: 0.778 MB / 0.5342 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02969/1.425, allocations: 3.65 MB / 0.5378 GB, free: 105.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01997/1.445, allocations: 4.935 MB / 0.5426 GB, free: 104.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006299/1.445, allocations: 297.2 kB / 0.5429 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003002/1.448, allocations: 391 kB / 0.5432 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0326/1.481, allocations: 10.22 MB / 0.5532 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003239/1.481, allocations: 36.31 kB / 0.5532 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002816/1.484, allocations: 175.4 kB / 0.5534 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/1.487, allocations: 1.19 MB / 0.5546 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02739/1.514, allocations: 9.887 MB / 0.5642 GB, free: 101.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07791/1.592, allocations: 36.47 MB / 0.5998 GB, free: 79.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01752/1.61, allocations: 4.347 MB / 0.6041 GB, free: 77.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006467/1.617, allocations: 2.171 MB / 0.6062 GB, free: 75.07 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002105/1.619, allocations: 1.316 MB / 0.6075 GB, free: 73.63 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.315e-05/1.619, allocations: 52.56 kB / 0.6075 GB, free: 73.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=245): time 9.838e-06/1.619, allocations: 0 / 0.6075 GB, free: 73.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=261): time 0.06137/1.68, allocations: 14.29 MB / 0.6215 GB, free: 61.45 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001387/1.682, allocations: 1.527 MB / 0.623 GB, free: 59.82 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00603/1.688, allocations: 2.437 MB / 0.6254 GB, free: 57.66 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006519/1.689, allocations: 65.45 kB / 0.6254 GB, free: 57.59 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002404/1.691, allocations: 2.729 MB / 0.6281 GB, free: 55.15 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001518/1.693, allocations: 0.9518 MB / 0.629 GB, free: 54.31 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007279/1.693, allocations: 120 kB / 0.6291 GB, free: 54.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004609/1.694, allocations: 0.5493 MB / 0.6297 GB, free: 53.7 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006042/1.7, allocations: 2.38 MB / 0.632 GB, free: 51.57 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008007/1.708, allocations: 5.358 MB / 0.6372 GB, free: 45.08 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008173/1.716, allocations: 3.62 MB / 0.6408 GB, free: 41.99 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/1.716, allocations: 32 kB / 0.6408 GB, free: 41.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03564/1.752, allocations: 9.077 MB / 0.6497 GB, free: 32.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.975e-05/1.752, allocations: 53.7 kB / 0.6497 GB, free: 32.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02189/1.774, allocations: 4.536 MB / 0.6541 GB, free: 28.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01892/1.793, allocations: 2.059 MB / 0.6562 GB, free: 26.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008177/1.801, allocations: 1.287 MB / 0.6574 GB, free: 25.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0106/1.812, allocations: 4.954 MB / 0.6623 GB, free: 19.81 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007193/1.819, allocations: 395.6 kB / 0.6626 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001689/1.821, allocations: 324 kB / 0.6629 GB, free: 19.11 MB / 458.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): 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.002792/1.824, allocations: 0.5041 MB / 0.6634 GB, free: 18.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009028/1.825, allocations: 280.3 kB / 0.6637 GB, free: 18.32 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01881/1.844, allocations: 5.338 MB / 0.6689 GB, free: 12.92 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01603/1.86, allocations: 4.594 MB / 0.6734 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/1.86, allocations: 0 / 0.6734 GB, free: 8.273 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.448e-05/1.86, allocations: 15.95 kB / 0.6734 GB, free: 8.258 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04759/1.907, allocations: 14.58 MB / 0.6877 GB, free: 9.469 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.057e-05/1.907, allocations: 12.14 kB / 0.6877 GB, free: 9.457 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004132/1.912, allocations: 427.3 kB / 0.6881 GB, free: 9.039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008489/1.92, allocations: 1.185 MB / 0.6892 GB, free: 7.84 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007019/1.921, allocations: 59.97 kB / 0.6893 GB, free: 7.781 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008671/1.93, allocations: 4.439 MB / 0.6936 GB, free: 3.082 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001645/1.931, allocations: 1.47 MB / 0.6951 GB, free: 1.473 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3659/2.297, allocations: 8.765 MB / 0.7036 GB, free: 109.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001036/2.298, allocations: 341.2 kB / 0.7039 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/2.3, allocations: 58.39 kB / 0.704 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003588/2.303, allocations: 194.6 kB / 0.7042 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009006/2.304, allocations: 173.3 kB / 0.7044 GB, free: 109.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000319/2.304, allocations: 77.72 kB / 0.7044 GB, free: 109.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004771/2.309, allocations: 1.659 MB / 0.706 GB, free: 109 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.309, allocations: 1.219 kB / 0.706 GB, free: 109 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007897/2.317, allocations: 1.065 MB / 0.7071 GB, free: 109 MB / 474.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.02554/2.343, allocations: 11.92 MB / 0.7187 GB, free: 104.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01586/2.359, allocations: 6.221 MB / 0.7248 GB, free: 104 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.528e-05/2.359, allocations: 0.6562 kB / 0.7248 GB, free: 104 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008493/2.367, allocations: 2.827 MB / 0.7276 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003504/2.371, allocations: 346.8 kB / 0.7279 GB, free: 103.6 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03184/2.403, allocations: 10.53 MB / 0.7382 GB, free: 100.1 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006601/2.409, allocations: 3.392 MB / 0.7415 GB, free: 98.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008534/2.418, allocations: 2.107 MB / 0.7435 GB, free: 98.82 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00441/2.422, allocations: 1.807 MB / 0.7453 GB, free: 97.35 MB / 474.7 MB Notification: Performance of SimCode: time 1.753e-06/2.422, allocations: 3.812 kB / 0.7453 GB, free: 97.35 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1622/2.585, allocations: 71.85 MB / 0.8155 GB, free: 46.79 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002324/2.585, allocations: 184.2 kB / 0.8157 GB, free: 46.55 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.051/7.635, allocations: 0 / 0.8157 GB, free: 46.55 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion_res.mat does not exist to compare? outputFormat=mat