Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.863e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3176, allocations: 44.5 MB / 294.2 MB, free: 14.45 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.468, allocations: 79.99 MB / 374.2 MB, free: 1.926 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003292/0.4684, allocations: 83.95 kB / 374.3 MB, free: 1.844 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5037/0.9721, allocations: 50.01 MB / 424.3 MB, free: 88.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.266e-06/0.9722, allocations: 4.656 kB / 424.3 MB, free: 88.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001869/0.9724, allocations: 49.84 kB / 424.4 MB, free: 88.86 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.008833/0.9812, allocations: 2.402 MB / 426.8 MB, free: 88.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.941e-05/0.9813, allocations: 9.469 kB / 426.8 MB, free: 88.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.9968, allocations: 1.951 MB / 428.7 MB, free: 88.13 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005214/1.002, allocations: 1.395 MB / 430.1 MB, free: 87.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002596/1.002, allocations: 95.34 kB / 430.2 MB, free: 87.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001589/1.004, allocations: 178.1 kB / 430.4 MB, free: 87.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01047/1.014, allocations: 4.141 MB / 434.5 MB, free: 87.82 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01632/1.031, allocations: 6.82 MB / 441.3 MB, free: 85.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000262/1.031, allocations: 54.75 kB / 441.4 MB, free: 85.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/1.033, allocations: 24.72 kB / 441.4 MB, free: 85.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002375/1.035, allocations: 0.7936 MB / 442.2 MB, free: 85.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04817/1.083, allocations: 35.69 MB / 477.9 MB, free: 58.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004142/1.087, allocations: 1.916 MB / 479.8 MB, free: 57.11 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001974/1.089, allocations: 0.8695 MB / 480.7 MB, free: 56.76 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000109/1.09, allocations: 18.17 kB / 480.7 MB, free: 56.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.707e-05/1.09, allocations: 46.44 kB / 480.8 MB, free: 56.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=112): time 5.34e-06/1.09, allocations: 0 / 480.8 MB, free: 56.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.04132/1.131, allocations: 5.232 MB / 486 MB, free: 55.58 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.441e-05/1.131, allocations: 221.1 kB / 486.2 MB, free: 55.32 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005376/1.137, allocations: 2.369 MB / 488.6 MB, free: 53.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002596/1.137, allocations: 25.7 kB / 488.6 MB, free: 53.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002159/1.139, allocations: 2.436 MB / 491 MB, free: 50.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008063/1.14, allocations: 498.4 kB / 491.5 MB, free: 50.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005925/1.14, allocations: 4 kB / 491.5 MB, free: 50.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004281/1.141, allocations: 0.5753 MB / 492.1 MB, free: 50.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/1.144, allocations: 1.397 MB / 493.5 MB, free: 48.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006183/1.151, allocations: 5.014 MB / 498.5 MB, free: 42.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006018/1.157, allocations: 2.678 MB / 0.4894 GB, free: 39.88 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/1.157, allocations: 36 kB / 0.4895 GB, free: 39.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01515/1.172, allocations: 5.51 MB / 0.4949 GB, free: 34.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001334/1.172, allocations: 64 kB / 0.4949 GB, free: 34.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/1.172, allocations: 128 kB / 0.495 GB, free: 34.17 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/1.173, allocations: 192.8 kB / 0.4952 GB, free: 33.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/1.183, allocations: 1.556 MB / 0.4967 GB, free: 32.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002179/1.183, allocations: 255 kB / 0.497 GB, free: 32.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006004/1.189, allocations: 0.6407 MB / 0.4976 GB, free: 31.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001301/1.191, allocations: 352 kB / 0.4979 GB, free: 31.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (698): * Single equations (assignments): 695 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001244/1.192, allocations: 432.5 kB / 0.4984 GB, free: 30.75 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003282/1.195, allocations: 1.326 MB / 0.4997 GB, free: 29.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005892/1.196, allocations: 233 kB / 0.4999 GB, free: 29.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/1.198, allocations: 0.6825 MB / 0.5005 GB, free: 28.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.694e-05/1.198, allocations: 13.25 kB / 0.5006 GB, free: 28.49 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.198, allocations: 4 kB / 0.5006 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.191e-05/1.198, allocations: 3.984 kB / 0.5006 GB, free: 28.48 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00847/1.206, allocations: 2.585 MB / 0.5031 GB, free: 25.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-05/1.207, allocations: 7.984 kB / 0.5031 GB, free: 25.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005081/1.212, allocations: 475.4 kB / 0.5036 GB, free: 25.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.547e-05/1.212, allocations: 4 kB / 0.5036 GB, free: 25.39 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002835/1.212, allocations: 27.97 kB / 0.5036 GB, free: 25.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.04e-05/1.212, allocations: 4 kB / 0.5036 GB, free: 25.36 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.534e-06/1.212, allocations: 7.969 kB / 0.5036 GB, free: 25.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004637/1.217, allocations: 2.628 MB / 0.5062 GB, free: 22.66 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008039/1.218, allocations: 289.8 kB / 0.5064 GB, free: 22.36 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008884/1.218, allocations: 19.98 kB / 0.5065 GB, free: 22.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/1.221, allocations: 35.94 kB / 0.5065 GB, free: 22.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003596/1.221, allocations: 63.86 kB / 0.5066 GB, free: 22.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/1.221, allocations: 36.77 kB / 0.5066 GB, free: 22.2 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003405/1.225, allocations: 1.527 MB / 0.5081 GB, free: 20.67 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/1.225, allocations: 0 / 0.5081 GB, free: 20.67 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00606/1.231, allocations: 0.7255 MB / 0.5088 GB, free: 19.95 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004991/1.236, allocations: 3.635 MB / 0.5123 GB, free: 16.26 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007019/1.243, allocations: 3.166 MB / 0.5154 GB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/1.243, allocations: 0 / 0.5154 GB, free: 13.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/1.244, allocations: 0.6143 MB / 0.516 GB, free: 12.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001882/1.246, allocations: 206.2 kB / 0.5162 GB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0221/1.268, allocations: 7.01 MB / 0.5231 GB, free: 5.383 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004966/1.273, allocations: 2.413 MB / 0.5254 GB, free: 2.945 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.007602/1.281, allocations: 1.719 MB / 0.5271 GB, free: 1.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002762/1.284, allocations: 1.179 MB / 0.5283 GB, free: 44 kB / 362.7 MB Notification: Performance of SimCode: time 2.364e-06/1.284, allocations: 0 / 0.5283 GB, free: 44 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4082/1.692, allocations: 47.46 MB / 0.5746 GB, free: 101.6 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000278/1.692, allocations: 173.8 kB / 0.5748 GB, free: 101.4 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.973/5.665, allocations: 3.938 kB / 0.5748 GB, free: 101.4 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat