Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForce2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutForce2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.127/2.127, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.472e-05/2.472e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4759/0.5802, allocations: 88.82 MB / 405.1 MB, free: 3.695 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5805, allocations: 81 kB / 405.2 MB, free: 3.652 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2183/0.7988, allocations: 53.82 MB / 459 MB, free: 1.398 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.7989, allocations: 0 / 459 MB, free: 1.398 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001489/0.799, allocations: 52 kB / 459.1 MB, free: 1.348 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1058 * Number of variables: 1058 Notification: Performance of Generate backend data structure: time 0.009727/0.8088, allocations: 2.609 MB / 461.7 MB, free: 14.68 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.257e-05/0.8089, allocations: 15.97 kB / 461.7 MB, free: 14.66 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01439/0.8233, allocations: 1.821 MB / 463.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006015/0.8293, allocations: 1.711 MB / 465.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/0.8296, allocations: 92 kB / 465.3 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/0.8312, allocations: 164 kB / 465.5 MB, free: 10.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01182/0.843, allocations: 4.379 MB / 469.9 MB, free: 6.438 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01758/0.8607, allocations: 6.061 MB / 475.9 MB, free: 0 / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/0.8608, allocations: 19.92 kB / 475.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007663/0.8616, allocations: 8 kB / 475.9 MB, free: 15.97 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/0.8632, allocations: 0.685 MB / 476.6 MB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3244/1.188, allocations: 22.34 MB / 499 MB, free: 93.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003121/1.191, allocations: 1.556 MB / 0.4888 GB, free: 93.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001387/1.192, allocations: 0.5816 MB / 0.4894 GB, free: 93.26 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001026/1.192, allocations: 13.56 kB / 0.4894 GB, free: 93.26 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.542e-05/1.192, allocations: 43.16 kB / 0.4894 GB, free: 93.22 MB / 410.7 MB Notification: Performance of pre-optimization done (n=108): time 5.239e-06/1.192, allocations: 0 / 0.4894 GB, free: 93.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=108): time 0.006915/1.199, allocations: 1.549 MB / 0.4909 GB, free: 93.07 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/1.199, allocations: 64.62 kB / 0.491 GB, free: 93.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/1.204, allocations: 1.581 MB / 0.4925 GB, free: 92.8 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002166/1.204, allocations: 26.8 kB / 0.4926 GB, free: 92.77 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001945/1.206, allocations: 1.994 MB / 0.4945 GB, free: 91.76 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007356/1.207, allocations: 404.6 kB / 0.4949 GB, free: 91.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003361/1.207, allocations: 0 / 0.4949 GB, free: 91.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003162/1.207, allocations: 461.6 kB / 0.4953 GB, free: 91.26 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0024/1.21, allocations: 0.9063 MB / 0.4962 GB, free: 91.25 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003962/1.214, allocations: 2.941 MB / 0.4991 GB, free: 88.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004373/1.218, allocations: 1.666 MB / 0.5007 GB, free: 88.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001213/1.218, allocations: 21.69 kB / 0.5007 GB, free: 88.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=440) (initialization): time 0.0106/1.229, allocations: 3.381 MB / 0.504 GB, free: 88.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.229, allocations: 36.31 kB / 0.5041 GB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001437/1.229, allocations: 73.69 kB / 0.5041 GB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001825/1.229, allocations: 106.7 kB / 0.5042 GB, free: 88.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004899/1.234, allocations: 0.7632 MB / 0.505 GB, free: 88.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002013/1.235, allocations: 143.9 kB / 0.5051 GB, free: 88.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004267/1.239, allocations: 385 kB / 0.5055 GB, free: 88.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009642/1.24, allocations: 204.2 kB / 0.5057 GB, free: 88.05 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 334 * Number of states: 0 () * Number of discrete variables: 21 (WorldForce1.color[3],WorldForce1.color[2],WorldForce1.color[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (416): * Single equations (assignments): 413 * 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.0008962/1.241, allocations: 286.6 kB / 0.506 GB, free: 87.82 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003707/1.245, allocations: 1.185 MB / 0.5071 GB, free: 87.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004707/1.245, allocations: 164.9 kB / 0.5073 GB, free: 87.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004727/1.25, allocations: 1.333 MB / 0.5086 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.271e-05/1.25, allocations: 13.28 kB / 0.5086 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/1.25, allocations: 2.078 kB / 0.5086 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.819e-05/1.25, allocations: 3.562 kB / 0.5086 GB, free: 87.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01682/1.267, allocations: 4.909 MB / 0.5134 GB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-05/1.267, allocations: 11.59 kB / 0.5134 GB, free: 86.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.269, allocations: 160.2 kB / 0.5136 GB, free: 86.65 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.643e-05/1.269, allocations: 17.41 kB / 0.5136 GB, free: 86.65 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001344/1.269, allocations: 26.17 kB / 0.5136 GB, free: 86.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.608e-05/1.269, allocations: 19.44 kB / 0.5136 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.995e-05/1.269, allocations: 17.44 kB / 0.5136 GB, free: 86.64 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/1.273, allocations: 2.384 MB / 0.516 GB, free: 85.04 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006997/1.274, allocations: 251.6 kB / 0.5162 GB, free: 84.84 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005044/1.274, allocations: 18.53 kB / 0.5162 GB, free: 84.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001599/1.276, allocations: 26.7 kB / 0.5162 GB, free: 84.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002754/1.276, allocations: 89.02 kB / 0.5163 GB, free: 84.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001572/1.277, allocations: 45.53 kB / 0.5164 GB, free: 84.82 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002943/1.28, allocations: 1.05 MB / 0.5174 GB, free: 84.52 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.28, allocations: 0 / 0.5174 GB, free: 84.52 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006389/1.286, allocations: 0.6904 MB / 0.5181 GB, free: 84.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 81 * 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.005551/1.292, allocations: 6.051 MB / 0.524 GB, free: 78.86 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006332/1.298, allocations: 2.152 MB / 0.5261 GB, free: 78.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-05/1.298, allocations: 4.344 kB / 0.5261 GB, free: 78.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001694/1.3, allocations: 0.6028 MB / 0.5267 GB, free: 77.97 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/1.302, allocations: 175.9 kB / 0.5268 GB, free: 77.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02309/1.325, allocations: 5.844 MB / 0.5326 GB, free: 75.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004845/1.33, allocations: 2.466 MB / 0.535 GB, free: 74.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002772/1.333, allocations: 1.158 MB / 0.5361 GB, free: 73.45 MB / 410.7 MB Notification: Performance of SimCode: time 1.743e-06/1.333, allocations: 3.5 kB / 0.5361 GB, free: 73.45 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.321/4.654, allocations: 46.73 MB / 0.5817 GB, free: 40.56 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutForce2_res.mat does not exist to compare? outputFormat=mat