Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 3.03/3.03, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.763e-05/4.776e-05, allocations: 8 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4399/0.4399, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.6227, allocations: 98.07 MB / 458 MB, free: 14.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.623, allocations: 75.95 kB / 458 MB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7649/1.388, allocations: 94.63 MB / 0.5397 GB, free: 106.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.355e-06/1.388, allocations: 1.094 kB / 0.5397 GB, free: 106.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002924/1.388, allocations: 86.44 kB / 0.5398 GB, free: 106.4 MB / 458.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.02599/1.414, allocations: 4.495 MB / 0.5442 GB, free: 104.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.033e-05/1.414, allocations: 8.562 kB / 0.5442 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004785/1.419, allocations: 0.9027 MB / 0.5451 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02867/1.448, allocations: 3.594 MB / 0.5486 GB, free: 104.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0198/1.468, allocations: 4.814 MB / 0.5533 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005369/1.468, allocations: 356.1 kB / 0.5536 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003582/1.472, allocations: 471.7 kB / 0.5541 GB, free: 103.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03563/1.508, allocations: 11.32 MB / 0.5651 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002853/1.508, allocations: 34.98 kB / 0.5652 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002798/1.511, allocations: 215.2 kB / 0.5654 GB, free: 101.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002713/1.514, allocations: 1.241 MB / 0.5666 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03395/1.548, allocations: 10.67 MB / 0.577 GB, free: 98.27 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1067/1.654, allocations: 38.46 MB / 0.6146 GB, free: 70.27 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/1.667, allocations: 4.338 MB / 0.6188 GB, free: 66.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004672/1.672, allocations: 2.129 MB / 0.6209 GB, free: 64.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001532/1.674, allocations: 1.317 MB / 0.6222 GB, free: 62.8 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.674, allocations: 52.56 kB / 0.6222 GB, free: 62.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 6.252e-06/1.674, allocations: 0 / 0.6222 GB, free: 62.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.05644/1.73, allocations: 10.77 MB / 0.6327 GB, free: 52.84 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/1.73, allocations: 77.41 kB / 0.6328 GB, free: 52.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00612/1.737, allocations: 2.615 MB / 0.6354 GB, free: 50.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005821/1.737, allocations: 61.7 kB / 0.6354 GB, free: 50.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/1.74, allocations: 3.104 MB / 0.6385 GB, free: 46.95 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.741, allocations: 0.9728 MB / 0.6394 GB, free: 45.98 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007784/1.742, allocations: 120 kB / 0.6395 GB, free: 45.87 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004848/1.742, allocations: 0.5583 MB / 0.6401 GB, free: 45.3 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005798/1.748, allocations: 2.323 MB / 0.6423 GB, free: 42.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/1.758, allocations: 5.544 MB / 0.6477 GB, free: 35.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01156/1.77, allocations: 3.644 MB / 0.6513 GB, free: 32.17 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/1.77, allocations: 32 kB / 0.6513 GB, free: 32.14 MB / 458.7 MB Notification: Performance of matching and sorting (n=793) (initialization): time 0.03573/1.806, allocations: 8.303 MB / 0.6594 GB, free: 23.82 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/1.806, allocations: 52.19 kB / 0.6595 GB, free: 23.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002345/1.807, allocations: 120 kB / 0.6596 GB, free: 23.66 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00935/1.816, allocations: 1.052 MB / 0.6606 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01145/1.827, allocations: 1.376 MB / 0.662 GB, free: 21.22 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005201/1.833, allocations: 2.474 MB / 0.6644 GB, free: 18.61 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008841/1.842, allocations: 319.8 kB / 0.6647 GB, free: 18.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001783/1.843, allocations: 341.4 kB / 0.665 GB, free: 17.96 MB / 458.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.002837/1.846, allocations: 0.5418 MB / 0.6656 GB, free: 17.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001034/1.847, allocations: 300.1 kB / 0.6658 GB, free: 17.12 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02245/1.87, allocations: 5.033 MB / 0.6708 GB, free: 12.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001579/1.87, allocations: 55.88 kB / 0.6708 GB, free: 11.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.226e-05/1.87, allocations: 4 kB / 0.6708 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.283e-05/1.87, allocations: 7.969 kB / 0.6708 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04931/1.92, allocations: 11.76 MB / 0.6823 GB, free: 92 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.725e-05/1.92, allocations: 8 kB / 0.6823 GB, free: 84 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005657/1.925, allocations: 419.4 kB / 0.6827 GB, free: 15.67 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009051/1.934, allocations: 0.9154 MB / 0.6836 GB, free: 14.75 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007825/1.935, allocations: 55.97 kB / 0.6837 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006091/1.941, allocations: 2.267 MB / 0.6859 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.348e-05/1.941, allocations: 11.94 kB / 0.6859 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03275/1.974, allocations: 8.129 MB / 0.6938 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/1.976, allocations: 345.2 kB / 0.6941 GB, free: 3.359 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001749/1.978, allocations: 55.94 kB / 0.6942 GB, free: 3.305 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004665/1.982, allocations: 135.8 kB / 0.6943 GB, free: 3.172 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001153/1.984, allocations: 153.7 kB / 0.6945 GB, free: 3.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005699/1.984, allocations: 87.91 kB / 0.6946 GB, free: 2.938 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00767/1.992, allocations: 1.769 MB / 0.6963 GB, free: 1.164 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.262e-06/1.992, allocations: 7.875 kB / 0.6963 GB, free: 1.156 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01159/2.004, allocations: 1.046 MB / 0.6973 GB, free: 116 kB / 474.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.4079/2.412, allocations: 10.69 MB / 0.7078 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01801/2.43, allocations: 5.964 MB / 0.7136 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.534e-05/2.43, allocations: 4.719 kB / 0.7136 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008551/2.438, allocations: 2.545 MB / 0.7161 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005056/2.443, allocations: 448.8 kB / 0.7165 GB, free: 104.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04014/2.484, allocations: 11.18 MB / 0.7274 GB, free: 102.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008057/2.492, allocations: 3.763 MB / 0.7311 GB, free: 102.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009218/2.501, allocations: 2.14 MB / 0.7332 GB, free: 102 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004908/2.506, allocations: 2.075 MB / 0.7352 GB, free: 100.5 MB / 474.7 MB Notification: Performance of SimCode: time 2.024e-06/2.506, allocations: 0 / 0.7352 GB, free: 100.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2059/2.712, allocations: 74.68 MB / 0.8081 GB, free: 54.97 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002453/2.712, allocations: 175.7 kB / 0.8083 GB, free: 54.75 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.384/8.096, allocations: 3.938 kB / 0.8083 GB, free: 54.74 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5_res.mat does not exist to compare? outputFormat=mat