Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.998/1.998, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.263e-05/2.28e-05, allocations: 8 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 44.5 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2077/0.5296, allocations: 86.36 MB / 380.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004029/0.5301, allocations: 91.88 kB / 380.7 MB, free: 11.36 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9398/1.47, allocations: 180.6 MB / 0.5481 GB, free: 2.945 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.47, allocations: 0 / 0.5481 GB, free: 2.945 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005994/1.471, allocations: 160 kB / 0.5483 GB, free: 2.789 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.04277/1.513, allocations: 8.394 MB / 0.5565 GB, free: 10.31 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/1.513, allocations: 8.031 kB / 0.5565 GB, free: 10.3 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04594/1.559, allocations: 4.727 MB / 0.5611 GB, free: 5.555 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3256/1.885, allocations: 13.25 MB / 0.574 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00065/1.886, allocations: 274.4 kB / 0.5743 GB, free: 53.59 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004776/1.891, allocations: 0.5108 MB / 0.5748 GB, free: 53.58 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03807/1.929, allocations: 17.93 MB / 0.5923 GB, free: 53.54 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0539/1.983, allocations: 23.42 MB / 0.6152 GB, free: 47.42 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007462/1.983, allocations: 137.8 kB / 0.6153 GB, free: 47.4 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004291/1.988, allocations: 55.34 kB / 0.6154 GB, free: 47.4 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00633/1.994, allocations: 2.127 MB / 0.6174 GB, free: 47.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5402/2.534, allocations: 109.4 MB / 0.7243 GB, free: 34.65 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02823/2.563, allocations: 10.36 MB / 0.7344 GB, free: 33.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02163/2.584, allocations: 9.228 MB / 0.7434 GB, free: 33.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009232/2.585, allocations: 388.8 kB / 0.7438 GB, free: 33.62 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.623e-05/2.585, allocations: 74.92 kB / 0.7439 GB, free: 33.58 MB / 426.7 MB Notification: Performance of pre-optimization done (n=314): time 6.953e-06/2.585, allocations: 0 / 0.7439 GB, free: 33.58 MB / 426.7 MB Notification: Performance of matching and sorting (n=411): time 0.4422/3.028, allocations: 105.9 MB / 0.8473 GB, free: 14.39 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001374/3.028, allocations: 198.5 kB / 0.8475 GB, free: 14.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01445/3.042, allocations: 5.547 MB / 0.8529 GB, free: 9.449 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00158/3.044, allocations: 25.7 kB / 0.8529 GB, free: 9.418 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006971/3.051, allocations: 5.919 MB / 0.8587 GB, free: 4.383 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003605/3.054, allocations: 1.524 MB / 0.8602 GB, free: 3.004 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002227/3.057, allocations: 0 / 0.8602 GB, free: 3.004 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001038/3.058, allocations: 0.7704 MB / 0.861 GB, free: 2.363 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03481/3.093, allocations: 8.424 MB / 0.8692 GB, free: 14.25 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02529/3.118, allocations: 13.61 MB / 0.8825 GB, free: 13.84 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02399/3.142, allocations: 9.683 MB / 0.8919 GB, free: 4.395 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000272/3.142, allocations: 64 kB / 0.892 GB, free: 4.332 MB / 490.7 MB Notification: Performance of matching and sorting (n=1451) (initialization): time 0.4542/3.597, allocations: 33.09 MB / 0.9243 GB, free: 128.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002341/3.597, allocations: 99.59 kB / 0.9244 GB, free: 128.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07872/3.676, allocations: 14.8 MB / 0.9389 GB, free: 127.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1004/3.776, allocations: 13.71 MB / 0.9522 GB, free: 127.8 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01745/3.794, allocations: 2.66 MB / 0.9548 GB, free: 127.6 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1116/3.905, allocations: 49.41 MB / 1.003 GB, free: 105.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02188/3.927, allocations: 1.233 MB / 1.004 GB, free: 104.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003549/3.931, allocations: 0.6639 MB / 1.005 GB, free: 104.3 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1009 * Number of states: 0 () * Number of discrete variables: 84 (referenceSystem.fixedTranslation5.color[3],referenceSystem.fixedTranslation5.color[2],referenceSystem.fixedTranslation5.color[1],referenceSystem.fixedTranslation4.color[3],referenceSystem.fixedTranslation4.color[2],referenceSystem.fixedTranslation4.color[1],referenceSystem.fixedTranslation3.color[3],referenceSystem.fixedTranslation3.color[2],referenceSystem.fixedTranslation3.color[1],referenceSystem.fixedTranslation2.color[3],referenceSystem.fixedTranslation2.color[2],referenceSystem.fixedTranslation2.color[1],referenceSystem.fixedTranslation1.color[3],referenceSystem.fixedTranslation1.color[2],referenceSystem.fixedTranslation1.color[1],referenceSystem.fixedTranslation.color[3],referenceSystem.fixedTranslation.color[2],referenceSystem.fixedTranslation.color[1],referenceSystem.pointMass6.sphereColor[3],referenceSystem.pointMass6.sphereColor[2],referenceSystem.pointMass6.sphereColor[1],referenceSystem.pointMass5.sphereColor[3],referenceSystem.pointMass5.sphereColor[2],referenceSystem.pointMass5.sphereColor[1],referenceSystem.pointMass4.sphereColor[3],referenceSystem.pointMass4.sphereColor[2],referenceSystem.pointMass4.sphereColor[1],referenceSystem.pointMass3.sphereColor[3],referenceSystem.pointMass3.sphereColor[2],referenceSystem.pointMass3.sphereColor[1],referenceSystem.pointMass2.sphereColor[3],referenceSystem.pointMass2.sphereColor[2],referenceSystem.pointMass2.sphereColor[1],referenceSystem.pointMass1.sphereColor[3],referenceSystem.pointMass1.sphereColor[2],referenceSystem.pointMass1.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],fixedTranslation5.color[3],fixedTranslation5.color[2],fixedTranslation5.color[1],fixedTranslation4.color[3],fixedTranslation4.color[2],fixedTranslation4.color[1],fixedTranslation3.color[3],fixedTranslation3.color[2],fixedTranslation3.color[1],fixedTranslation2.color[3],fixedTranslation2.color[2],fixedTranslation2.color[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],pointMass6.sphereColor[3],pointMass6.sphereColor[2],pointMass6.sphereColor[1],pointMass5.sphereColor[3],pointMass5.sphereColor[2],pointMass5.sphereColor[1],pointMass4.sphereColor[3],pointMass4.sphereColor[2],pointMass4.sphereColor[1],pointMass3.sphereColor[3],pointMass3.sphereColor[2],pointMass3.sphereColor[1],pointMass2.sphereColor[3],pointMass2.sphereColor[2],pointMass2.sphereColor[1],pointMass1.sphereColor[3],pointMass1.sphereColor[2],pointMass1.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1281): * Single equations (assignments): 1267 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,100.0%) 66,(6,100.0%) 36,(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005532/3.936, allocations: 0.6837 MB / 1.006 GB, free: 103.7 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1162/4.053, allocations: 25.8 MB / 1.031 GB, free: 80.02 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003209/4.056, allocations: 0.6241 MB / 1.031 GB, free: 79.59 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06586/4.122, allocations: 11.61 MB / 1.043 GB, free: 67.97 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1132/4.235, allocations: 24.79 MB / 1.067 GB, free: 43.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.495e-05/4.235, allocations: 28 kB / 1.067 GB, free: 43.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001347/4.235, allocations: 23.92 kB / 1.067 GB, free: 43.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4981/4.733, allocations: 45.71 MB / 1.112 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.939e-05/4.733, allocations: 3.156 kB / 1.112 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009671/4.743, allocations: 0.7242 MB / 1.112 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1068/4.85, allocations: 13.13 MB / 1.125 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001603/4.852, allocations: 60.17 kB / 1.125 GB, free: 121.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1065/4.958, allocations: 45.99 MB / 1.17 GB, free: 104.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002088/4.96, allocations: 2.839 MB / 1.173 GB, free: 101.9 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1311/5.092, allocations: 35.75 MB / 1.208 GB, free: 77.91 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002245/5.094, allocations: 0.6448 MB / 1.208 GB, free: 77.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003806/5.098, allocations: 23.94 kB / 1.208 GB, free: 77.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01315/5.111, allocations: 0.7617 MB / 1.209 GB, free: 76.81 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00282/5.114, allocations: 313.4 kB / 1.21 GB, free: 76.51 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001104/5.115, allocations: 127.9 kB / 1.21 GB, free: 76.38 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009323/5.124, allocations: 3.733 MB / 1.213 GB, free: 72.67 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.92e-07/5.124, allocations: 2.219 kB / 1.213 GB, free: 72.67 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01745/5.142, allocations: 2.671 MB / 1.216 GB, free: 70 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET140442785989001.x[3],$STATESET140442785989001.x[2],$STATESET140442785989001.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],$STATESET140442785989000.x[3],$STATESET140442785989000.x[2],$STATESET140442785989000.x[1],referenceSystem.pointMass1.frame_a.r_0[1],referenceSystem.pointMass1.frame_a.r_0[2],referenceSystem.pointMass1.frame_a.r_0[3],referenceSystem.pointMass1.v_0[1],referenceSystem.pointMass1.v_0[2],referenceSystem.pointMass1.v_0[3],referenceSystem.pointMass6.w_a[1],referenceSystem.pointMass6.w_a[2],referenceSystem.pointMass6.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (264): * Single equations (assignments): 255 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,100.0%) 36,(6,100.0%) 66} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.1338/5.276, allocations: 36.97 MB / 1.252 GB, free: 33.22 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.3714/5.647, allocations: 17.96 MB / 1.27 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/5.647, allocations: 0 / 1.27 GB, free: 132.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01808/5.665, allocations: 8.241 MB / 1.278 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007706/5.673, allocations: 0.6663 MB / 1.278 GB, free: 131.4 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0945/5.768, allocations: 25.19 MB / 1.303 GB, free: 127.7 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01577/5.783, allocations: 6.329 MB / 1.309 GB, free: 126.7 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01708/5.8, allocations: 3.426 MB / 1.312 GB, free: 126.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01071/5.811, allocations: 4.064 MB / 1.316 GB, free: 124.9 MB / 490.7 MB Notification: Performance of SimCode: time 1.723e-06/5.811, allocations: 0 / 1.316 GB, free: 124.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8213/6.633, allocations: 214.1 MB / 1.525 GB, free: 98.91 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002095/6.633, allocations: 171.4 kB / 1.526 GB, free: 98.72 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.769/15.4, allocations: 0 / 1.526 GB, free: 98.72 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat