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.267/2.267, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.867e-05/2.873e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3899/0.39, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.182/0.572, allocations: 99.96 MB / 459.8 MB, free: 12.92 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5723, allocations: 71.97 kB / 459.9 MB, free: 12.85 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.655/1.227, allocations: 82.46 MB / 0.5297 GB, free: 102 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.813e-06/1.227, allocations: 0 / 0.5297 GB, free: 102 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002785/1.228, allocations: 84.11 kB / 0.5297 GB, free: 102 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.02409/1.252, allocations: 4.282 MB / 0.5339 GB, free: 100.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/1.252, allocations: 9.875 kB / 0.5339 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003943/1.256, allocations: 0.7989 MB / 0.5347 GB, free: 100.2 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01932/1.275, allocations: 2.264 MB / 0.5369 GB, free: 99.96 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0198/1.295, allocations: 4.774 MB / 0.5416 GB, free: 99.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005881/1.296, allocations: 333.7 kB / 0.5419 GB, free: 99.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002661/1.298, allocations: 442.8 kB / 0.5423 GB, free: 99.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03184/1.33, allocations: 10.49 MB / 0.5526 GB, free: 96.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000268/1.331, allocations: 62.62 kB / 0.5526 GB, free: 96.54 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00163/1.332, allocations: 212.7 kB / 0.5528 GB, free: 96.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002234/1.334, allocations: 1.014 MB / 0.5538 GB, free: 96.53 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02439/1.359, allocations: 8.194 MB / 0.5618 GB, free: 96.09 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06914/1.428, allocations: 49.29 MB / 0.61 GB, free: 58.49 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/1.443, allocations: 3.511 MB / 0.6134 GB, free: 57.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003581/1.446, allocations: 1.672 MB / 0.615 GB, free: 56.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01778/1.464, allocations: 7.531 MB / 0.6224 GB, free: 52.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.464, allocations: 49.5 kB / 0.6224 GB, free: 52.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 5.741e-06/1.464, allocations: 0 / 0.6224 GB, free: 52.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=146): time 0.04172/1.506, allocations: 10.56 MB / 0.6327 GB, free: 44.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001344/1.507, allocations: 1.61 MB / 0.6343 GB, free: 42.59 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007781/1.515, allocations: 3.495 MB / 0.6377 GB, free: 39.5 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004392/1.516, allocations: 52.02 kB / 0.6378 GB, free: 39.45 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002524/1.518, allocations: 3.165 MB / 0.6409 GB, free: 36.61 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001031/1.519, allocations: 0.6074 MB / 0.6415 GB, free: 36.08 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007945/1.52, allocations: 119.9 kB / 0.6416 GB, free: 35.97 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004413/1.521, allocations: 0.5568 MB / 0.6421 GB, free: 35.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005099/1.526, allocations: 2.09 MB / 0.6442 GB, free: 33.59 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00714/1.533, allocations: 5.757 MB / 0.6498 GB, free: 26.27 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007117/1.54, allocations: 3.439 MB / 0.6531 GB, free: 23.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.472e-05/1.54, allocations: 40 kB / 0.6532 GB, free: 23.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=773) (initialization): time 0.03195/1.572, allocations: 8.731 MB / 0.6617 GB, free: 16 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/1.572, allocations: 64.88 kB / 0.6618 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01733/1.59, allocations: 3.488 MB / 0.6652 GB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01655/1.606, allocations: 1.938 MB / 0.6671 GB, free: 11.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008123/1.614, allocations: 1.376 MB / 0.6684 GB, free: 9.785 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01165/1.626, allocations: 5.743 MB / 0.674 GB, free: 3.781 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007675/1.634, allocations: 427.1 kB / 0.6744 GB, free: 3.367 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00144/1.635, allocations: 368 kB / 0.6748 GB, free: 3.008 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.001992/1.637, allocations: 0.5593 MB / 0.6753 GB, free: 2.441 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009203/1.638, allocations: 331.7 kB / 0.6756 GB, free: 2.113 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01018/1.649, allocations: 3.071 MB / 0.6786 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008714/1.657, allocations: 2.576 MB / 0.6811 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/1.657, allocations: 4 kB / 0.6812 GB, free: 12.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/1.657, allocations: 7.969 kB / 0.6812 GB, free: 12.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01027/1.668, allocations: 3.862 MB / 0.6849 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.892e-05/1.668, allocations: 0 / 0.6849 GB, free: 8.543 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002698/1.671, allocations: 263.5 kB / 0.6852 GB, free: 8.285 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005652/1.676, allocations: 1.015 MB / 0.6862 GB, free: 7.258 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/1.677, allocations: 39.98 kB / 0.6862 GB, free: 7.219 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009718/1.686, allocations: 4.999 MB / 0.6911 GB, free: 1.961 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001409/1.688, allocations: 1.474 MB / 0.6925 GB, free: 356 kB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0152/1.703, allocations: 5.443 MB / 0.6978 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/1.704, allocations: 408.5 kB / 0.6982 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007715/1.705, allocations: 28 kB / 0.6983 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00304/1.708, allocations: 147.8 kB / 0.6984 GB, free: 10.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004151/1.709, allocations: 88.55 kB / 0.6985 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001985/1.709, allocations: 39.98 kB / 0.6985 GB, free: 10.13 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006207/1.715, allocations: 2.41 MB / 0.7009 GB, free: 7.742 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.715, allocations: 0.6562 kB / 0.7009 GB, free: 7.742 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007784/1.723, allocations: 1.062 MB / 0.7019 GB, free: 6.68 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.01647/1.74, allocations: 6.269 MB / 0.708 GB, free: 372 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3345/2.074, allocations: 5.437 MB / 0.7134 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/2.074, allocations: 1.531 kB / 0.7134 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00753/2.082, allocations: 2.17 MB / 0.7155 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/2.085, allocations: 402.7 kB / 0.7159 GB, free: 120.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03226/2.117, allocations: 9.326 MB / 0.725 GB, free: 118.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007373/2.125, allocations: 3.336 MB / 0.7282 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008361/2.133, allocations: 1.861 MB / 0.73 GB, free: 117.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005567/2.139, allocations: 1.856 MB / 0.7319 GB, free: 117.8 MB / 490.7 MB Notification: Performance of SimCode: time 1.693e-06/2.139, allocations: 0 / 0.7319 GB, free: 117.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2074/2.346, allocations: 76.59 MB / 0.8067 GB, free: 81.1 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002202/2.347, allocations: 185.7 kB / 0.8068 GB, free: 80.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.24/7.587, allocations: 0 / 0.8068 GB, free: 80.87 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