Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Frames.AngularVelocity,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Frames_AngularVelocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.258/2.258, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.66e-05/4.684e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4134/0.4135, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.5949, allocations: 99.95 MB / 459.8 MB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/0.5952, allocations: 79.95 kB / 459.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6672/1.262, allocations: 82.46 MB / 0.5296 GB, free: 101.9 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.739e-06/1.263, allocations: 5.062 kB / 0.5296 GB, free: 101.9 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002893/1.263, allocations: 79.77 kB / 0.5297 GB, free: 101.9 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: 1555 * Number of variables: 1555 Notification: Performance of Generate backend data structure: time 0.02485/1.288, allocations: 4.279 MB / 0.5339 GB, free: 100.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/1.288, allocations: 9.938 kB / 0.5339 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004063/1.292, allocations: 0.7938 MB / 0.5347 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01973/1.312, allocations: 2.269 MB / 0.5369 GB, free: 99.81 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0206/1.332, allocations: 4.77 MB / 0.5416 GB, free: 99.24 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000575/1.333, allocations: 333.8 kB / 0.5419 GB, free: 99.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002755/1.336, allocations: 441.6 kB / 0.5423 GB, free: 99.23 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03266/1.368, allocations: 10.54 MB / 0.5526 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/1.369, allocations: 62.5 kB / 0.5526 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002227/1.371, allocations: 220.1 kB / 0.5529 GB, free: 96.37 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002373/1.373, allocations: 1.006 MB / 0.5538 GB, free: 96.36 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02546/1.399, allocations: 8.38 MB / 0.562 GB, free: 95.85 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07182/1.471, allocations: 49.3 MB / 0.6102 GB, free: 58.25 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01483/1.486, allocations: 3.507 MB / 0.6136 GB, free: 56.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003765/1.49, allocations: 1.687 MB / 0.6152 GB, free: 56.1 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01851/1.508, allocations: 7.528 MB / 0.6226 GB, free: 51.84 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/1.508, allocations: 49.53 kB / 0.6226 GB, free: 51.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 6.362e-06/1.508, allocations: 0 / 0.6226 GB, free: 51.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.04293/1.551, allocations: 10.58 MB / 0.633 GB, free: 44.01 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001295/1.553, allocations: 1.613 MB / 0.6345 GB, free: 42.28 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007881/1.56, allocations: 3.495 MB / 0.6379 GB, free: 39.2 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004276/1.561, allocations: 41.7 kB / 0.638 GB, free: 39.15 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002701/1.564, allocations: 3.164 MB / 0.6411 GB, free: 36.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001011/1.565, allocations: 0.6079 MB / 0.6417 GB, free: 35.79 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007145/1.565, allocations: 116 kB / 0.6418 GB, free: 35.67 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003554/1.566, allocations: 0.5576 MB / 0.6423 GB, free: 35.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00532/1.571, allocations: 2.088 MB / 0.6444 GB, free: 33.29 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007344/1.579, allocations: 5.794 MB / 0.65 GB, free: 25.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00721/1.586, allocations: 3.438 MB / 0.6534 GB, free: 22.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-05/1.586, allocations: 39.94 kB / 0.6534 GB, free: 22.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.03262/1.619, allocations: 9.103 MB / 0.6623 GB, free: 15.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001/1.619, allocations: 63.52 kB / 0.6624 GB, free: 15.22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01741/1.636, allocations: 3.498 MB / 0.6658 GB, free: 12.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01674/1.653, allocations: 1.938 MB / 0.6677 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008166/1.661, allocations: 1.38 MB / 0.669 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0121/1.673, allocations: 5.747 MB / 0.6746 GB, free: 3.043 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007843/1.681, allocations: 415.3 kB / 0.675 GB, free: 2.637 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001483/1.683, allocations: 375.7 kB / 0.6754 GB, free: 2.273 MB / 458.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): 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.00124/1.684, allocations: 0.5554 MB / 0.6759 GB, free: 1.711 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008566/1.685, allocations: 339.6 kB / 0.6763 GB, free: 1.375 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01023/1.695, allocations: 3.06 MB / 0.6792 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009016/1.704, allocations: 2.58 MB / 0.6818 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.704, allocations: 4 kB / 0.6818 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-05/1.704, allocations: 7.984 kB / 0.6818 GB, free: 11.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/1.715, allocations: 3.852 MB / 0.6855 GB, free: 7.824 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.633e-05/1.715, allocations: 4.875 kB / 0.6855 GB, free: 7.82 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002622/1.718, allocations: 259.5 kB / 0.6858 GB, free: 7.566 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005683/1.723, allocations: 1.021 MB / 0.6868 GB, free: 6.531 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002619/1.724, allocations: 43.66 kB / 0.6868 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01075/1.734, allocations: 4.985 MB / 0.6917 GB, free: 1.242 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002219/1.737, allocations: 1.485 MB / 0.6932 GB, free: 15.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02327/1.76, allocations: 5.451 MB / 0.6985 GB, free: 10.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001969/1.762, allocations: 404.6 kB / 0.6989 GB, free: 9.703 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001689/1.764, allocations: 35.56 kB / 0.6989 GB, free: 9.676 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005571/1.769, allocations: 139.8 kB / 0.699 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009495/1.77, allocations: 93.23 kB / 0.6991 GB, free: 9.449 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003368/1.771, allocations: 39.98 kB / 0.6992 GB, free: 9.41 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.01049/1.781, allocations: 2.41 MB / 0.7015 GB, free: 7.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.833e-06/1.781, allocations: 0 / 0.7015 GB, free: 7.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008109/1.789, allocations: 1.062 MB / 0.7025 GB, free: 5.957 MB / 490.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.3451/2.135, allocations: 6.264 MB / 0.7087 GB, free: 119.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01695/2.152, allocations: 5.629 MB / 0.7142 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/2.152, allocations: 1.156 kB / 0.7142 GB, free: 118.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007741/2.159, allocations: 2.187 MB / 0.7163 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00357/2.163, allocations: 394.7 kB / 0.7167 GB, free: 118.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03537/2.198, allocations: 9.35 MB / 0.7258 GB, free: 116.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007912/2.206, allocations: 3.339 MB / 0.7291 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008685/2.215, allocations: 1.868 MB / 0.7309 GB, free: 115.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004938/2.22, allocations: 1.85 MB / 0.7327 GB, free: 115.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.773e-06/2.22, allocations: 3.844 kB / 0.7327 GB, free: 115.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1981/2.418, allocations: 77.13 MB / 0.808 GB, free: 77.75 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000222/2.419, allocations: 191 kB / 0.8082 GB, free: 77.52 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.164/7.583, allocations: 0 / 0.8082 GB, free: 77.52 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Frames.AngularVelocity_res.mat does not exist to compare? outputFormat=mat