Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.79/2.79, allocations: 235.1 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.784e-05, allocations: 4 kB / 299.6 MB, free: 200 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3956, allocations: 54.86 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2059/0.6016, allocations: 97.39 MB / 451.8 MB, free: 13.66 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002937/0.6019, allocations: 75.95 kB / 451.9 MB, free: 13.59 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7942/1.396, allocations: 92.93 MB / 0.5321 GB, free: 32.07 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/1.396, allocations: 0 / 0.5321 GB, free: 32.07 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002615/1.396, allocations: 91.98 kB / 0.5321 GB, free: 31.98 MB / 394.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.025/1.421, allocations: 4.502 MB / 0.5365 GB, free: 27.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.661e-05/1.422, allocations: 8.031 kB / 0.5366 GB, free: 27.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03129/1.453, allocations: 3.589 MB / 0.5401 GB, free: 23.8 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02055/1.473, allocations: 4.8 MB / 0.5447 GB, free: 18.95 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/1.474, allocations: 152 kB / 0.5449 GB, free: 18.8 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003093/1.477, allocations: 275.8 kB / 0.5452 GB, free: 18.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02123/1.498, allocations: 8.055 MB / 0.553 GB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03121/1.529, allocations: 10.56 MB / 0.5633 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002535/1.53, allocations: 43.64 kB / 0.5634 GB, free: 15.39 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001841/1.532, allocations: 12 kB / 0.5634 GB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003441/1.535, allocations: 1.236 MB / 0.5646 GB, free: 14.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1219/1.657, allocations: 35.72 MB / 0.5995 GB, free: 9.793 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01373/1.671, allocations: 3.809 MB / 0.6032 GB, free: 5.766 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008814/1.68, allocations: 2.08 MB / 0.6052 GB, free: 3.684 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003536/1.683, allocations: 1.315 MB / 0.6065 GB, free: 2.145 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.856e-05/1.683, allocations: 68.42 kB / 0.6066 GB, free: 2.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=246): time 1.897e-05/1.684, allocations: 96 / 0.6066 GB, free: 2.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=273): time 0.08298/1.767, allocations: 11.26 MB / 0.6176 GB, free: 6.773 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001111/1.767, allocations: 77.34 kB / 0.6176 GB, free: 6.684 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/1.778, allocations: 2.517 MB / 0.6201 GB, free: 4.152 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008362/1.778, allocations: 29.7 kB / 0.6201 GB, free: 4.117 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00562/1.784, allocations: 3.181 MB / 0.6232 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.3803/2.164, allocations: 0.9879 MB / 0.6242 GB, free: 107.2 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008645/2.165, allocations: 0 / 0.6242 GB, free: 107.2 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007872/2.166, allocations: 0.5823 MB / 0.6248 GB, free: 106.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007559/2.174, allocations: 2.35 MB / 0.6271 GB, free: 106.9 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009978/2.184, allocations: 5.85 MB / 0.6328 GB, free: 102.4 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009495/2.193, allocations: 3.765 MB / 0.6364 GB, free: 102.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001756/2.194, allocations: 35.62 kB / 0.6365 GB, free: 102.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=846) (initialization): time 0.02875/2.222, allocations: 8.377 MB / 0.6447 GB, free: 101.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/2.222, allocations: 58.12 kB / 0.6447 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001891/2.223, allocations: 124.5 kB / 0.6448 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007888/2.231, allocations: 1.072 MB / 0.6459 GB, free: 101.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01065/2.241, allocations: 1.483 MB / 0.6473 GB, free: 101.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004283/2.246, allocations: 2.419 MB / 0.6497 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007243/2.253, allocations: 209.2 kB / 0.6499 GB, free: 100.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001694/2.255, allocations: 380.6 kB / 0.6503 GB, free: 100.5 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * 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 (793): * Single equations (assignments): 784 * 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.00191/2.257, allocations: 430.8 kB / 0.6507 GB, free: 100.3 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01669/2.273, allocations: 4.508 MB / 0.6551 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001179/2.275, allocations: 301.5 kB / 0.6554 GB, free: 100.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/2.293, allocations: 5.132 MB / 0.6604 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001357/2.293, allocations: 50.05 kB / 0.6604 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.589e-05/2.293, allocations: 6.797 kB / 0.6604 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.852e-05/2.293, allocations: 11.48 kB / 0.6604 GB, free: 99.93 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03489/2.328, allocations: 10.82 MB / 0.671 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.353e-05/2.328, allocations: 10.16 kB / 0.671 GB, free: 96.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004828/2.333, allocations: 446.5 kB / 0.6714 GB, free: 96.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007437/2.34, allocations: 0.9028 MB / 0.6723 GB, free: 96.59 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007056/2.341, allocations: 42.17 kB / 0.6724 GB, free: 96.58 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003903/2.345, allocations: 2.208 MB / 0.6745 GB, free: 95.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.607e-05/2.345, allocations: 15.38 kB / 0.6745 GB, free: 95.15 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02276/2.368, allocations: 8.327 MB / 0.6827 GB, free: 89.88 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/2.369, allocations: 341.7 kB / 0.683 GB, free: 89.53 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001117/2.37, allocations: 23.7 kB / 0.683 GB, free: 89.51 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003263/2.374, allocations: 104.5 kB / 0.6831 GB, free: 89.46 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006243/2.374, allocations: 178.4 kB / 0.6833 GB, free: 89.34 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003254/2.375, allocations: 83.25 kB / 0.6834 GB, free: 89.27 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003718/2.378, allocations: 1.653 MB / 0.685 GB, free: 87.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.072e-06/2.378, allocations: 0 / 0.685 GB, free: 87.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008103/2.386, allocations: 0.9199 MB / 0.6859 GB, free: 86.93 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 35 * 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 (224): * Single equations (assignments): 215 * 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.02292/2.409, allocations: 10.98 MB / 0.6966 GB, free: 76.72 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01745/2.427, allocations: 6.173 MB / 0.7026 GB, free: 71.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.306e-05/2.427, allocations: 0 / 0.7026 GB, free: 71.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008347/2.435, allocations: 2.63 MB / 0.7052 GB, free: 68.84 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0037/2.439, allocations: 347.7 kB / 0.7055 GB, free: 68.56 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03682/2.476, allocations: 11.13 MB / 0.7164 GB, free: 58.83 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008194/2.484, allocations: 3.762 MB / 0.7201 GB, free: 55.95 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01143/2.496, allocations: 2.277 MB / 0.7223 GB, free: 54.51 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005622/2.501, allocations: 2.104 MB / 0.7244 GB, free: 52.58 MB / 458.7 MB Notification: Performance of SimCode: time 1.512e-06/2.501, allocations: 4 kB / 0.7244 GB, free: 52.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2149/2.716, allocations: 73.7 MB / 0.7963 GB, free: 13.5 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004694/2.717, allocations: 159.9 kB / 0.7965 GB, free: 13.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.785/8.502, allocations: 0 / 0.7965 GB, free: 13.3 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat