Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.298e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1013, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4451/0.5465, allocations: 92.58 MB / 414.5 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002954/0.5468, allocations: 71.97 kB / 414.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8871/1.434, allocations: 142.4 MB / 0.5439 GB, free: 87.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.497e-06/1.434, allocations: 7.141 kB / 0.5439 GB, free: 87.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005713/1.435, allocations: 151.6 kB / 0.544 GB, free: 87.05 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.06422/1.499, allocations: 8.665 MB / 0.5525 GB, free: 84.23 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.159e-05/1.499, allocations: 12.72 kB / 0.5525 GB, free: 84.23 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007451/1.506, allocations: 1.302 MB / 0.5537 GB, free: 84.13 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06005/1.566, allocations: 7.699 MB / 0.5613 GB, free: 83.61 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04176/1.608, allocations: 10.93 MB / 0.5719 GB, free: 79.89 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008072/1.609, allocations: 0.5587 MB / 0.5725 GB, free: 79.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004997/1.614, allocations: 0.761 MB / 0.5732 GB, free: 79.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05715/1.671, allocations: 17.37 MB / 0.5902 GB, free: 62.87 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006653/1.672, allocations: 107 kB / 0.5903 GB, free: 62.76 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003755/1.676, allocations: 358 kB / 0.5906 GB, free: 62.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00375/1.68, allocations: 1.603 MB / 0.5922 GB, free: 60.85 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04828/1.728, allocations: 13.75 MB / 0.6056 GB, free: 47.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5253/2.253, allocations: 78.99 MB / 0.6828 GB, free: 43.95 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03813/2.292, allocations: 6.876 MB / 0.6895 GB, free: 43.28 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008251/2.3, allocations: 3.216 MB / 0.6926 GB, free: 43.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04244/2.342, allocations: 14.67 MB / 0.7069 GB, free: 40.22 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.198e-05/2.343, allocations: 68.34 kB / 0.707 GB, free: 40.18 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 7.624e-06/2.343, allocations: 0 / 0.707 GB, free: 40.18 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.1155/2.458, allocations: 22.99 MB / 0.7295 GB, free: 34.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00485/2.463, allocations: 6.229 MB / 0.7355 GB, free: 28.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01615/2.479, allocations: 5.758 MB / 0.7412 GB, free: 26.78 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009643/2.48, allocations: 68.92 kB / 0.7412 GB, free: 26.72 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004843/2.485, allocations: 5.278 MB / 0.7464 GB, free: 22.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002112/2.487, allocations: 1.191 MB / 0.7475 GB, free: 21.79 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001222/2.488, allocations: 195.6 kB / 0.7477 GB, free: 21.64 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005785/2.489, allocations: 0.7101 MB / 0.7484 GB, free: 21.17 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009202/2.498, allocations: 3.798 MB / 0.7521 GB, free: 19.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01343/2.512, allocations: 9.527 MB / 0.7614 GB, free: 10.85 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01305/2.525, allocations: 5.896 MB / 0.7672 GB, free: 9.062 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002189/2.525, allocations: 56.59 kB / 0.7673 GB, free: 9.062 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.0452/2.57, allocations: 14.59 MB / 0.7815 GB, free: 2.184 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001437/2.571, allocations: 92.97 kB / 0.7816 GB, free: 2.094 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02413/2.595, allocations: 6.789 MB / 0.7882 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01611/2.611, allocations: 2.839 MB / 0.791 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01604/2.627, allocations: 2.346 MB / 0.7933 GB, free: 8.703 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01657/2.644, allocations: 11.28 MB / 0.8043 GB, free: 13.56 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01516/2.659, allocations: 0.8526 MB / 0.8051 GB, free: 12.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002589/2.661, allocations: 0.5882 MB / 0.8057 GB, free: 12.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 933 * Number of states: 0 () * Number of discrete variables: 75 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1204): * Single equations (assignments): 1179 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * Torn equation systems: 3 * 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: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.003148/2.665, allocations: 0.8586 MB / 0.8065 GB, free: 11.51 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001899/2.666, allocations: 0.5901 MB / 0.8071 GB, free: 10.91 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02913/2.696, allocations: 7.537 MB / 0.8145 GB, free: 4.996 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0353/2.731, allocations: 6.688 MB / 0.821 GB, free: 15.25 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.774e-05/2.731, allocations: 8 kB / 0.821 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001214/2.731, allocations: 11.95 kB / 0.821 GB, free: 15.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03575/2.767, allocations: 7.439 MB / 0.8283 GB, free: 7.809 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-05/2.767, allocations: 8 kB / 0.8283 GB, free: 7.801 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01127/2.778, allocations: 0.6006 MB / 0.8289 GB, free: 7.199 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02226/2.801, allocations: 3.128 MB / 0.8319 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001207/2.802, allocations: 91.91 kB / 0.832 GB, free: 3.938 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02704/2.829, allocations: 13.99 MB / 0.8457 GB, free: 5.18 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3745/3.204, allocations: 6.002 MB / 0.8516 GB, free: 141.1 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03874/3.242, allocations: 11.65 MB / 0.8629 GB, free: 140.3 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004977/3.248, allocations: 1.133 MB / 0.864 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/3.25, allocations: 74.45 kB / 0.8641 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007964/3.258, allocations: 378.4 kB / 0.8645 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001532/3.26, allocations: 215.2 kB / 0.8647 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008534/3.261, allocations: 93.64 kB / 0.8648 GB, free: 140.2 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01294/3.274, allocations: 4.004 MB / 0.8687 GB, free: 140 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.92e-07/3.274, allocations: 1.969 kB / 0.8687 GB, free: 140 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01452/3.288, allocations: 2.004 MB / 0.8706 GB, free: 140 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (233): * Single equations (assignments): 216 * 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.03513/3.323, allocations: 12.51 MB / 0.8828 GB, free: 138.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02842/3.352, allocations: 10.36 MB / 0.893 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.716e-06/3.352, allocations: 0 / 0.893 GB, free: 135.9 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01711/3.369, allocations: 5.238 MB / 0.8981 GB, free: 133.4 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00859/3.378, allocations: 0.8235 MB / 0.8989 GB, free: 133 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06722/3.445, allocations: 18.98 MB / 0.9174 GB, free: 125.9 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01767/3.463, allocations: 5.402 MB / 0.9227 GB, free: 124.2 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01997/3.483, allocations: 2.928 MB / 0.9256 GB, free: 123.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01204/3.495, allocations: 3.606 MB / 0.9291 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.114e-06/3.495, allocations: 0 / 0.9291 GB, free: 120.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6871/4.182, allocations: 143.3 MB / 1.069 GB, free: 118 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/4.182, allocations: 179.2 kB / 1.069 GB, free: 117.7 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.416/12.6, allocations: 0 / 1.069 GB, free: 117.7 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat