Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.518/2.518, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.134e-05/4.162e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4081/0.4082, allocations: 54.86 MB / 359.9 MB, free: 2.715 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2177/0.6259, allocations: 104.6 MB / 464.5 MB, free: 8.289 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.6263, allocations: 75.97 kB / 464.6 MB, free: 8.215 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123/1.749, allocations: 234.9 MB / 0.6831 GB, free: 4.551 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.984e-06/1.749, allocations: 0 / 0.6831 GB, free: 4.551 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007559/1.75, allocations: 383.8 kB / 0.6835 GB, free: 4.176 MB / 458.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.053/1.803, allocations: 13.13 MB / 0.6963 GB, free: 6.93 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.98e-05/1.803, allocations: 12.03 kB / 0.6963 GB, free: 6.918 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01388/1.817, allocations: 2.958 MB / 0.6992 GB, free: 3.949 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8042/2.621, allocations: 5.808 MB / 0.7049 GB, free: 37.69 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03946/2.661, allocations: 10.5 MB / 0.7151 GB, free: 37.23 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002104/2.663, allocations: 1.476 MB / 0.7166 GB, free: 37.19 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009128/2.672, allocations: 1.943 MB / 0.7185 GB, free: 37.18 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1332/2.805, allocations: 40.99 MB / 0.7585 GB, free: 28.12 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001538/2.807, allocations: 200.9 kB / 0.7587 GB, free: 28.11 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008252/2.815, allocations: 0.9042 MB / 0.7596 GB, free: 28.11 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004257/2.82, allocations: 2.044 MB / 0.7616 GB, free: 28.08 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1013/2.921, allocations: 29.21 MB / 0.7901 GB, free: 21.39 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.192/4.113, allocations: 165.6 MB / 0.9518 GB, free: 23.97 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1316/4.245, allocations: 13.22 MB / 0.9647 GB, free: 23.28 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01053/4.255, allocations: 3.605 MB / 0.9683 GB, free: 23.25 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02569/4.281, allocations: 15.28 MB / 0.9832 GB, free: 10.7 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000121/4.281, allocations: 67.09 kB / 0.9833 GB, free: 10.66 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=274): time 1.082e-05/4.281, allocations: 2.094 kB / 0.9833 GB, free: 10.66 MB / 0.5575 GB Notification: Performance of matching and sorting (n=309): time 0.3717/4.653, allocations: 75.07 MB / 1.057 GB, free: 10.62 MB / 0.5731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001395/4.653, allocations: 217.3 kB / 1.057 GB, free: 10.38 MB / 0.5731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02588/4.679, allocations: 9.432 MB / 1.066 GB, free: 4.598 MB / 0.5731 GB Notification: Performance of collectPreVariables (initialization): time 0.0007934/4.68, allocations: 75.03 kB / 1.066 GB, free: 4.555 MB / 0.5731 GB Notification: Performance of collectInitialEqns (initialization): time 0.01138/4.691, allocations: 10.93 MB / 1.077 GB, free: 12.25 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.002326/4.694, allocations: 1.358 MB / 1.078 GB, free: 11.34 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/4.696, allocations: 361.6 kB / 1.078 GB, free: 11.27 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.002193/4.699, allocations: 1.083 MB / 1.079 GB, free: 10.68 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0163/4.715, allocations: 5.953 MB / 1.085 GB, free: 7.414 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02814/4.743, allocations: 18.24 MB / 1.103 GB, free: 2.781 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02676/4.77, allocations: 10.75 MB / 1.114 GB, free: 13.4 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00065/4.771, allocations: 131.8 kB / 1.114 GB, free: 13.27 MB / 0.62 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.4848/5.255, allocations: 21.74 MB / 1.135 GB, free: 158.3 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008028/5.256, allocations: 197.1 kB / 1.135 GB, free: 158.3 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001302/5.258, allocations: 446.3 kB / 1.136 GB, free: 158.3 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002879/5.26, allocations: 0.8234 MB / 1.136 GB, free: 158.3 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02941/5.29, allocations: 4.465 MB / 1.141 GB, free: 158.3 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007458/5.297, allocations: 3.593 MB / 1.144 GB, free: 157 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02037/5.318, allocations: 1.122 MB / 1.145 GB, free: 157 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004696/5.323, allocations: 1.153 MB / 1.146 GB, free: 157 MB / 0.62 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.00683/5.33, allocations: 1.517 MB / 1.148 GB, free: 156.6 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001991/5.332, allocations: 0.8227 MB / 1.149 GB, free: 156.6 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01812/5.35, allocations: 6.068 MB / 1.155 GB, free: 156.4 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001442/5.35, allocations: 32.3 kB / 1.155 GB, free: 156.4 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/5.35, allocations: 6.453 kB / 1.155 GB, free: 156.4 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-05/5.35, allocations: 22.97 kB / 1.155 GB, free: 156.4 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0687/5.419, allocations: 21.08 MB / 1.175 GB, free: 154.8 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.001e-05/5.419, allocations: 3.562 kB / 1.175 GB, free: 154.8 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006179/5.425, allocations: 0.6792 MB / 1.176 GB, free: 154.8 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008809/5.426, allocations: 174 kB / 1.176 GB, free: 154.8 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006782/5.427, allocations: 60.23 kB / 1.176 GB, free: 154.8 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003125/5.43, allocations: 2.152 MB / 1.178 GB, free: 153.6 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/5.43, allocations: 8.188 kB / 1.178 GB, free: 153.6 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02146/5.451, allocations: 11.03 MB / 1.189 GB, free: 151.8 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004763/5.456, allocations: 1.29 MB / 1.19 GB, free: 151.4 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002664/5.459, allocations: 50.52 kB / 1.19 GB, free: 151.4 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007431/5.466, allocations: 449.7 kB / 1.191 GB, free: 151.4 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009777/5.467, allocations: 169.4 kB / 1.191 GB, free: 151.4 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004624/5.468, allocations: 102.6 kB / 1.191 GB, free: 151.4 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.01778/5.486, allocations: 6.431 MB / 1.197 GB, free: 151.1 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.472e-06/5.486, allocations: 0 / 1.197 GB, free: 151.1 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.02282/5.509, allocations: 2.892 MB / 1.2 GB, free: 151.1 MB / 0.62 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.02343/5.532, allocations: 12.25 MB / 1.212 GB, free: 148 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.03005/5.562, allocations: 12.77 MB / 1.225 GB, free: 144.4 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-05/5.562, allocations: 1.203 kB / 1.225 GB, free: 144.4 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.00655/5.569, allocations: 2.876 MB / 1.227 GB, free: 143.3 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009886/5.579, allocations: 1.366 MB / 1.229 GB, free: 142.8 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1152/5.694, allocations: 31.33 MB / 1.259 GB, free: 128.3 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03088/5.725, allocations: 10.76 MB / 1.27 GB, free: 120.5 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01727/5.742, allocations: 7.022 MB / 1.277 GB, free: 113.9 MB / 0.62 GB Notification: Performance of SimCode: time 1.673e-06/5.742, allocations: 0 / 1.277 GB, free: 113.9 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.866/13.61, allocations: 325.8 MB / 1.595 GB, free: 147.5 MB / 0.62 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat