Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.918e-05, allocations: 4 kB / 323.5 MB, free: 4.234 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4577/0.4577, allocations: 58.84 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.6718, allocations: 107 MB / 489.3 MB, free: 1.352 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.6721, allocations: 71.97 kB / 489.4 MB, free: 1.281 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.176/1.848, allocations: 200.8 MB / 0.674 GB, free: 14.75 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.525e-06/1.848, allocations: 0 / 0.674 GB, free: 14.75 MB / 474.8 MB Notification: Performance of Transformations before backend: time 0.0006494/1.849, allocations: 196 kB / 0.6742 GB, free: 14.56 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.04289/1.892, allocations: 9.429 MB / 0.6834 GB, free: 5.035 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.196e-05/1.892, allocations: 8.031 kB / 0.6834 GB, free: 5.027 MB / 474.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009734/1.902, allocations: 1.821 MB / 0.6852 GB, free: 3.191 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03765/1.939, allocations: 4.038 MB / 0.6891 GB, free: 15.13 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04042/1.98, allocations: 10.58 MB / 0.6995 GB, free: 4.473 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001484/1.981, allocations: 0.7903 MB / 0.7002 GB, free: 3.68 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006694/1.988, allocations: 1.035 MB / 0.7012 GB, free: 2.645 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8702/2.858, allocations: 23.96 MB / 0.7246 GB, free: 65.06 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009735/2.859, allocations: 101.7 kB / 0.7247 GB, free: 65.06 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006472/2.866, allocations: 496.3 kB / 0.7252 GB, free: 65.06 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006852/2.873, allocations: 2.276 MB / 0.7274 GB, free: 65.04 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06853/2.941, allocations: 18.64 MB / 0.7456 GB, free: 64.99 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1839/3.125, allocations: 94.26 MB / 0.8377 GB, free: 27.45 MB / 0.5106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03616/3.161, allocations: 7.492 MB / 0.845 GB, free: 25.17 MB / 0.5106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008455/3.17, allocations: 3.034 MB / 0.848 GB, free: 24.01 MB / 0.5106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04527/3.215, allocations: 13.3 MB / 0.861 GB, free: 17.68 MB / 0.5106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.384e-05/3.216, allocations: 78.81 kB / 0.861 GB, free: 17.61 MB / 0.5106 GB Notification: Performance of pre-optimization done (n=336): time 8.666e-06/3.216, allocations: 0 / 0.861 GB, free: 17.61 MB / 0.5106 GB Notification: Performance of matching and sorting (n=360): time 0.09255/3.308, allocations: 18.77 MB / 0.8794 GB, free: 6.008 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/3.308, allocations: 164.6 kB / 0.8795 GB, free: 5.816 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01987/3.328, allocations: 6.419 MB / 0.8858 GB, free: 172 kB / 0.5106 GB Notification: Performance of collectPreVariables (initialization): time 0.001019/3.329, allocations: 77.7 kB / 0.8859 GB, free: 88 kB / 0.5106 GB Notification: Performance of collectInitialEqns (initialization): time 0.00925/3.339, allocations: 6.824 MB / 0.8925 GB, free: 10 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.002563/3.341, allocations: 1.356 MB / 0.8939 GB, free: 8.805 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001549/3.343, allocations: 216 kB / 0.8941 GB, free: 8.594 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001133/3.344, allocations: 0.7523 MB / 0.8948 GB, free: 7.965 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009626/3.354, allocations: 2.994 MB / 0.8977 GB, free: 5.266 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01654/3.37, allocations: 9.424 MB / 0.9069 GB, free: 9.27 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0143/3.385, allocations: 5.247 MB / 0.9121 GB, free: 4.766 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003383/3.385, allocations: 64 kB / 0.9121 GB, free: 4.703 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1393) (initialization): time 0.467/3.852, allocations: 11.57 MB / 0.9234 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002253/3.852, allocations: 102.2 kB / 0.9235 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004909/3.853, allocations: 232.2 kB / 0.9237 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004704/3.853, allocations: 337.9 kB / 0.9241 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01774/3.871, allocations: 2.627 MB / 0.9266 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005776/3.872, allocations: 454.1 kB / 0.9271 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01416/3.886, allocations: 0.686 MB / 0.9277 GB, free: 106.6 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002846/3.889, allocations: 0.6344 MB / 0.9283 GB, free: 106.6 MB / 0.5418 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 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[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.00461/3.893, allocations: 0.945 MB / 0.9293 GB, free: 106.5 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001952/3.895, allocations: 0.6696 MB / 0.9299 GB, free: 106.5 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/3.91, allocations: 3.999 MB / 0.9338 GB, free: 106.2 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-05/3.91, allocations: 36.31 kB / 0.9339 GB, free: 106.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/3.91, allocations: 0 / 0.9339 GB, free: 106.2 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001094/3.91, allocations: 22.97 kB / 0.9339 GB, free: 106.2 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1092/4.019, allocations: 49.84 MB / 0.9826 GB, free: 102.5 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004525/4.02, allocations: 73.44 kB / 0.9826 GB, free: 102.5 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00597/4.026, allocations: 0.735 MB / 0.9833 GB, free: 102.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001619/4.026, allocations: 110.5 kB / 0.9834 GB, free: 102.4 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009203/4.027, allocations: 164.9 kB / 0.9836 GB, free: 102.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001166/4.027, allocations: 137 kB / 0.9837 GB, free: 102.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.457e-05/4.027, allocations: 118.4 kB / 0.9838 GB, free: 102.4 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01757/4.045, allocations: 21.44 MB / 1.005 GB, free: 81.37 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002904/4.048, allocations: 0.7945 MB / 1.006 GB, free: 80.86 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002731/4.05, allocations: 171.8 kB / 1.006 GB, free: 80.81 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007797/4.058, allocations: 274.9 kB / 1.006 GB, free: 80.76 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001429/4.06, allocations: 484.7 kB / 1.006 GB, free: 80.64 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007995/4.06, allocations: 208.2 kB / 1.007 GB, free: 80.62 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01295/4.073, allocations: 4.469 MB / 1.011 GB, free: 79.13 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.433e-06/4.073, allocations: 3.844 kB / 1.011 GB, free: 79.13 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01555/4.089, allocations: 1.882 MB / 1.013 GB, free: 78.92 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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.02051/4.11, allocations: 34.38 MB / 1.046 GB, free: 45.32 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01722/4.127, allocations: 6.917 MB / 1.053 GB, free: 40.5 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-05/4.127, allocations: 9 kB / 1.053 GB, free: 40.5 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.004863/4.132, allocations: 1.986 MB / 1.055 GB, free: 38.75 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009073/4.141, allocations: 1.034 MB / 1.056 GB, free: 37.88 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07203/4.213, allocations: 21.19 MB / 1.077 GB, free: 18.31 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0201/4.233, allocations: 7.135 MB / 1.084 GB, free: 13.13 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01879/4.252, allocations: 3.322 MB / 1.087 GB, free: 11.04 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01157/4.264, allocations: 4.772 MB / 1.092 GB, free: 6.605 MB / 0.5418 GB Notification: Performance of SimCode: time 2.345e-06/4.264, allocations: 0 / 1.092 GB, free: 6.605 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7864/5.05, allocations: 142.2 MB / 1.231 GB, free: 77.89 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001676/5.05, allocations: 153.4 kB / 1.231 GB, free: 77.67 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.725/13.78, allocations: 0 / 1.231 GB, free: 77.67 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat