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 1.96/1.96, allocations: 209.3 MB / 221.9 MB, free: 1.945 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.444e-05/4.457e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4416/0.5492, allocations: 97.8 MB / 419.7 MB, free: 8.078 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.5496, allocations: 79.95 kB / 419.7 MB, free: 8 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.105/1.655, allocations: 234.9 MB / 0.6393 GB, free: 16.79 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.004e-06/1.655, allocations: 0 / 0.6393 GB, free: 16.79 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007509/1.655, allocations: 375.8 kB / 0.6397 GB, free: 16.42 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.04892/1.704, allocations: 13.14 MB / 0.6525 GB, free: 3.172 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.441e-05/1.704, allocations: 8.031 kB / 0.6525 GB, free: 3.164 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01292/1.717, allocations: 2.958 MB / 0.6554 GB, free: 200 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4082/2.126, allocations: 5.81 MB / 0.6611 GB, free: 32.73 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03905/2.165, allocations: 10.5 MB / 0.6713 GB, free: 32.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002269/2.167, allocations: 1.477 MB / 0.6727 GB, free: 32.17 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008996/2.176, allocations: 1.946 MB / 0.6746 GB, free: 32.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1334/2.31, allocations: 40.98 MB / 0.7147 GB, free: 23.1 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001517/2.311, allocations: 202.2 kB / 0.7149 GB, free: 23.09 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008133/2.319, allocations: 0.9057 MB / 0.7157 GB, free: 23.09 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004183/2.324, allocations: 2.044 MB / 0.7177 GB, free: 23.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1003/2.424, allocations: 29.21 MB / 0.7463 GB, free: 14.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7367/3.161, allocations: 165.2 MB / 0.9076 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07007/3.231, allocations: 13.23 MB / 0.9205 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006815/3.238, allocations: 3.605 MB / 0.924 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/3.256, allocations: 15.28 MB / 0.9389 GB, free: 18.74 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.787e-05/3.256, allocations: 69.03 kB / 0.939 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=274): time 8.436e-06/3.256, allocations: 2.438 kB / 0.939 GB, free: 18.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=309): time 0.3862/3.642, allocations: 75.07 MB / 1.012 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001581/3.643, allocations: 213.3 kB / 1.013 GB, free: 300 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02946/3.672, allocations: 9.521 MB / 1.022 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.000857/3.673, allocations: 78.91 kB / 1.022 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.01246/3.686, allocations: 10.93 MB / 1.033 GB, free: 2.344 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002451/3.688, allocations: 1.361 MB / 1.034 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002644/3.691, allocations: 360.7 kB / 1.034 GB, free: 1.359 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002774/3.694, allocations: 1.078 MB / 1.035 GB, free: 0.668 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01714/3.711, allocations: 5.953 MB / 1.041 GB, free: 12.86 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4321/4.143, allocations: 18.25 MB / 1.059 GB, free: 143.4 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02549/4.168, allocations: 10.63 MB / 1.069 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0007544/4.169, allocations: 129.8 kB / 1.069 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.05955/4.229, allocations: 21.74 MB / 1.091 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003809/4.229, allocations: 199.2 kB / 1.091 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006942/4.23, allocations: 443.8 kB / 1.091 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001977/4.232, allocations: 0.8182 MB / 1.092 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02583/4.258, allocations: 4.461 MB / 1.096 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005595/4.264, allocations: 3.598 MB / 1.1 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02002/4.284, allocations: 1.131 MB / 1.101 GB, free: 139.8 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004279/4.288, allocations: 1.147 MB / 1.102 GB, free: 139.8 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.006517/4.294, allocations: 1.508 MB / 1.104 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001695/4.296, allocations: 0.8261 MB / 1.104 GB, free: 139 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01564/4.312, allocations: 6.069 MB / 1.11 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001312/4.312, allocations: 36 kB / 1.11 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/4.312, allocations: 3.406 kB / 1.11 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-05/4.312, allocations: 18.67 kB / 1.11 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06819/4.38, allocations: 21.1 MB / 1.131 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-05/4.38, allocations: 3.688 kB / 1.131 GB, free: 136.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006111/4.387, allocations: 0.6828 MB / 1.132 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008651/4.387, allocations: 154.2 kB / 1.132 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006572/4.388, allocations: 68.95 kB / 1.132 GB, free: 136.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/4.391, allocations: 2.158 MB / 1.134 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/4.391, allocations: 5.844 kB / 1.134 GB, free: 134.4 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02085/4.412, allocations: 11.03 MB / 1.145 GB, free: 129.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004712/4.417, allocations: 1.281 MB / 1.146 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002605/4.42, allocations: 52.84 kB / 1.146 GB, free: 128.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009298/4.429, allocations: 435.9 kB / 1.147 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001226/4.43, allocations: 180.1 kB / 1.147 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000616/4.431, allocations: 98.86 kB / 1.147 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.02376/4.455, allocations: 6.428 MB / 1.153 GB, free: 126 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.002e-06/4.455, allocations: 2.25 kB / 1.153 GB, free: 126 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.03078/4.486, allocations: 2.895 MB / 1.156 GB, free: 125.7 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.02773/4.513, allocations: 12.26 MB / 1.168 GB, free: 119.3 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02888/4.542, allocations: 12.76 MB / 1.18 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/4.542, allocations: 10.62 kB / 1.18 GB, free: 112.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.00603/4.548, allocations: 2.868 MB / 1.183 GB, free: 109.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009301/4.558, allocations: 1.374 MB / 1.184 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1015/4.659, allocations: 31.32 MB / 1.215 GB, free: 81.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02945/4.689, allocations: 10.76 MB / 1.226 GB, free: 73.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0163/4.705, allocations: 7.021 MB / 1.232 GB, free: 66.93 MB / 0.5573 GB Notification: Performance of SimCode: time 2.234e-06/4.705, allocations: 0 / 1.232 GB, free: 66.93 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.489/12.19, allocations: 326.4 MB / 1.551 GB, free: 91.92 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