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.922/1.922, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.345e-05/4.355e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1293, allocations: 44.52 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4539/0.5832, allocations: 87.02 MB / 387 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000252/0.5835, allocations: 86.94 kB / 387.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057/1.64, allocations: 184.6 MB / 0.5582 GB, free: 62.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.753e-06/1.64, allocations: 0 / 0.5582 GB, free: 62.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005075/1.641, allocations: 160.1 kB / 0.5584 GB, free: 62.2 MB / 410.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.04146/1.682, allocations: 8.397 MB / 0.5666 GB, free: 59.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.682, allocations: 10.19 kB / 0.5666 GB, free: 59.07 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007389/1.69, allocations: 1.466 MB / 0.568 GB, free: 58.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04517/1.735, allocations: 4.721 MB / 0.5726 GB, free: 58.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04185/1.777, allocations: 13.29 MB / 0.5856 GB, free: 57.27 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009776/1.778, allocations: 0.6225 MB / 0.5862 GB, free: 57.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005584/1.783, allocations: 0.8729 MB / 0.5871 GB, free: 57.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1151/1.898, allocations: 27.62 MB / 0.614 GB, free: 48.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007619/1.899, allocations: 126.4 kB / 0.6142 GB, free: 48.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004668/1.904, allocations: 405.3 kB / 0.6146 GB, free: 48.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006311/1.91, allocations: 2.131 MB / 0.6166 GB, free: 47.15 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1094/2.02, allocations: 29.2 MB / 0.6452 GB, free: 22.88 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5909/2.611, allocations: 111.9 MB / 0.7545 GB, free: 25.21 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1998/2.81, allocations: 19.3 MB / 0.7733 GB, free: 24.47 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01891/2.829, allocations: 9.329 MB / 0.7824 GB, free: 20.98 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009325/2.83, allocations: 387.4 kB / 0.7828 GB, free: 20.67 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.052e-05/2.831, allocations: 70.86 kB / 0.7829 GB, free: 20.61 MB / 442.7 MB Notification: Performance of pre-optimization done (n=314): time 7.714e-06/2.831, allocations: 0 / 0.7829 GB, free: 20.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=413): time 1.073/3.903, allocations: 115.3 MB / 0.8954 GB, free: 83.48 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003359/3.907, allocations: 3.111 MB / 0.8985 GB, free: 80.55 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02224/3.929, allocations: 6.511 MB / 0.9048 GB, free: 79.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.002209/3.931, allocations: 88.36 kB / 0.9049 GB, free: 79.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007768/3.939, allocations: 5.897 MB / 0.9107 GB, free: 75.55 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.004239/3.943, allocations: 1.573 MB / 0.9122 GB, free: 74.4 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003361/3.947, allocations: 217.4 kB / 0.9124 GB, free: 74.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001605/3.948, allocations: 0.7664 MB / 0.9132 GB, free: 73.73 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02882/3.977, allocations: 7.593 MB / 0.9206 GB, free: 70.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03379/4.011, allocations: 13.73 MB / 0.934 GB, free: 56.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03392/4.045, allocations: 9.9 MB / 0.9437 GB, free: 48.85 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004943/4.046, allocations: 63.95 kB / 0.9437 GB, free: 48.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.1478/4.193, allocations: 34.54 MB / 0.9774 GB, free: 22.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/4.194, allocations: 96 kB / 0.9775 GB, free: 22.24 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3783/4.572, allocations: 14.96 MB / 0.9921 GB, free: 75.27 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1305/4.703, allocations: 13.91 MB / 1.006 GB, free: 75.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02678/4.729, allocations: 2.623 MB / 1.008 GB, free: 75.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1693/4.899, allocations: 53.05 MB / 1.06 GB, free: 61.64 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02319/4.922, allocations: 1.446 MB / 1.062 GB, free: 61.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003707/4.926, allocations: 0.6497 MB / 1.062 GB, free: 61.38 MB / 442.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 (1259): * Single equations (assignments): 1245 * 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.006322/4.932, allocations: 0.9335 MB / 1.063 GB, free: 60.98 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003522/4.936, allocations: 0.6854 MB / 1.064 GB, free: 60.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0727/5.008, allocations: 11.86 MB / 1.075 GB, free: 58.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1215/5.13, allocations: 25.08 MB / 1.1 GB, free: 43.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.441e-05/5.13, allocations: 28 kB / 1.1 GB, free: 43.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001065/5.13, allocations: 22.45 kB / 1.1 GB, free: 43.77 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.518/5.648, allocations: 47.1 MB / 1.146 GB, free: 82.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.77e-05/5.648, allocations: 2.156 kB / 1.146 GB, free: 82.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008023/5.656, allocations: 0.7247 MB / 1.147 GB, free: 82.5 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0917/5.748, allocations: 13.29 MB / 1.16 GB, free: 82.46 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001983/5.75, allocations: 114 kB / 1.16 GB, free: 82.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1161/5.866, allocations: 49.18 MB / 1.208 GB, free: 75.03 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002217/5.869, allocations: 2.949 MB / 1.211 GB, free: 72.19 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1459/6.015, allocations: 36.28 MB / 1.246 GB, free: 60.84 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00256/6.017, allocations: 0.7226 MB / 1.247 GB, free: 60.7 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003147/6.02, allocations: 83.17 kB / 1.247 GB, free: 60.64 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01334/6.034, allocations: 0.8205 MB / 1.248 GB, free: 60.59 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002863/6.037, allocations: 322.1 kB / 1.248 GB, free: 60.55 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009912/6.038, allocations: 134.5 kB / 1.248 GB, free: 60.53 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0126/6.05, allocations: 4.568 MB / 1.252 GB, free: 58.87 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.61e-07/6.05, allocations: 4.422 kB / 1.252 GB, free: 58.87 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01806/6.068, allocations: 2.944 MB / 1.255 GB, free: 55.94 MB / 458.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.1444/6.213, allocations: 37.5 MB / 1.292 GB, free: 24.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.4298/6.643, allocations: 18.63 MB / 1.31 GB, free: 87.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/6.643, allocations: 4.594 kB / 1.31 GB, free: 87.46 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02131/6.664, allocations: 8.42 MB / 1.318 GB, free: 86.68 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0083/6.672, allocations: 0.8722 MB / 1.319 GB, free: 86.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09477/6.767, allocations: 25.76 MB / 1.344 GB, free: 82.97 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01461/6.782, allocations: 6.332 MB / 1.351 GB, free: 82.04 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01669/6.799, allocations: 3.442 MB / 1.354 GB, free: 81.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009931/6.809, allocations: 4.164 MB / 1.358 GB, free: 81.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/6.809, allocations: 3.391 kB / 1.358 GB, free: 81.74 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9066/7.715, allocations: 230.3 MB / 1.583 GB, free: 37.24 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002805/7.716, allocations: 216.4 kB / 1.583 GB, free: 37.01 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.383/17.1, allocations: 8 kB / 1.583 GB, free: 37 MB / 458.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