Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.629e-05/4.637e-05, allocations: 4 kB / 323.5 MB, free: 4.227 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4168/0.4169, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2125/0.6294, allocations: 107 MB / 489.3 MB, free: 1.355 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.6298, allocations: 83.88 kB / 489.4 MB, free: 1.273 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.131/1.761, allocations: 199.6 MB / 0.6728 GB, free: 15.93 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.685e-06/1.761, allocations: 0 / 0.6728 GB, free: 15.93 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0006885/1.762, allocations: 199.9 kB / 0.673 GB, free: 15.74 MB / 474.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3665 * Number of variables: 3665 Notification: Performance of Generate backend data structure: time 0.04101/1.803, allocations: 9.425 MB / 0.6822 GB, free: 6.219 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.165e-05/1.803, allocations: 12.03 kB / 0.6822 GB, free: 6.207 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009793/1.813, allocations: 1.813 MB / 0.684 GB, free: 4.379 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03733/1.85, allocations: 4.042 MB / 0.688 GB, free: 324 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04119/1.891, allocations: 10.58 MB / 0.6983 GB, free: 5.652 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001412/1.893, allocations: 0.7903 MB / 0.6991 GB, free: 4.859 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006296/1.899, allocations: 1.043 MB / 0.7001 GB, free: 3.816 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8282/2.727, allocations: 23.96 MB / 0.7235 GB, free: 63.68 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001086/2.729, allocations: 96.94 kB / 0.7236 GB, free: 63.68 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006855/2.735, allocations: 493.9 kB / 0.724 GB, free: 63.68 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008924/2.744, allocations: 2.276 MB / 0.7263 GB, free: 63.66 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06654/2.811, allocations: 18.65 MB / 0.7445 GB, free: 63.61 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1756/2.987, allocations: 94.25 MB / 0.8365 GB, free: 25.78 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04663/3.033, allocations: 7.569 MB / 0.8439 GB, free: 23.47 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0106/3.044, allocations: 3.031 MB / 0.8469 GB, free: 22.32 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04186/3.086, allocations: 13.31 MB / 0.8599 GB, free: 16 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.01e-05/3.086, allocations: 71.64 kB / 0.8599 GB, free: 15.93 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=336): time 7.985e-06/3.086, allocations: 0 / 0.8599 GB, free: 15.93 MB / 0.5106 GB Notification: Performance of matching and sorting (n=360): time 0.08877/3.175, allocations: 18.78 MB / 0.8783 GB, free: 5.73 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001182/3.175, allocations: 166.9 kB / 0.8784 GB, free: 5.535 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01988/3.195, allocations: 6.421 MB / 0.8847 GB, free: 15.89 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.000823/3.196, allocations: 80.48 kB / 0.8848 GB, free: 15.81 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.008369/3.204, allocations: 6.825 MB / 0.8914 GB, free: 9.719 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002664/3.207, allocations: 1.36 MB / 0.8928 GB, free: 8.52 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002298/3.209, allocations: 219.9 kB / 0.893 GB, free: 8.305 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002405/3.212, allocations: 0.7524 MB / 0.8937 GB, free: 7.676 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009905/3.222, allocations: 2.991 MB / 0.8966 GB, free: 4.98 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0168/3.239, allocations: 9.423 MB / 0.9058 GB, free: 8.984 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01413/3.253, allocations: 5.245 MB / 0.911 GB, free: 4.504 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002802/3.253, allocations: 64 kB / 0.911 GB, free: 4.441 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.03597/3.289, allocations: 11.57 MB / 0.9223 GB, free: 10.19 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.000206/3.289, allocations: 108 kB / 0.9224 GB, free: 10.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004596/3.29, allocations: 234.8 kB / 0.9227 GB, free: 9.863 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005325/3.29, allocations: 340 kB / 0.923 GB, free: 9.531 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01999/3.31, allocations: 2.616 MB / 0.9255 GB, free: 7.254 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006594/3.311, allocations: 464.2 kB / 0.926 GB, free: 6.852 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01437/3.326, allocations: 0.6918 MB / 0.9267 GB, free: 6.262 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002858/3.328, allocations: 0.6302 MB / 0.9273 GB, free: 5.641 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1055 * Number of states: 0 () * Number of discrete variables: 72 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1369): * Single equations (assignments): 1366 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003911/3.332, allocations: 0.9445 MB / 0.9282 GB, free: 4.695 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002032/3.334, allocations: 0.671 MB / 0.9288 GB, free: 4.016 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/3.348, allocations: 3.988 MB / 0.9327 GB, free: 0.6133 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.015e-05/3.348, allocations: 39.52 kB / 0.9328 GB, free: 0.5781 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/3.348, allocations: 4 kB / 0.9328 GB, free: 0.5742 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.382e-05/3.348, allocations: 19.78 kB / 0.9328 GB, free: 0.5742 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5328/3.881, allocations: 41.39 MB / 0.9732 GB, free: 120.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0006233/3.882, allocations: 90.72 kB / 0.9733 GB, free: 120.5 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008068/3.89, allocations: 0.8424 MB / 0.9741 GB, free: 120.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003461/3.89, allocations: 124.9 kB / 0.9742 GB, free: 120.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001493/3.892, allocations: 191.4 kB / 0.9744 GB, free: 120.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002829/3.892, allocations: 174.3 kB / 0.9746 GB, free: 120.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001813/3.892, allocations: 144.2 kB / 0.9747 GB, free: 120.5 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02677/3.919, allocations: 25.16 MB / 0.9993 GB, free: 96.78 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003967/3.923, allocations: 0.8342 MB / 1 GB, free: 96.69 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003731/3.927, allocations: 212.1 kB / 1 GB, free: 96.68 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01105/3.938, allocations: 265.8 kB / 1.001 GB, free: 96.68 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002018/3.94, allocations: 0.5705 MB / 1.001 GB, free: 96.62 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001645/3.942, allocations: 245.6 kB / 1.001 GB, free: 96.62 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01704/3.959, allocations: 4.471 MB / 1.006 GB, free: 96.37 MB / 0.5574 GB Notification: Performance of sort global known variables: time 9.62e-07/3.959, allocations: 0.9844 kB / 1.006 GB, free: 96.37 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02218/3.981, allocations: 1.878 MB / 1.008 GB, free: 96.37 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 402 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (444): * Single equations (assignments): 441 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02454/4.006, allocations: 40.82 MB / 1.047 GB, free: 58 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01815/4.024, allocations: 6.87 MB / 1.054 GB, free: 56.55 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.241e-05/4.024, allocations: 16.41 kB / 1.054 GB, free: 56.55 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.005432/4.03, allocations: 2.007 MB / 1.056 GB, free: 55.88 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01044/4.04, allocations: 1.082 MB / 1.057 GB, free: 55.5 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07298/4.113, allocations: 21.69 MB / 1.078 GB, free: 44.26 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01813/4.131, allocations: 7.166 MB / 1.085 GB, free: 39.05 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01956/4.151, allocations: 3.323 MB / 1.089 GB, free: 36.96 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01101/4.162, allocations: 4.769 MB / 1.093 GB, free: 32.52 MB / 0.5574 GB Notification: Performance of SimCode: time 1.512e-06/4.162, allocations: 3.938 kB / 1.093 GB, free: 32.52 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7821/4.944, allocations: 144.8 MB / 1.235 GB, free: 95.49 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/4.945, allocations: 158.2 kB / 1.235 GB, free: 95.26 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.193/14.14, allocations: 0 / 1.235 GB, free: 95.26 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat