Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.028e-05/5.045e-05, allocations: 7.938 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1694, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5409/0.7104, allocations: 108.6 MB / 0.5068 GB, free: 11.31 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.7107, allocations: 71.97 kB / 0.5069 GB, free: 11.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.008/1.718, allocations: 148 MB / 0.6514 GB, free: 106 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.757e-06/1.719, allocations: 0 / 0.6514 GB, free: 106 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005759/1.719, allocations: 161.3 kB / 0.6516 GB, free: 106 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.06459/1.784, allocations: 8.853 MB / 0.6602 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.784, allocations: 7.594 kB / 0.6602 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006969/1.791, allocations: 1.353 MB / 0.6616 GB, free: 103 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05904/1.85, allocations: 7.771 MB / 0.6692 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04063/1.891, allocations: 10.44 MB / 0.6793 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009353/1.892, allocations: 0.5925 MB / 0.6799 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004806/1.896, allocations: 0.7934 MB / 0.6807 GB, free: 101.4 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06019/1.957, allocations: 18.08 MB / 0.6984 GB, free: 92.75 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000718/1.957, allocations: 104.7 kB / 0.6985 GB, free: 92.69 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003989/1.961, allocations: 375.6 kB / 0.6988 GB, free: 92.47 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004091/1.966, allocations: 1.688 MB / 0.7005 GB, free: 92.14 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04947/2.015, allocations: 14.37 MB / 0.7145 GB, free: 82.05 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.131/2.146, allocations: 81.13 MB / 0.7937 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04147/2.188, allocations: 7.512 MB / 0.8011 GB, free: 9.008 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008545/2.196, allocations: 3.368 MB / 0.8043 GB, free: 5.625 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4451/2.642, allocations: 17.02 MB / 0.821 GB, free: 111.1 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.911e-05/2.642, allocations: 68.81 kB / 0.821 GB, free: 111 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.945e-06/2.642, allocations: 1.625 kB / 0.821 GB, free: 111 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.1155/2.757, allocations: 23.95 MB / 0.8444 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004893/2.762, allocations: 6.254 MB / 0.8505 GB, free: 100.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01446/2.777, allocations: 5.732 MB / 0.8561 GB, free: 100.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009232/2.778, allocations: 75.41 kB / 0.8562 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.005182/2.783, allocations: 5.345 MB / 0.8614 GB, free: 97.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002363/2.785, allocations: 1.322 MB / 0.8627 GB, free: 96.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001558/2.787, allocations: 202.9 kB / 0.8629 GB, free: 96.15 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.001008/2.788, allocations: 0.732 MB / 0.8636 GB, free: 95.66 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/2.798, allocations: 3.898 MB / 0.8674 GB, free: 94.35 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01392/2.812, allocations: 9.667 MB / 0.8769 GB, free: 85.27 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.014/2.826, allocations: 6.027 MB / 0.8827 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002575/2.827, allocations: 62.78 kB / 0.8828 GB, free: 83.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.06269/2.889, allocations: 15.82 MB / 0.8983 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001573/2.889, allocations: 92.53 kB / 0.8983 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03326/2.923, allocations: 7.865 MB / 0.906 GB, free: 76.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02907/2.952, allocations: 3.899 MB / 0.9098 GB, free: 75.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01504/2.967, allocations: 2.373 MB / 0.9121 GB, free: 75.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02278/2.99, allocations: 13.54 MB / 0.9254 GB, free: 62.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0151/3.005, allocations: 0.8761 MB / 0.9262 GB, free: 61.67 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002655/3.008, allocations: 0.6041 MB / 0.9268 GB, free: 61.09 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.004177/3.012, allocations: 0.8814 MB / 0.9277 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001947/3.014, allocations: 0.5939 MB / 0.9283 GB, free: 59.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02779/3.042, allocations: 7.764 MB / 0.9358 GB, free: 53.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02401/3.066, allocations: 6.904 MB / 0.9426 GB, free: 47.93 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.842e-05/3.066, allocations: 8 kB / 0.9426 GB, free: 47.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001039/3.066, allocations: 14.16 kB / 0.9426 GB, free: 47.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0796/3.146, allocations: 19.4 MB / 0.9615 GB, free: 32.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-05/3.146, allocations: 4 kB / 0.9616 GB, free: 32.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01023/3.156, allocations: 0.6579 MB / 0.9622 GB, free: 32.11 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02042/3.176, allocations: 3.133 MB / 0.9653 GB, free: 29.83 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001081/3.178, allocations: 110.8 kB / 0.9654 GB, free: 29.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/3.2, allocations: 14 MB / 0.979 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004594/3.205, allocations: 6.022 MB / 0.9849 GB, free: 8.367 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0376/3.243, allocations: 12.7 MB / 0.9973 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002687/3.245, allocations: 0.6455 MB / 0.998 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002758/3.248, allocations: 87.48 kB / 0.998 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007893/3.256, allocations: 387.4 kB / 0.9984 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001441/3.257, allocations: 241.5 kB / 0.9986 GB, free: 9.992 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005102/3.258, allocations: 103.9 kB / 0.9987 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0123/3.27, allocations: 3.979 MB / 1.003 GB, free: 5.926 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.022e-06/3.27, allocations: 4 kB / 1.003 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01495/3.285, allocations: 2.097 MB / 1.005 GB, free: 3.832 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.45/3.735, allocations: 14.18 MB / 1.019 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03767/3.773, allocations: 11.04 MB / 1.029 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.539e-05/3.773, allocations: 1.375 kB / 1.029 GB, free: 125.1 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02296/3.796, allocations: 5.371 MB / 1.035 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01043/3.807, allocations: 0.8518 MB / 1.035 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06766/3.874, allocations: 19.53 MB / 1.054 GB, free: 118.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01369/3.888, allocations: 5.537 MB / 1.06 GB, free: 118 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01479/3.903, allocations: 3.029 MB / 1.063 GB, free: 117.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008799/3.912, allocations: 3.68 MB / 1.066 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of SimCode: time 1.953e-06/3.912, allocations: 3 kB / 1.066 GB, free: 115.4 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.324/4.236, allocations: 149.7 MB / 1.213 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/4.236, allocations: 173.2 kB / 1.213 GB, free: 4.023 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.05/13.29, allocations: 0 / 1.213 GB, free: 4.023 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.FreeBodies_res.mat does not exist to compare? outputFormat=mat