Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.125/2.125, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.78e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1113, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4237/0.535, allocations: 91.34 MB / 413.2 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003278/0.5354, allocations: 79.95 kB / 413.3 MB, free: 14.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6834/1.219, allocations: 94.62 MB / 0.496 GB, free: 95.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.219, allocations: 0 / 0.496 GB, free: 95.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002776/1.219, allocations: 83.78 kB / 0.4961 GB, free: 95.53 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02523/1.244, allocations: 4.491 MB / 0.5005 GB, free: 94.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.965e-05/1.244, allocations: 10.19 kB / 0.5005 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005187/1.25, allocations: 0.9042 MB / 0.5014 GB, free: 94.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02992/1.28, allocations: 3.597 MB / 0.5049 GB, free: 94.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02026/1.3, allocations: 4.816 MB / 0.5096 GB, free: 94.02 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006493/1.301, allocations: 359.2 kB / 0.5099 GB, free: 94.01 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003392/1.304, allocations: 470 kB / 0.5104 GB, free: 94.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03756/1.342, allocations: 11.32 MB / 0.5214 GB, free: 92.68 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003691/1.342, allocations: 31.72 kB / 0.5215 GB, free: 92.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003159/1.345, allocations: 212.2 kB / 0.5217 GB, free: 92.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00319/1.349, allocations: 1.24 MB / 0.5229 GB, free: 92.66 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03064/1.379, allocations: 10.68 MB / 0.5333 GB, free: 92.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07915/1.458, allocations: 38.46 MB / 0.5709 GB, free: 69.93 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01195/1.471, allocations: 4.327 MB / 0.5751 GB, free: 67.78 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004371/1.475, allocations: 2.131 MB / 0.5772 GB, free: 66.97 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/1.476, allocations: 1.329 MB / 0.5785 GB, free: 65.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.477, allocations: 55.47 kB / 0.5785 GB, free: 65.73 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.692e-06/1.477, allocations: 0 / 0.5785 GB, free: 65.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.05197/1.529, allocations: 10.76 MB / 0.589 GB, free: 57.65 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/1.529, allocations: 73.41 kB / 0.5891 GB, free: 57.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005695/1.534, allocations: 2.616 MB / 0.5917 GB, free: 55.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005872/1.535, allocations: 61.64 kB / 0.5917 GB, free: 55.17 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002466/1.537, allocations: 3.094 MB / 0.5947 GB, free: 52.41 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001432/1.539, allocations: 0.9892 MB / 0.5957 GB, free: 51.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007241/1.54, allocations: 116 kB / 0.5958 GB, free: 51.43 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004104/1.54, allocations: 0.5621 MB / 0.5964 GB, free: 50.93 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005703/1.546, allocations: 2.32 MB / 0.5986 GB, free: 48.84 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008079/1.554, allocations: 5.556 MB / 0.6041 GB, free: 42.08 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/1.562, allocations: 3.64 MB / 0.6076 GB, free: 39.01 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.562, allocations: 36 kB / 0.6077 GB, free: 38.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.02464/1.587, allocations: 8.297 MB / 0.6158 GB, free: 31.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.261e-05/1.587, allocations: 60.25 kB / 0.6158 GB, free: 31.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001552/1.587, allocations: 112 kB / 0.6159 GB, free: 31.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006587/1.594, allocations: 1.058 MB / 0.617 GB, free: 30.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008698/1.602, allocations: 1.371 MB / 0.6183 GB, free: 29.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00395/1.606, allocations: 2.469 MB / 0.6207 GB, free: 27.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006193/1.613, allocations: 318.2 kB / 0.621 GB, free: 27.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001306/1.614, allocations: 347.4 kB / 0.6213 GB, free: 26.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 521 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],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],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.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 (740): * Single equations (assignments): 731 * 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.001374/1.615, allocations: 0.5361 MB / 0.6219 GB, free: 26.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007432/1.616, allocations: 300.1 kB / 0.6221 GB, free: 26.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01523/1.631, allocations: 5.033 MB / 0.6271 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000111/1.632, allocations: 47.98 kB / 0.6271 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.448e-05/1.632, allocations: 4 kB / 0.6271 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.14e-05/1.632, allocations: 11.95 kB / 0.6271 GB, free: 21.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03351/1.665, allocations: 11.75 MB / 0.6386 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.267e-05/1.665, allocations: 8 kB / 0.6386 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003912/1.669, allocations: 423.4 kB / 0.639 GB, free: 8.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006203/1.675, allocations: 0.9115 MB / 0.6399 GB, free: 8.059 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006816/1.676, allocations: 59.55 kB / 0.64 GB, free: 8.004 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/1.68, allocations: 2.276 MB / 0.6422 GB, free: 5.602 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/1.68, allocations: 11.94 kB / 0.6422 GB, free: 5.59 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02079/1.701, allocations: 8.121 MB / 0.6501 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/1.702, allocations: 345.2 kB / 0.6504 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009802/1.703, allocations: 55.83 kB / 0.6505 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002792/1.706, allocations: 131.8 kB / 0.6506 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/1.706, allocations: 161.6 kB / 0.6508 GB, free: 12.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002866/1.707, allocations: 75.97 kB / 0.6509 GB, free: 12.26 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004628/1.711, allocations: 1.777 MB / 0.6526 GB, free: 10.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.103e-06/1.711, allocations: 0 / 0.6526 GB, free: 10.48 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007224/1.718, allocations: 1.044 MB / 0.6536 GB, free: 9.441 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (216): * Single equations (assignments): 207 * 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.3254/2.044, allocations: 10.7 MB / 0.6641 GB, free: 100.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01729/2.061, allocations: 5.964 MB / 0.6699 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/2.061, allocations: 5.062 kB / 0.6699 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008694/2.07, allocations: 2.542 MB / 0.6724 GB, free: 100.2 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004305/2.074, allocations: 461.8 kB / 0.6728 GB, free: 100.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03859/2.113, allocations: 11.18 MB / 0.6837 GB, free: 98.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008463/2.122, allocations: 3.756 MB / 0.6874 GB, free: 97.39 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008993/2.131, allocations: 2.145 MB / 0.6895 GB, free: 97.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005184/2.136, allocations: 2.076 MB / 0.6915 GB, free: 97.27 MB / 442.7 MB Notification: Performance of SimCode: time 2.344e-06/2.136, allocations: 0 / 0.6915 GB, free: 97.27 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1789/2.315, allocations: 74.68 MB / 0.7644 GB, free: 59.54 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/2.315, allocations: 179.7 kB / 0.7646 GB, free: 59.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.366/7.681, allocations: 2.188 kB / 0.7646 GB, free: 59.31 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat