Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.506/2.506, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.328e-05/6.357e-05, allocations: 8 kB / 305 MB, free: 5.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4049/0.405, allocations: 54.85 MB / 359.9 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/0.6055, allocations: 100.8 MB / 460.7 MB, free: 12.07 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003582/0.6059, allocations: 75.95 kB / 460.7 MB, free: 12 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.163/1.769, allocations: 199.4 MB / 0.6447 GB, free: 42.88 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.334e-06/1.769, allocations: 4 kB / 0.6447 GB, free: 42.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005454/1.769, allocations: 192 kB / 0.6449 GB, free: 42.68 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.04066/1.81, allocations: 9.428 MB / 0.6541 GB, free: 33.16 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.06e-05/1.81, allocations: 8.031 kB / 0.6541 GB, free: 33.16 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01005/1.82, allocations: 1.821 MB / 0.6559 GB, free: 31.32 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03815/1.858, allocations: 4.027 MB / 0.6598 GB, free: 27.27 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04063/1.899, allocations: 10.56 MB / 0.6701 GB, free: 16.63 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001475/1.901, allocations: 0.7903 MB / 0.6709 GB, free: 15.84 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007569/1.908, allocations: 1.043 MB / 0.6719 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1006/2.009, allocations: 24.08 MB / 0.6954 GB, free: 5.094 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000755/2.01, allocations: 95.14 kB / 0.6955 GB, free: 5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00598/2.016, allocations: 495.7 kB / 0.696 GB, free: 4.516 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006762/2.023, allocations: 2.275 MB / 0.6982 GB, free: 2.234 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4503/2.473, allocations: 18.96 MB / 0.7167 GB, free: 65.59 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1809/2.654, allocations: 94.16 MB / 0.8087 GB, free: 12.53 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03567/2.69, allocations: 7.618 MB / 0.8161 GB, free: 10.2 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008068/2.698, allocations: 3.03 MB / 0.8191 GB, free: 9.039 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04738/2.745, allocations: 13.31 MB / 0.8321 GB, free: 2.711 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.104e-05/2.745, allocations: 63.44 kB / 0.8321 GB, free: 2.648 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 7.785e-06/2.745, allocations: 0 / 0.8321 GB, free: 2.648 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.09359/2.839, allocations: 18.84 MB / 0.8505 GB, free: 6.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/2.839, allocations: 165.2 kB / 0.8507 GB, free: 5.855 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02163/2.861, allocations: 6.393 MB / 0.8569 GB, free: 232 kB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/2.862, allocations: 77.7 kB / 0.857 GB, free: 148 kB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.009865/2.872, allocations: 6.872 MB / 0.8637 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.002616/2.874, allocations: 1.358 MB / 0.865 GB, free: 9.047 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001977/2.876, allocations: 218 kB / 0.8653 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001517/2.878, allocations: 0.7505 MB / 0.866 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01026/2.888, allocations: 2.995 MB / 0.8689 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01745/2.906, allocations: 9.457 MB / 0.8781 GB, free: 9.48 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01489/2.921, allocations: 5.24 MB / 0.8833 GB, free: 5.074 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003073/2.921, allocations: 68 kB / 0.8833 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.4855/3.407, allocations: 12.19 MB / 0.8952 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002631/3.407, allocations: 104.1 kB / 0.8953 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007003/3.408, allocations: 233.5 kB / 0.8956 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008368/3.409, allocations: 339.5 kB / 0.8959 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02438/3.433, allocations: 2.619 MB / 0.8984 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/3.435, allocations: 452.6 kB / 0.8989 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02322/3.458, allocations: 0.6826 MB / 0.8995 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00447/3.463, allocations: 0.6358 MB / 0.9002 GB, free: 101.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1366): * Single equations (assignments): 1363 * 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.006517/3.469, allocations: 0.9424 MB / 0.9011 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003097/3.472, allocations: 0.6646 MB / 0.9017 GB, free: 101.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02317/3.496, allocations: 3.987 MB / 0.9056 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001205/3.496, allocations: 38.44 kB / 0.9057 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.524e-05/3.496, allocations: 1.156 kB / 0.9057 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001357/3.496, allocations: 17.45 kB / 0.9057 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1123/3.608, allocations: 41.63 MB / 0.9463 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004378/3.609, allocations: 92.45 kB / 0.9464 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006127/3.615, allocations: 0.8402 MB / 0.9472 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001882/3.615, allocations: 128.1 kB / 0.9474 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001114/3.616, allocations: 194.3 kB / 0.9475 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001665/3.617, allocations: 170 kB / 0.9477 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.621e-05/3.617, allocations: 142.1 kB / 0.9478 GB, free: 97.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01916/3.636, allocations: 25.09 MB / 0.9723 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003261/3.639, allocations: 0.8364 MB / 0.9732 GB, free: 72.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00283/3.642, allocations: 207 kB / 0.9734 GB, free: 72.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007658/3.65, allocations: 272.9 kB / 0.9736 GB, free: 72.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001625/3.651, allocations: 0.5654 MB / 0.9742 GB, free: 72.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001211/3.653, allocations: 240.9 kB / 0.9744 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01336/3.666, allocations: 4.455 MB / 0.9787 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/3.666, allocations: 0 / 0.9787 GB, free: 71.09 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01635/3.682, allocations: 1.872 MB / 0.9806 GB, free: 70.86 MB / 0.5105 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.02465/3.707, allocations: 40.81 MB / 1.02 GB, free: 30.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01925/3.726, allocations: 7.279 MB / 1.028 GB, free: 26.84 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-05/3.727, allocations: 12 kB / 1.028 GB, free: 26.82 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005434/3.732, allocations: 2.125 MB / 1.03 GB, free: 24.91 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0103/3.742, allocations: 1.085 MB / 1.031 GB, free: 24.01 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07557/3.818, allocations: 21.77 MB / 1.052 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03341/3.852, allocations: 7.828 MB / 1.06 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01989/3.872, allocations: 3.313 MB / 1.063 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01314/3.885, allocations: 4.764 MB / 1.067 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of SimCode: time 2.264e-06/3.885, allocations: 0 / 1.067 GB, free: 9.43 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8457/4.731, allocations: 145.5 MB / 1.21 GB, free: 54.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/4.731, allocations: 163.5 kB / 1.21 GB, free: 54.17 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.061/13.79, allocations: 1.641 kB / 1.21 GB, free: 54.17 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat