Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.013/2.013, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.257e-05/4.286e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1144, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4894/0.6039, allocations: 97.81 MB / 419.7 MB, free: 7.668 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/0.6043, allocations: 71.97 kB / 419.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.154/1.759, allocations: 234.9 MB / 0.6393 GB, free: 16.35 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.906e-06/1.759, allocations: 4 kB / 0.6393 GB, free: 16.35 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007672/1.759, allocations: 371.9 kB / 0.6397 GB, free: 15.98 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.05279/1.812, allocations: 13.15 MB / 0.6525 GB, free: 2.727 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.622e-05/1.812, allocations: 11.97 kB / 0.6525 GB, free: 2.715 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.3886/2.201, allocations: 2.959 MB / 0.6554 GB, free: 33.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05632/2.257, allocations: 5.805 MB / 0.6611 GB, free: 32.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04188/2.299, allocations: 10.5 MB / 0.6713 GB, free: 31.85 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002631/2.302, allocations: 1.484 MB / 0.6728 GB, free: 31.8 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009868/2.312, allocations: 1.944 MB / 0.6747 GB, free: 31.79 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1393/2.451, allocations: 40.97 MB / 0.7147 GB, free: 22.74 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001766/2.453, allocations: 203.8 kB / 0.7149 GB, free: 22.73 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008679/2.462, allocations: 0.9033 MB / 0.7158 GB, free: 22.73 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004338/2.466, allocations: 2.044 MB / 0.7178 GB, free: 22.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1051/2.571, allocations: 29.21 MB / 0.7463 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7397/3.311, allocations: 165.2 MB / 0.9076 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06987/3.381, allocations: 13.23 MB / 0.9205 GB, free: 15.23 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007269/3.388, allocations: 3.613 MB / 0.9241 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01836/3.407, allocations: 15.27 MB / 0.939 GB, free: 18.64 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001099/3.407, allocations: 76.12 kB / 0.9391 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=274): time 7.805e-06/3.407, allocations: 0 / 0.9391 GB, free: 18.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=309): time 0.4341/3.841, allocations: 75.06 MB / 1.012 GB, free: 0.5078 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002045/3.841, allocations: 213.4 kB / 1.013 GB, free: 268 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03935/3.881, allocations: 9.531 MB / 1.022 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0009725/3.882, allocations: 80.38 kB / 1.022 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0124/3.894, allocations: 11.06 MB / 1.033 GB, free: 2.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.002511/3.897, allocations: 1.36 MB / 1.034 GB, free: 1.426 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002599/3.899, allocations: 363.6 kB / 1.034 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.002624/3.902, allocations: 1.085 MB / 1.035 GB, free: 0.5898 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01714/3.919, allocations: 5.952 MB / 1.041 GB, free: 12.79 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4446/4.364, allocations: 18.24 MB / 1.059 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03085/4.395, allocations: 10.63 MB / 1.069 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008628/4.396, allocations: 133.1 kB / 1.07 GB, free: 143.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.06388/4.46, allocations: 21.91 MB / 1.091 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.000523/4.46, allocations: 204.4 kB / 1.091 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008545/4.461, allocations: 444.3 kB / 1.092 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002275/4.463, allocations: 0.8215 MB / 1.092 GB, free: 141.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02666/4.49, allocations: 4.46 MB / 1.097 GB, free: 141.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005968/4.496, allocations: 3.583 MB / 1.1 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02074/4.517, allocations: 1.129 MB / 1.101 GB, free: 139.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004942/4.522, allocations: 1.146 MB / 1.103 GB, free: 139.7 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.007417/4.529, allocations: 1.514 MB / 1.104 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001854/4.531, allocations: 0.834 MB / 1.105 GB, free: 138.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01801/4.549, allocations: 6.056 MB / 1.111 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001436/4.55, allocations: 42.05 kB / 1.111 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.626e-05/4.55, allocations: 4.719 kB / 1.111 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.624e-05/4.55, allocations: 14.39 kB / 1.111 GB, free: 138.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07186/4.622, allocations: 21.1 MB / 1.131 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.789e-05/4.622, allocations: 7.531 kB / 1.131 GB, free: 135.9 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00634/4.628, allocations: 0.6817 MB / 1.132 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009498/4.629, allocations: 163.9 kB / 1.132 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008401/4.63, allocations: 63.2 kB / 1.132 GB, free: 135.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003422/4.633, allocations: 2.159 MB / 1.134 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/4.633, allocations: 3.781 kB / 1.134 GB, free: 134.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02258/4.656, allocations: 11.03 MB / 1.145 GB, free: 128.9 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005071/4.661, allocations: 1.285 MB / 1.146 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002832/4.664, allocations: 57.16 kB / 1.146 GB, free: 128.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007936/4.672, allocations: 433.5 kB / 1.147 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001062/4.673, allocations: 180.2 kB / 1.147 GB, free: 128 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000447/4.674, allocations: 103.6 kB / 1.147 GB, free: 128 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01829/4.692, allocations: 6.422 MB / 1.153 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.42e-07/4.692, allocations: 3 kB / 1.153 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0236/4.716, allocations: 2.899 MB / 1.156 GB, free: 125.3 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.02364/4.739, allocations: 12.25 MB / 1.168 GB, free: 119 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03049/4.77, allocations: 12.77 MB / 1.181 GB, free: 112 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.686e-05/4.77, allocations: 4.438 kB / 1.181 GB, free: 112 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.006256/4.776, allocations: 2.874 MB / 1.183 GB, free: 109.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009883/4.786, allocations: 1.369 MB / 1.185 GB, free: 108.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1056/4.892, allocations: 29.32 MB / 1.213 GB, free: 82.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02946/4.921, allocations: 10.77 MB / 1.224 GB, free: 74.8 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.03493/4.956, allocations: 5.396 MB / 1.229 GB, free: 71.42 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4376/5.394, allocations: 7.405 MB / 1.236 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of SimCode: time 1.934e-06/5.394, allocations: 0 / 1.236 GB, free: 139.9 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.042/6.436, allocations: 202.5 MB / 1.434 GB, free: 67.64 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001921/6.436, allocations: 183.9 kB / 1.434 GB, free: 67.41 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/17.23, allocations: 0 / 1.434 GB, free: 67.41 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat