Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.637/1.637, allocations: 171.2 MB / 183.3 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.082e-05/3.098e-05, allocations: 4 kB / 225.1 MB, free: 2.203 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2468/0.2468, allocations: 38.78 MB / 263.9 MB, free: 9.793 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1394/0.3863, allocations: 81.3 MB / 345.2 MB, free: 8.371 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/0.3866, allocations: 83.94 kB / 345.2 MB, free: 8.289 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5219/0.9086, allocations: 71.44 MB / 416.7 MB, free: 56.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.846e-06/0.9087, allocations: 0 / 416.7 MB, free: 56.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002208/0.9089, allocations: 72 kB / 416.8 MB, free: 56.76 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1295 * Number of variables: 1295 Notification: Performance of Generate backend data structure: time 0.02066/0.9296, allocations: 3.787 MB / 420.5 MB, free: 52.91 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.9296, allocations: 8.031 kB / 420.6 MB, free: 52.9 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002734/0.9324, allocations: 0.671 MB / 421.2 MB, free: 52.22 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0163/0.9487, allocations: 2.137 MB / 423.4 MB, free: 50.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01685/0.9656, allocations: 4.42 MB / 427.8 MB, free: 45.59 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003143/0.966, allocations: 275.2 kB / 428 MB, free: 45.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001925/0.9679, allocations: 363.8 kB / 428.4 MB, free: 44.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02466/0.9926, allocations: 9.014 MB / 437.4 MB, free: 34.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002128/0.9929, allocations: 59.47 kB / 437.5 MB, free: 34.93 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001211/0.9941, allocations: 175.9 kB / 437.6 MB, free: 34.76 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.9959, allocations: 0.8724 MB / 438.5 MB, free: 33.88 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02036/1.016, allocations: 7.247 MB / 445.8 MB, free: 26.62 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06657/1.083, allocations: 43.17 MB / 488.9 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01419/1.097, allocations: 3.147 MB / 492.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003475/1.101, allocations: 1.365 MB / 493.4 MB, free: 9.336 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01694/1.118, allocations: 6.043 MB / 499.5 MB, free: 3.086 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.65e-05/1.118, allocations: 51.06 kB / 499.5 MB, free: 3.027 MB / 346.7 MB Notification: Performance of pre-optimization done (n=118): time 4.97e-06/1.118, allocations: 0 / 499.5 MB, free: 3.027 MB / 346.7 MB Notification: Performance of matching and sorting (n=125): time 0.2703/1.388, allocations: 8.934 MB / 0.4966 GB, free: 86.63 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001419/1.39, allocations: 1.607 MB / 0.4981 GB, free: 85.1 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007657/1.397, allocations: 3.109 MB / 0.5012 GB, free: 84.78 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003897/1.398, allocations: 45.42 kB / 0.5012 GB, free: 84.75 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002583/1.4, allocations: 2.776 MB / 0.5039 GB, free: 83.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009428/1.401, allocations: 0.518 MB / 0.5044 GB, free: 82.94 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007408/1.402, allocations: 110.3 kB / 0.5045 GB, free: 82.94 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004612/1.403, allocations: 0.5329 MB / 0.505 GB, free: 82.62 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004692/1.407, allocations: 1.809 MB / 0.5068 GB, free: 82.61 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00703/1.414, allocations: 5.22 MB / 0.5119 GB, free: 78.17 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006831/1.421, allocations: 3.047 MB / 0.5149 GB, free: 78.15 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001403/1.422, allocations: 39.09 kB / 0.5149 GB, free: 78.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=695) (initialization): time 0.02182/1.443, allocations: 7.579 MB / 0.5223 GB, free: 75.71 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/1.444, allocations: 58.59 kB / 0.5224 GB, free: 75.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0077/1.451, allocations: 2.381 MB / 0.5247 GB, free: 74.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005581/1.457, allocations: 1.124 MB / 0.5258 GB, free: 74.76 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007115/1.464, allocations: 1.224 MB / 0.527 GB, free: 74.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007643/1.472, allocations: 4.704 MB / 0.5316 GB, free: 71.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006661/1.479, allocations: 374.3 kB / 0.532 GB, free: 71.24 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001313/1.48, allocations: 334.6 kB / 0.5323 GB, free: 71.2 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 556 * Number of states: 0 () * Number of discrete variables: 33 (spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (657): * Single equations (assignments): 648 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.002168/1.482, allocations: 0.5124 MB / 0.5328 GB, free: 70.77 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008335/1.483, allocations: 304.6 kB / 0.5331 GB, free: 70.6 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009287/1.492, allocations: 2.654 MB / 0.5357 GB, free: 69.69 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0077/1.5, allocations: 2.243 MB / 0.5378 GB, free: 68.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.232e-05/1.5, allocations: 8 kB / 0.5379 GB, free: 68.27 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.7e-05/1.5, allocations: 5.672 kB / 0.5379 GB, free: 68.27 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009339/1.509, allocations: 3.354 MB / 0.5411 GB, free: 65.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.721e-05/1.51, allocations: 4 kB / 0.5411 GB, free: 65.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002147/1.512, allocations: 205.5 kB / 0.5413 GB, free: 65.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00547/1.517, allocations: 1.037 MB / 0.5423 GB, free: 64.78 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003922/1.518, allocations: 35.36 kB / 0.5424 GB, free: 64.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008258/1.526, allocations: 4.988 MB / 0.5473 GB, free: 60.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001171/1.527, allocations: 1.471 MB / 0.5487 GB, free: 58.55 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0124/1.54, allocations: 4.848 MB / 0.5534 GB, free: 54.34 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001178/1.541, allocations: 361.8 kB / 0.5538 GB, free: 53.97 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/1.542, allocations: 27.42 kB / 0.5538 GB, free: 53.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003124/1.545, allocations: 127.2 kB / 0.5539 GB, free: 53.88 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005429/1.546, allocations: 74.45 kB / 0.554 GB, free: 53.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/1.546, allocations: 43.41 kB / 0.554 GB, free: 53.8 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00554/1.552, allocations: 2.146 MB / 0.5561 GB, free: 51.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.42e-07/1.552, allocations: 0 / 0.5561 GB, free: 51.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.006625/1.558, allocations: 0.9266 MB / 0.557 GB, free: 50.99 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.v_0[1],body.v_0[2],body.v_0[3],body.body.frame_a.r_0[1],body.body.frame_a.r_0[2],body.body.frame_a.r_0[3],body.body.w_a[1],body.body.w_a[2],body.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 86 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01339/1.572, allocations: 5.659 MB / 0.5626 GB, free: 45.96 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.01356/1.585, allocations: 5.005 MB / 0.5674 GB, free: 41.45 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.585, allocations: 0 / 0.5674 GB, free: 41.45 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008729/1.594, allocations: 1.99 MB / 0.5694 GB, free: 39.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004473/1.599, allocations: 350.6 kB / 0.5697 GB, free: 39.39 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06472/1.663, allocations: 7.992 MB / 0.5775 GB, free: 32.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006984/1.67, allocations: 2.928 MB / 0.5804 GB, free: 29.98 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.007512/1.678, allocations: 1.67 MB / 0.582 GB, free: 28.31 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003355/1.681, allocations: 1.569 MB / 0.5835 GB, free: 26.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.273e-06/1.681, allocations: 0 / 0.5835 GB, free: 26.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.396/2.077, allocations: 66.82 MB / 0.6488 GB, free: 86.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002112/2.078, allocations: 190.8 kB / 0.649 GB, free: 86.54 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.575/6.653, allocations: 0 / 0.649 GB, free: 86.54 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat