Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.413/2.413, allocations: 235 MB / 247.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.242e-05/4.258e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4222/0.4223, allocations: 54.85 MB / 359.9 MB, free: 3.148 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1831/0.6055, allocations: 97.89 MB / 457.8 MB, free: 14.99 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.6058, allocations: 75.91 kB / 457.8 MB, free: 14.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7477/1.354, allocations: 90.6 MB / 0.5356 GB, free: 105.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.354, allocations: 0 / 0.5356 GB, free: 105.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002316/1.354, allocations: 84.88 kB / 0.5357 GB, free: 105.3 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.02423/1.378, allocations: 4.27 MB / 0.5398 GB, free: 103.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.57e-05/1.378, allocations: 8.781 kB / 0.5398 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004325/1.383, allocations: 0.8528 MB / 0.5407 GB, free: 103.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02822/1.411, allocations: 3.562 MB / 0.5441 GB, free: 103.2 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01958/1.43, allocations: 4.666 MB / 0.5487 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004789/1.431, allocations: 334.5 kB / 0.549 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003053/1.434, allocations: 435.9 kB / 0.5494 GB, free: 102.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0349/1.469, allocations: 10.95 MB / 0.5601 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000237/1.469, allocations: 32.41 kB / 0.5602 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002606/1.472, allocations: 193.1 kB / 0.5604 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002666/1.475, allocations: 1.225 MB / 0.5615 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03085/1.505, allocations: 10.53 MB / 0.5718 GB, free: 98.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07476/1.58, allocations: 37.32 MB / 0.6083 GB, free: 74.17 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01172/1.592, allocations: 4.362 MB / 0.6125 GB, free: 70.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004263/1.596, allocations: 2.14 MB / 0.6146 GB, free: 68.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00153/1.598, allocations: 1.324 MB / 0.6159 GB, free: 66.68 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.421e-05/1.598, allocations: 48.56 kB / 0.616 GB, free: 66.62 MB / 458.7 MB Notification: Performance of pre-optimization done (n=244): time 6.733e-06/1.598, allocations: 0 / 0.616 GB, free: 66.62 MB / 458.7 MB Notification: Performance of matching and sorting (n=265): time 0.05746/1.656, allocations: 11.17 MB / 0.6269 GB, free: 57.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.656, allocations: 73.41 kB / 0.6269 GB, free: 57.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004909/1.661, allocations: 2.481 MB / 0.6294 GB, free: 55.12 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005586/1.661, allocations: 61.7 kB / 0.6294 GB, free: 55.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002179/1.663, allocations: 2.929 MB / 0.6323 GB, free: 52.44 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001417/1.665, allocations: 0.974 MB / 0.6332 GB, free: 51.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006634/1.666, allocations: 112 kB / 0.6333 GB, free: 51.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004472/1.666, allocations: 0.556 MB / 0.6339 GB, free: 50.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005744/1.672, allocations: 2.285 MB / 0.6361 GB, free: 48.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007823/1.68, allocations: 5.418 MB / 0.6414 GB, free: 41.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00786/1.688, allocations: 3.566 MB / 0.6449 GB, free: 38.2 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.879e-05/1.688, allocations: 35.94 kB / 0.6449 GB, free: 38.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=772) (initialization): time 0.02441/1.712, allocations: 8.437 MB / 0.6532 GB, free: 29.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.47e-05/1.712, allocations: 52 kB / 0.6532 GB, free: 29.66 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001318/1.712, allocations: 112.8 kB / 0.6533 GB, free: 29.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006647/1.719, allocations: 1.056 MB / 0.6543 GB, free: 28.49 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008408/1.727, allocations: 1.33 MB / 0.6556 GB, free: 27.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003893/1.731, allocations: 2.47 MB / 0.6581 GB, free: 24.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005895/1.737, allocations: 307.7 kB / 0.6584 GB, free: 24.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001335/1.739, allocations: 343.9 kB / 0.6587 GB, free: 23.92 MB / 458.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.001775/1.741, allocations: 0.5198 MB / 0.6592 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007419/1.741, allocations: 288.3 kB / 0.6595 GB, free: 23.11 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01628/1.758, allocations: 5.02 MB / 0.6644 GB, free: 18.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/1.758, allocations: 43.98 kB / 0.6644 GB, free: 17.98 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.246e-05/1.758, allocations: 4 kB / 0.6644 GB, free: 17.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.454e-05/1.758, allocations: 15.89 kB / 0.6644 GB, free: 17.96 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03429/1.792, allocations: 11.58 MB / 0.6757 GB, free: 6.266 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.899e-05/1.792, allocations: 11.66 kB / 0.6757 GB, free: 6.258 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003877/1.796, allocations: 423.3 kB / 0.6762 GB, free: 5.844 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006226/1.802, allocations: 0.9036 MB / 0.677 GB, free: 4.93 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006096/1.803, allocations: 55.97 kB / 0.6771 GB, free: 4.875 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/1.807, allocations: 2.283 MB / 0.6793 GB, free: 2.465 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.576e-05/1.807, allocations: 15.94 kB / 0.6793 GB, free: 2.449 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0307/1.838, allocations: 8.079 MB / 0.6872 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001334/1.839, allocations: 333.3 kB / 0.6875 GB, free: 9.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001284/1.84, allocations: 51.91 kB / 0.6876 GB, free: 9.633 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004084/1.845, allocations: 147.9 kB / 0.6877 GB, free: 9.488 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009434/1.846, allocations: 157.6 kB / 0.6879 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000436/1.846, allocations: 75.98 kB / 0.688 GB, free: 9.262 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006337/1.852, allocations: 1.686 MB / 0.6896 GB, free: 7.566 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.437e-06/1.852, allocations: 0 / 0.6896 GB, free: 7.566 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009815/1.862, allocations: 1.015 MB / 0.6906 GB, free: 6.555 MB / 474.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.3634/2.226, allocations: 10.67 MB / 0.701 GB, free: 108 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01766/2.243, allocations: 6.066 MB / 0.7069 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/2.243, allocations: 2.312 kB / 0.7069 GB, free: 107.7 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008466/2.252, allocations: 2.57 MB / 0.7094 GB, free: 107.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003373/2.255, allocations: 383.9 kB / 0.7098 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04093/2.296, allocations: 10.79 MB / 0.7203 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007794/2.304, allocations: 3.597 MB / 0.7239 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008823/2.313, allocations: 2.086 MB / 0.7259 GB, free: 104.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004881/2.318, allocations: 1.977 MB / 0.7278 GB, free: 104.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.194e-06/2.318, allocations: 0 / 0.7278 GB, free: 104.3 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/2.478, allocations: 71.54 MB / 0.7977 GB, free: 65.7 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/2.478, allocations: 177.6 kB / 0.7979 GB, free: 65.47 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.837/7.315, allocations: 0 / 0.7979 GB, free: 65.47 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit_res.mat does not exist to compare? outputFormat=mat