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 2.029/2.029, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.624e-05/3.632e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09388, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4697/0.5636, allocations: 87.04 MB / 387 MB, free: 12.4 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.564, allocations: 87.14 kB / 387.1 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.088/1.652, allocations: 184.5 MB / 0.5583 GB, free: 61.95 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.014e-06/1.652, allocations: 0 / 0.5583 GB, free: 61.95 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0005064/1.652, allocations: 166.2 kB / 0.5584 GB, free: 61.94 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.04049/1.693, allocations: 8.399 MB / 0.5666 GB, free: 58.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.693, allocations: 11.12 kB / 0.5666 GB, free: 58.81 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007786/1.701, allocations: 1.47 MB / 0.5681 GB, free: 58.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04577/1.746, allocations: 4.72 MB / 0.5727 GB, free: 58.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04312/1.79, allocations: 13.28 MB / 0.5856 GB, free: 57.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009849/1.791, allocations: 0.6261 MB / 0.5863 GB, free: 57.01 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005534/1.796, allocations: 0.862 MB / 0.5871 GB, free: 56.99 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.115/1.911, allocations: 27.52 MB / 0.614 GB, free: 48.93 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007828/1.912, allocations: 131.4 kB / 0.6141 GB, free: 48.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004886/1.917, allocations: 406.2 kB / 0.6145 GB, free: 48.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006427/1.923, allocations: 2.134 MB / 0.6166 GB, free: 47.01 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.112/2.036, allocations: 28.88 MB / 0.6448 GB, free: 23.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5219/2.557, allocations: 111.9 MB / 0.7541 GB, free: 25.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1302/2.688, allocations: 19.28 MB / 0.7729 GB, free: 25.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01837/2.706, allocations: 9.313 MB / 0.782 GB, free: 21.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009095/2.707, allocations: 388.4 kB / 0.7824 GB, free: 21 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.908e-05/2.707, allocations: 73.81 kB / 0.7825 GB, free: 20.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=314): time 7.284e-06/2.707, allocations: 0 / 0.7825 GB, free: 20.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=413): time 1.009/3.717, allocations: 115.1 MB / 0.8949 GB, free: 83.22 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002569/3.719, allocations: 3.103 MB / 0.8979 GB, free: 80.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/3.735, allocations: 6.517 MB / 0.9043 GB, free: 79.74 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001759/3.737, allocations: 88.73 kB / 0.9044 GB, free: 79.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005444/3.743, allocations: 5.896 MB / 0.9101 GB, free: 75.6 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00329/3.746, allocations: 1.572 MB / 0.9116 GB, free: 74.45 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002368/3.748, allocations: 221.1 kB / 0.9119 GB, free: 74.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001016/3.749, allocations: 0.7635 MB / 0.9126 GB, free: 73.78 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02503/3.775, allocations: 7.594 MB / 0.92 GB, free: 70.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02535/3.8, allocations: 13.67 MB / 0.9334 GB, free: 56.76 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02167/3.822, allocations: 9.898 MB / 0.943 GB, free: 48.69 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002384/3.822, allocations: 67.95 kB / 0.9431 GB, free: 48.62 MB / 442.7 MB Notification: Performance of matching and sorting (n=1429) (initialization): time 0.194/4.016, allocations: 33.93 MB / 0.9762 GB, free: 22.99 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001535/4.016, allocations: 104 kB / 0.9763 GB, free: 22.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.3689/4.385, allocations: 14.95 MB / 0.9909 GB, free: 75.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08966/4.475, allocations: 13.91 MB / 1.005 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01731/4.492, allocations: 2.626 MB / 1.007 GB, free: 75.07 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.191/4.683, allocations: 53.06 MB / 1.059 GB, free: 62.14 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03302/4.716, allocations: 1.445 MB / 1.06 GB, free: 61.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004581/4.721, allocations: 0.6459 MB / 1.061 GB, free: 61.89 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.007884/4.729, allocations: 0.9516 MB / 1.062 GB, free: 61.48 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004484/4.733, allocations: 0.6845 MB / 1.063 GB, free: 61.48 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07394/4.807, allocations: 11.86 MB / 1.074 GB, free: 58.56 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1192/4.927, allocations: 25.08 MB / 1.099 GB, free: 44.63 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001418/4.927, allocations: 28 kB / 1.099 GB, free: 44.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001284/4.927, allocations: 26.42 kB / 1.099 GB, free: 44.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.518/5.445, allocations: 47.09 MB / 1.145 GB, free: 82.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.124e-05/5.445, allocations: 3.094 kB / 1.145 GB, free: 82.06 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007831/5.453, allocations: 0.7255 MB / 1.145 GB, free: 82.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09015/5.543, allocations: 13.29 MB / 1.158 GB, free: 82.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001881/5.545, allocations: 112.7 kB / 1.158 GB, free: 82.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1377/5.683, allocations: 49.2 MB / 1.206 GB, free: 74.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002287/5.685, allocations: 2.945 MB / 1.209 GB, free: 72.08 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1419/5.827, allocations: 36.28 MB / 1.245 GB, free: 60.73 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002857/5.83, allocations: 0.7357 MB / 1.246 GB, free: 60.58 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004022/5.834, allocations: 79.03 kB / 1.246 GB, free: 60.53 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01409/5.848, allocations: 0.8199 MB / 1.246 GB, free: 60.48 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002793/5.851, allocations: 315.6 kB / 1.247 GB, free: 60.45 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001204/5.852, allocations: 136.1 kB / 1.247 GB, free: 60.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01289/5.865, allocations: 4.564 MB / 1.251 GB, free: 58.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.62e-07/5.865, allocations: 3.188 kB / 1.251 GB, free: 58.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01908/5.884, allocations: 2.943 MB / 1.254 GB, free: 56.1 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.1436/6.028, allocations: 37.5 MB / 1.291 GB, free: 25.18 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.3919/6.42, allocations: 18.25 MB / 1.309 GB, free: 88.04 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/6.42, allocations: 1.75 kB / 1.309 GB, free: 88.04 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02189/6.442, allocations: 8.331 MB / 1.317 GB, free: 87.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008973/6.451, allocations: 0.8714 MB / 1.318 GB, free: 87.25 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09927/6.55, allocations: 25.73 MB / 1.343 GB, free: 83.61 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01686/6.567, allocations: 6.327 MB / 1.349 GB, free: 82.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01815/6.585, allocations: 3.449 MB / 1.352 GB, free: 82.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01125/6.597, allocations: 4.164 MB / 1.356 GB, free: 82.38 MB / 458.7 MB Notification: Performance of SimCode: time 1.643e-06/6.597, allocations: 0 / 1.356 GB, free: 82.38 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8127/7.409, allocations: 229.1 MB / 1.58 GB, free: 39.43 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/7.41, allocations: 215.2 kB / 1.58 GB, free: 39.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.11/17.52, allocations: 4 kB / 1.58 GB, free: 39.2 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