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 1.949/1.949, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.363e-05/4.374e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4566/0.5616, allocations: 92.57 MB / 414.4 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003031/0.5619, allocations: 75.28 kB / 414.5 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8888/1.451, allocations: 142.4 MB / 0.5438 GB, free: 87.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.415e-06/1.451, allocations: 0 / 0.5438 GB, free: 87.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000571/1.451, allocations: 156.1 kB / 0.544 GB, free: 87.47 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.0634/1.515, allocations: 8.671 MB / 0.5524 GB, free: 84.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.844e-05/1.515, allocations: 10.62 kB / 0.5525 GB, free: 84.65 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006842/1.522, allocations: 1.307 MB / 0.5537 GB, free: 84.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06034/1.582, allocations: 7.694 MB / 0.5612 GB, free: 84.03 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04101/1.623, allocations: 10.92 MB / 0.5719 GB, free: 80.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008224/1.624, allocations: 0.564 MB / 0.5725 GB, free: 79.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004223/1.628, allocations: 0.7618 MB / 0.5732 GB, free: 79.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06/1.688, allocations: 17.45 MB / 0.5902 GB, free: 62.94 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006396/1.689, allocations: 107 kB / 0.5903 GB, free: 62.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003699/1.693, allocations: 358.9 kB / 0.5907 GB, free: 62.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003747/1.697, allocations: 1.603 MB / 0.5922 GB, free: 60.92 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04661/1.743, allocations: 14.04 MB / 0.6059 GB, free: 46.87 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5368/2.28, allocations: 78.99 MB / 0.6831 GB, free: 43.62 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04219/2.322, allocations: 6.899 MB / 0.6898 GB, free: 42.95 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007667/2.33, allocations: 3.222 MB / 0.693 GB, free: 42.91 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03905/2.369, allocations: 14.67 MB / 0.7073 GB, free: 39.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.927e-05/2.369, allocations: 63.03 kB / 0.7074 GB, free: 39.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=259): time 1.111e-05/2.369, allocations: 0 / 0.7074 GB, free: 39.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=287): time 0.1224/2.492, allocations: 23 MB / 0.7298 GB, free: 34.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00484/2.497, allocations: 6.242 MB / 0.7359 GB, free: 28.69 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0148/2.512, allocations: 5.759 MB / 0.7415 GB, free: 26.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009026/2.513, allocations: 66.62 kB / 0.7416 GB, free: 26.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00576/2.518, allocations: 5.285 MB / 0.7468 GB, free: 22.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003216/2.522, allocations: 1.182 MB / 0.7479 GB, free: 21.64 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002007/2.524, allocations: 191.8 kB / 0.7481 GB, free: 21.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001365/2.525, allocations: 0.7171 MB / 0.7488 GB, free: 21.02 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01463/2.54, allocations: 3.795 MB / 0.7525 GB, free: 19.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01999/2.56, allocations: 9.58 MB / 0.7619 GB, free: 10.68 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01939/2.579, allocations: 5.903 MB / 0.7676 GB, free: 8.871 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002735/2.58, allocations: 58.22 kB / 0.7677 GB, free: 8.871 MB / 442.7 MB Notification: Performance of matching and sorting (n=1271) (initialization): time 0.04636/2.626, allocations: 15.15 MB / 0.7825 GB, free: 1.371 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/2.626, allocations: 92 kB / 0.7826 GB, free: 1.281 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02925/2.656, allocations: 6.968 MB / 0.7894 GB, free: 12.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0161/2.672, allocations: 2.845 MB / 0.7921 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01608/2.688, allocations: 2.354 MB / 0.7944 GB, free: 8.367 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0241/2.712, allocations: 11.27 MB / 0.8055 GB, free: 13.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02233/2.734, allocations: 0.866 MB / 0.8063 GB, free: 12.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003425/2.738, allocations: 0.5871 MB / 0.8069 GB, free: 12.02 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.00566/2.744, allocations: 0.8564 MB / 0.8077 GB, free: 11.17 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003309/2.747, allocations: 0.5897 MB / 0.8083 GB, free: 10.57 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03812/2.785, allocations: 7.539 MB / 0.8156 GB, free: 4.652 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02743/2.813, allocations: 6.693 MB / 0.8222 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-05/2.813, allocations: 8 kB / 0.8222 GB, free: 14.56 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000136/2.813, allocations: 11.95 kB / 0.8222 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0264/2.839, allocations: 7.439 MB / 0.8295 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-05/2.839, allocations: 0 / 0.8295 GB, free: 7.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00696/2.846, allocations: 0.5968 MB / 0.83 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01853/2.865, allocations: 3.132 MB / 0.8331 GB, free: 3.352 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/2.866, allocations: 95.91 kB / 0.8332 GB, free: 3.258 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02669/2.893, allocations: 14 MB / 0.8469 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.3451/3.238, allocations: 6.002 MB / 0.8527 GB, free: 140.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03902/3.277, allocations: 11.66 MB / 0.8641 GB, free: 139.7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004934/3.282, allocations: 1.132 MB / 0.8652 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002237/3.284, allocations: 74.11 kB / 0.8653 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007788/3.292, allocations: 378.5 kB / 0.8657 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00149/3.294, allocations: 212.6 kB / 0.8659 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004829/3.294, allocations: 86.56 kB / 0.8659 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01254/3.307, allocations: 4.009 MB / 0.8699 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.102e-06/3.307, allocations: 0 / 0.8699 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01351/3.32, allocations: 2.008 MB / 0.8718 GB, free: 139.3 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.036/3.356, allocations: 12.49 MB / 0.884 GB, free: 137.9 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02901/3.385, allocations: 10.67 MB / 0.8944 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.138e-06/3.385, allocations: 3.938 kB / 0.8944 GB, free: 134.8 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01711/3.403, allocations: 5.29 MB / 0.8996 GB, free: 132.2 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008352/3.411, allocations: 0.8322 MB / 0.9004 GB, free: 131.8 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05999/3.471, allocations: 19.01 MB / 0.919 GB, free: 124.6 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0131/3.484, allocations: 5.403 MB / 0.9243 GB, free: 122.8 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01505/3.499, allocations: 2.933 MB / 0.9271 GB, free: 122.6 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008472/3.508, allocations: 3.611 MB / 0.9307 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/3.508, allocations: 0 / 0.9307 GB, free: 119.6 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7042/4.212, allocations: 144.1 MB / 1.071 GB, free: 118.3 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/4.212, allocations: 180 kB / 1.072 GB, free: 118.1 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.384/12.6, allocations: 0 / 1.072 GB, free: 118.1 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