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 1.892/1.892, allocations: 209.3 MB / 221.5 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.673e-05/3.703e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1051, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.436/0.5412, allocations: 92.72 MB / 414.6 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003022/0.5415, allocations: 75.95 kB / 414.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3582/0.8998, allocations: 81.88 MB / 496.6 MB, free: 10.29 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.8999, allocations: 4 kB / 496.6 MB, free: 10.28 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000301/0.9002, allocations: 84 kB / 496.6 MB, free: 10.2 MB / 426.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.0168/0.917, allocations: 3.908 MB / 0.4888 GB, free: 6.227 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.064e-05/0.9171, allocations: 12.03 kB / 0.4888 GB, free: 6.215 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003609/0.9207, allocations: 0.7541 MB / 0.4896 GB, free: 5.449 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01947/0.9402, allocations: 2.33 MB / 0.4918 GB, free: 3.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3658/1.306, allocations: 5.174 MB / 0.4969 GB, free: 95.72 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005612/1.307, allocations: 320.2 kB / 0.4972 GB, free: 95.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002477/1.309, allocations: 426.1 kB / 0.4976 GB, free: 95.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03381/1.343, allocations: 10.27 MB / 0.5076 GB, free: 92.92 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003556/1.343, allocations: 60.31 kB / 0.5077 GB, free: 92.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001868/1.345, allocations: 206.4 kB / 0.5079 GB, free: 92.92 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002664/1.348, allocations: 0.9993 MB / 0.5089 GB, free: 92.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03879/1.387, allocations: 8.14 MB / 0.5168 GB, free: 92.89 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07053/1.457, allocations: 48.29 MB / 0.564 GB, free: 58.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01408/1.472, allocations: 3.533 MB / 0.5674 GB, free: 56.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003013/1.475, allocations: 1.525 MB / 0.5689 GB, free: 56.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01438/1.489, allocations: 6.985 MB / 0.5757 GB, free: 52.38 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.607e-05/1.489, allocations: 49.64 kB / 0.5758 GB, free: 52.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 5.22e-06/1.489, allocations: 0 / 0.5758 GB, free: 52.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.04915/1.538, allocations: 11.87 MB / 0.5874 GB, free: 47.66 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001266/1.54, allocations: 1.594 MB / 0.5889 GB, free: 46.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007004/1.547, allocations: 3.448 MB / 0.5923 GB, free: 44.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004317/1.547, allocations: 48.67 kB / 0.5924 GB, free: 44.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002688/1.55, allocations: 3.14 MB / 0.5954 GB, free: 42.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00105/1.551, allocations: 0.6361 MB / 0.596 GB, free: 41.88 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006908/1.552, allocations: 125.1 kB / 0.5962 GB, free: 41.78 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003556/1.552, allocations: 0.5555 MB / 0.5967 GB, free: 41.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004701/1.557, allocations: 1.955 MB / 0.5986 GB, free: 40.72 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006985/1.564, allocations: 5.696 MB / 0.6042 GB, free: 34.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007063/1.571, allocations: 3.32 MB / 0.6074 GB, free: 31.89 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001333/1.571, allocations: 36 kB / 0.6075 GB, free: 31.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02139/1.593, allocations: 7.769 MB / 0.615 GB, free: 25.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.592e-05/1.593, allocations: 67.28 kB / 0.6151 GB, free: 25.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007203/1.6, allocations: 2.419 MB / 0.6175 GB, free: 23.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004888/1.605, allocations: 1.05 MB / 0.6185 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008355/1.613, allocations: 1.397 MB / 0.6199 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005796/1.619, allocations: 4.326 MB / 0.6241 GB, free: 16.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006849/1.626, allocations: 391.2 kB / 0.6245 GB, free: 16.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/1.627, allocations: 376.6 kB / 0.6248 GB, free: 16.24 MB / 426.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 (750): * Single equations (assignments): 741 * 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.001208/1.628, allocations: 0.5676 MB / 0.6254 GB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008032/1.629, allocations: 335.6 kB / 0.6257 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009313/1.639, allocations: 2.925 MB / 0.6285 GB, free: 13.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007707/1.646, allocations: 2.439 MB / 0.6309 GB, free: 11.07 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.811e-05/1.646, allocations: 11.75 kB / 0.6309 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.989e-05/1.647, allocations: 7.688 kB / 0.6309 GB, free: 11.06 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02541/1.672, allocations: 9.18 MB / 0.6399 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.441e-05/1.672, allocations: 0 / 0.6399 GB, free: 3.684 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/1.674, allocations: 252.1 kB / 0.6401 GB, free: 3.484 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005248/1.68, allocations: 1.014 MB / 0.6411 GB, free: 2.805 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003867/1.68, allocations: 43.69 kB / 0.6412 GB, free: 2.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008281/1.688, allocations: 4.83 MB / 0.6459 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00145/1.69, allocations: 1.45 MB / 0.6473 GB, free: 12.73 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/1.705, allocations: 5.552 MB / 0.6527 GB, free: 7.043 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.706, allocations: 400.5 kB / 0.6531 GB, free: 6.629 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001004/1.707, allocations: 37.95 kB / 0.6532 GB, free: 6.594 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003221/1.71, allocations: 127.8 kB / 0.6533 GB, free: 6.469 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000511/1.711, allocations: 96.53 kB / 0.6534 GB, free: 6.375 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000208/1.711, allocations: 55.97 kB / 0.6534 GB, free: 6.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007073/1.718, allocations: 2.373 MB / 0.6557 GB, free: 3.965 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.563e-06/1.718, allocations: 0 / 0.6557 GB, free: 3.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008123/1.726, allocations: 1.008 MB / 0.6567 GB, free: 2.965 MB / 442.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.3104/2.037, allocations: 7.019 MB / 0.6636 GB, free: 99.67 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01502/2.052, allocations: 5.058 MB / 0.6685 GB, free: 99.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.607e-06/2.052, allocations: 0 / 0.6685 GB, free: 99.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006923/2.059, allocations: 2.065 MB / 0.6705 GB, free: 98.94 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003856/2.063, allocations: 415.7 kB / 0.6709 GB, free: 98.92 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05353/2.116, allocations: 9.134 MB / 0.6798 GB, free: 97.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0181/2.134, allocations: 3.292 MB / 0.6831 GB, free: 96.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01197/2.147, allocations: 1.884 MB / 0.6849 GB, free: 96.27 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005654/2.152, allocations: 1.854 MB / 0.6867 GB, free: 96.26 MB / 442.7 MB Notification: Performance of SimCode: time 1.664e-06/2.152, allocations: 2.219 kB / 0.6867 GB, free: 96.26 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2001/2.352, allocations: 73.43 MB / 0.7584 GB, free: 61.36 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002764/2.353, allocations: 177.6 kB / 0.7586 GB, free: 61.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.161/7.514, allocations: 0 / 0.7586 GB, free: 61.13 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