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.342/2.342, allocations: 235 MB / 247.2 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.457e-05/3.469e-05, allocations: 4 kB / 305 MB, free: 5.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4929/0.493, allocations: 54.85 MB / 359.9 MB, free: 2.695 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2158/0.7088, allocations: 104.7 MB / 464.5 MB, free: 8.156 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.7092, allocations: 79.95 kB / 464.6 MB, free: 8.078 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142/1.851, allocations: 234.9 MB / 0.6831 GB, free: 4.301 MB / 458.7 MB Notification: Performance of FrontEnd: time 4.138e-06/1.851, allocations: 0 / 0.6831 GB, free: 4.301 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007208/1.852, allocations: 375.8 kB / 0.6835 GB, free: 3.934 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.05509/1.907, allocations: 13.14 MB / 0.6963 GB, free: 6.684 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.835e-05/1.907, allocations: 12.03 kB / 0.6963 GB, free: 6.672 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01513/1.922, allocations: 2.955 MB / 0.6992 GB, free: 3.707 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.8129/2.735, allocations: 5.81 MB / 0.7049 GB, free: 37.85 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04007/2.775, allocations: 10.5 MB / 0.7152 GB, free: 37.39 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002164/2.777, allocations: 1.478 MB / 0.7166 GB, free: 37.35 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009652/2.787, allocations: 1.939 MB / 0.7185 GB, free: 37.34 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1626/2.95, allocations: 40.99 MB / 0.7585 GB, free: 28.29 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001665/2.951, allocations: 200 kB / 0.7587 GB, free: 28.28 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009194/2.961, allocations: 0.9012 MB / 0.7596 GB, free: 28.28 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004517/2.965, allocations: 2.048 MB / 0.7616 GB, free: 28.25 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1012/3.066, allocations: 29.21 MB / 0.7901 GB, free: 21.49 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.238/4.304, allocations: 165.7 MB / 0.9519 GB, free: 23.76 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07133/4.375, allocations: 13.23 MB / 0.9649 GB, free: 23.07 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007115/4.383, allocations: 3.603 MB / 0.9684 GB, free: 23.04 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01868/4.401, allocations: 15.28 MB / 0.9833 GB, free: 10.49 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001162/4.402, allocations: 70.66 kB / 0.9834 GB, free: 10.45 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=274): time 8.596e-06/4.402, allocations: 0 / 0.9834 GB, free: 10.45 MB / 0.5575 GB Notification: Performance of matching and sorting (n=309): time 0.4042/4.806, allocations: 75.07 MB / 1.057 GB, free: 10.53 MB / 0.5731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/4.806, allocations: 223.9 kB / 1.057 GB, free: 10.28 MB / 0.5731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02803/4.834, allocations: 9.428 MB / 1.066 GB, free: 4.504 MB / 0.5731 GB Notification: Performance of collectPreVariables (initialization): time 0.0008296/4.835, allocations: 72.66 kB / 1.066 GB, free: 4.461 MB / 0.5731 GB Notification: Performance of collectInitialEqns (initialization): time 0.01257/4.847, allocations: 11.07 MB / 1.077 GB, free: 12.15 MB / 0.5888 GB Notification: Performance of collectInitialBindings (initialization): time 0.002578/4.85, allocations: 1.356 MB / 1.078 GB, free: 11.24 MB / 0.5888 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0029/4.853, allocations: 369.1 kB / 1.079 GB, free: 11.16 MB / 0.5888 GB Notification: Performance of setup shared object (initialization): time 0.002751/4.856, allocations: 1.072 MB / 1.08 GB, free: 10.59 MB / 0.5888 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0175/4.873, allocations: 5.956 MB / 1.086 GB, free: 7.316 MB / 0.5888 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02973/4.903, allocations: 18.25 MB / 1.103 GB, free: 2.684 MB / 0.6044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02834/4.932, allocations: 10.8 MB / 1.114 GB, free: 13.4 MB / 0.62 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006974/4.932, allocations: 128 kB / 1.114 GB, free: 13.27 MB / 0.62 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.4996/5.432, allocations: 21.9 MB / 1.135 GB, free: 157.9 MB / 0.62 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005319/5.433, allocations: 198.3 kB / 1.136 GB, free: 157.9 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009284/5.434, allocations: 445 kB / 1.136 GB, free: 157.9 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/5.436, allocations: 0.8239 MB / 1.137 GB, free: 157.9 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02856/5.465, allocations: 4.458 MB / 1.141 GB, free: 157.9 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006688/5.471, allocations: 3.597 MB / 1.145 GB, free: 156.6 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01984/5.491, allocations: 1.123 MB / 1.146 GB, free: 156.6 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004402/5.496, allocations: 1.146 MB / 1.147 GB, free: 156.6 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.006087/5.502, allocations: 1.527 MB / 1.148 GB, free: 156.2 MB / 0.62 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001801/5.504, allocations: 0.8227 MB / 1.149 GB, free: 156.2 MB / 0.62 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01659/5.52, allocations: 6.062 MB / 1.155 GB, free: 156 MB / 0.62 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001472/5.52, allocations: 36.84 kB / 1.155 GB, free: 156 MB / 0.62 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/5.521, allocations: 4.469 kB / 1.155 GB, free: 156 MB / 0.62 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.372e-05/5.521, allocations: 16.61 kB / 1.155 GB, free: 156 MB / 0.62 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06857/5.589, allocations: 21.09 MB / 1.176 GB, free: 154.5 MB / 0.62 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/5.589, allocations: 3.812 kB / 1.176 GB, free: 154.5 MB / 0.62 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006087/5.595, allocations: 0.6807 MB / 1.176 GB, free: 154.5 MB / 0.62 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008707/5.596, allocations: 161.4 kB / 1.177 GB, free: 154.5 MB / 0.62 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006912/5.597, allocations: 70.72 kB / 1.177 GB, free: 154.5 MB / 0.62 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003199/5.6, allocations: 2.15 MB / 1.179 GB, free: 153.2 MB / 0.62 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/5.6, allocations: 6.75 kB / 1.179 GB, free: 153.2 MB / 0.62 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0225/5.623, allocations: 11.03 MB / 1.19 GB, free: 151.5 MB / 0.62 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006315/5.629, allocations: 1.296 MB / 1.191 GB, free: 151 MB / 0.62 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003476/5.633, allocations: 50.08 kB / 1.191 GB, free: 151 MB / 0.62 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01953/5.652, allocations: 445.2 kB / 1.191 GB, free: 151 MB / 0.62 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001298/5.654, allocations: 172 kB / 1.191 GB, free: 151 MB / 0.62 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000642/5.654, allocations: 100.7 kB / 1.192 GB, free: 151 MB / 0.62 GB Notification: Performance of sorting global known variables: time 0.04739/5.702, allocations: 6.43 MB / 1.198 GB, free: 150.7 MB / 0.62 GB Notification: Performance of sort global known variables: time 1.102e-06/5.702, allocations: 0 / 1.198 GB, free: 150.7 MB / 0.62 GB Notification: Performance of remove unused functions: time 0.03092/5.733, allocations: 2.894 MB / 1.201 GB, free: 150.7 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.02424/5.757, allocations: 12.25 MB / 1.213 GB, free: 147.6 MB / 0.62 GB Notification: Performance of simCode: created initialization part: time 0.0302/5.787, allocations: 12.77 MB / 1.225 GB, free: 143.8 MB / 0.62 GB Notification: Performance of simCode: created event and clocks part: time 1.646e-05/5.787, allocations: 3.656 kB / 1.225 GB, free: 143.8 MB / 0.62 GB Notification: Performance of simCode: created simulation system equations: time 0.006517/5.794, allocations: 2.871 MB / 1.228 GB, free: 142.7 MB / 0.62 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009752/5.804, allocations: 1.373 MB / 1.229 GB, free: 142.2 MB / 0.62 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1038/5.908, allocations: 29.32 MB / 1.258 GB, free: 129.4 MB / 0.62 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02949/5.937, allocations: 10.77 MB / 1.268 GB, free: 121.5 MB / 0.62 GB Notification: Performance of simCode: alias equations: time 0.02666/5.964, allocations: 5.388 MB / 1.274 GB, free: 118.4 MB / 0.62 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01672/5.981, allocations: 6.891 MB / 1.28 GB, free: 112 MB / 0.62 GB Notification: Performance of SimCode: time 1.753e-06/5.981, allocations: 4 kB / 1.28 GB, free: 112 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9169/6.898, allocations: 202.5 MB / 1.478 GB, free: 108.3 MB / 0.62 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/6.898, allocations: 177.8 kB / 1.478 GB, free: 108.1 MB / 0.62 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/17.35, allocations: 0 / 1.478 GB, free: 108.1 MB / 0.62 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