Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.424/2.424, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.582e-05/3.59e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4065, allocations: 58.82 MB / 382.3 MB, free: 10.35 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.6045, allocations: 106.5 MB / 488.8 MB, free: 1.98 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/0.6049, allocations: 75.95 kB / 488.9 MB, free: 1.906 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.9815/1.586, allocations: 146.3 MB / 0.6203 GB, free: 53.82 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.535e-06/1.586, allocations: 4 kB / 0.6203 GB, free: 53.81 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0006227/1.587, allocations: 167.9 kB / 0.6205 GB, free: 53.65 MB / 458.8 MB 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.06547/1.653, allocations: 8.864 MB / 0.6291 GB, free: 44.7 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.733e-05/1.653, allocations: 12.03 kB / 0.6292 GB, free: 44.69 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006865/1.66, allocations: 1.357 MB / 0.6305 GB, free: 43.32 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06057/1.72, allocations: 7.778 MB / 0.6381 GB, free: 35.52 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04188/1.762, allocations: 11.05 MB / 0.6489 GB, free: 24.39 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007708/1.763, allocations: 0.5818 MB / 0.6494 GB, free: 23.81 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004335/1.767, allocations: 0.7978 MB / 0.6502 GB, free: 23.01 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06012/1.827, allocations: 18.07 MB / 0.6679 GB, free: 3.387 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007324/1.828, allocations: 111 kB / 0.668 GB, free: 3.277 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/1.832, allocations: 379.8 kB / 0.6683 GB, free: 2.906 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004082/1.836, allocations: 1.683 MB / 0.67 GB, free: 1.223 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0564/1.893, allocations: 14.37 MB / 0.684 GB, free: 2.832 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6353/2.528, allocations: 81.22 MB / 0.7633 GB, free: 50.83 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03872/2.567, allocations: 7.517 MB / 0.7707 GB, free: 50.15 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007413/2.575, allocations: 3.363 MB / 0.7739 GB, free: 50.11 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04243/2.617, allocations: 17.08 MB / 0.7906 GB, free: 45.13 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.439e-05/2.617, allocations: 71.95 kB / 0.7907 GB, free: 45.09 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=301): time 7.585e-06/2.617, allocations: 0 / 0.7907 GB, free: 45.09 MB / 0.4949 GB Notification: Performance of matching and sorting (n=329): time 0.1396/2.757, allocations: 24.17 MB / 0.8143 GB, free: 39.72 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0051/2.762, allocations: 6.262 MB / 0.8204 GB, free: 33.61 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01552/2.777, allocations: 5.801 MB / 0.8261 GB, free: 31.55 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.001018/2.779, allocations: 73.17 kB / 0.8261 GB, free: 31.48 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.005597/2.784, allocations: 5.369 MB / 0.8314 GB, free: 27.36 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.002368/2.787, allocations: 1.315 MB / 0.8327 GB, free: 26.4 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001581/2.788, allocations: 200 kB / 0.8329 GB, free: 26.25 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0008926/2.789, allocations: 0.7407 MB / 0.8336 GB, free: 25.75 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/2.799, allocations: 3.899 MB / 0.8374 GB, free: 24.44 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01435/2.814, allocations: 9.659 MB / 0.8468 GB, free: 15.36 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01441/2.828, allocations: 6.049 MB / 0.8527 GB, free: 12.74 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002566/2.828, allocations: 56 kB / 0.8528 GB, free: 12.68 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.0668/2.895, allocations: 15.83 MB / 0.8682 GB, free: 15.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003063/2.896, allocations: 96 kB / 0.8683 GB, free: 15.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0529/2.949, allocations: 7.855 MB / 0.876 GB, free: 9.664 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04005/2.989, allocations: 3.906 MB / 0.8798 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01563/3.004, allocations: 2.375 MB / 0.8821 GB, free: 5.004 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02666/3.031, allocations: 13.53 MB / 0.8954 GB, free: 8.184 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01517/3.046, allocations: 0.8687 MB / 0.8962 GB, free: 7.535 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002736/3.049, allocations: 0.5996 MB / 0.8968 GB, free: 6.961 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.004219/3.053, allocations: 0.8858 MB / 0.8977 GB, free: 6.082 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001875/3.055, allocations: 0.5976 MB / 0.8982 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02973/3.085, allocations: 7.804 MB / 0.9059 GB, free: 15.38 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02685/3.112, allocations: 6.906 MB / 0.9126 GB, free: 8.887 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.741e-05/3.112, allocations: 8 kB / 0.9126 GB, free: 8.879 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.875e-05/3.112, allocations: 11.95 kB / 0.9126 GB, free: 8.867 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4703/3.582, allocations: 19.4 MB / 0.9316 GB, free: 137.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.85e-05/3.582, allocations: 13.73 kB / 0.9316 GB, free: 137.7 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006842/3.589, allocations: 0.6543 MB / 0.9322 GB, free: 137.7 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01692/3.606, allocations: 3.133 MB / 0.9353 GB, free: 137.6 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001063/3.607, allocations: 103.9 kB / 0.9354 GB, free: 137.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02156/3.629, allocations: 14 MB / 0.9491 GB, free: 129.9 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004681/3.634, allocations: 6.024 MB / 0.9549 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03446/3.668, allocations: 12.71 MB / 0.9674 GB, free: 122.8 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002547/3.671, allocations: 0.6549 MB / 0.968 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002661/3.674, allocations: 87.88 kB / 0.9681 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007725/3.681, allocations: 389.5 kB / 0.9684 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001417/3.683, allocations: 248.3 kB / 0.9687 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005554/3.683, allocations: 100.3 kB / 0.9688 GB, free: 122.7 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01071/3.694, allocations: 4.031 MB / 0.9727 GB, free: 122.5 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.505e-06/3.694, allocations: 0 / 0.9727 GB, free: 122.5 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01389/3.708, allocations: 2.102 MB / 0.9748 GB, free: 122.5 MB / 0.5418 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.03626/3.744, allocations: 14.19 MB / 0.9886 GB, free: 118.1 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.03286/3.777, allocations: 11.04 MB / 0.9994 GB, free: 114 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.261e-05/3.777, allocations: 0 / 0.9994 GB, free: 114 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.02279/3.8, allocations: 5.376 MB / 1.005 GB, free: 111.5 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00976/3.81, allocations: 0.8609 MB / 1.005 GB, free: 111.1 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07534/3.885, allocations: 19.57 MB / 1.025 GB, free: 96.18 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01696/3.902, allocations: 5.546 MB / 1.03 GB, free: 92.15 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01948/3.922, allocations: 3.033 MB / 1.033 GB, free: 90.22 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01163/3.934, allocations: 3.731 MB / 1.037 GB, free: 86.77 MB / 0.5418 GB Notification: Performance of SimCode: time 2.024e-06/3.934, allocations: 5.203 kB / 1.037 GB, free: 86.77 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7341/4.668, allocations: 150.2 MB / 1.183 GB, free: 120.4 MB / 0.5418 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000224/4.668, allocations: 178.6 kB / 1.184 GB, free: 120.2 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.491/13.16, allocations: 6.906 kB / 1.184 GB, free: 120.2 MB / 0.5418 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.FreeBodies2_res.mat does not exist to compare? outputFormat=mat