Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.021/2.021, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.237e-05, allocations: 4 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.71 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4375/0.5458, allocations: 90.71 MB / 407 MB, free: 1.898 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.5461, allocations: 78.75 kB / 407.1 MB, free: 1.855 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6762/1.222, allocations: 89.01 MB / 496.1 MB, free: 89.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.488e-06/1.222, allocations: 0.5156 kB / 496.1 MB, free: 89.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003058/1.223, allocations: 80.44 kB / 496.2 MB, free: 89.07 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.02981/1.253, allocations: 4.26 MB / 0.4887 GB, free: 87.46 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.335e-05/1.253, allocations: 9.625 kB / 0.4888 GB, free: 87.46 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03832/1.291, allocations: 3.555 MB / 0.4922 GB, free: 87.17 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02025/1.311, allocations: 4.667 MB / 0.4968 GB, free: 86.65 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004124/1.312, allocations: 140.2 kB / 0.4969 GB, free: 86.65 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003046/1.315, allocations: 257.7 kB / 0.4972 GB, free: 86.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01997/1.335, allocations: 7.788 MB / 0.5048 GB, free: 86.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02828/1.363, allocations: 10.19 MB / 0.5147 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002694/1.364, allocations: 28.5 kB / 0.5147 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002506/1.366, allocations: 13.66 kB / 0.5148 GB, free: 85.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002727/1.369, allocations: 1.23 MB / 0.516 GB, free: 85.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07171/1.441, allocations: 34.69 MB / 0.5498 GB, free: 67.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006487/1.447, allocations: 4.014 MB / 0.5538 GB, free: 64.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003942/1.451, allocations: 2.071 MB / 0.5558 GB, free: 64.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001661/1.453, allocations: 1.325 MB / 0.5571 GB, free: 62.87 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/1.453, allocations: 52.19 kB / 0.5571 GB, free: 62.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 7.855e-06/1.453, allocations: 3.938 kB / 0.5571 GB, free: 62.81 MB / 410.7 MB Notification: Performance of matching and sorting (n=266): time 0.04242/1.495, allocations: 12.02 MB / 0.5689 GB, free: 54.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/1.495, allocations: 73.41 kB / 0.5689 GB, free: 54.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/1.501, allocations: 2.401 MB / 0.5713 GB, free: 52.51 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006845/1.501, allocations: 25.7 kB / 0.5713 GB, free: 52.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002368/1.504, allocations: 3.02 MB / 0.5742 GB, free: 49.75 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00151/1.505, allocations: 0.9509 MB / 0.5752 GB, free: 48.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007013/1.506, allocations: 0 / 0.5752 GB, free: 48.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004661/1.506, allocations: 0.5699 MB / 0.5757 GB, free: 48.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005037/1.512, allocations: 2.263 MB / 0.5779 GB, free: 46.36 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007335/1.519, allocations: 5.632 MB / 0.5834 GB, free: 39.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007748/1.527, allocations: 3.609 MB / 0.587 GB, free: 36.31 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/1.527, allocations: 40 kB / 0.587 GB, free: 36.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=818) (initialization): time 0.024/1.551, allocations: 8.056 MB / 0.5949 GB, free: 29.4 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.515e-05/1.551, allocations: 63.3 kB / 0.5949 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001572/1.551, allocations: 120 kB / 0.595 GB, free: 29.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006699/1.558, allocations: 1.068 MB / 0.5961 GB, free: 28.52 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008881/1.567, allocations: 1.417 MB / 0.5975 GB, free: 27.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/1.571, allocations: 2.403 MB / 0.5998 GB, free: 25.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006202/1.577, allocations: 212.8 kB / 0.6 GB, free: 24.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001527/1.578, allocations: 365.2 kB / 0.6004 GB, free: 24.54 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * 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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (765): * Single equations (assignments): 756 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001949/1.58, allocations: 415.9 kB / 0.6008 GB, free: 24.14 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01362/1.594, allocations: 4.351 MB / 0.605 GB, free: 20.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.595, allocations: 288.2 kB / 0.6053 GB, free: 19.77 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01491/1.61, allocations: 4.926 MB / 0.6101 GB, free: 14.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001244/1.61, allocations: 49.39 kB / 0.6101 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/1.61, allocations: 0 / 0.6101 GB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.023e-05/1.61, allocations: 7.969 kB / 0.6102 GB, free: 14.72 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03047/1.641, allocations: 10.45 MB / 0.6204 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.935e-05/1.641, allocations: 8 kB / 0.6204 GB, free: 4.148 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003882/1.645, allocations: 427.3 kB / 0.6208 GB, free: 3.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006134/1.651, allocations: 0.9071 MB / 0.6217 GB, free: 2.816 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006183/1.652, allocations: 35.97 kB / 0.6217 GB, free: 2.781 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00322/1.655, allocations: 2.193 MB / 0.6238 GB, free: 484 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/1.655, allocations: 15.89 kB / 0.6239 GB, free: 468 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02133/1.676, allocations: 8.043 MB / 0.6317 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/1.677, allocations: 321.4 kB / 0.632 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001065/1.679, allocations: 20.09 kB / 0.632 GB, free: 7.699 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002602/1.681, allocations: 107.8 kB / 0.6321 GB, free: 7.594 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006303/1.682, allocations: 165.6 kB / 0.6323 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002961/1.682, allocations: 77.14 kB / 0.6324 GB, free: 7.355 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003922/1.686, allocations: 1.58 MB / 0.6339 GB, free: 5.773 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.71e-07/1.686, allocations: 4 kB / 0.6339 GB, free: 5.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007074/1.693, allocations: 0.8749 MB / 0.6348 GB, free: 4.895 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (217): * Single equations (assignments): 208 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.353/2.046, allocations: 10.73 MB / 0.6452 GB, free: 92.47 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01697/2.063, allocations: 5.948 MB / 0.6511 GB, free: 92.13 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.11e-05/2.063, allocations: 1.375 kB / 0.6511 GB, free: 92.13 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007937/2.071, allocations: 2.546 MB / 0.6535 GB, free: 91.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002867/2.074, allocations: 277.9 kB / 0.6538 GB, free: 91.81 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0287/2.103, allocations: 10.62 MB / 0.6642 GB, free: 89.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007474/2.11, allocations: 3.59 MB / 0.6677 GB, free: 89.08 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00929/2.12, allocations: 2.23 MB / 0.6699 GB, free: 89.01 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00514/2.125, allocations: 1.968 MB / 0.6718 GB, free: 89 MB / 426.7 MB Notification: Performance of SimCode: time 2.184e-06/2.125, allocations: 6.812 kB / 0.6718 GB, free: 89 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1671/2.292, allocations: 68.66 MB / 0.7388 GB, free: 51.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/2.292, allocations: 142.2 kB / 0.739 GB, free: 51.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.925/7.218, allocations: 4 kB / 0.739 GB, free: 51.19 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat