Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.618/2.618, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.474e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.3989, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2023/0.6013, allocations: 99.46 MB / 459.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003604/0.6018, allocations: 75.97 kB / 459.4 MB, free: 13.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7192/1.321, allocations: 82.06 MB / 0.5288 GB, free: 102.1 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.405e-06/1.321, allocations: 0 / 0.5288 GB, free: 102.1 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003086/1.321, allocations: 79.88 kB / 0.5289 GB, free: 102.1 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01656/1.338, allocations: 3.921 MB / 0.5327 GB, free: 100.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.849e-05/1.338, allocations: 9 kB / 0.5327 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003709/1.342, allocations: 0.757 MB / 0.5334 GB, free: 100.4 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01986/1.362, allocations: 2.338 MB / 0.5357 GB, free: 100.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02013/1.382, allocations: 5.19 MB / 0.5408 GB, free: 99.56 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004865/1.382, allocations: 317.2 kB / 0.5411 GB, free: 99.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002464/1.385, allocations: 429.8 kB / 0.5415 GB, free: 99.54 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03096/1.416, allocations: 10.27 MB / 0.5515 GB, free: 96.75 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003254/1.416, allocations: 65.16 kB / 0.5516 GB, free: 96.74 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002013/1.418, allocations: 210.9 kB / 0.5518 GB, free: 96.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002312/1.421, allocations: 0.9907 MB / 0.5528 GB, free: 96.73 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02424/1.445, allocations: 8.141 MB / 0.5607 GB, free: 96.34 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06854/1.514, allocations: 48.29 MB / 0.6079 GB, free: 59.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01454/1.528, allocations: 3.537 MB / 0.6113 GB, free: 57.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003293/1.532, allocations: 1.527 MB / 0.6128 GB, free: 56.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01598/1.548, allocations: 6.981 MB / 0.6196 GB, free: 53.03 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.459e-05/1.548, allocations: 55.06 kB / 0.6197 GB, free: 52.96 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 6.112e-06/1.548, allocations: 0 / 0.6197 GB, free: 52.96 MB / 458.7 MB Notification: Performance of matching and sorting (n=155): time 0.05157/1.599, allocations: 11.88 MB / 0.6313 GB, free: 45.49 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001308/1.601, allocations: 1.587 MB / 0.6328 GB, free: 43.79 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007884/1.609, allocations: 3.44 MB / 0.6362 GB, free: 40.75 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004437/1.609, allocations: 45.7 kB / 0.6362 GB, free: 40.7 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.612, allocations: 3.146 MB / 0.6393 GB, free: 37.88 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001059/1.613, allocations: 0.6286 MB / 0.6399 GB, free: 37.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008307/1.614, allocations: 124 kB / 0.64 GB, free: 37.21 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004554/1.614, allocations: 0.5562 MB / 0.6406 GB, free: 36.72 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00493/1.619, allocations: 1.961 MB / 0.6425 GB, free: 34.95 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007498/1.627, allocations: 5.702 MB / 0.6481 GB, free: 27.64 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007192/1.634, allocations: 3.327 MB / 0.6513 GB, free: 24.79 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000142/1.634, allocations: 40 kB / 0.6514 GB, free: 24.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02383/1.658, allocations: 7.863 MB / 0.659 GB, free: 17.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/1.658, allocations: 67.8 kB / 0.6591 GB, free: 17.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008169/1.666, allocations: 2.501 MB / 0.6615 GB, free: 15.89 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006043/1.672, allocations: 1.142 MB / 0.6627 GB, free: 15.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008131/1.681, allocations: 1.382 MB / 0.664 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007132/1.688, allocations: 4.647 MB / 0.6685 GB, free: 9.418 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007301/1.695, allocations: 390.1 kB / 0.6689 GB, free: 9.098 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.697, allocations: 383 kB / 0.6693 GB, free: 8.734 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * 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 (747): * Single equations (assignments): 738 * 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.002006/1.699, allocations: 0.5678 MB / 0.6698 GB, free: 8.168 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008752/1.7, allocations: 344.6 kB / 0.6702 GB, free: 7.828 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01003/1.71, allocations: 2.914 MB / 0.673 GB, free: 4.977 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.008276/1.718, allocations: 2.445 MB / 0.6754 GB, free: 2.512 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-05/1.718, allocations: 3.984 kB / 0.6754 GB, free: 2.508 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.002e-05/1.718, allocations: 7.984 kB / 0.6754 GB, free: 2.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03514/1.753, allocations: 9.177 MB / 0.6844 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.186e-05/1.753, allocations: 4 kB / 0.6844 GB, free: 9.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002629/1.756, allocations: 251.6 kB / 0.6846 GB, free: 8.941 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006043/1.762, allocations: 1.014 MB / 0.6856 GB, free: 7.918 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005347/1.763, allocations: 43.97 kB / 0.6857 GB, free: 7.875 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009526/1.772, allocations: 4.827 MB / 0.6904 GB, free: 2.789 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001551/1.774, allocations: 1.448 MB / 0.6918 GB, free: 1.199 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01529/1.789, allocations: 5.552 MB / 0.6972 GB, free: 11.52 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001485/1.791, allocations: 396.5 kB / 0.6976 GB, free: 11.11 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001008/1.792, allocations: 39.92 kB / 0.6976 GB, free: 11.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003101/1.795, allocations: 127.8 kB / 0.6977 GB, free: 10.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005142/1.796, allocations: 100.6 kB / 0.6978 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.796, allocations: 55.92 kB / 0.6979 GB, free: 10.8 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.007678/1.803, allocations: 2.365 MB / 0.7002 GB, free: 8.453 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.42e-07/1.803, allocations: 4 kB / 0.7002 GB, free: 8.449 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.008285/1.812, allocations: 1.016 MB / 0.7012 GB, free: 7.434 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (124): * Single equations (assignments): 117 * 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.01717/1.829, allocations: 7.025 MB / 0.7081 GB, free: 272 kB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3385/2.168, allocations: 5.146 MB / 0.7131 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.389e-05/2.168, allocations: 4.438 kB / 0.7131 GB, free: 121.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007236/2.175, allocations: 2.069 MB / 0.7151 GB, free: 120.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003641/2.179, allocations: 420.9 kB / 0.7155 GB, free: 120.7 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/2.212, allocations: 9.124 MB / 0.7244 GB, free: 118.9 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008689/2.221, allocations: 3.294 MB / 0.7276 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.009453/2.23, allocations: 1.887 MB / 0.7295 GB, free: 118.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004612/2.235, allocations: 1.85 MB / 0.7313 GB, free: 118.1 MB / 490.7 MB Notification: Performance of SimCode: time 1.733e-06/2.235, allocations: 0 / 0.7313 GB, free: 118.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1783/2.413, allocations: 74.05 MB / 0.8036 GB, free: 84.09 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002707/2.413, allocations: 172.5 kB / 0.8038 GB, free: 83.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.336/7.749, allocations: 3.938 kB / 0.8038 GB, free: 83.86 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat