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.226/2.226, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.468e-05, allocations: 0 / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1108, allocations: 48.71 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4509/0.5618, allocations: 91.15 MB / 413 MB, free: 14.46 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003061/0.5621, allocations: 79.94 kB / 413.1 MB, free: 14.38 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4242/0.9863, allocations: 90.6 MB / 0.4919 GB, free: 3.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.9864, allocations: 0 / 0.4919 GB, free: 3.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002306/0.9866, allocations: 80 kB / 0.492 GB, free: 3.012 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.3142/1.301, allocations: 4.256 MB / 0.4961 GB, free: 96.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.447e-05/1.301, allocations: 8.781 kB / 0.4961 GB, free: 96.88 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00454/1.305, allocations: 0.8557 MB / 0.497 GB, free: 96.8 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02837/1.334, allocations: 3.559 MB / 0.5004 GB, free: 96.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02678/1.361, allocations: 4.669 MB / 0.505 GB, free: 96.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000783/1.362, allocations: 334 kB / 0.5053 GB, free: 96.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004206/1.366, allocations: 437.9 kB / 0.5057 GB, free: 96.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05112/1.417, allocations: 10.96 MB / 0.5164 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003594/1.417, allocations: 26.22 kB / 0.5165 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002964/1.42, allocations: 194 kB / 0.5166 GB, free: 94.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002777/1.423, allocations: 1.229 MB / 0.5178 GB, free: 94.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03021/1.454, allocations: 10.52 MB / 0.5281 GB, free: 94.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07942/1.533, allocations: 37.33 MB / 0.5646 GB, free: 72.71 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/1.545, allocations: 4.357 MB / 0.5688 GB, free: 70.56 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004557/1.55, allocations: 2.133 MB / 0.5709 GB, free: 69.75 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/1.551, allocations: 1.321 MB / 0.5722 GB, free: 68.56 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.563e-05/1.552, allocations: 55.62 kB / 0.5722 GB, free: 68.51 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 5.741e-06/1.552, allocations: 0 / 0.5722 GB, free: 68.51 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.05781/1.609, allocations: 11.16 MB / 0.5831 GB, free: 62.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/1.61, allocations: 77.36 kB / 0.5832 GB, free: 62.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/1.615, allocations: 2.488 MB / 0.5856 GB, free: 59.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006246/1.616, allocations: 63.11 kB / 0.5857 GB, free: 59.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002246/1.618, allocations: 2.925 MB / 0.5886 GB, free: 57.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001633/1.62, allocations: 0.9719 MB / 0.5895 GB, free: 56.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007238/1.621, allocations: 115.9 kB / 0.5896 GB, free: 56.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004966/1.621, allocations: 0.5548 MB / 0.5902 GB, free: 55.67 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005715/1.627, allocations: 2.281 MB / 0.5924 GB, free: 53.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007949/1.635, allocations: 5.426 MB / 0.5977 GB, free: 47.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0079/1.643, allocations: 3.569 MB / 0.6012 GB, free: 44.05 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.643, allocations: 32 kB / 0.6012 GB, free: 44.02 MB / 426.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02504/1.668, allocations: 8.438 MB / 0.6094 GB, free: 36.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.019e-05/1.668, allocations: 52 kB / 0.6095 GB, free: 36.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001308/1.668, allocations: 111.9 kB / 0.6096 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006432/1.675, allocations: 1.061 MB / 0.6106 GB, free: 35.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008377/1.683, allocations: 1.327 MB / 0.6119 GB, free: 34.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/1.687, allocations: 2.467 MB / 0.6143 GB, free: 32.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/1.693, allocations: 322.2 kB / 0.6147 GB, free: 32.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00141/1.695, allocations: 334.6 kB / 0.615 GB, free: 31.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 500 * 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 (719): * Single equations (assignments): 710 * 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.001891/1.697, allocations: 0.523 MB / 0.6155 GB, free: 31.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000763/1.697, allocations: 280.3 kB / 0.6157 GB, free: 31.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01603/1.713, allocations: 5.014 MB / 0.6206 GB, free: 26.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/1.714, allocations: 51.98 kB / 0.6207 GB, free: 26.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/1.714, allocations: 0 / 0.6207 GB, free: 26.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.209e-05/1.714, allocations: 15.91 kB / 0.6207 GB, free: 26.74 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03467/1.748, allocations: 11.57 MB / 0.632 GB, free: 15.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.19e-05/1.749, allocations: 11.95 kB / 0.632 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003816/1.752, allocations: 431.4 kB / 0.6324 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006024/1.758, allocations: 0.9033 MB / 0.6333 GB, free: 13.72 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006105/1.759, allocations: 63.97 kB / 0.6334 GB, free: 13.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003332/1.762, allocations: 2.276 MB / 0.6356 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.087e-06/1.762, allocations: 8 kB / 0.6356 GB, free: 11.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01907/1.782, allocations: 8.091 MB / 0.6435 GB, free: 2.812 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009208/1.783, allocations: 333.3 kB / 0.6438 GB, free: 2.465 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009721/1.784, allocations: 44 kB / 0.6439 GB, free: 2.422 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002821/1.786, allocations: 139.8 kB / 0.644 GB, free: 2.285 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007421/1.787, allocations: 157.6 kB / 0.6441 GB, free: 2.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002607/1.787, allocations: 79.97 kB / 0.6442 GB, free: 2.055 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003771/1.791, allocations: 1.69 MB / 0.6459 GB, free: 364 kB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.791, allocations: 0 / 0.6459 GB, free: 364 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.006626/1.798, allocations: 1.005 MB / 0.6469 GB, free: 15.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * 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 (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.02517/1.823, allocations: 10.69 MB / 0.6573 GB, free: 4.363 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3391/2.162, allocations: 6.056 MB / 0.6632 GB, free: 103.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.02e-05/2.162, allocations: 1.406 kB / 0.6632 GB, free: 103.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01269/2.175, allocations: 2.572 MB / 0.6657 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/2.18, allocations: 389.9 kB / 0.6661 GB, free: 103.4 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05416/2.234, allocations: 10.8 MB / 0.6766 GB, free: 101.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.014/2.249, allocations: 3.599 MB / 0.6802 GB, free: 100.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01354/2.262, allocations: 2.079 MB / 0.6822 GB, free: 100.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007115/2.269, allocations: 1.974 MB / 0.6841 GB, free: 100.5 MB / 442.7 MB Notification: Performance of SimCode: time 2.044e-06/2.269, allocations: 3.719 kB / 0.6841 GB, free: 100.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.167/2.436, allocations: 71.53 MB / 0.754 GB, free: 70.72 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/2.437, allocations: 183.8 kB / 0.7542 GB, free: 70.49 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.193/7.63, allocations: 0 / 0.7542 GB, free: 70.49 MB / 442.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