Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.393/2.393, allocations: 235 MB / 247.1 MB, free: 14.58 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.861e-05/3.875e-05, allocations: 4 kB / 305 MB, free: 5.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4052/0.4053, allocations: 54.86 MB / 359.9 MB, free: 2.691 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.5972, allocations: 101.6 MB / 461.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.5975, allocations: 75.97 kB / 461.5 MB, free: 11.15 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7486/1.346, allocations: 97.49 MB / 0.5459 GB, free: 104.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.404e-06/1.346, allocations: 0 / 0.5459 GB, free: 104.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002572/1.347, allocations: 85.81 kB / 0.546 GB, free: 104.8 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: 1869 * Number of variables: 1869 Notification: Performance of Generate backend data structure: time 0.02577/1.372, allocations: 4.644 MB / 0.5505 GB, free: 102.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.548e-05/1.372, allocations: 15.06 kB / 0.5505 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004739/1.377, allocations: 0.9453 MB / 0.5515 GB, free: 102.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02757/1.405, allocations: 3.621 MB / 0.555 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01907/1.424, allocations: 4.894 MB / 0.5598 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000484/1.424, allocations: 379.7 kB / 0.5601 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003229/1.428, allocations: 492.5 kB / 0.5606 GB, free: 101.9 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0371/1.465, allocations: 12.11 MB / 0.5724 GB, free: 98.78 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002528/1.465, allocations: 34.97 kB / 0.5725 GB, free: 98.76 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002568/1.468, allocations: 225.7 kB / 0.5727 GB, free: 98.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002735/1.47, allocations: 1.313 MB / 0.574 GB, free: 98.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03183/1.502, allocations: 11.36 MB / 0.5851 GB, free: 94.83 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08233/1.585, allocations: 41.9 MB / 0.626 GB, free: 60.09 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01909/1.604, allocations: 4.905 MB / 0.6308 GB, free: 54.96 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006927/1.611, allocations: 2.347 MB / 0.6331 GB, free: 52.61 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01636/1.627, allocations: 6.571 MB / 0.6395 GB, free: 45.76 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/1.627, allocations: 48.56 kB / 0.6395 GB, free: 45.7 MB / 458.7 MB Notification: Performance of pre-optimization done (n=228): time 6.853e-06/1.627, allocations: 4 kB / 0.6395 GB, free: 45.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=237): time 0.05509/1.683, allocations: 13.61 MB / 0.6528 GB, free: 32.02 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.6e-05/1.683, allocations: 73.39 kB / 0.6529 GB, free: 31.94 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00583/1.688, allocations: 2.824 MB / 0.6556 GB, free: 29.11 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005089/1.689, allocations: 53.7 kB / 0.6557 GB, free: 29.05 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002318/1.691, allocations: 3.27 MB / 0.6589 GB, free: 25.77 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001294/1.693, allocations: 0.8899 MB / 0.6598 GB, free: 24.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006609/1.693, allocations: 116 kB / 0.6599 GB, free: 24.77 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004282/1.694, allocations: 0.5624 MB / 0.6604 GB, free: 24.2 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005675/1.699, allocations: 2.335 MB / 0.6627 GB, free: 21.86 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007721/1.707, allocations: 5.688 MB / 0.6683 GB, free: 14.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00796/1.715, allocations: 3.679 MB / 0.6718 GB, free: 10.83 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.667e-05/1.715, allocations: 39.94 kB / 0.6719 GB, free: 10.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=802) (initialization): time 0.02577/1.741, allocations: 8.827 MB / 0.6805 GB, free: 1.961 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000112/1.741, allocations: 56 kB / 0.6806 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001869/1.742, allocations: 120 kB / 0.6807 GB, free: 1.789 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006359/1.748, allocations: 1.16 MB / 0.6818 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008964/1.757, allocations: 1.376 MB / 0.6831 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01014/1.767, allocations: 4.576 MB / 0.6876 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006499/1.774, allocations: 335.4 kB / 0.6879 GB, free: 10.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001458/1.775, allocations: 352 kB / 0.6883 GB, free: 9.844 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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],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 (742): * Single equations (assignments): 734 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {3 5} Notification: Performance of prepare postOptimizeDAE: time 0.001669/1.777, allocations: 0.5378 MB / 0.6888 GB, free: 9.297 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008218/1.778, allocations: 296.2 kB / 0.6891 GB, free: 9.004 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01336/1.791, allocations: 4.401 MB / 0.6934 GB, free: 4.582 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001088/1.791, allocations: 43.92 kB / 0.6934 GB, free: 4.539 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.791, allocations: 11.84 kB / 0.6934 GB, free: 4.531 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-05/1.791, allocations: 7.969 kB / 0.6934 GB, free: 4.523 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.376/2.167, allocations: 10.4 MB / 0.7036 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.033e-05/2.167, allocations: 5.312 kB / 0.7036 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003832/2.171, allocations: 388.1 kB / 0.704 GB, free: 106 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003897/2.175, allocations: 0.6692 MB / 0.7046 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006774/2.176, allocations: 47.28 kB / 0.7047 GB, free: 105.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004529/2.181, allocations: 2.408 MB / 0.707 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.266e-05/2.181, allocations: 10.81 kB / 0.707 GB, free: 104.7 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01979/2.2, allocations: 7.124 MB / 0.714 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00117/2.202, allocations: 350.4 kB / 0.7143 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001374/2.203, allocations: 48.59 kB / 0.7144 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003356/2.206, allocations: 136.8 kB / 0.7145 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007982/2.207, allocations: 135.1 kB / 0.7146 GB, free: 103.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000415/2.208, allocations: 67.81 kB / 0.7147 GB, free: 103.6 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005883/2.214, allocations: 1.901 MB / 0.7165 GB, free: 103.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.81e-07/2.214, allocations: 0 / 0.7165 GB, free: 103.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007305/2.221, allocations: 1.071 MB / 0.7176 GB, free: 103.5 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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,body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 182 * 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.01781/2.239, allocations: 8.908 MB / 0.7263 GB, free: 101 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01373/2.253, allocations: 5.735 MB / 0.7319 GB, free: 99.95 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/2.253, allocations: 0 / 0.7319 GB, free: 99.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006966/2.26, allocations: 2.393 MB / 0.7342 GB, free: 98.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003751/2.263, allocations: 410.7 kB / 0.7346 GB, free: 98.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03391/2.297, allocations: 11.07 MB / 0.7454 GB, free: 95.08 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008482/2.306, allocations: 3.822 MB / 0.7492 GB, free: 93.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008757/2.315, allocations: 2.056 MB / 0.7512 GB, free: 93.54 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004797/2.32, allocations: 2.113 MB / 0.7532 GB, free: 91.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.233e-06/2.32, allocations: 0 / 0.7532 GB, free: 91.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1716/2.491, allocations: 76.7 MB / 0.8281 GB, free: 34.55 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/2.491, allocations: 187.7 kB / 0.8283 GB, free: 34.33 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.078/7.57, allocations: 3.938 kB / 0.8283 GB, free: 34.32 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit3_res.mat does not exist to compare? outputFormat=mat