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.008/2.008, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.82e-05/4.835e-05, allocations: 4 kB / 273.1 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1155, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5774, allocations: 97.79 MB / 419.6 MB, free: 7.773 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.5778, allocations: 75.95 kB / 419.7 MB, free: 7.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.195/1.773, allocations: 234.9 MB / 0.6393 GB, free: 16.52 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/1.773, allocations: 0 / 0.6393 GB, free: 16.52 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008521/1.774, allocations: 371.9 kB / 0.6396 GB, free: 16.15 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.0521/1.826, allocations: 13.13 MB / 0.6525 GB, free: 2.906 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.74e-05/1.826, allocations: 12.02 kB / 0.6525 GB, free: 2.895 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.7065/2.533, allocations: 2.955 MB / 0.6554 GB, free: 30.76 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04244/2.575, allocations: 5.815 MB / 0.661 GB, free: 29.8 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04106/2.616, allocations: 10.5 MB / 0.6713 GB, free: 29.29 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002347/2.619, allocations: 1.481 MB / 0.6727 GB, free: 29.25 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01281/2.632, allocations: 1.941 MB / 0.6746 GB, free: 29.24 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1461/2.778, allocations: 41.21 MB / 0.7149 GB, free: 20.1 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001545/2.779, allocations: 201.9 kB / 0.7151 GB, free: 20.09 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007827/2.787, allocations: 0.904 MB / 0.716 GB, free: 20.09 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004035/2.791, allocations: 2.048 MB / 0.718 GB, free: 20.06 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1025/2.894, allocations: 29.83 MB / 0.7471 GB, free: 10.91 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.109/4.003, allocations: 166.2 MB / 0.9094 GB, free: 12.11 MB / 0.5107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07258/4.075, allocations: 13.25 MB / 0.9223 GB, free: 11.43 MB / 0.5107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007184/4.083, allocations: 3.612 MB / 0.9259 GB, free: 11.39 MB / 0.5107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02025/4.103, allocations: 15.27 MB / 0.9408 GB, free: 14.84 MB / 0.5263 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001418/4.103, allocations: 73.02 kB / 0.9409 GB, free: 14.8 MB / 0.5263 GB Notification: Performance of pre-optimization done (n=274): time 1.146e-05/4.103, allocations: 0 / 0.9409 GB, free: 14.8 MB / 0.5263 GB Notification: Performance of matching and sorting (n=309): time 0.4108/4.514, allocations: 75.08 MB / 1.014 GB, free: 11.39 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/4.514, allocations: 205.9 kB / 1.014 GB, free: 11.14 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02911/4.543, allocations: 9.439 MB / 1.024 GB, free: 5.359 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 0.0008882/4.544, allocations: 75.55 kB / 1.024 GB, free: 5.316 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 0.01313/4.557, allocations: 11.06 MB / 1.034 GB, free: 13.01 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 0.00248/4.56, allocations: 1.357 MB / 1.036 GB, free: 12.1 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002892/4.563, allocations: 364.7 kB / 1.036 GB, free: 12.03 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 0.003003/4.566, allocations: 1.084 MB / 1.037 GB, free: 11.33 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01791/4.584, allocations: 5.948 MB / 1.043 GB, free: 7.531 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4529/5.037, allocations: 18.35 MB / 1.061 GB, free: 141.3 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02817/5.065, allocations: 10.63 MB / 1.071 GB, free: 141.3 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.001243/5.066, allocations: 126.9 kB / 1.071 GB, free: 141.3 MB / 0.5575 GB Notification: Performance of matching and sorting (n=2350) (initialization): time 0.0699/5.136, allocations: 23.15 MB / 1.094 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 0.001439/5.138, allocations: 200.1 kB / 1.094 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001646/5.14, allocations: 445.3 kB / 1.095 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/5.142, allocations: 0.8254 MB / 1.095 GB, free: 138.9 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02799/5.17, allocations: 4.458 MB / 1.1 GB, free: 138.5 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006241/5.176, allocations: 3.588 MB / 1.103 GB, free: 137 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02268/5.199, allocations: 1.132 MB / 1.104 GB, free: 136.9 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005022/5.204, allocations: 1.149 MB / 1.106 GB, free: 136.9 MB / 0.5575 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.007893/5.212, allocations: 1.512 MB / 1.107 GB, free: 136.2 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002269/5.215, allocations: 0.8234 MB / 1.108 GB, free: 136.2 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/5.234, allocations: 6.066 MB / 1.114 GB, free: 135.9 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001539/5.234, allocations: 40.2 kB / 1.114 GB, free: 135.9 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.627e-05/5.234, allocations: 7.375 kB / 1.114 GB, free: 135.9 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.492e-05/5.234, allocations: 13.22 kB / 1.114 GB, free: 135.9 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07375/5.308, allocations: 21.11 MB / 1.134 GB, free: 132.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.108e-05/5.308, allocations: 6 kB / 1.134 GB, free: 132.6 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006485/5.314, allocations: 0.6837 MB / 1.135 GB, free: 132.6 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009088/5.315, allocations: 159.8 kB / 1.135 GB, free: 132.5 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008414/5.316, allocations: 64.67 kB / 1.135 GB, free: 132.5 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003427/5.32, allocations: 2.154 MB / 1.137 GB, free: 130.9 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/5.32, allocations: 11.17 kB / 1.137 GB, free: 130.9 MB / 0.5575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02326/5.343, allocations: 11.03 MB / 1.148 GB, free: 125.6 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005348/5.349, allocations: 1.285 MB / 1.149 GB, free: 124.9 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002853/5.351, allocations: 55.94 kB / 1.15 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007763/5.359, allocations: 435.3 kB / 1.15 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001108/5.36, allocations: 178 kB / 1.15 GB, free: 124.8 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006523/5.361, allocations: 101.9 kB / 1.15 GB, free: 124.7 MB / 0.5575 GB Notification: Performance of sorting global known variables: time 0.01939/5.38, allocations: 6.429 MB / 1.156 GB, free: 122.4 MB / 0.5575 GB Notification: Performance of sort global known variables: time 1.233e-06/5.381, allocations: 0 / 1.156 GB, free: 122.4 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.02313/5.404, allocations: 2.891 MB / 1.159 GB, free: 122 MB / 0.5575 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.02445/5.428, allocations: 12.26 MB / 1.171 GB, free: 115.7 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.03136/5.46, allocations: 13.37 MB / 1.184 GB, free: 107.2 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-05/5.46, allocations: 448 / 1.184 GB, free: 107.2 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 0.00652/5.466, allocations: 2.903 MB / 1.187 GB, free: 104.6 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009894/5.476, allocations: 1.372 MB / 1.188 GB, free: 103.5 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1088/5.585, allocations: 29.33 MB / 1.217 GB, free: 77.86 MB / 0.5575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03501/5.62, allocations: 10.76 MB / 1.228 GB, free: 69.95 MB / 0.5575 GB Notification: Performance of simCode: alias equations: time 0.04612/5.666, allocations: 5.982 MB / 1.233 GB, free: 67.75 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4554/6.122, allocations: 7.607 MB / 1.241 GB, free: 138.2 MB / 0.5575 GB Notification: Performance of SimCode: time 1.423e-06/6.122, allocations: 1.703 kB / 1.241 GB, free: 138.2 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8971/7.019, allocations: 207.3 MB / 1.443 GB, free: 70.18 MB / 0.5575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002528/7.019, allocations: 184.6 kB / 1.444 GB, free: 69.96 MB / 0.5575 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.29/17.31, allocations: 2.062 kB / 1.444 GB, free: 69.96 MB / 0.5575 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