Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.06/2.06, allocations: 209.4 MB / 216.5 MB, free: 6.598 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.341e-05/2.355e-05, allocations: 4 kB / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1074, allocations: 48.71 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.441/0.5485, allocations: 92.28 MB / 408.6 MB, free: 360 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.5488, allocations: 69.97 kB / 408.7 MB, free: 324 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3466/0.8954, allocations: 80.09 MB / 488.8 MB, free: 3.277 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.8955, allocations: 0 / 488.8 MB, free: 3.277 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003057/0.8958, allocations: 83.98 kB / 488.8 MB, free: 3.195 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.3055/1.201, allocations: 3.903 MB / 492.7 MB, free: 86.15 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.611e-05/1.201, allocations: 9.094 kB / 492.8 MB, free: 86.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/1.221, allocations: 2.324 MB / 495.1 MB, free: 85.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02016/1.241, allocations: 5.174 MB / 0.4885 GB, free: 85.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003237/1.241, allocations: 135.1 kB / 0.4887 GB, free: 85.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002264/1.244, allocations: 247.8 kB / 0.4889 GB, free: 85.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01678/1.26, allocations: 6.009 MB / 0.4948 GB, free: 85.54 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02372/1.284, allocations: 9.289 MB / 0.5038 GB, free: 82.75 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002389/1.284, allocations: 63.78 kB / 0.5039 GB, free: 82.75 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001286/1.286, allocations: 30.03 kB / 0.5039 GB, free: 82.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002106/1.288, allocations: 0.9963 MB / 0.5049 GB, free: 82.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06378/1.352, allocations: 47.49 MB / 0.5513 GB, free: 49.03 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004684/1.356, allocations: 2.503 MB / 0.5537 GB, free: 47.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/1.359, allocations: 1.435 MB / 0.5551 GB, free: 46.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005494/1.36, allocations: 351.6 kB / 0.5555 GB, free: 46.68 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/1.36, allocations: 54.19 kB / 0.5555 GB, free: 46.62 MB / 410.7 MB Notification: Performance of pre-optimization done (n=145): time 5.24e-06/1.36, allocations: 2.438 kB / 0.5555 GB, free: 46.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=163): time 0.0424/1.402, allocations: 12.96 MB / 0.5682 GB, free: 41.13 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.402, allocations: 147.8 kB / 0.5683 GB, free: 40.97 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006837/1.409, allocations: 3.07 MB / 0.5713 GB, free: 39.76 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000428/1.41, allocations: 29.2 kB / 0.5713 GB, free: 39.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003119/1.413, allocations: 3.182 MB / 0.5744 GB, free: 37.23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001195/1.414, allocations: 0.6464 MB / 0.5751 GB, free: 36.76 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007103/1.415, allocations: 0 / 0.5751 GB, free: 36.76 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004261/1.415, allocations: 0.5701 MB / 0.5756 GB, free: 36.34 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/1.42, allocations: 1.923 MB / 0.5775 GB, free: 35.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007172/1.427, allocations: 5.836 MB / 0.5832 GB, free: 29.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008286/1.436, allocations: 3.336 MB / 0.5865 GB, free: 26.82 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001669/1.436, allocations: 40 kB / 0.5865 GB, free: 26.78 MB / 410.7 MB Notification: Performance of matching and sorting (n=820) (initialization): time 0.02194/1.458, allocations: 7.567 MB / 0.5939 GB, free: 20.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.458, allocations: 64 kB / 0.5939 GB, free: 20.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007238/1.465, allocations: 2.429 MB / 0.5963 GB, free: 18.22 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/1.47, allocations: 1.043 MB / 0.5973 GB, free: 17.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008661/1.479, allocations: 1.458 MB / 0.5988 GB, free: 16.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005633/1.485, allocations: 4.14 MB / 0.6028 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007117/1.492, allocations: 272.8 kB / 0.6031 GB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001578/1.493, allocations: 394.4 kB / 0.6034 GB, free: 11.59 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (785): * Single equations (assignments): 776 * 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 {1} * 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.001754/1.495, allocations: 472.7 kB / 0.6039 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009598/1.505, allocations: 3.234 MB / 0.607 GB, free: 8.449 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001156/1.506, allocations: 323.9 kB / 0.6074 GB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009417/1.515, allocations: 2.864 MB / 0.6102 GB, free: 5.867 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00745/1.523, allocations: 2.432 MB / 0.6125 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.838e-05/1.523, allocations: 0 / 0.6125 GB, free: 3.926 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-05/1.523, allocations: 10.8 kB / 0.6125 GB, free: 3.922 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02887/1.552, allocations: 8.875 MB / 0.6212 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.249e-05/1.552, allocations: 4 kB / 0.6212 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/1.555, allocations: 263.6 kB / 0.6215 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005621/1.56, allocations: 0.998 MB / 0.6224 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004144/1.561, allocations: 15.98 kB / 0.6224 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009214/1.57, allocations: 4.728 MB / 0.6271 GB, free: 6.438 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001388/1.572, allocations: 1.395 MB / 0.6284 GB, free: 4.918 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01439/1.586, allocations: 5.597 MB / 0.6339 GB, free: 15.17 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001266/1.587, allocations: 376.9 kB / 0.6343 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009411/1.588, allocations: 11.94 kB / 0.6343 GB, free: 14.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002718/1.591, allocations: 111.8 kB / 0.6344 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004501/1.591, allocations: 108.5 kB / 0.6345 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.592, allocations: 53.39 kB / 0.6345 GB, free: 14.5 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005208/1.597, allocations: 2.022 MB / 0.6365 GB, free: 12.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.685e-06/1.597, allocations: 0 / 0.6365 GB, free: 12.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007917/1.605, allocations: 0.904 MB / 0.6374 GB, free: 11.6 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET7611732360.x[3],$STATESET7611732360.x[2],$STATESET7611732360.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (132): * Single equations (assignments): 125 * 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 {(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 Backend phase and start with SimCode phase: time 0.01645/1.621, allocations: 7.084 MB / 0.6443 GB, free: 4.379 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3099/1.931, allocations: 5.081 MB / 0.6493 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/1.931, allocations: 0 / 0.6493 GB, free: 107.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007303/1.939, allocations: 2.102 MB / 0.6513 GB, free: 106.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003339/1.942, allocations: 352.7 kB / 0.6517 GB, free: 106.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03382/1.976, allocations: 9.003 MB / 0.6604 GB, free: 104.9 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008342/1.984, allocations: 3.296 MB / 0.6637 GB, free: 104.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009954/1.994, allocations: 1.988 MB / 0.6656 GB, free: 104.1 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004597/1.999, allocations: 1.855 MB / 0.6674 GB, free: 104.1 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/1.999, allocations: 0 / 0.6674 GB, free: 104.1 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1769/2.176, allocations: 69.75 MB / 0.7355 GB, free: 75.83 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/2.176, allocations: 135.6 kB / 0.7357 GB, free: 75.63 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.141/7.318, allocations: 0 / 0.7357 GB, free: 75.63 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat