Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.955/1.955, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.106e-05/4.137e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5358, allocations: 93.23 MB / 415.1 MB, free: 12.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003008/0.5362, allocations: 71.97 kB / 415.2 MB, free: 12.2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4204/0.9566, allocations: 82.29 MB / 497.5 MB, free: 9.371 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.9566, allocations: 3.938 kB / 497.5 MB, free: 9.367 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003661/0.957, allocations: 84 kB / 497.6 MB, free: 9.285 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.03237/0.9894, allocations: 4.276 MB / 0.4901 GB, free: 4.945 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/0.9895, allocations: 12.03 kB / 0.4901 GB, free: 4.934 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004787/0.9943, allocations: 0.7987 MB / 0.4909 GB, free: 4.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02639/1.021, allocations: 2.248 MB / 0.4931 GB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3231/1.344, allocations: 4.746 MB / 0.4977 GB, free: 94.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005476/1.345, allocations: 337.3 kB / 0.498 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002536/1.347, allocations: 440.3 kB / 0.4984 GB, free: 94.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03454/1.382, allocations: 10.49 MB / 0.5087 GB, free: 92.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003488/1.382, allocations: 60.12 kB / 0.5087 GB, free: 92.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002186/1.384, allocations: 215.9 kB / 0.5089 GB, free: 92.04 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002953/1.387, allocations: 1.011 MB / 0.5099 GB, free: 92.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02735/1.415, allocations: 8.196 MB / 0.5179 GB, free: 92.02 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07298/1.488, allocations: 49.27 MB / 0.566 GB, free: 57.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.503, allocations: 3.509 MB / 0.5695 GB, free: 55.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003761/1.507, allocations: 1.678 MB / 0.5711 GB, free: 54.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01754/1.524, allocations: 7.526 MB / 0.5785 GB, free: 50.81 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/1.524, allocations: 54.38 kB / 0.5785 GB, free: 50.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 4.99e-06/1.524, allocations: 0 / 0.5785 GB, free: 50.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.04367/1.568, allocations: 10.57 MB / 0.5888 GB, free: 46.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001411/1.569, allocations: 1.611 MB / 0.5904 GB, free: 44.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007817/1.577, allocations: 3.495 MB / 0.5938 GB, free: 43.52 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004582/1.578, allocations: 52.33 kB / 0.5939 GB, free: 43.48 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002664/1.581, allocations: 3.168 MB / 0.597 GB, free: 41.03 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.582, allocations: 0.6001 MB / 0.5975 GB, free: 40.61 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006411/1.582, allocations: 117.5 kB / 0.5977 GB, free: 40.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000378/1.583, allocations: 0.5531 MB / 0.5982 GB, free: 40.11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004848/1.588, allocations: 2.069 MB / 0.6002 GB, free: 39.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007289/1.595, allocations: 5.753 MB / 0.6058 GB, free: 33.07 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007298/1.602, allocations: 3.418 MB / 0.6092 GB, free: 30.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001004/1.602, allocations: 36 kB / 0.6092 GB, free: 30.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.02363/1.626, allocations: 8.052 MB / 0.6171 GB, free: 23.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/1.626, allocations: 63.33 kB / 0.6171 GB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008358/1.635, allocations: 2.799 MB / 0.6199 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00546/1.64, allocations: 1.131 MB / 0.621 GB, free: 19.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008244/1.648, allocations: 1.369 MB / 0.6223 GB, free: 18.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007639/1.656, allocations: 4.738 MB / 0.6269 GB, free: 14.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007923/1.664, allocations: 412.6 kB / 0.6273 GB, free: 13.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001531/1.666, allocations: 370.9 kB / 0.6277 GB, free: 13.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 604 * Number of states: 0 () * Number of discrete variables: 36 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (735): * Single equations (assignments): 726 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * 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: 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.001643/1.667, allocations: 0.5685 MB / 0.6282 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009431/1.668, allocations: 327.7 kB / 0.6286 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/1.678, allocations: 3.056 MB / 0.6315 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008594/1.687, allocations: 2.577 MB / 0.6341 GB, free: 8.184 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.266e-05/1.687, allocations: 11.89 kB / 0.6341 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.601e-05/1.687, allocations: 7.406 kB / 0.6341 GB, free: 8.172 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.698, allocations: 3.848 MB / 0.6378 GB, free: 5.188 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.95e-05/1.698, allocations: 4 kB / 0.6378 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002638/1.701, allocations: 246.1 kB / 0.6381 GB, free: 4.996 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005409/1.706, allocations: 1.029 MB / 0.6391 GB, free: 4.297 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004405/1.707, allocations: 36.11 kB / 0.6391 GB, free: 4.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0085/1.715, allocations: 4.997 MB / 0.644 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001564/1.717, allocations: 1.47 MB / 0.6454 GB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/1.733, allocations: 5.454 MB / 0.6507 GB, free: 8.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.734, allocations: 400.6 kB / 0.6511 GB, free: 8.516 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001289/1.735, allocations: 24 kB / 0.6512 GB, free: 8.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003627/1.739, allocations: 152.8 kB / 0.6513 GB, free: 8.344 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006254/1.74, allocations: 84.64 kB / 0.6514 GB, free: 8.262 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002055/1.74, allocations: 39.98 kB / 0.6514 GB, free: 8.223 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00698/1.747, allocations: 2.41 MB / 0.6538 GB, free: 5.832 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.747, allocations: 0 / 0.6538 GB, free: 5.832 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007855/1.755, allocations: 1.061 MB / 0.6548 GB, free: 4.773 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.3346/2.09, allocations: 6.264 MB / 0.6609 GB, free: 99.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01678/2.106, allocations: 5.404 MB / 0.6662 GB, free: 98.75 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.144e-06/2.106, allocations: 0.9844 kB / 0.6662 GB, free: 98.75 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007638/2.114, allocations: 2.173 MB / 0.6683 GB, free: 98.32 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003412/2.118, allocations: 401.8 kB / 0.6687 GB, free: 98.31 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03351/2.151, allocations: 9.322 MB / 0.6778 GB, free: 96.58 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007114/2.158, allocations: 3.331 MB / 0.6811 GB, free: 95.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008405/2.167, allocations: 1.867 MB / 0.6829 GB, free: 95.76 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004576/2.171, allocations: 1.856 MB / 0.6847 GB, free: 95.75 MB / 442.7 MB Notification: Performance of SimCode: time 1.603e-06/2.171, allocations: 6.375 kB / 0.6847 GB, free: 95.75 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/2.37, allocations: 74.79 MB / 0.7577 GB, free: 61.14 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/2.37, allocations: 179.9 kB / 0.7579 GB, free: 60.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.305/7.674, allocations: 0 / 0.7579 GB, free: 60.92 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat