Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravityWithPointMasses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.412/2.412, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.465e-05, allocations: 4 kB / 249.8 MB, free: 14.76 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5352/0.5353, allocations: 44.49 MB / 294.3 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2344/0.7698, allocations: 79.98 MB / 374.3 MB, free: 1.809 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004944/0.7703, allocations: 87.94 kB / 374.4 MB, free: 1.723 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5988/1.369, allocations: 50 MB / 424.4 MB, free: 88.84 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.725e-06/1.369, allocations: 0 / 424.4 MB, free: 88.84 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002226/1.37, allocations: 53.34 kB / 424.4 MB, free: 88.84 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.01067/1.38, allocations: 2.413 MB / 426.8 MB, free: 88.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001038/1.38, allocations: 14.33 kB / 426.8 MB, free: 88.29 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01862/1.399, allocations: 1.947 MB / 428.8 MB, free: 88.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005959/1.405, allocations: 1.389 MB / 430.2 MB, free: 87.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003352/1.405, allocations: 94.56 kB / 430.3 MB, free: 87.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/1.407, allocations: 182.2 kB / 430.4 MB, free: 87.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01306/1.42, allocations: 4.136 MB / 434.6 MB, free: 87.78 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/1.44, allocations: 6.823 MB / 441.4 MB, free: 85.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003439/1.441, allocations: 53.09 kB / 441.5 MB, free: 85.44 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001701/1.442, allocations: 29.34 kB / 441.5 MB, free: 85.44 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002796/1.445, allocations: 0.7948 MB / 442.3 MB, free: 85.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05902/1.504, allocations: 35.69 MB / 478 MB, free: 58.24 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005217/1.51, allocations: 1.92 MB / 479.9 MB, free: 57.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002501/1.512, allocations: 0.8701 MB / 480.8 MB, free: 56.72 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001705/1.512, allocations: 14.11 kB / 480.8 MB, free: 56.72 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.051e-05/1.512, allocations: 58.06 kB / 480.8 MB, free: 56.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=112): time 6.463e-06/1.512, allocations: 0 / 480.8 MB, free: 56.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=112): time 0.05211/1.565, allocations: 5.228 MB / 486.1 MB, free: 55.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.243e-05/1.565, allocations: 213.6 kB / 486.3 MB, free: 55.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006701/1.571, allocations: 2.369 MB / 488.6 MB, free: 53.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003323/1.572, allocations: 25.7 kB / 488.7 MB, free: 53.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002626/1.574, allocations: 2.437 MB / 491.1 MB, free: 50.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009781/1.576, allocations: 0.4888 MB / 491.6 MB, free: 50.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007918/1.576, allocations: 0 / 491.6 MB, free: 50.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007231/1.577, allocations: 0.5716 MB / 492.2 MB, free: 49.94 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004369/1.581, allocations: 1.402 MB / 493.6 MB, free: 48.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007069/1.589, allocations: 5.014 MB / 498.6 MB, free: 42.06 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007105/1.596, allocations: 2.682 MB / 0.4895 GB, free: 39.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/1.596, allocations: 40 kB / 0.4896 GB, free: 39.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01898/1.615, allocations: 5.504 MB / 0.4949 GB, free: 34.19 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001228/1.615, allocations: 60.97 kB / 0.495 GB, free: 34.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002182/1.615, allocations: 132 kB / 0.4951 GB, free: 34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/1.616, allocations: 188 kB / 0.4953 GB, free: 33.82 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01234/1.628, allocations: 1.56 MB / 0.4968 GB, free: 32.25 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002694/1.628, allocations: 255 kB / 0.4971 GB, free: 32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006893/1.635, allocations: 0.633 MB / 0.4977 GB, free: 31.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001486/1.637, allocations: 352 kB / 0.498 GB, free: 31.02 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.001964/1.639, allocations: 428.6 kB / 0.4984 GB, free: 30.59 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004312/1.643, allocations: 1.328 MB / 0.4997 GB, free: 29.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008326/1.644, allocations: 237 kB / 0.4999 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002477/1.647, allocations: 0.6749 MB / 0.5006 GB, free: 28.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.708e-05/1.647, allocations: 12 kB / 0.5006 GB, free: 28.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.457e-05/1.647, allocations: 7.938 kB / 0.5006 GB, free: 28.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.567e-05/1.647, allocations: 11.98 kB / 0.5006 GB, free: 28.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009921/1.657, allocations: 2.582 MB / 0.5032 GB, free: 25.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.421e-05/1.657, allocations: 0 / 0.5032 GB, free: 25.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006248/1.663, allocations: 479.3 kB / 0.5036 GB, free: 25.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-05/1.663, allocations: 8 kB / 0.5036 GB, free: 25.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003259/1.663, allocations: 28 kB / 0.5036 GB, free: 25.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/1.664, allocations: 4 kB / 0.5036 GB, free: 25.19 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/1.664, allocations: 7.75 kB / 0.5037 GB, free: 25.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005593/1.669, allocations: 2.638 MB / 0.5062 GB, free: 22.48 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00086/1.67, allocations: 289.8 kB / 0.5065 GB, free: 22.18 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009767/1.671, allocations: 15.98 kB / 0.5065 GB, free: 22.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002415/1.674, allocations: 39.94 kB / 0.5066 GB, free: 22.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004016/1.674, allocations: 55.88 kB / 0.5066 GB, free: 22.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001529/1.674, allocations: 39.67 kB / 0.5067 GB, free: 22.04 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.004261/1.678, allocations: 1.53 MB / 0.5081 GB, free: 20.5 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.915e-06/1.678, allocations: 0 / 0.5081 GB, free: 20.5 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.007203/1.686, allocations: 0.7248 MB / 0.5089 GB, free: 19.77 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.006223/1.692, allocations: 3.642 MB / 0.5124 GB, free: 16.08 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.008106/1.7, allocations: 3.159 MB / 0.5155 GB, free: 12.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/1.7, allocations: 4 kB / 0.5155 GB, free: 12.94 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001527/1.702, allocations: 0.6196 MB / 0.5161 GB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00224/1.704, allocations: 184.8 kB / 0.5163 GB, free: 12.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02619/1.73, allocations: 7.015 MB / 0.5231 GB, free: 5.211 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00739/1.738, allocations: 2.416 MB / 0.5255 GB, free: 2.77 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.01238/1.75, allocations: 1.711 MB / 0.5272 GB, free: 1.055 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004756/1.755, allocations: 1.183 MB / 0.5283 GB, free: 15.87 MB / 378.7 MB Notification: Performance of SimCode: time 2.455e-06/1.755, allocations: 0 / 0.5283 GB, free: 15.87 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5574/2.312, allocations: 47.48 MB / 0.5747 GB, free: 101.7 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002459/2.313, allocations: 174.6 kB / 0.5748 GB, free: 101.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.322/7.635, allocations: 0 / 0.5748 GB, free: 101.5 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses_res.mat does not exist to compare? outputFormat=mat