Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.071/2.071, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.908e-05/4.945e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5546, allocations: 97.81 MB / 419.6 MB, free: 7.969 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003193/0.555, allocations: 71.97 kB / 419.7 MB, free: 7.898 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.171/1.726, allocations: 234.9 MB / 0.6393 GB, free: 16.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.736e-06/1.726, allocations: 0 / 0.6393 GB, free: 16.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.001053/1.727, allocations: 375.8 kB / 0.6396 GB, free: 16.23 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5712 * Number of variables: 5712 Notification: Performance of Generate backend data structure: time 0.05257/1.78, allocations: 13.14 MB / 0.6525 GB, free: 2.984 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.78, allocations: 8.031 kB / 0.6525 GB, free: 2.977 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01339/1.793, allocations: 2.962 MB / 0.6554 GB, free: 4 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3771/2.17, allocations: 5.808 MB / 0.661 GB, free: 32.57 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03906/2.21, allocations: 10.49 MB / 0.6713 GB, free: 32.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002255/2.212, allocations: 1.481 MB / 0.6727 GB, free: 32 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008705/2.221, allocations: 1.948 MB / 0.6746 GB, free: 31.99 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1401/2.361, allocations: 41.22 MB / 0.7149 GB, free: 22.85 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001886/2.363, allocations: 202.5 kB / 0.7151 GB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009293/2.372, allocations: 0.908 MB / 0.716 GB, free: 22.84 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005465/2.378, allocations: 2.043 MB / 0.7179 GB, free: 22.81 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1096/2.487, allocations: 29.83 MB / 0.7471 GB, free: 13.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6988/3.186, allocations: 165.2 MB / 0.9084 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06849/3.255, allocations: 13.25 MB / 0.9213 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007003/3.262, allocations: 3.61 MB / 0.9249 GB, free: 13.16 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0185/3.28, allocations: 15.27 MB / 0.9398 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.521e-05/3.28, allocations: 69.69 kB / 0.9398 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=274): time 8.807e-06/3.28, allocations: 0 / 0.9398 GB, free: 16.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=309): time 0.3933/3.674, allocations: 75.08 MB / 1.013 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001612/3.674, allocations: 213.2 kB / 1.013 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02657/3.701, allocations: 9.435 MB / 1.023 GB, free: 8.008 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000855/3.701, allocations: 74.44 kB / 1.023 GB, free: 7.965 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01173/3.713, allocations: 10.94 MB / 1.033 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002316/3.716, allocations: 1.36 MB / 1.035 GB, free: 14.75 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002409/3.718, allocations: 360.8 kB / 1.035 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002093/3.72, allocations: 1.083 MB / 1.036 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01649/3.737, allocations: 5.95 MB / 1.042 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3876/4.124, allocations: 18.36 MB / 1.06 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02609/4.151, allocations: 10.63 MB / 1.07 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008248/4.151, allocations: 128.4 kB / 1.07 GB, free: 143.7 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.06153/4.213, allocations: 22.99 MB / 1.093 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004304/4.213, allocations: 196.7 kB / 1.093 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006901/4.214, allocations: 453.2 kB / 1.093 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001822/4.216, allocations: 0.8186 MB / 1.094 GB, free: 141.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02574/4.242, allocations: 4.456 MB / 1.099 GB, free: 141 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005603/4.247, allocations: 3.59 MB / 1.102 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01954/4.267, allocations: 1.126 MB / 1.103 GB, free: 139.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004302/4.271, allocations: 1.148 MB / 1.104 GB, free: 139.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2037 * Number of states: 0 () * Number of discrete variables: 30 (sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrowColor[3],sensor_frame_a1.arrowColor[2],sensor_frame_a1.arrowColor[1],box.color[3],box.color[2],box.color[1],box.body.sphereColor[3],box.body.sphereColor[2],box.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (2304): * Single equations (assignments): 2296 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006086/4.277, allocations: 1.514 MB / 1.106 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001641/4.279, allocations: 0.8315 MB / 1.107 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01486/4.294, allocations: 6.059 MB / 1.112 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/4.294, allocations: 33.31 kB / 1.112 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.374e-05/4.294, allocations: 6.906 kB / 1.112 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-05/4.294, allocations: 16.55 kB / 1.113 GB, free: 138.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06377/4.358, allocations: 21.11 MB / 1.133 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.637e-05/4.358, allocations: 9.062 kB / 1.133 GB, free: 135.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005816/4.364, allocations: 0.6836 MB / 1.134 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008202/4.365, allocations: 168.2 kB / 1.134 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000574/4.365, allocations: 62.02 kB / 1.134 GB, free: 135.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/4.369, allocations: 2.154 MB / 1.136 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.722e-06/4.369, allocations: 6.312 kB / 1.136 GB, free: 133.6 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02152/4.39, allocations: 11.03 MB / 1.147 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004845/4.395, allocations: 1.289 MB / 1.148 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002192/4.397, allocations: 51.75 kB / 1.148 GB, free: 127.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006693/4.404, allocations: 438.2 kB / 1.149 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006783/4.405, allocations: 180 kB / 1.149 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003997/4.405, allocations: 101.3 kB / 1.149 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01686/4.422, allocations: 6.43 MB / 1.155 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.72e-07/4.422, allocations: 0 / 1.155 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.02123/4.443, allocations: 2.89 MB / 1.158 GB, free: 124.9 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (279): * Single equations (assignments): 271 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02183/4.465, allocations: 12.25 MB / 1.17 GB, free: 118.5 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02991/4.495, allocations: 13.37 MB / 1.183 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.151e-05/4.495, allocations: 448 / 1.183 GB, free: 110.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005646/4.501, allocations: 2.9 MB / 1.186 GB, free: 107.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009159/4.51, allocations: 1.368 MB / 1.187 GB, free: 106.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1003/4.61, allocations: 31.33 MB / 1.218 GB, free: 79.49 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02879/4.639, allocations: 10.77 MB / 1.228 GB, free: 71.58 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4098/5.049, allocations: 7.724 MB / 1.236 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.914e-06/5.049, allocations: 0 / 1.236 GB, free: 143.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.439/12.49, allocations: 329.2 MB / 1.557 GB, free: 86.34 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat