Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.Bodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_Bodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.032/2.032, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.132e-05/4.146e-05, allocations: 7.938 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1079, allocations: 48.69 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/0.5474, allocations: 88.45 MB / 410.3 MB, free: 1.066 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.5477, allocations: 71.95 kB / 410.4 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4292/0.977, allocations: 96.12 MB / 0.4946 GB, free: 500 kB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.977, allocations: 8 kB / 0.4947 GB, free: 492 kB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004578/0.9775, allocations: 76 kB / 0.4947 GB, free: 416 kB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1018 * Number of variables: 1018 Notification: Performance of Generate backend data structure: time 0.3169/1.294, allocations: 4.085 MB / 0.4987 GB, free: 95.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/1.294, allocations: 9.875 kB / 0.4987 GB, free: 95.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002745/1.297, allocations: 0.5309 MB / 0.4992 GB, free: 95.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05652/1.354, allocations: 5.999 MB / 0.5051 GB, free: 95.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03277/1.387, allocations: 8.962 MB / 0.5139 GB, free: 94.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004828/1.387, allocations: 252.2 kB / 0.5141 GB, free: 94.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002164/1.389, allocations: 352.9 kB / 0.5144 GB, free: 94.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02275/1.412, allocations: 6.714 MB / 0.521 GB, free: 93.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003173/1.413, allocations: 55.06 kB / 0.521 GB, free: 93.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009461/1.413, allocations: 152.5 kB / 0.5212 GB, free: 93.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001721/1.415, allocations: 0.5867 MB / 0.5218 GB, free: 93.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/1.432, allocations: 4.7 MB / 0.5263 GB, free: 93.19 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04855/1.481, allocations: 28.35 MB / 0.554 GB, free: 74.84 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00403/1.485, allocations: 0.7117 MB / 0.5547 GB, free: 74.62 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005618/1.485, allocations: 203.6 kB / 0.5549 GB, free: 74.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/1.485, allocations: 11.55 kB / 0.5549 GB, free: 74.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/1.485, allocations: 45.12 kB / 0.555 GB, free: 74.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=37): time 4.218e-06/1.485, allocations: 3.891 kB / 0.555 GB, free: 74.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=37): time 0.01325/1.499, allocations: 1.983 MB / 0.5569 GB, free: 74.11 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/1.499, allocations: 234.9 kB / 0.5571 GB, free: 73.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01208/1.511, allocations: 4.127 MB / 0.5612 GB, free: 72.37 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000128/1.511, allocations: 33.33 kB / 0.5612 GB, free: 72.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003925/1.515, allocations: 2.756 MB / 0.5639 GB, free: 70.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003536/1.516, allocations: 202.8 kB / 0.5641 GB, free: 70.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.516, allocations: 66.22 kB / 0.5642 GB, free: 70.02 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002412/1.516, allocations: 461 kB / 0.5646 GB, free: 69.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001917/1.518, allocations: 0.7346 MB / 0.5653 GB, free: 69.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003867/1.522, allocations: 3.307 MB / 0.5685 GB, free: 65.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003546/1.526, allocations: 1.511 MB / 0.57 GB, free: 65.28 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/1.526, allocations: 27.28 kB / 0.57 GB, free: 65.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=446) (initialization): time 0.01079/1.537, allocations: 3.66 MB / 0.5736 GB, free: 63.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.394e-05/1.537, allocations: 46.28 kB / 0.5737 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001307/1.537, allocations: 93.03 kB / 0.5737 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001565/1.537, allocations: 137.7 kB / 0.5739 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005023/1.542, allocations: 0.8566 MB / 0.5747 GB, free: 63.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001767/1.542, allocations: 184.9 kB / 0.5749 GB, free: 63.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006865/1.549, allocations: 0.6244 MB / 0.5755 GB, free: 63.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007085/1.55, allocations: 230.9 kB / 0.5757 GB, free: 63.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 427 * Number of states: 0 () * Number of discrete variables: 51 (world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (446): * Single equations (assignments): 446 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006572/1.551, allocations: 423.3 kB / 0.5761 GB, free: 63.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.552, allocations: 379.9 kB / 0.5765 GB, free: 62.89 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/1.553, allocations: 404.7 kB / 0.5769 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/1.553, allocations: 3.406 kB / 0.5769 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/1.553, allocations: 2.969 kB / 0.5769 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/1.553, allocations: 0 / 0.5769 GB, free: 62.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01147/1.565, allocations: 4.54 MB / 0.5813 GB, free: 60.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.515e-05/1.565, allocations: 8.594 kB / 0.5813 GB, free: 60.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000509/1.565, allocations: 101.2 kB / 0.5814 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.211e-05/1.565, allocations: 13.84 kB / 0.5814 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/1.565, allocations: 26.19 kB / 0.5815 GB, free: 60.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-05/1.565, allocations: 16.31 kB / 0.5815 GB, free: 60.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.48e-05/1.566, allocations: 18.81 kB / 0.5815 GB, free: 60.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002427/1.568, allocations: 2.839 MB / 0.5843 GB, free: 57.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001991/1.57, allocations: 0.5087 MB / 0.5848 GB, free: 57.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001465/1.572, allocations: 26.06 kB / 0.5848 GB, free: 57.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003141/1.575, allocations: 63.58 kB / 0.5848 GB, free: 57.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.575, allocations: 77.5 kB / 0.5849 GB, free: 57.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.802e-05/1.575, allocations: 25.69 kB / 0.5849 GB, free: 57.02 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008581/1.584, allocations: 3.036 MB / 0.5879 GB, free: 55.79 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.584, allocations: 0 / 0.5879 GB, free: 55.79 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005944/1.59, allocations: 0.8637 MB / 0.5888 GB, free: 54.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003458/1.593, allocations: 5.792 MB / 0.5944 GB, free: 48.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004458/1.598, allocations: 1.67 MB / 0.596 GB, free: 47.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.206e-05/1.598, allocations: 4 kB / 0.596 GB, free: 47.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005015/1.598, allocations: 213.9 kB / 0.5962 GB, free: 47.11 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005689/1.604, allocations: 0.6152 MB / 0.5968 GB, free: 46.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.626, allocations: 6.764 MB / 0.6035 GB, free: 40.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005767/1.632, allocations: 2.933 MB / 0.6063 GB, free: 38.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006234/1.638, allocations: 1.153 MB / 0.6074 GB, free: 37.64 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003561/1.642, allocations: 1.714 MB / 0.6091 GB, free: 36.05 MB / 426.7 MB Notification: Performance of SimCode: time 1.904e-06/1.642, allocations: 0 / 0.6091 GB, free: 36.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5222/2.164, allocations: 65.7 MB / 0.6733 GB, free: 89.19 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002169/2.164, allocations: 140.4 kB / 0.6734 GB, free: 88.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.196/7.36, allocations: 3.938 kB / 0.6734 GB, free: 88.96 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.Bodies_res.mat does not exist to compare? outputFormat=mat