Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.607/1.607, allocations: 171.2 MB / 183.3 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.253e-05/4.267e-05, allocations: 4 kB / 225.1 MB, free: 2.121 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2522, allocations: 38.76 MB / 263.9 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.3946, allocations: 81.34 MB / 345.2 MB, free: 8.332 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.3949, allocations: 79.95 kB / 345.3 MB, free: 8.254 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154/1.549, allocations: 184.4 MB / 0.5172 GB, free: 39.64 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/1.549, allocations: 3.562 kB / 0.5172 GB, free: 39.64 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004809/1.549, allocations: 157.8 kB / 0.5174 GB, free: 39.64 MB / 346.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.03837/1.588, allocations: 8.404 MB / 0.5256 GB, free: 36.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.291e-05/1.588, allocations: 7.031 kB / 0.5256 GB, free: 36.51 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00659/1.594, allocations: 1.472 MB / 0.527 GB, free: 36.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04347/1.638, allocations: 4.702 MB / 0.5316 GB, free: 35.82 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04095/1.679, allocations: 13.28 MB / 0.5446 GB, free: 34.76 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008213/1.68, allocations: 0.6297 MB / 0.5452 GB, free: 34.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004901/1.685, allocations: 0.8613 MB / 0.5461 GB, free: 34.72 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1083/1.793, allocations: 27.62 MB / 0.573 GB, free: 25.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006365/1.794, allocations: 132.9 kB / 0.5732 GB, free: 25.76 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003823/1.798, allocations: 396.5 kB / 0.5735 GB, free: 25.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006055/1.804, allocations: 2.13 MB / 0.5756 GB, free: 23.73 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.108/1.912, allocations: 29.2 MB / 0.6041 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4765/2.388, allocations: 111.9 MB / 0.7134 GB, free: 28.97 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1263/2.515, allocations: 19.33 MB / 0.7323 GB, free: 28.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0175/2.532, allocations: 9.311 MB / 0.7414 GB, free: 26.86 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000857/2.533, allocations: 385.8 kB / 0.7418 GB, free: 26.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.759e-05/2.533, allocations: 71.16 kB / 0.7419 GB, free: 26.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=314): time 7.404e-06/2.533, allocations: 0 / 0.7419 GB, free: 26.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=413): time 0.9723/3.505, allocations: 115 MB / 0.8541 GB, free: 88.53 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002536/3.508, allocations: 3.121 MB / 0.8572 GB, free: 85.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01753/3.526, allocations: 6.514 MB / 0.8635 GB, free: 83.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001718/3.527, allocations: 84.92 kB / 0.8636 GB, free: 83.73 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005697/3.533, allocations: 5.896 MB / 0.8694 GB, free: 79.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00362/3.537, allocations: 1.579 MB / 0.8709 GB, free: 78.46 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00295/3.54, allocations: 217.5 kB / 0.8711 GB, free: 78.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001403/3.541, allocations: 0.7663 MB / 0.8719 GB, free: 77.8 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01791/3.559, allocations: 7.594 MB / 0.8793 GB, free: 74.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02164/3.581, allocations: 13.72 MB / 0.8927 GB, free: 62.97 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02189/3.603, allocations: 9.892 MB / 0.9024 GB, free: 54.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002298/3.603, allocations: 60 kB / 0.9024 GB, free: 54.92 MB / 410.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.4755/4.079, allocations: 34.43 MB / 0.936 GB, free: 77.78 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002882/4.079, allocations: 98.22 kB / 0.9361 GB, free: 77.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05579/4.135, allocations: 14.87 MB / 0.9507 GB, free: 77.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08821/4.223, allocations: 13.84 MB / 0.9642 GB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01773/4.241, allocations: 2.638 MB / 0.9668 GB, free: 77.61 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1314/4.372, allocations: 52.59 MB / 1.018 GB, free: 61.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02231/4.395, allocations: 1.444 MB / 1.02 GB, free: 60.87 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00341/4.398, allocations: 0.6528 MB / 1.02 GB, free: 60.78 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 985 * 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 (1262): * Single equations (assignments): 1248 * 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 {1} * 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.005933/4.404, allocations: 0.9388 MB / 1.021 GB, free: 60.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003349/4.408, allocations: 0.6815 MB / 1.022 GB, free: 60.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06983/4.477, allocations: 11.87 MB / 1.033 GB, free: 55.1 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1187/4.596, allocations: 25.08 MB / 1.058 GB, free: 33.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.372e-05/4.596, allocations: 24 kB / 1.058 GB, free: 33.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/4.596, allocations: 19.94 kB / 1.058 GB, free: 33.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5047/5.101, allocations: 47.11 MB / 1.104 GB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.788e-05/5.101, allocations: 6.766 kB / 1.104 GB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01006/5.111, allocations: 0.7246 MB / 1.105 GB, free: 75.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09758/5.209, allocations: 13.29 MB / 1.118 GB, free: 75.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001681/5.211, allocations: 114.9 kB / 1.118 GB, free: 75.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1188/5.33, allocations: 49.19 MB / 1.166 GB, free: 61.2 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002145/5.332, allocations: 2.943 MB / 1.169 GB, free: 58.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1407/5.473, allocations: 36.27 MB / 1.204 GB, free: 29.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00259/5.475, allocations: 0.7302 MB / 1.205 GB, free: 28.7 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0034/5.479, allocations: 81.78 kB / 1.205 GB, free: 28.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01327/5.492, allocations: 0.8204 MB / 1.206 GB, free: 27.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002807/5.495, allocations: 319.1 kB / 1.206 GB, free: 27.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001077/5.496, allocations: 127.9 kB / 1.206 GB, free: 27.37 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01181/5.508, allocations: 4.569 MB / 1.21 GB, free: 22.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.623e-06/5.508, allocations: 4 kB / 1.21 GB, free: 22.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01638/5.524, allocations: 2.933 MB / 1.213 GB, free: 19.91 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.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],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.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 (266): * Single equations (assignments): 257 * 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.443/5.967, allocations: 37.5 MB / 1.25 GB, free: 76.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.06314/6.03, allocations: 18.49 MB / 1.268 GB, free: 75.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.3e-05/6.03, allocations: 0 / 1.268 GB, free: 75.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0301/6.061, allocations: 8.428 MB / 1.276 GB, free: 72.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01235/6.073, allocations: 0.8689 MB / 1.277 GB, free: 71.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1419/6.215, allocations: 25.75 MB / 1.302 GB, free: 63.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01516/6.23, allocations: 6.33 MB / 1.308 GB, free: 60.03 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01708/6.247, allocations: 3.449 MB / 1.312 GB, free: 57.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01397/6.261, allocations: 4.164 MB / 1.316 GB, free: 53.87 MB / 410.7 MB Notification: Performance of SimCode: time 1.703e-06/6.261, allocations: 0 / 1.316 GB, free: 53.87 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.047/7.308, allocations: 229.6 MB / 1.54 GB, free: 80.04 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/7.308, allocations: 208.1 kB / 1.54 GB, free: 79.82 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.487/16.8, allocations: 4 kB / 1.54 GB, free: 79.82 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2_res.mat does not exist to compare? outputFormat=mat