Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 270.1 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.658e-05/5.665e-05, allocations: 11.94 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1358, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5636/0.6995, allocations: 108.6 MB / 0.5068 GB, free: 11.32 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000293/0.6999, allocations: 75.97 kB / 0.5069 GB, free: 11.25 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.006/1.706, allocations: 148 MB / 0.6515 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.857e-06/1.706, allocations: 0 / 0.6515 GB, free: 105.9 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.000658/1.707, allocations: 160.5 kB / 0.6516 GB, free: 105.9 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.06763/1.774, allocations: 8.859 MB / 0.6603 GB, free: 103 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/1.775, allocations: 10.16 kB / 0.6603 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00744/1.782, allocations: 1.349 MB / 0.6616 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06158/1.844, allocations: 7.774 MB / 0.6692 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04155/1.885, allocations: 10.44 MB / 0.6794 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008312/1.886, allocations: 0.5817 MB / 0.6799 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004452/1.891, allocations: 0.7941 MB / 0.6807 GB, free: 101.3 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06231/1.953, allocations: 18.08 MB / 0.6984 GB, free: 92.67 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007389/1.954, allocations: 106.5 kB / 0.6985 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004126/1.958, allocations: 372.4 kB / 0.6988 GB, free: 92.39 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004154/1.962, allocations: 1.69 MB / 0.7005 GB, free: 92.07 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05088/2.013, allocations: 14.37 MB / 0.7145 GB, free: 81.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1351/2.148, allocations: 81.13 MB / 0.7937 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04058/2.189, allocations: 7.516 MB / 0.8011 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008602/2.198, allocations: 3.368 MB / 0.8044 GB, free: 5.629 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4371/2.635, allocations: 17.01 MB / 0.821 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.795e-05/2.635, allocations: 73.52 kB / 0.821 GB, free: 111 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.414e-06/2.635, allocations: 1 kB / 0.821 GB, free: 111 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.1207/2.756, allocations: 23.95 MB / 0.8444 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004847/2.76, allocations: 6.258 MB / 0.8505 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/2.776, allocations: 5.731 MB / 0.8561 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000956/2.777, allocations: 78.23 kB / 0.8562 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005381/2.782, allocations: 5.345 MB / 0.8614 GB, free: 97.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002336/2.785, allocations: 1.319 MB / 0.8627 GB, free: 96.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/2.786, allocations: 199.3 kB / 0.8629 GB, free: 96.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0007656/2.787, allocations: 0.7334 MB / 0.8636 GB, free: 95.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01016/2.797, allocations: 3.897 MB / 0.8674 GB, free: 94.29 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01466/2.812, allocations: 9.664 MB / 0.8769 GB, free: 85.21 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01438/2.826, allocations: 6.042 MB / 0.8828 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000244/2.826, allocations: 58.88 kB / 0.8828 GB, free: 83.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.05834/2.885, allocations: 15.82 MB / 0.8983 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001719/2.885, allocations: 98.14 kB / 0.8984 GB, free: 78.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04436/2.929, allocations: 7.856 MB / 0.906 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04611/2.976, allocations: 3.912 MB / 0.9099 GB, free: 75.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02276/2.998, allocations: 2.371 MB / 0.9122 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04335/3.042, allocations: 13.53 MB / 0.9254 GB, free: 62.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02228/3.064, allocations: 0.8742 MB / 0.9262 GB, free: 61.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003085/3.067, allocations: 0.5994 MB / 0.9268 GB, free: 61.01 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.003447/3.071, allocations: 0.8881 MB / 0.9277 GB, free: 60.13 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002475/3.073, allocations: 0.5939 MB / 0.9283 GB, free: 59.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0425/3.116, allocations: 7.767 MB / 0.9359 GB, free: 53.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03773/3.154, allocations: 6.906 MB / 0.9426 GB, free: 47.84 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.345e-05/3.154, allocations: 8 kB / 0.9426 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000118/3.154, allocations: 14.39 kB / 0.9426 GB, free: 47.83 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09081/3.245, allocations: 19.4 MB / 0.9616 GB, free: 32.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.64e-05/3.245, allocations: 4 kB / 0.9616 GB, free: 32.52 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01/3.255, allocations: 0.6621 MB / 0.9622 GB, free: 32.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02601/3.281, allocations: 3.133 MB / 0.9653 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001311/3.282, allocations: 107.8 kB / 0.9654 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03183/3.314, allocations: 14 MB / 0.9791 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006566/3.321, allocations: 6.016 MB / 0.9849 GB, free: 8.371 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05512/3.376, allocations: 12.7 MB / 0.9973 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00408/3.38, allocations: 0.6494 MB / 0.998 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004047/3.384, allocations: 91.95 kB / 0.9981 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01208/3.396, allocations: 379.4 kB / 0.9984 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002133/3.399, allocations: 245.5 kB / 0.9987 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008135/3.399, allocations: 99.94 kB / 0.9988 GB, free: 9.895 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01811/3.418, allocations: 3.979 MB / 1.003 GB, free: 5.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.102e-06/3.418, allocations: 4 kB / 1.003 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.02012/3.438, allocations: 2.099 MB / 1.005 GB, free: 3.836 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.49/3.928, allocations: 14.18 MB / 1.019 GB, free: 126.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03293/3.961, allocations: 11.04 MB / 1.029 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.172e-05/3.961, allocations: 1.469 kB / 1.029 GB, free: 125.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01769/3.978, allocations: 5.375 MB / 1.035 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008215/3.987, allocations: 0.8588 MB / 1.035 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06351/4.05, allocations: 19.53 MB / 1.054 GB, free: 119.1 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01545/4.066, allocations: 5.529 MB / 1.06 GB, free: 118.2 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01539/4.081, allocations: 3.031 MB / 1.063 GB, free: 118 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009023/4.09, allocations: 3.679 MB / 1.066 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.512e-06/4.09, allocations: 0 / 1.066 GB, free: 115.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.34/4.43, allocations: 149.7 MB / 1.213 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003051/4.431, allocations: 173 kB / 1.213 GB, free: 4.008 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.188/13.62, allocations: 3.375 kB / 1.213 GB, free: 4.008 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat