Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 270 MB / 283.6 MB, free: 1.871 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.651e-05/3.657e-05, allocations: 4 kB / 348.5 MB, free: 2.656 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.445/0.4451, allocations: 61.87 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.6469, allocations: 107.2 MB / 0.5054 GB, free: 15.23 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.6473, allocations: 83.94 kB / 0.5055 GB, free: 15.15 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.071/1.718, allocations: 176.5 MB / 0.6779 GB, free: 9.57 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.718, allocations: 0 / 0.6779 GB, free: 9.57 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000596/1.719, allocations: 168 kB / 0.6781 GB, free: 9.406 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3105 * Number of variables: 3105 Notification: Performance of Generate backend data structure: time 0.03645/1.755, allocations: 8.425 MB / 0.6863 GB, free: 0.8984 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/1.755, allocations: 11.97 kB / 0.6863 GB, free: 0.8867 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008478/1.764, allocations: 1.553 MB / 0.6878 GB, free: 15.32 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03484/1.799, allocations: 3.787 MB / 0.6915 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03851/1.837, allocations: 9.43 MB / 0.7007 GB, free: 2.008 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001229/1.839, allocations: 0.6821 MB / 0.7014 GB, free: 1.324 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005837/1.844, allocations: 0.9059 MB / 0.7023 GB, free: 428 kB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5112/2.356, allocations: 20.9 MB / 0.7227 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001133/2.357, allocations: 92.66 kB / 0.7228 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005288/2.362, allocations: 429.2 kB / 0.7232 GB, free: 69.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005401/2.368, allocations: 1.859 MB / 0.725 GB, free: 69.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05662/2.424, allocations: 15.94 MB / 0.7406 GB, free: 69.15 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1528/2.577, allocations: 83.64 MB / 0.8223 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03255/2.61, allocations: 6.281 MB / 0.8284 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005972/2.616, allocations: 2.315 MB / 0.8306 GB, free: 20.13 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03308/2.649, allocations: 10.93 MB / 0.8413 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.519e-05/2.649, allocations: 57.33 kB / 0.8414 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=212): time 6.642e-06/2.649, allocations: 1.125 kB / 0.8414 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=236): time 0.07691/2.726, allocations: 15.74 MB / 0.8567 GB, free: 8.566 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.615e-05/2.726, allocations: 156 kB / 0.8569 GB, free: 8.402 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01519/2.741, allocations: 5.872 MB / 0.8626 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005038/2.742, allocations: 65.69 kB / 0.8627 GB, free: 6.254 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005505/2.748, allocations: 6.054 MB / 0.8686 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001348/2.749, allocations: 0.9238 MB / 0.8695 GB, free: 0.9727 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0012/2.75, allocations: 181.8 kB / 0.8697 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009811/2.751, allocations: 0.6742 MB / 0.8703 GB, free: 376 kB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01836/2.77, allocations: 3 MB / 0.8733 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01238/2.782, allocations: 8.008 MB / 0.8811 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/2.793, allocations: 4.243 MB / 0.8852 GB, free: 2.258 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002324/2.793, allocations: 60 kB / 0.8853 GB, free: 2.199 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1153) (initialization): time 0.02885/2.822, allocations: 9.441 MB / 0.8945 GB, free: 9.863 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001974/2.822, allocations: 96 kB / 0.8946 GB, free: 9.77 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004068/2.823, allocations: 207.2 kB / 0.8948 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004689/2.823, allocations: 300 kB / 0.8951 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/2.837, allocations: 2.159 MB / 0.8972 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005243/2.838, allocations: 405.9 kB / 0.8976 GB, free: 7.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01179/2.85, allocations: 0.5957 MB / 0.8982 GB, free: 6.535 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002242/2.852, allocations: 0.542 MB / 0.8987 GB, free: 6 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 939 * Number of states: 0 () * Number of discrete variables: 88 (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.torqueArrow.arrowLine.twoHeadedArrow,cutForce2b.torqueArrow.headAtOrigin,cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceArrow.arrowLine.twoHeadedArrow,cutForce2b.forceArrow.headAtOrigin,cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueArrow.arrowLine.twoHeadedArrow,cutForce2a.torqueArrow.headAtOrigin,cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceArrow.arrowLine.twoHeadedArrow,cutForce2a.forceArrow.headAtOrigin,cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueArrow.arrowLine.twoHeadedArrow,cutForce1b.torqueArrow.headAtOrigin,cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceArrow.arrowLine.twoHeadedArrow,cutForce1b.forceArrow.headAtOrigin,cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueArrow.arrowLine.twoHeadedArrow,cutForce1a.torqueArrow.headAtOrigin,cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceArrow.arrowLine.twoHeadedArrow,cutForce1a.forceArrow.headAtOrigin,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 (1129): * Single equations (assignments): 1126 * 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.003028/2.855, allocations: 0.8298 MB / 0.8995 GB, free: 5.168 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001598/2.857, allocations: 0.5823 MB / 0.9001 GB, free: 4.578 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002767/2.86, allocations: 0.71 MB / 0.9008 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.481e-05/2.86, allocations: 24 kB / 0.9008 GB, free: 3.926 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.545e-05/2.86, allocations: 8 kB / 0.9008 GB, free: 3.918 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.692e-05/2.86, allocations: 12.81 kB / 0.9008 GB, free: 3.914 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06265/2.922, allocations: 22.75 MB / 0.923 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001021/2.923, allocations: 51.28 kB / 0.9231 GB, free: 1.223 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003221/2.926, allocations: 449.5 kB / 0.9235 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/2.926, allocations: 64 kB / 0.9236 GB, free: 0.7812 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004105/2.926, allocations: 106.2 kB / 0.9237 GB, free: 0.6836 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.34e-05/2.927, allocations: 85.16 kB / 0.9237 GB, free: 0.6094 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.225e-05/2.927, allocations: 78.92 kB / 0.9238 GB, free: 0.5352 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4325/3.359, allocations: 12.75 MB / 0.9363 GB, free: 99.88 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002399/3.362, allocations: 0.6748 MB / 0.9369 GB, free: 99.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002216/3.364, allocations: 104.5 kB / 0.937 GB, free: 99.78 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005564/3.369, allocations: 206.3 kB / 0.9372 GB, free: 99.78 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007615/3.37, allocations: 300.2 kB / 0.9375 GB, free: 99.74 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002748/3.371, allocations: 128.8 kB / 0.9376 GB, free: 99.74 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01098/3.382, allocations: 4.084 MB / 0.9416 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.052e-06/3.382, allocations: 0 / 0.9416 GB, free: 99.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01258/3.394, allocations: 1.554 MB / 0.9431 GB, free: 99.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 229 * 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.01219/3.406, allocations: 21.68 MB / 0.9643 GB, free: 79.91 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01212/3.419, allocations: 5.267 MB / 0.9695 GB, free: 79.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 4.565e-05/3.419, allocations: 9.312 kB / 0.9695 GB, free: 79.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002872/3.422, allocations: 1.258 MB / 0.9707 GB, free: 79.89 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007927/3.43, allocations: 0.9293 MB / 0.9716 GB, free: 79.87 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05575/3.485, allocations: 17.25 MB / 0.9884 GB, free: 75.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01637/3.502, allocations: 6.238 MB / 0.9945 GB, free: 74.32 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01489/3.517, allocations: 2.762 MB / 0.9972 GB, free: 74.26 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009464/3.526, allocations: 4.062 MB / 1.001 GB, free: 74.25 MB / 0.5573 GB Notification: Performance of SimCode: time 1.703e-06/3.526, allocations: 0 / 1.001 GB, free: 74.25 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3203/3.847, allocations: 121 MB / 1.119 GB, free: 0.7695 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002737/3.847, allocations: 150.6 kB / 1.12 GB, free: 0.5508 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.805/11.65, allocations: 0 / 1.12 GB, free: 0.5508 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat