Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.756/2.756, allocations: 235 MB / 247.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.366e-05/6.387e-05, allocations: 11.98 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4154, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.6235, allocations: 104.6 MB / 464.5 MB, free: 8.246 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/0.6239, allocations: 79.95 kB / 464.6 MB, free: 8.168 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.161/1.785, allocations: 234.9 MB / 0.6831 GB, free: 4.469 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/1.785, allocations: 4 kB / 0.6831 GB, free: 4.465 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007729/1.786, allocations: 375.8 kB / 0.6835 GB, free: 4.098 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.05354/1.839, allocations: 13.14 MB / 0.6963 GB, free: 6.848 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.839, allocations: 12.03 kB / 0.6963 GB, free: 6.836 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01486/1.854, allocations: 2.958 MB / 0.6992 GB, free: 3.867 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5318/2.386, allocations: 5.809 MB / 0.7049 GB, free: 40.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03885/2.425, allocations: 10.5 MB / 0.7151 GB, free: 39.8 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002072/2.427, allocations: 1.474 MB / 0.7166 GB, free: 39.75 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009066/2.436, allocations: 1.942 MB / 0.7184 GB, free: 39.75 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1363/2.573, allocations: 41.22 MB / 0.7587 GB, free: 30.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001461/2.574, allocations: 202 kB / 0.7589 GB, free: 30.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008011/2.582, allocations: 0.9059 MB / 0.7598 GB, free: 30.59 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004369/2.587, allocations: 2.043 MB / 0.7618 GB, free: 30.56 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1049/2.692, allocations: 29.84 MB / 0.7909 GB, free: 23.52 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7441/3.436, allocations: 165.2 MB / 0.9522 GB, free: 23.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06978/3.506, allocations: 13.25 MB / 0.9652 GB, free: 23.21 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007085/3.513, allocations: 3.612 MB / 0.9687 GB, free: 23.17 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01825/3.531, allocations: 15.28 MB / 0.9836 GB, free: 10.62 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001108/3.531, allocations: 64.67 kB / 0.9837 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=274): time 1.046e-05/3.531, allocations: 0 / 0.9837 GB, free: 10.58 MB / 0.5573 GB Notification: Performance of matching and sorting (n=309): time 0.3856/3.917, allocations: 75.08 MB / 1.057 GB, free: 10.74 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/3.917, allocations: 211.9 kB / 1.057 GB, free: 10.49 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0303/3.947, allocations: 9.44 MB / 1.066 GB, free: 4.707 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.001004/3.949, allocations: 74.58 kB / 1.066 GB, free: 4.66 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0164/3.965, allocations: 11.06 MB / 1.077 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.003011/3.968, allocations: 1.357 MB / 1.079 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002785/3.971, allocations: 362.7 kB / 1.079 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00311/3.974, allocations: 1.08 MB / 1.08 GB, free: 10.79 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02359/3.998, allocations: 5.949 MB / 1.086 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04107/4.039, allocations: 18.35 MB / 1.104 GB, free: 2.781 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02788/4.067, allocations: 10.76 MB / 1.114 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006402/4.067, allocations: 132.7 kB / 1.114 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.5306/4.598, allocations: 23.15 MB / 1.137 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005206/4.599, allocations: 198.3 kB / 1.137 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001051/4.6, allocations: 448.1 kB / 1.138 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002586/4.602, allocations: 0.8166 MB / 1.138 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0289/4.631, allocations: 4.462 MB / 1.143 GB, free: 160.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006767/4.638, allocations: 3.589 MB / 1.146 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02016/4.658, allocations: 1.123 MB / 1.147 GB, free: 159.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004861/4.663, allocations: 1.155 MB / 1.148 GB, free: 159.3 MB / 0.6198 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.007114/4.67, allocations: 1.517 MB / 1.15 GB, free: 158.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002968/4.673, allocations: 0.8232 MB / 1.151 GB, free: 158.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/4.691, allocations: 6.066 MB / 1.157 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000139/4.691, allocations: 35.72 kB / 1.157 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.05e-05/4.691, allocations: 4.375 kB / 1.157 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.997e-05/4.691, allocations: 13.12 kB / 1.157 GB, free: 158.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0744/4.766, allocations: 21.1 MB / 1.177 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.754e-05/4.766, allocations: 4.281 kB / 1.177 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006118/4.772, allocations: 0.685 MB / 1.178 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009342/4.773, allocations: 164.4 kB / 1.178 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007463/4.774, allocations: 58 kB / 1.178 GB, free: 157.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003426/4.777, allocations: 2.16 MB / 1.18 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/4.777, allocations: 6.875 kB / 1.18 GB, free: 155.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02169/4.799, allocations: 11.04 MB / 1.191 GB, free: 154.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005254/4.804, allocations: 1.283 MB / 1.192 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002612/4.807, allocations: 52.73 kB / 1.192 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007291/4.814, allocations: 432.5 kB / 1.193 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009711/4.815, allocations: 179.9 kB / 1.193 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000439/4.816, allocations: 99.52 kB / 1.193 GB, free: 153.7 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.01854/4.834, allocations: 6.428 MB / 1.199 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.52e-07/4.834, allocations: 0 / 1.199 GB, free: 153.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.02269/4.857, allocations: 2.898 MB / 1.202 GB, free: 153.4 MB / 0.6198 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.02404/4.881, allocations: 12.26 MB / 1.214 GB, free: 150.3 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.03035/4.911, allocations: 13.37 MB / 1.227 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/4.912, allocations: 448 / 1.227 GB, free: 146.5 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.006283/4.918, allocations: 2.904 MB / 1.23 GB, free: 145.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009876/4.928, allocations: 1.367 MB / 1.231 GB, free: 144.9 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1032/5.031, allocations: 29.34 MB / 1.26 GB, free: 133 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02949/5.061, allocations: 10.77 MB / 1.271 GB, free: 125.1 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.02573/5.086, allocations: 5.39 MB / 1.276 GB, free: 122 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01705/5.103, allocations: 6.889 MB / 1.283 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of SimCode: time 2.595e-06/5.104, allocations: 0 / 1.283 GB, free: 115.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8979/6.002, allocations: 207.3 MB / 1.485 GB, free: 103.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002884/6.002, allocations: 183.2 kB / 1.485 GB, free: 103.6 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/17.11, allocations: 0 / 1.485 GB, free: 103.6 MB / 0.6198 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat