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.066/2.066, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.806e-05/3.824e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1116, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4939/0.6055, allocations: 91.15 MB / 413 MB, free: 14.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.6059, allocations: 75.95 kB / 413.1 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4009/1.007, allocations: 90.61 MB / 0.4919 GB, free: 2.941 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.007, allocations: 0 / 0.4919 GB, free: 2.941 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002315/1.007, allocations: 80 kB / 0.492 GB, free: 2.863 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.3256/1.333, allocations: 4.248 MB / 0.4961 GB, free: 96.84 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.886e-05/1.333, allocations: 13.61 kB / 0.4962 GB, free: 96.84 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004486/1.337, allocations: 0.8543 MB / 0.497 GB, free: 96.76 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02864/1.366, allocations: 3.56 MB / 0.5005 GB, free: 96.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01968/1.386, allocations: 4.669 MB / 0.505 GB, free: 96.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005639/1.386, allocations: 330.3 kB / 0.5053 GB, free: 96.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002996/1.389, allocations: 442.2 kB / 0.5058 GB, free: 96.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03395/1.423, allocations: 10.89 MB / 0.5164 GB, free: 94.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002302/1.424, allocations: 37.83 kB / 0.5164 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002226/1.426, allocations: 193.8 kB / 0.5166 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002493/1.428, allocations: 1.226 MB / 0.5178 GB, free: 94.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02843/1.457, allocations: 10.4 MB / 0.528 GB, free: 94.84 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07484/1.532, allocations: 37.33 MB / 0.5644 GB, free: 73.04 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01193/1.544, allocations: 4.339 MB / 0.5687 GB, free: 70.9 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00442/1.548, allocations: 2.127 MB / 0.5707 GB, free: 70.09 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001507/1.55, allocations: 1.32 MB / 0.572 GB, free: 68.91 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.871e-05/1.55, allocations: 56.03 kB / 0.5721 GB, free: 68.85 MB / 426.7 MB Notification: Performance of pre-optimization done (n=244): time 6.282e-06/1.55, allocations: 0 / 0.5721 GB, free: 68.85 MB / 426.7 MB Notification: Performance of matching and sorting (n=265): time 0.05727/1.607, allocations: 11.15 MB / 0.583 GB, free: 62.22 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.979e-05/1.607, allocations: 80.64 kB / 0.5831 GB, free: 62.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005083/1.612, allocations: 2.485 MB / 0.5855 GB, free: 59.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00059/1.613, allocations: 58.88 kB / 0.5855 GB, free: 59.86 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002199/1.615, allocations: 2.928 MB / 0.5884 GB, free: 57.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001393/1.617, allocations: 0.9738 MB / 0.5894 GB, free: 56.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006484/1.617, allocations: 112 kB / 0.5895 GB, free: 56.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004694/1.618, allocations: 0.5515 MB / 0.59 GB, free: 55.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005539/1.623, allocations: 2.288 MB / 0.5922 GB, free: 53.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007693/1.631, allocations: 5.385 MB / 0.5975 GB, free: 47.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/1.639, allocations: 3.579 MB / 0.601 GB, free: 44.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001073/1.639, allocations: 28 kB / 0.601 GB, free: 44.18 MB / 426.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02508/1.664, allocations: 8.138 MB / 0.609 GB, free: 37.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.076e-05/1.664, allocations: 52 kB / 0.609 GB, free: 37.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001486/1.665, allocations: 115.8 kB / 0.6091 GB, free: 37.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006602/1.671, allocations: 1.051 MB / 0.6101 GB, free: 36.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008425/1.68, allocations: 1.332 MB / 0.6114 GB, free: 35.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003782/1.683, allocations: 2.455 MB / 0.6138 GB, free: 32.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005723/1.689, allocations: 317 kB / 0.6141 GB, free: 32.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001217/1.69, allocations: 346.5 kB / 0.6145 GB, free: 32.29 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.00116/1.692, allocations: 0.5155 MB / 0.615 GB, free: 31.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000659/1.692, allocations: 284.2 kB / 0.6152 GB, free: 31.49 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01552/1.708, allocations: 5.01 MB / 0.6201 GB, free: 27.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001134/1.708, allocations: 55.81 kB / 0.6202 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.417e-05/1.708, allocations: 0 / 0.6202 GB, free: 27.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.596e-05/1.708, allocations: 22.91 kB / 0.6202 GB, free: 27.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03412/1.742, allocations: 11.54 MB / 0.6315 GB, free: 15.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.646e-05/1.742, allocations: 11.95 kB / 0.6315 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003949/1.746, allocations: 427.3 kB / 0.6319 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006232/1.753, allocations: 0.9041 MB / 0.6328 GB, free: 14.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006489/1.753, allocations: 63.97 kB / 0.6329 GB, free: 13.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003501/1.757, allocations: 2.274 MB / 0.6351 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.165e-05/1.757, allocations: 16 kB / 0.6351 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0196/1.776, allocations: 8.083 MB / 0.643 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00095/1.778, allocations: 333.3 kB / 0.6433 GB, free: 2.793 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001185/1.779, allocations: 48 kB / 0.6433 GB, free: 2.746 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002781/1.782, allocations: 139.8 kB / 0.6435 GB, free: 2.609 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006246/1.782, allocations: 165.6 kB / 0.6436 GB, free: 2.445 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002697/1.782, allocations: 75.81 kB / 0.6437 GB, free: 2.375 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003759/1.786, allocations: 1.686 MB / 0.6454 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.92e-07/1.786, allocations: 0 / 0.6454 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006526/1.793, allocations: 1.005 MB / 0.6463 GB, free: 15.68 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.02505/1.818, allocations: 10.69 MB / 0.6568 GB, free: 4.695 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3359/2.154, allocations: 5.898 MB / 0.6625 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/2.154, allocations: 1.219 kB / 0.6625 GB, free: 103.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008568/2.163, allocations: 2.544 MB / 0.665 GB, free: 103 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/2.166, allocations: 391.6 kB / 0.6654 GB, free: 103 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03827/2.205, allocations: 10.78 MB / 0.6759 GB, free: 101.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01219/2.217, allocations: 3.598 MB / 0.6794 GB, free: 100.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0134/2.23, allocations: 2.085 MB / 0.6815 GB, free: 100.2 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007123/2.237, allocations: 1.975 MB / 0.6834 GB, free: 100.2 MB / 442.7 MB Notification: Performance of SimCode: time 1.803e-06/2.238, allocations: 0.5469 kB / 0.6834 GB, free: 100.2 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1993/2.437, allocations: 71.03 MB / 0.7528 GB, free: 71.14 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000201/2.437, allocations: 194.2 kB / 0.753 GB, free: 70.89 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.964/7.401, allocations: 0 / 0.753 GB, free: 70.89 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