Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.707e-05/2.705e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 48.7 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.494/0.6064, allocations: 91.55 MB / 407.8 MB, free: 0.9766 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003296/0.6068, allocations: 74.03 kB / 407.9 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.003/1.609, allocations: 155.4 MB / 0.5501 GB, free: 76.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.609, allocations: 0 / 0.5501 GB, free: 76.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004497/1.61, allocations: 158.2 kB / 0.5502 GB, free: 76.16 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2796 * Number of variables: 2796 Notification: Performance of Generate backend data structure: time 0.03048/1.64, allocations: 7.743 MB / 0.5578 GB, free: 71.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.64, allocations: 8.688 kB / 0.5578 GB, free: 71.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03152/1.672, allocations: 3.627 MB / 0.5613 GB, free: 68.48 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03119/1.703, allocations: 9.519 MB / 0.5706 GB, free: 58.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005236/1.704, allocations: 264 kB / 0.5709 GB, free: 58.72 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004147/1.708, allocations: 485.1 kB / 0.5713 GB, free: 58.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02736/1.735, allocations: 11.17 MB / 0.5822 GB, free: 47.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04406/1.779, allocations: 16.31 MB / 0.5982 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005328/1.78, allocations: 95.5 kB / 0.5983 GB, free: 29.18 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004125/1.784, allocations: 47.95 kB / 0.5983 GB, free: 29.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004608/1.789, allocations: 1.773 MB / 0.6 GB, free: 27.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4774/2.266, allocations: 79.68 MB / 0.6779 GB, free: 41.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007446/2.274, allocations: 2.987 MB / 0.6808 GB, free: 40.51 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/2.277, allocations: 1.405 MB / 0.6821 GB, free: 40.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002497/2.278, allocations: 47.17 kB / 0.6822 GB, free: 40.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.118e-05/2.278, allocations: 55.44 kB / 0.6822 GB, free: 40.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=232): time 7.124e-06/2.278, allocations: 0 / 0.6822 GB, free: 40.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=244): time 0.04295/2.321, allocations: 11.46 MB / 0.6934 GB, free: 35.93 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/2.321, allocations: 154.5 kB / 0.6936 GB, free: 35.77 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01273/2.334, allocations: 5.027 MB / 0.6985 GB, free: 35.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005493/2.334, allocations: 25.7 kB / 0.6985 GB, free: 35.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004843/2.339, allocations: 5.516 MB / 0.7039 GB, free: 32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001462/2.341, allocations: 0.9284 MB / 0.7048 GB, free: 31.47 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001053/2.342, allocations: 0 / 0.7048 GB, free: 31.47 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.00068/2.342, allocations: 0.6912 MB / 0.7055 GB, free: 31.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005557/2.348, allocations: 2.244 MB / 0.7077 GB, free: 31.11 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009873/2.358, allocations: 7.999 MB / 0.7155 GB, free: 23.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009408/2.367, allocations: 4.182 MB / 0.7196 GB, free: 22.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002409/2.368, allocations: 56.91 kB / 0.7196 GB, free: 22.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=1182) (initialization): time 0.02454/2.392, allocations: 8.781 MB / 0.7282 GB, free: 19.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/2.392, allocations: 99.94 kB / 0.7283 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003288/2.393, allocations: 210.3 kB / 0.7285 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003596/2.393, allocations: 304 kB / 0.7288 GB, free: 19.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01408/2.407, allocations: 2.23 MB / 0.731 GB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004179/2.408, allocations: 415.2 kB / 0.7314 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01145/2.419, allocations: 452.6 kB / 0.7318 GB, free: 19.26 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002234/2.421, allocations: 0.5509 MB / 0.7323 GB, free: 19.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 948 * Number of states: 0 () * Number of discrete variables: 57 (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.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.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.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.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 (1158): * Single equations (assignments): 1155 * 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.002978/2.424, allocations: 0.6119 MB / 0.7329 GB, free: 18.68 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006809/2.431, allocations: 2.694 MB / 0.7356 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001485/2.433, allocations: 0.5336 MB / 0.7361 GB, free: 17.36 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006902/2.44, allocations: 2.399 MB / 0.7384 GB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-05/2.44, allocations: 29.55 kB / 0.7384 GB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.432e-05/2.44, allocations: 7.906 kB / 0.7385 GB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.778e-05/2.44, allocations: 12.42 kB / 0.7385 GB, free: 16.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05233/2.492, allocations: 22.99 MB / 0.7609 GB, free: 1.262 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001178/2.492, allocations: 48.22 kB / 0.761 GB, free: 1.215 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003591/2.496, allocations: 0.4888 MB / 0.7614 GB, free: 0.7891 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.873e-05/2.496, allocations: 68 kB / 0.7615 GB, free: 0.7227 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005209/2.497, allocations: 66.58 kB / 0.7616 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.457e-05/2.497, allocations: 96.67 kB / 0.7617 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.768e-05/2.497, allocations: 71.69 kB / 0.7617 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01306/2.51, allocations: 12.6 MB / 0.774 GB, free: 1.727 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002361/2.512, allocations: 0.6226 MB / 0.7746 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/2.514, allocations: 70.17 kB / 0.7747 GB, free: 1.043 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005394/2.52, allocations: 150.9 kB / 0.7749 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001002/2.521, allocations: 327.1 kB / 0.7752 GB, free: 0.6758 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003808/2.521, allocations: 135.7 kB / 0.7753 GB, free: 0.5469 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.02127/2.543, allocations: 4.034 MB / 0.7792 GB, free: 15.22 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.02e-07/2.543, allocations: 0 / 0.7792 GB, free: 15.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01279/2.555, allocations: 1.269 MB / 0.7805 GB, free: 13.96 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 216 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (252): * Single equations (assignments): 249 * 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.01688/2.572, allocations: 22.65 MB / 0.8026 GB, free: 6.109 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01383/2.586, allocations: 5.282 MB / 0.8078 GB, free: 1.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.818e-05/2.586, allocations: 11.09 kB / 0.8078 GB, free: 1.332 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003332/2.59, allocations: 1.29 MB / 0.809 GB, free: 196 kB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007746/2.597, allocations: 0.7642 MB / 0.8098 GB, free: 15.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06091/2.658, allocations: 16.73 MB / 0.8261 GB, free: 0.543 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3346/2.993, allocations: 5.786 MB / 0.8318 GB, free: 137.2 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009474/3.003, allocations: 3.725 MB / 0.8354 GB, free: 137.2 MB / 490.7 MB Notification: Performance of SimCode: time 2.224e-06/3.003, allocations: 3.625 kB / 0.8354 GB, free: 137.2 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.948/7.951, allocations: 134.4 MB / 0.9666 GB, free: 56.13 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce_res.mat does not exist to compare? outputFormat=mat