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.681/1.681, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.358e-05/2.38e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2734, allocations: 38.77 MB / 258.4 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/0.4136, allocations: 80.66 MB / 339 MB, free: 13.1 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/0.414, allocations: 83.94 kB / 339.1 MB, free: 13.02 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.146/1.56, allocations: 180.4 MB / 0.5073 GB, free: 40.76 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.56, allocations: 0 / 0.5073 GB, free: 40.76 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004919/1.56, allocations: 164.2 kB / 0.5075 GB, free: 40.75 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.04168/1.602, allocations: 8.396 MB / 0.5157 GB, free: 37.62 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/1.602, allocations: 6.906 kB / 0.5157 GB, free: 37.62 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0618/1.664, allocations: 4.708 MB / 0.5203 GB, free: 37.05 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04531/1.709, allocations: 13.25 MB / 0.5332 GB, free: 36.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005307/1.71, allocations: 273.5 kB / 0.5335 GB, free: 36.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004576/1.714, allocations: 0.5269 MB / 0.534 GB, free: 36 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03693/1.751, allocations: 17.93 MB / 0.5515 GB, free: 35.96 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05252/1.804, allocations: 23.43 MB / 0.5744 GB, free: 23.69 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006538/1.805, allocations: 130.5 kB / 0.5745 GB, free: 23.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00392/1.809, allocations: 52 kB / 0.5746 GB, free: 23.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006139/1.815, allocations: 2.14 MB / 0.5767 GB, free: 21.87 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4744/2.289, allocations: 109.4 MB / 0.6835 GB, free: 32.3 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01946/2.309, allocations: 10.35 MB / 0.6936 GB, free: 31.61 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01602/2.325, allocations: 9.235 MB / 0.7026 GB, free: 31.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009039/2.326, allocations: 389.1 kB / 0.703 GB, free: 31.28 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.279e-05/2.326, allocations: 69.44 kB / 0.7031 GB, free: 31.24 MB / 394.7 MB Notification: Performance of pre-optimization done (n=314): time 6.933e-06/2.326, allocations: 0 / 0.7031 GB, free: 31.24 MB / 394.7 MB Notification: Performance of matching and sorting (n=411): time 0.7351/3.061, allocations: 107.4 MB / 0.8079 GB, free: 95.2 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.453e-05/3.061, allocations: 198.2 kB / 0.8081 GB, free: 95 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01365/3.075, allocations: 5.546 MB / 0.8135 GB, free: 94.67 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001706/3.076, allocations: 29.45 kB / 0.8136 GB, free: 94.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00499/3.081, allocations: 5.919 MB / 0.8193 GB, free: 92.55 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003167/3.085, allocations: 1.526 MB / 0.8208 GB, free: 91.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002112/3.087, allocations: 3.906 kB / 0.8208 GB, free: 91.62 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007279/3.088, allocations: 0.7711 MB / 0.8216 GB, free: 91.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01526/3.103, allocations: 7.396 MB / 0.8288 GB, free: 91.28 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02106/3.124, allocations: 13.61 MB / 0.8421 GB, free: 83.28 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.021/3.145, allocations: 9.677 MB / 0.8515 GB, free: 81.75 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002334/3.145, allocations: 64.09 kB / 0.8516 GB, free: 81.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=1451) (initialization): time 0.1374/3.283, allocations: 32.99 MB / 0.8838 GB, free: 73.22 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001641/3.283, allocations: 96.34 kB / 0.8839 GB, free: 73.22 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05285/3.336, allocations: 14.73 MB / 0.8983 GB, free: 62.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09396/3.43, allocations: 13.63 MB / 0.9116 GB, free: 52.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01736/3.447, allocations: 2.675 MB / 0.9142 GB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4663/3.914, allocations: 48.96 MB / 0.962 GB, free: 78.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02118/3.935, allocations: 1.237 MB / 0.9633 GB, free: 78.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002934/3.938, allocations: 0.6585 MB / 0.9639 GB, free: 78.66 MB / 410.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 (1284): * Single equations (assignments): 1270 * 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.003531/3.941, allocations: 0.6824 MB / 0.9646 GB, free: 78.54 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.1226/4.064, allocations: 25.8 MB / 0.9898 GB, free: 73.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002979/4.067, allocations: 0.6227 MB / 0.9904 GB, free: 73.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0654/4.132, allocations: 11.6 MB / 1.002 GB, free: 71.11 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1114/4.244, allocations: 24.79 MB / 1.026 GB, free: 61.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.472e-05/4.244, allocations: 28 kB / 1.026 GB, free: 61.56 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001283/4.244, allocations: 21.47 kB / 1.026 GB, free: 61.56 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4502/4.694, allocations: 45.72 MB / 1.071 GB, free: 75.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.656e-05/4.694, allocations: 3.219 kB / 1.071 GB, free: 75.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007524/4.702, allocations: 0.7257 MB / 1.071 GB, free: 75.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08628/4.788, allocations: 13.12 MB / 1.084 GB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001666/4.79, allocations: 70.06 kB / 1.084 GB, free: 75.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.113/4.903, allocations: 45.98 MB / 1.129 GB, free: 67.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00227/4.905, allocations: 2.832 MB / 1.132 GB, free: 64.92 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1341/5.039, allocations: 35.75 MB / 1.167 GB, free: 53.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002325/5.042, allocations: 0.6466 MB / 1.167 GB, free: 53.64 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003861/5.046, allocations: 23.7 kB / 1.167 GB, free: 53.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01328/5.059, allocations: 0.7561 MB / 1.168 GB, free: 53.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002993/5.062, allocations: 315.7 kB / 1.168 GB, free: 53.59 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001462/5.064, allocations: 131 kB / 1.169 GB, free: 53.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.01004/5.074, allocations: 3.74 MB / 1.172 GB, free: 51.8 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/5.074, allocations: 0 / 1.172 GB, free: 51.8 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01824/5.092, allocations: 2.667 MB / 1.175 GB, free: 49.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 24 ($STATESET7027663241.x[3],$STATESET7027663241.x[2],$STATESET7027663241.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],$STATESET7027663240.x[3],$STATESET7027663240.x[2],$STATESET7027663240.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.4364/5.528, allocations: 36.96 MB / 1.211 GB, free: 76.97 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.04037/5.569, allocations: 17.83 MB / 1.228 GB, free: 76.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/5.569, allocations: 0 / 1.228 GB, free: 76.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01901/5.588, allocations: 8.245 MB / 1.236 GB, free: 75.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0079/5.596, allocations: 0.6612 MB / 1.237 GB, free: 75.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1274/5.723, allocations: 25.19 MB / 1.262 GB, free: 71.09 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02315/5.747, allocations: 6.321 MB / 1.268 GB, free: 69.11 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.01791/5.764, allocations: 3.433 MB / 1.271 GB, free: 68.82 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01118/5.776, allocations: 4.062 MB / 1.275 GB, free: 65.42 MB / 410.7 MB Notification: Performance of SimCode: time 1.433e-06/5.776, allocations: 0 / 1.275 GB, free: 65.42 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7374/6.513, allocations: 213.5 MB / 1.484 GB, free: 6.891 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/6.513, allocations: 171 kB / 1.484 GB, free: 6.699 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.098/14.61, allocations: 0 / 1.484 GB, free: 6.699 MB / 410.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