Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.433/2.433, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.143e-05/4.163e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1385, allocations: 61.87 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5437/0.6822, allocations: 108.6 MB / 0.5068 GB, free: 11.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002623/0.6825, allocations: 76.77 kB / 0.5069 GB, free: 11.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9985/1.681, allocations: 148.1 MB / 0.6515 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.134e-06/1.681, allocations: 3.938 kB / 0.6515 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006678/1.682, allocations: 159.6 kB / 0.6517 GB, free: 106.4 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.06502/1.747, allocations: 8.86 MB / 0.6603 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/1.747, allocations: 10.78 kB / 0.6603 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007343/1.754, allocations: 1.344 MB / 0.6616 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0605/1.815, allocations: 7.775 MB / 0.6692 GB, free: 102.8 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04174/1.857, allocations: 10.45 MB / 0.6794 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008557/1.858, allocations: 0.5851 MB / 0.68 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004402/1.862, allocations: 0.7913 MB / 0.6808 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06152/1.924, allocations: 18.08 MB / 0.6984 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006552/1.924, allocations: 103.3 kB / 0.6985 GB, free: 92.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003921/1.928, allocations: 374.6 kB / 0.6989 GB, free: 92.6 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004306/1.933, allocations: 1.684 MB / 0.7005 GB, free: 92.28 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05687/1.989, allocations: 14.38 MB / 0.7146 GB, free: 82.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1335/2.123, allocations: 81.12 MB / 0.7938 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04042/2.164, allocations: 7.521 MB / 0.8011 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008341/2.172, allocations: 3.365 MB / 0.8044 GB, free: 5.668 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4379/2.61, allocations: 17.02 MB / 0.821 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.195e-05/2.61, allocations: 74.56 kB / 0.8211 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.484e-06/2.61, allocations: 0.7812 kB / 0.8211 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.1217/2.732, allocations: 23.95 MB / 0.8445 GB, free: 107 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004701/2.737, allocations: 6.256 MB / 0.8506 GB, free: 101.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01397/2.751, allocations: 5.736 MB / 0.8562 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009489/2.752, allocations: 72.88 kB / 0.8563 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004978/2.757, allocations: 5.343 MB / 0.8615 GB, free: 97.42 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002282/2.759, allocations: 1.324 MB / 0.8628 GB, free: 96.46 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001262/2.76, allocations: 203 kB / 0.863 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0005881/2.761, allocations: 0.7308 MB / 0.8637 GB, free: 95.82 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00957/2.77, allocations: 3.899 MB / 0.8675 GB, free: 94.5 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.014/2.784, allocations: 9.666 MB / 0.8769 GB, free: 85.43 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0136/2.798, allocations: 6.032 MB / 0.8828 GB, free: 83.66 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002347/2.798, allocations: 58.75 kB / 0.8829 GB, free: 83.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.05749/2.856, allocations: 15.83 MB / 0.8983 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001555/2.856, allocations: 94.66 kB / 0.8984 GB, free: 78.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0361/2.892, allocations: 7.859 MB / 0.9061 GB, free: 76.67 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05808/2.95, allocations: 3.908 MB / 0.9099 GB, free: 76.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01959/2.97, allocations: 2.363 MB / 0.9122 GB, free: 75.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02383/2.994, allocations: 13.53 MB / 0.9254 GB, free: 62.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01463/3.009, allocations: 0.874 MB / 0.9263 GB, free: 61.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002521/3.011, allocations: 0.5996 MB / 0.9269 GB, free: 61.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.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 (1240): * Single equations (assignments): 1215 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,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.003898/3.015, allocations: 0.887 MB / 0.9277 GB, free: 60.32 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001825/3.017, allocations: 0.5939 MB / 0.9283 GB, free: 59.72 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02787/3.045, allocations: 7.772 MB / 0.9359 GB, free: 53.56 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02467/3.069, allocations: 6.909 MB / 0.9427 GB, free: 48.03 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.811e-05/3.07, allocations: 4 kB / 0.9427 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001004/3.07, allocations: 18.39 kB / 0.9427 GB, free: 48.02 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06053/3.13, allocations: 19.39 MB / 0.9616 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.962e-05/3.13, allocations: 6.688 kB / 0.9616 GB, free: 32.72 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006795/3.137, allocations: 0.654 MB / 0.9623 GB, free: 32.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01692/3.154, allocations: 3.133 MB / 0.9653 GB, free: 29.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000989/3.155, allocations: 115.8 kB / 0.9654 GB, free: 29.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02068/3.176, allocations: 14 MB / 0.9791 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004399/3.18, allocations: 6.031 MB / 0.985 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03577/3.216, allocations: 12.69 MB / 0.9974 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00267/3.219, allocations: 0.6489 MB / 0.998 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002704/3.222, allocations: 90.31 kB / 0.9981 GB, free: 10.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008023/3.23, allocations: 387.4 kB / 0.9985 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001469/3.231, allocations: 249.5 kB / 0.9987 GB, free: 10.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004985/3.232, allocations: 99.94 kB / 0.9988 GB, free: 9.984 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01179/3.243, allocations: 3.979 MB / 1.003 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.31e-07/3.244, allocations: 0 / 1.003 GB, free: 6.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0148/3.258, allocations: 2.093 MB / 1.005 GB, free: 3.934 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,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.4872/3.746, allocations: 14.19 MB / 1.019 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03237/3.778, allocations: 11.04 MB / 1.029 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/3.778, allocations: 1.344 kB / 1.029 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01707/3.795, allocations: 5.37 MB / 1.035 GB, free: 124.3 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0077/3.803, allocations: 0.8606 MB / 1.035 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06111/3.864, allocations: 19.53 MB / 1.055 GB, free: 119.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01387/3.878, allocations: 5.526 MB / 1.06 GB, free: 118.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01509/3.893, allocations: 3.03 MB / 1.063 GB, free: 118.4 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009308/3.902, allocations: 3.678 MB / 1.066 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of SimCode: time 1.683e-06/3.903, allocations: 0 / 1.066 GB, free: 115.7 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3242/4.227, allocations: 149.7 MB / 1.213 GB, free: 4.363 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003244/4.227, allocations: 183.1 kB / 1.213 GB, free: 4.129 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.763/12.99, allocations: 4 kB / 1.213 GB, free: 4.125 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat