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.426/2.426, allocations: 235 MB / 247.1 MB, free: 14.41 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.356e-05/5.37e-05, allocations: 4 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4192, allocations: 54.85 MB / 359.9 MB, free: 3.172 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1813/0.6006, allocations: 99.45 MB / 459.3 MB, free: 13.44 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002815/0.6009, allocations: 72.75 kB / 459.4 MB, free: 13.37 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7079/1.309, allocations: 82.06 MB / 0.5288 GB, free: 102.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.309, allocations: 0 / 0.5288 GB, free: 102.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003317/1.309, allocations: 80.22 kB / 0.5288 GB, free: 102.3 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.01701/1.326, allocations: 3.926 MB / 0.5327 GB, free: 100.6 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/1.326, allocations: 9.625 kB / 0.5327 GB, free: 100.6 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003511/1.33, allocations: 0.7549 MB / 0.5334 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02033/1.35, allocations: 2.338 MB / 0.5357 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02126/1.372, allocations: 5.195 MB / 0.5408 GB, free: 99.69 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005884/1.372, allocations: 316.3 kB / 0.5411 GB, free: 99.68 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002722/1.375, allocations: 426.6 kB / 0.5415 GB, free: 99.67 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03347/1.408, allocations: 10.33 MB / 0.5516 GB, free: 96.85 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002691/1.409, allocations: 58.64 kB / 0.5516 GB, free: 96.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001731/1.411, allocations: 206.3 kB / 0.5518 GB, free: 96.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002241/1.413, allocations: 0.9967 MB / 0.5528 GB, free: 96.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02487/1.438, allocations: 8.316 MB / 0.5609 GB, free: 96.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06985/1.508, allocations: 48.29 MB / 0.6081 GB, free: 59.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01439/1.522, allocations: 3.556 MB / 0.6115 GB, free: 57.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003364/1.525, allocations: 1.527 MB / 0.613 GB, free: 56.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01603/1.542, allocations: 6.986 MB / 0.6198 GB, free: 53 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/1.542, allocations: 49.94 kB / 0.6199 GB, free: 52.95 MB / 458.7 MB Notification: Performance of pre-optimization done (n=139): time 5.851e-06/1.542, allocations: 0 / 0.6199 GB, free: 52.95 MB / 458.7 MB Notification: Performance of matching and sorting (n=155): time 0.05331/1.595, allocations: 11.89 MB / 0.6315 GB, free: 45.27 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001323/1.596, allocations: 1.591 MB / 0.6331 GB, free: 43.56 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007758/1.604, allocations: 3.44 MB / 0.6364 GB, free: 40.53 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004404/1.605, allocations: 45.7 kB / 0.6365 GB, free: 40.48 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002782/1.608, allocations: 3.139 MB / 0.6395 GB, free: 37.66 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.609, allocations: 0.6364 MB / 0.6402 GB, free: 37.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007737/1.609, allocations: 116 kB / 0.6403 GB, free: 36.99 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003934/1.61, allocations: 0.5639 MB / 0.6408 GB, free: 36.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004889/1.615, allocations: 1.951 MB / 0.6427 GB, free: 34.73 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007393/1.622, allocations: 5.743 MB / 0.6483 GB, free: 27.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007436/1.63, allocations: 3.325 MB / 0.6516 GB, free: 24.53 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00012/1.63, allocations: 44.97 kB / 0.6516 GB, free: 24.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02347/1.653, allocations: 8.238 MB / 0.6597 GB, free: 17.35 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.653, allocations: 64 kB / 0.6597 GB, free: 17.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008142/1.662, allocations: 2.507 MB / 0.6622 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006092/1.668, allocations: 1.13 MB / 0.6633 GB, free: 14.41 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008396/1.676, allocations: 1.39 MB / 0.6646 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007434/1.684, allocations: 4.652 MB / 0.6692 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007265/1.691, allocations: 393.7 kB / 0.6696 GB, free: 8.445 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00127/1.692, allocations: 375.2 kB / 0.6699 GB, free: 8.086 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.001266/1.694, allocations: 0.5683 MB / 0.6705 GB, free: 7.523 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009138/1.695, allocations: 339.6 kB / 0.6708 GB, free: 7.188 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009371/1.704, allocations: 2.917 MB / 0.6736 GB, free: 4.312 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007812/1.712, allocations: 2.441 MB / 0.676 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.94e-05/1.712, allocations: 0 / 0.676 GB, free: 1.852 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.652e-05/1.712, allocations: 11.97 kB / 0.676 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03036/1.742, allocations: 9.188 MB / 0.685 GB, free: 8.516 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.368e-05/1.742, allocations: 4 kB / 0.685 GB, free: 8.512 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002482/1.745, allocations: 251.6 kB / 0.6852 GB, free: 8.266 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005808/1.751, allocations: 1.01 MB / 0.6862 GB, free: 7.246 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004366/1.751, allocations: 43.97 kB / 0.6863 GB, free: 7.203 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009875/1.761, allocations: 4.842 MB / 0.691 GB, free: 2.102 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001686/1.763, allocations: 1.442 MB / 0.6924 GB, free: 0.5195 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01539/1.778, allocations: 5.548 MB / 0.6978 GB, free: 10.84 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/1.78, allocations: 396.5 kB / 0.6982 GB, free: 10.43 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009567/1.781, allocations: 33.59 kB / 0.6982 GB, free: 10.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003108/1.784, allocations: 131.8 kB / 0.6984 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/1.785, allocations: 104.5 kB / 0.6985 GB, free: 10.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002057/1.785, allocations: 51.97 kB / 0.6985 GB, free: 10.12 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006765/1.792, allocations: 2.365 MB / 0.7008 GB, free: 7.777 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.792, allocations: 0 / 0.7008 GB, free: 7.777 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007602/1.799, allocations: 1.019 MB / 0.7018 GB, free: 6.762 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.3673/2.167, allocations: 7.031 MB / 0.7087 GB, free: 119.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01592/2.183, allocations: 5.345 MB / 0.7139 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.05e-05/2.183, allocations: 1.375 kB / 0.7139 GB, free: 119.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007334/2.19, allocations: 2.096 MB / 0.716 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003658/2.194, allocations: 418 kB / 0.7164 GB, free: 119 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03448/2.228, allocations: 9.147 MB / 0.7253 GB, free: 117.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007873/2.236, allocations: 3.298 MB / 0.7285 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.008868/2.245, allocations: 1.891 MB / 0.7304 GB, free: 116.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004441/2.25, allocations: 1.842 MB / 0.7322 GB, free: 116.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.222e-06/2.25, allocations: 0 / 0.7322 GB, free: 116.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/2.419, allocations: 74.57 MB / 0.805 GB, free: 80.96 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002942/2.419, allocations: 173.8 kB / 0.8051 GB, free: 80.73 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.534/7.953, allocations: 4 kB / 0.8051 GB, free: 80.73 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