Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_ForceAndTorque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.534e-05/3.543e-05, allocations: 6.391 kB / 255.5 MB, free: 2.605 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1003, allocations: 44.5 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4727/0.5731, allocations: 94.65 MB / 394.6 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000406/0.5736, allocations: 86.16 kB / 394.7 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4314/1.005, allocations: 97.24 MB / 492 MB, free: 8.098 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.484e-06/1.005, allocations: 0 / 492 MB, free: 8.098 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000325/1.005, allocations: 96.12 kB / 492 MB, free: 8.004 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1734 * Number of variables: 1734 Notification: Performance of Generate backend data structure: time 0.02029/1.026, allocations: 4.662 MB / 496.7 MB, free: 3.277 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.551e-05/1.026, allocations: 12.03 kB / 496.7 MB, free: 3.266 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004357/1.03, allocations: 0.8696 MB / 497.6 MB, free: 2.387 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03575/1.066, allocations: 4.498 MB / 0.4903 GB, free: 13.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02135/1.087, allocations: 5.046 MB / 0.4952 GB, free: 8.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006007/1.088, allocations: 365.5 kB / 0.4956 GB, free: 8.406 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/1.091, allocations: 475.9 kB / 0.496 GB, free: 7.941 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04217/1.133, allocations: 11.9 MB / 0.5077 GB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003623/1.134, allocations: 59.41 kB / 0.5077 GB, free: 10.93 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/1.136, allocations: 231.9 kB / 0.5079 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003302/1.14, allocations: 1.195 MB / 0.5091 GB, free: 9.504 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3628/1.502, allocations: 9.631 MB / 0.5185 GB, free: 78.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/1.626, allocations: 52.85 MB / 0.5701 GB, free: 49.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03175/1.658, allocations: 5.161 MB / 0.5752 GB, free: 48.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007541/1.666, allocations: 2.613 MB / 0.5777 GB, free: 48.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02875/1.694, allocations: 8.044 MB / 0.5856 GB, free: 45.75 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.096e-05/1.694, allocations: 55.25 kB / 0.5856 GB, free: 45.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=216): time 9.568e-06/1.694, allocations: 0 / 0.5856 GB, free: 45.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=237): time 0.08046/1.775, allocations: 16.68 MB / 0.6019 GB, free: 40.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.565e-05/1.775, allocations: 181.7 kB / 0.6021 GB, free: 39.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01013/1.785, allocations: 4.159 MB / 0.6062 GB, free: 38.36 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006127/1.786, allocations: 57.05 kB / 0.6062 GB, free: 38.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003249/1.789, allocations: 3.423 MB / 0.6095 GB, free: 35.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001918/1.791, allocations: 0.8894 MB / 0.6104 GB, free: 35.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001162/1.792, allocations: 135.2 kB / 0.6105 GB, free: 34.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0005454/1.793, allocations: 0.5871 MB / 0.6111 GB, free: 34.48 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006321/1.799, allocations: 2.442 MB / 0.6135 GB, free: 33.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00914/1.808, allocations: 6.289 MB / 0.6196 GB, free: 27.64 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009264/1.818, allocations: 3.921 MB / 0.6235 GB, free: 26.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001682/1.818, allocations: 38.31 kB / 0.6235 GB, free: 26.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=864) (initialization): time 0.02862/1.847, allocations: 8.975 MB / 0.6323 GB, free: 23.67 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001158/1.847, allocations: 63.09 kB / 0.6323 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002109/1.847, allocations: 135.1 kB / 0.6325 GB, free: 23.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003903/1.851, allocations: 0.9274 MB / 0.6334 GB, free: 23.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01071/1.862, allocations: 1.593 MB / 0.6349 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/1.873, allocations: 5.769 MB / 0.6406 GB, free: 16.64 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008298/1.882, allocations: 384.8 kB / 0.6409 GB, free: 16.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.883, allocations: 402.4 kB / 0.6413 GB, free: 15.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 624 * Number of states: 0 () * Number of discrete variables: 39 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002097/1.885, allocations: 0.6037 MB / 0.6419 GB, free: 15.32 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.887, allocations: 422.2 kB / 0.6423 GB, free: 14.91 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01242/1.899, allocations: 4.237 MB / 0.6464 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.807e-05/1.899, allocations: 27.95 kB / 0.6465 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.878e-05/1.899, allocations: 6.312 kB / 0.6465 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.434e-05/1.899, allocations: 16.75 kB / 0.6465 GB, free: 11.39 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03028/1.93, allocations: 10.33 MB / 0.6566 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.521e-05/1.93, allocations: 4.094 kB / 0.6566 GB, free: 2.953 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004599/1.934, allocations: 476.7 kB / 0.657 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003292/1.938, allocations: 0.7203 MB / 0.6577 GB, free: 2.086 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005597/1.938, allocations: 47.38 kB / 0.6578 GB, free: 2.043 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01183/1.95, allocations: 5.328 MB / 0.663 GB, free: 13.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.314e-05/1.95, allocations: 10.94 kB / 0.663 GB, free: 13.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02023/1.97, allocations: 8.236 MB / 0.671 GB, free: 5.715 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003434/1.974, allocations: 0.8113 MB / 0.6718 GB, free: 4.949 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00174/1.976, allocations: 44 kB / 0.6719 GB, free: 4.906 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004241/1.98, allocations: 143.8 kB / 0.672 GB, free: 4.816 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007932/1.981, allocations: 145.8 kB / 0.6722 GB, free: 4.719 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002885/1.981, allocations: 68 kB / 0.6722 GB, free: 4.652 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008906/1.99, allocations: 2.968 MB / 0.6751 GB, free: 2.031 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.283e-06/1.99, allocations: 3.844 kB / 0.6751 GB, free: 2.031 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01326/2.003, allocations: 1.149 MB / 0.6762 GB, free: 0.8906 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 194 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3204/2.324, allocations: 10.05 MB / 0.6861 GB, free: 88.64 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01613/2.34, allocations: 5.827 MB / 0.6917 GB, free: 88.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.34, allocations: 0 / 0.6917 GB, free: 88.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006131/2.346, allocations: 2.204 MB / 0.6939 GB, free: 88.36 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004086/2.35, allocations: 483.8 kB / 0.6944 GB, free: 88.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03512/2.385, allocations: 10.8 MB / 0.7049 GB, free: 86.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007799/2.393, allocations: 3.761 MB / 0.7086 GB, free: 85.59 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01019/2.404, allocations: 2.213 MB / 0.7107 GB, free: 85.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005479/2.409, allocations: 2.219 MB / 0.7129 GB, free: 85.54 MB / 426.7 MB Notification: Performance of SimCode: time 1.773e-06/2.409, allocations: 0 / 0.7129 GB, free: 85.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2167/2.626, allocations: 89.78 MB / 0.8006 GB, free: 33.01 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002348/2.626, allocations: 189.4 kB / 0.8008 GB, free: 32.78 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.276/8.902, allocations: 0 / 0.8008 GB, free: 32.78 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat does not exist to compare? outputFormat=mat