Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.462/2.462, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.204e-05/3.231e-05, allocations: 4 kB / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3905, allocations: 44.5 MB / 294.3 MB, free: 14.41 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1906/0.5813, allocations: 80.65 MB / 374.9 MB, free: 1.156 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004021/0.5817, allocations: 83.94 kB / 375 MB, free: 1.074 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6825/1.264, allocations: 58.39 MB / 433.4 MB, free: 90.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.687e-06/1.264, allocations: 5.656 kB / 433.4 MB, free: 90.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002965/1.265, allocations: 41.97 kB / 433.5 MB, free: 90.55 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: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.03853/1.303, allocations: 3.445 MB / 436.9 MB, free: 89.38 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/1.303, allocations: 6.969 kB / 436.9 MB, free: 89.38 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02539/1.329, allocations: 2.351 MB / 439.3 MB, free: 89.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03116/1.36, allocations: 4.854 MB / 444.1 MB, free: 88.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003332/1.36, allocations: 71.28 kB / 444.2 MB, free: 88.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002978/1.363, allocations: 138.6 kB / 444.3 MB, free: 88.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01949/1.383, allocations: 5.528 MB / 449.9 MB, free: 88.75 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02034/1.403, allocations: 7.81 MB / 457.7 MB, free: 85.04 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002295/1.404, allocations: 53.94 kB / 457.7 MB, free: 85.03 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001319/1.405, allocations: 25.97 kB / 457.7 MB, free: 85.03 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002154/1.407, allocations: 0.7217 MB / 458.5 MB, free: 84.91 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05856/1.466, allocations: 36.57 MB / 495 MB, free: 50.69 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007464/1.473, allocations: 3.16 MB / 498.2 MB, free: 47.38 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005453/1.479, allocations: 2.156 MB / 0.4886 GB, free: 45.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002213/1.479, allocations: 15.83 kB / 0.4886 GB, free: 45.19 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.251e-05/1.479, allocations: 55.55 kB / 0.4887 GB, free: 45.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=122): time 6.402e-06/1.479, allocations: 0 / 0.4887 GB, free: 45.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=136): time 0.07082/1.55, allocations: 13.55 MB / 0.5019 GB, free: 31.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/1.55, allocations: 170.7 kB / 0.5021 GB, free: 31.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006215/1.556, allocations: 2.288 MB / 0.5043 GB, free: 28.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007285/1.557, allocations: 25.7 kB / 0.5043 GB, free: 28.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002308/1.559, allocations: 2.109 MB / 0.5064 GB, free: 26.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/1.561, allocations: 0.5516 MB / 0.5069 GB, free: 26.16 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00115/1.562, allocations: 4 kB / 0.5069 GB, free: 26.16 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0005209/1.563, allocations: 0.5089 MB / 0.5074 GB, free: 25.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00702/1.57, allocations: 2.243 MB / 0.5096 GB, free: 23.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01267/1.583, allocations: 5.215 MB / 0.5147 GB, free: 16.67 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01283/1.595, allocations: 3.337 MB / 0.518 GB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001222/1.596, allocations: 35.94 kB / 0.518 GB, free: 13.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.04517/1.641, allocations: 8.709 MB / 0.5265 GB, free: 4.559 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.641, allocations: 55.95 kB / 0.5266 GB, free: 4.504 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02434/1.665, allocations: 4.599 MB / 0.5311 GB, free: 15.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02095/1.686, allocations: 2.327 MB / 0.5333 GB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009769/1.696, allocations: 1.201 MB / 0.5345 GB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01639/1.713, allocations: 7.827 MB / 0.5422 GB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009976/1.723, allocations: 490.9 kB / 0.5426 GB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001866/1.725, allocations: 315.9 kB / 0.5429 GB, free: 3.262 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * Number of states: 0 () * Number of discrete variables: 15 (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 (596): * Single equations (assignments): 581 * 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.002685/1.727, allocations: 365.8 kB / 0.5433 GB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02971/1.757, allocations: 5.195 MB / 0.5483 GB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001849/1.759, allocations: 240.9 kB / 0.5486 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/1.762, allocations: 385.7 kB / 0.5489 GB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03508/1.797, allocations: 4.51 MB / 0.5533 GB, free: 8.496 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-05/1.797, allocations: 8 kB / 0.5534 GB, free: 8.488 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.325e-05/1.797, allocations: 3.984 kB / 0.5534 GB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02801/1.825, allocations: 4.999 MB / 0.5582 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.373e-05/1.825, allocations: 480 / 0.5582 GB, free: 3.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005039/1.83, allocations: 287.5 kB / 0.5585 GB, free: 3.168 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02275/1.853, allocations: 2.339 MB / 0.5608 GB, free: 0.8008 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008454/1.854, allocations: 27.95 kB / 0.5608 GB, free: 0.7734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4274/2.281, allocations: 8.611 MB / 0.5692 GB, free: 102.3 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00231/2.284, allocations: 2.77 MB / 0.5719 GB, free: 99.74 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02932/2.313, allocations: 7.992 MB / 0.5797 GB, free: 99.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009458/2.314, allocations: 310.6 kB / 0.58 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/2.315, allocations: 14.95 kB / 0.5801 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006499/2.322, allocations: 250.7 kB / 0.5803 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001465/2.323, allocations: 96.38 kB / 0.5804 GB, free: 98.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008015/2.324, allocations: 52.38 kB / 0.5804 GB, free: 98.98 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.005559/2.33, allocations: 1.521 MB / 0.5819 GB, free: 98.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.573e-06/2.33, allocations: 0 / 0.5819 GB, free: 98.84 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.01098/2.341, allocations: 0.8667 MB / 0.5828 GB, free: 98.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET7531102601.x[3],$STATESET7531102601.x[2],$STATESET7531102601.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],$STATESET7531102600.x[3],$STATESET7531102600.x[2],$STATESET7531102600.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.03354/2.374, allocations: 8.88 MB / 0.5914 GB, free: 97.08 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0187/2.393, allocations: 6.464 MB / 0.5978 GB, free: 94.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/2.393, allocations: 2.156 kB / 0.5978 GB, free: 94.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01175/2.405, allocations: 3.345 MB / 0.601 GB, free: 93.31 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/2.408, allocations: 234.9 kB / 0.6012 GB, free: 93.21 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03317/2.441, allocations: 8.156 MB / 0.6092 GB, free: 90.4 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00507/2.446, allocations: 2.335 MB / 0.6115 GB, free: 89.38 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.009403/2.456, allocations: 1.667 MB / 0.6131 GB, free: 88.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003998/2.46, allocations: 1.146 MB / 0.6142 GB, free: 87.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/2.46, allocations: 0 / 0.6142 GB, free: 87.82 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/2.713, allocations: 62.09 MB / 0.6749 GB, free: 28.33 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004142/2.713, allocations: 157.6 kB / 0.675 GB, free: 28.14 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.978/8.691, allocations: 3.719 kB / 0.675 GB, free: 28.14 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.PointGravity_res.mat does not exist to compare? outputFormat=mat