Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.725/2.725, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.314e-05, allocations: 9.766 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 61.87 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5523/0.6896, allocations: 108.6 MB / 0.5068 GB, free: 11.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.6899, allocations: 75.97 kB / 0.5069 GB, free: 11.35 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4103/1.1, allocations: 81.41 MB / 0.5864 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of FrontEnd: time 7.454e-06/1.1, allocations: 4 kB / 0.5864 GB, free: 9.465 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0004054/1.101, allocations: 91.88 kB / 0.5865 GB, free: 9.375 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1504 * Number of variables: 1504 Notification: Performance of Generate backend data structure: time 0.04339/1.144, allocations: 4.189 MB / 0.5906 GB, free: 5.121 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.134e-05/1.144, allocations: 8.031 kB / 0.5906 GB, free: 5.113 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004712/1.149, allocations: 0.7701 MB / 0.5913 GB, free: 4.332 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02671/1.176, allocations: 2.245 MB / 0.5935 GB, free: 2.078 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01899/1.195, allocations: 4.565 MB / 0.598 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004848/1.195, allocations: 336.6 kB / 0.5983 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002444/1.198, allocations: 431.8 kB / 0.5987 GB, free: 12.69 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03141/1.229, allocations: 10.27 MB / 0.6087 GB, free: 1.383 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002222/1.23, allocations: 55.55 kB / 0.6088 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001122/1.231, allocations: 211.8 kB / 0.609 GB, free: 1.121 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002343/1.233, allocations: 0.9789 MB / 0.61 GB, free: 136 kB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3899/1.623, allocations: 7.988 MB / 0.6178 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07218/1.695, allocations: 48.38 MB / 0.665 GB, free: 90.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01541/1.711, allocations: 3.634 MB / 0.6685 GB, free: 89.12 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003342/1.714, allocations: 1.601 MB / 0.6701 GB, free: 88.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01709/1.731, allocations: 7.898 MB / 0.6778 GB, free: 83.89 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/1.731, allocations: 55.19 kB / 0.6779 GB, free: 83.83 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 5.891e-06/1.731, allocations: 5.531 kB / 0.6779 GB, free: 83.83 MB / 0.5105 GB Notification: Performance of matching and sorting (n=148): time 0.05137/1.783, allocations: 10.3 MB / 0.6879 GB, free: 79.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00193/1.785, allocations: 1.617 MB / 0.6895 GB, free: 78.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01202/1.797, allocations: 3.393 MB / 0.6928 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005571/1.797, allocations: 45.67 kB / 0.6929 GB, free: 77.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00391/1.801, allocations: 3.053 MB / 0.6959 GB, free: 74.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001429/1.803, allocations: 0.6035 MB / 0.6964 GB, free: 74.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0011/1.804, allocations: 118.1 kB / 0.6966 GB, free: 74.16 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0008046/1.805, allocations: 0.5405 MB / 0.6971 GB, free: 73.76 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007729/1.813, allocations: 1.969 MB / 0.699 GB, free: 73.1 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01103/1.824, allocations: 5.551 MB / 0.7044 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01128/1.835, allocations: 3.274 MB / 0.7076 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000208/1.835, allocations: 38.56 kB / 0.7077 GB, free: 66.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=752) (initialization): time 0.04288/1.878, allocations: 8.405 MB / 0.7159 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/1.878, allocations: 66.36 kB / 0.7159 GB, free: 63.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.017/1.895, allocations: 3.264 MB / 0.7191 GB, free: 62.96 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01685/1.912, allocations: 1.93 MB / 0.721 GB, free: 62.76 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007837/1.92, allocations: 1.327 MB / 0.7223 GB, free: 62.14 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/1.932, allocations: 5.73 MB / 0.7279 GB, free: 56.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007241/1.939, allocations: 402 kB / 0.7283 GB, free: 56.61 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001426/1.941, allocations: 357 kB / 0.7286 GB, free: 56.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 590 * Number of states: 0 () * Number of discrete variables: 41 (FrameTorque1.arrow.arrowLine.twoHeadedArrow,FrameTorque1.arrow.headAtOrigin,FrameTorque1.color[3],FrameTorque1.color[2],FrameTorque1.color[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (714): * Single equations (assignments): 705 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * 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.001926/1.943, allocations: 0.5563 MB / 0.7292 GB, free: 55.71 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008721/1.944, allocations: 323.8 kB / 0.7295 GB, free: 55.39 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009676/1.954, allocations: 2.912 MB / 0.7323 GB, free: 53.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008181/1.962, allocations: 2.448 MB / 0.7347 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.196e-05/1.962, allocations: 4 kB / 0.7347 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.676e-05/1.962, allocations: 6.609 kB / 0.7347 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02619/1.988, allocations: 8.504 MB / 0.743 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/1.988, allocations: 0 / 0.743 GB, free: 44.37 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.991, allocations: 247 kB / 0.7433 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005409/1.996, allocations: 1.018 MB / 0.7443 GB, free: 43.49 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000418/1.997, allocations: 39.36 kB / 0.7443 GB, free: 43.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008406/2.005, allocations: 5.012 MB / 0.7492 GB, free: 38.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001162/2.006, allocations: 1.474 MB / 0.7506 GB, free: 37.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01297/2.019, allocations: 5.274 MB / 0.7558 GB, free: 32.61 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/2.021, allocations: 392.3 kB / 0.7562 GB, free: 32.21 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001013/2.022, allocations: 35.77 kB / 0.7562 GB, free: 32.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003001/2.025, allocations: 129.1 kB / 0.7563 GB, free: 32.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004159/2.025, allocations: 92.73 kB / 0.7564 GB, free: 32.06 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001765/2.026, allocations: 42.36 kB / 0.7564 GB, free: 32.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005133/2.031, allocations: 2.342 MB / 0.7587 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.302e-06/2.031, allocations: 0 / 0.7587 GB, free: 29.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006914/2.038, allocations: 1.034 MB / 0.7597 GB, free: 28.94 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 107 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * 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.01332/2.051, allocations: 6.264 MB / 0.7659 GB, free: 23.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01353/2.065, allocations: 5.204 MB / 0.7709 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/2.065, allocations: 0 / 0.7709 GB, free: 17.86 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006729/2.071, allocations: 2.11 MB / 0.773 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003449/2.075, allocations: 404 kB / 0.7734 GB, free: 15.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02963/2.105, allocations: 8.989 MB / 0.7822 GB, free: 6.301 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006962/2.112, allocations: 3.25 MB / 0.7853 GB, free: 3.035 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.008517/2.12, allocations: 1.829 MB / 0.7871 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005257/2.126, allocations: 1.806 MB / 0.7889 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/2.126, allocations: 0 / 0.7889 GB, free: 15.44 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6287/2.754, allocations: 74.69 MB / 0.8618 GB, free: 117.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002343/2.755, allocations: 185.4 kB / 0.862 GB, free: 117 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.792/8.547, allocations: 0 / 0.862 GB, free: 117 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat