Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/3.999e-05, allocations: 7.797 kB / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 50.41 MB / 342.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.5857, allocations: 88.67 MB / 431.3 MB, free: 5.676 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003063/0.5861, allocations: 80.08 kB / 431.4 MB, free: 5.637 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2657/0.8518, allocations: 60.78 MB / 492.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.8519, allocations: 0 / 492.2 MB, free: 12.75 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001389/0.852, allocations: 43.98 kB / 492.2 MB, free: 12.71 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: 911 * Number of variables: 911 Notification: Performance of Generate backend data structure: time 0.02776/0.8798, allocations: 3.448 MB / 495.7 MB, free: 9.199 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.961e-05/0.8799, allocations: 12.03 kB / 495.7 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002217/0.8821, allocations: 493.2 kB / 496.2 MB, free: 8.695 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02097/0.9031, allocations: 2.352 MB / 498.5 MB, free: 6.336 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01915/0.9223, allocations: 4.578 MB / 0.4913 GB, free: 1.707 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003022/0.9227, allocations: 168.4 kB / 0.4915 GB, free: 1.539 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00163/0.9243, allocations: 231.8 kB / 0.4917 GB, free: 1.312 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02864/0.953, allocations: 8.456 MB / 0.4999 GB, free: 8.004 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001516/0.9532, allocations: 51.62 kB / 0.5 GB, free: 7.953 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006221/0.9538, allocations: 119.9 kB / 0.5001 GB, free: 7.836 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001801/0.9556, allocations: 0.734 MB / 0.5008 GB, free: 7.098 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03168/0.9873, allocations: 9.313 MB / 0.5099 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3763/1.364, allocations: 37.78 MB / 0.5468 GB, free: 91.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02127/1.385, allocations: 4.012 MB / 0.5507 GB, free: 90.84 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005293/1.39, allocations: 2.207 MB / 0.5529 GB, free: 90.79 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001617/1.391, allocations: 18.64 kB / 0.5529 GB, free: 90.79 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/1.391, allocations: 43.47 kB / 0.5529 GB, free: 90.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=122): time 5.02e-06/1.391, allocations: 0 / 0.5529 GB, free: 90.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=136): time 0.06884/1.459, allocations: 14.41 MB / 0.567 GB, free: 88.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002301/1.462, allocations: 3.048 MB / 0.57 GB, free: 85.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00558/1.467, allocations: 2.615 MB / 0.5725 GB, free: 85.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006084/1.468, allocations: 45.77 kB / 0.5726 GB, free: 85.18 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001881/1.47, allocations: 2.083 MB / 0.5746 GB, free: 84.05 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001146/1.471, allocations: 0.5605 MB / 0.5752 GB, free: 83.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006733/1.472, allocations: 92.81 kB / 0.5753 GB, free: 83.61 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0003219/1.472, allocations: 0.5114 MB / 0.5758 GB, free: 83.21 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005625/1.478, allocations: 2.307 MB / 0.578 GB, free: 82.47 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007503/1.485, allocations: 5.159 MB / 0.583 GB, free: 77.86 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007436/1.493, allocations: 3.376 MB / 0.5863 GB, free: 76.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001192/1.493, allocations: 26.72 kB / 0.5864 GB, free: 76.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=630) (initialization): time 0.03739/1.53, allocations: 8.973 MB / 0.5951 GB, free: 74.5 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.315e-05/1.531, allocations: 47.44 kB / 0.5952 GB, free: 74.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02013/1.551, allocations: 4.663 MB / 0.5997 GB, free: 73.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0164/1.567, allocations: 2.346 MB / 0.602 GB, free: 73.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007712/1.575, allocations: 1.171 MB / 0.6032 GB, free: 72.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/1.586, allocations: 8.122 MB / 0.6111 GB, free: 65.39 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009007/1.595, allocations: 0.5616 MB / 0.6116 GB, free: 65 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001444/1.597, allocations: 305.6 kB / 0.6119 GB, free: 64.72 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * Number of states: 0 () * Number of discrete variables: 18 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (578): * Single equations (assignments): 563 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,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 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00146/1.598, allocations: 478 kB / 0.6124 GB, free: 64.25 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001047/1.599, allocations: 252.7 kB / 0.6126 GB, free: 64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001576/1.601, allocations: 411 kB / 0.613 GB, free: 63.63 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02794/1.629, allocations: 4.567 MB / 0.6175 GB, free: 60.26 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.04e-05/1.629, allocations: 4 kB / 0.6175 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/1.629, allocations: 6.281 kB / 0.6175 GB, free: 60.25 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01947/1.648, allocations: 5.326 MB / 0.6227 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.113e-05/1.648, allocations: 7.875 kB / 0.6227 GB, free: 55.97 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004045/1.652, allocations: 287.5 kB / 0.623 GB, free: 55.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02088/1.673, allocations: 2.362 MB / 0.6253 GB, free: 53.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006125/1.674, allocations: 49.12 kB / 0.6253 GB, free: 53.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01303/1.687, allocations: 8.826 MB / 0.634 GB, free: 43.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002043/1.689, allocations: 2.88 MB / 0.6368 GB, free: 40.75 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02579/1.715, allocations: 8.097 MB / 0.6447 GB, free: 32.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009972/1.716, allocations: 333.6 kB / 0.645 GB, free: 32.21 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008678/1.717, allocations: 35.94 kB / 0.645 GB, free: 32.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003903/1.721, allocations: 271 kB / 0.6453 GB, free: 31.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007079/1.722, allocations: 99.81 kB / 0.6454 GB, free: 31.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002405/1.722, allocations: 44.75 kB / 0.6454 GB, free: 31.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.004623/1.726, allocations: 1.809 MB / 0.6472 GB, free: 29.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.727, allocations: 0 / 0.6472 GB, free: 29.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006478/1.733, allocations: 0.9465 MB / 0.6481 GB, free: 29.02 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,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 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02604/1.759, allocations: 9.001 MB / 0.6569 GB, free: 19.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01666/1.776, allocations: 6.513 MB / 0.6633 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/1.776, allocations: 0 / 0.6633 GB, free: 13.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01019/1.786, allocations: 3.364 MB / 0.6665 GB, free: 9.832 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002823/1.789, allocations: 275.8 kB / 0.6668 GB, free: 9.566 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02791/1.817, allocations: 8.334 MB / 0.6749 GB, free: 1.273 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003866/1.821, allocations: 2.348 MB / 0.6772 GB, free: 14.91 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007992/1.829, allocations: 1.632 MB / 0.6788 GB, free: 13.28 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003689/1.833, allocations: 1.155 MB / 0.68 GB, free: 12.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.523e-06/1.833, allocations: 0 / 0.68 GB, free: 12.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4805/2.313, allocations: 65.98 MB / 0.7444 GB, free: 113 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002344/2.313, allocations: 198.1 kB / 0.7446 GB, free: 112.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.484/6.798, allocations: 1.422 kB / 0.7446 GB, free: 112.7 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity_res.mat does not exist to compare? outputFormat=mat