Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_FreeBody",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.721e-05/5.736e-05, allocations: 12 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1211, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4446/0.5658, allocations: 93.75 MB / 410.8 MB, free: 10.14 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.5662, allocations: 85.45 kB / 410.9 MB, free: 10.1 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3561/0.9223, allocations: 73.56 MB / 484.4 MB, free: 7.562 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.9224, allocations: 0 / 484.4 MB, free: 7.562 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003028/0.9227, allocations: 75.98 kB / 484.5 MB, free: 7.488 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1330 * Number of variables: 1330 Notification: Performance of Generate backend data structure: time 0.02391/0.9466, allocations: 3.858 MB / 488.4 MB, free: 3.57 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.984e-05/0.9467, allocations: 12.03 kB / 488.4 MB, free: 3.559 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003737/0.9504, allocations: 0.6837 MB / 489.1 MB, free: 2.863 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01845/0.9689, allocations: 2.151 MB / 491.2 MB, free: 0.7031 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0208/0.9898, allocations: 4.506 MB / 495.7 MB, free: 12.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004936/0.9904, allocations: 279.4 kB / 496 MB, free: 11.86 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002491/0.9929, allocations: 375.8 kB / 496.4 MB, free: 11.49 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03191/1.025, allocations: 9.215 MB / 0.4937 GB, free: 1.316 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003054/1.025, allocations: 59.45 kB / 0.4938 GB, free: 1.258 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002084/1.027, allocations: 183.9 kB / 0.4939 GB, free: 1.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002572/1.03, allocations: 0.9077 MB / 0.4948 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0261/1.056, allocations: 7.299 MB / 0.502 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3712/1.427, allocations: 43.9 MB / 0.5448 GB, free: 70.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01543/1.443, allocations: 3.401 MB / 0.5482 GB, free: 70.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003301/1.446, allocations: 1.419 MB / 0.5495 GB, free: 70.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01618/1.463, allocations: 6.867 MB / 0.5562 GB, free: 67.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.803e-05/1.463, allocations: 48.56 kB / 0.5563 GB, free: 67.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=132): time 4.969e-06/1.463, allocations: 0 / 0.5563 GB, free: 67.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=139): time 0.04161/1.504, allocations: 9.353 MB / 0.5654 GB, free: 65.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001462/1.506, allocations: 1.61 MB / 0.567 GB, free: 63.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008082/1.514, allocations: 3.144 MB / 0.5701 GB, free: 63.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004283/1.514, allocations: 45.83 kB / 0.5701 GB, free: 63.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002653/1.517, allocations: 2.813 MB / 0.5729 GB, free: 62.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009813/1.518, allocations: 0.5695 MB / 0.5734 GB, free: 61.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008654/1.519, allocations: 106.9 kB / 0.5735 GB, free: 61.77 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005684/1.52, allocations: 0.5386 MB / 0.574 GB, free: 61.45 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004795/1.524, allocations: 1.85 MB / 0.5758 GB, free: 61.43 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007269/1.532, allocations: 5.251 MB / 0.581 GB, free: 56.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006947/1.539, allocations: 3.104 MB / 0.584 GB, free: 55.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000162/1.539, allocations: 39.47 kB / 0.584 GB, free: 55.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=712) (initialization): time 0.03135/1.57, allocations: 8.021 MB / 0.5919 GB, free: 53.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.571, allocations: 58.06 kB / 0.5919 GB, free: 53.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01741/1.588, allocations: 3.135 MB / 0.595 GB, free: 52.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01752/1.606, allocations: 1.941 MB / 0.5969 GB, free: 52.03 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007602/1.613, allocations: 1.252 MB / 0.5981 GB, free: 51.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01209/1.625, allocations: 5.68 MB / 0.6037 GB, free: 48.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007006/1.632, allocations: 376.3 kB / 0.604 GB, free: 48.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001528/1.634, allocations: 339.3 kB / 0.6043 GB, free: 48.12 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 559 * Number of states: 0 () * Number of discrete variables: 36 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (674): * Single equations (assignments): 665 * Array equations: 5 * 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 {(4,100.0%),(3,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 prepare postOptimizeDAE: time 0.002284/1.636, allocations: 0.5356 MB / 0.6049 GB, free: 47.68 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008734/1.637, allocations: 306.2 kB / 0.6052 GB, free: 47.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00947/1.647, allocations: 2.727 MB / 0.6078 GB, free: 46.59 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007905/1.655, allocations: 2.32 MB / 0.6101 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.125e-05/1.655, allocations: 3.625 kB / 0.6101 GB, free: 45.86 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.602e-05/1.655, allocations: 7.562 kB / 0.6101 GB, free: 45.85 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02489/1.68, allocations: 7.828 MB / 0.6177 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-05/1.68, allocations: 0 / 0.6177 GB, free: 40.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002331/1.682, allocations: 230.9 kB / 0.618 GB, free: 40.75 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005583/1.688, allocations: 1.037 MB / 0.619 GB, free: 40.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004137/1.688, allocations: 43.53 kB / 0.619 GB, free: 40.01 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008177/1.697, allocations: 4.947 MB / 0.6238 GB, free: 35.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00123/1.698, allocations: 1.476 MB / 0.6253 GB, free: 33.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01269/1.711, allocations: 5.037 MB / 0.6302 GB, free: 29.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001174/1.712, allocations: 370.6 kB / 0.6306 GB, free: 29.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001241/1.713, allocations: 30.95 kB / 0.6306 GB, free: 29.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003282/1.716, allocations: 126 kB / 0.6307 GB, free: 28.94 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006058/1.717, allocations: 83.75 kB / 0.6308 GB, free: 28.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.717, allocations: 41.3 kB / 0.6308 GB, free: 28.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005663/1.723, allocations: 2.172 MB / 0.633 GB, free: 26.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.723, allocations: 0 / 0.633 GB, free: 26.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007161/1.73, allocations: 0.9667 MB / 0.6339 GB, free: 25.98 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (105): * Single equations (assignments): 98 * 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.01395/1.744, allocations: 6.035 MB / 0.6398 GB, free: 20.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01381/1.758, allocations: 4.906 MB / 0.6446 GB, free: 16.17 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/1.758, allocations: 0 / 0.6446 GB, free: 16.17 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006674/1.765, allocations: 1.979 MB / 0.6465 GB, free: 14.43 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003486/1.768, allocations: 362.4 kB / 0.6469 GB, free: 14.12 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/1.796, allocations: 8.185 MB / 0.6549 GB, free: 6.473 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006391/1.802, allocations: 2.98 MB / 0.6578 GB, free: 3.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008062/1.811, allocations: 1.7 MB / 0.6594 GB, free: 1.785 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004013/1.815, allocations: 1.62 MB / 0.661 GB, free: 168 kB / 426.7 MB Notification: Performance of SimCode: time 2.044e-06/1.815, allocations: 0 / 0.661 GB, free: 168 kB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4658/2.28, allocations: 69.57 MB / 0.7289 GB, free: 104 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000284/2.281, allocations: 190 kB / 0.7291 GB, free: 103.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.088/7.369, allocations: 0 / 0.7291 GB, free: 103.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBody_res.mat does not exist to compare? outputFormat=mat