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.037/2.037, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.546e-05, allocations: 4 kB / 267.6 MB, free: 4.973 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 48.7 MB / 316.3 MB, free: 4.176 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4652/0.5791, allocations: 97.37 MB / 413.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5794, allocations: 74.28 kB / 413.8 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169/1.749, allocations: 227.7 MB / 0.6265 GB, free: 3.191 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.318e-06/1.749, allocations: 0 / 0.6265 GB, free: 3.191 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0007576/1.75, allocations: 379.8 kB / 0.6268 GB, free: 2.82 MB / 410.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.05819/1.808, allocations: 13.13 MB / 0.6396 GB, free: 5.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.917e-05/1.808, allocations: 8.031 kB / 0.6396 GB, free: 5.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4029/2.211, allocations: 5.809 MB / 0.6453 GB, free: 36.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04071/2.252, allocations: 10.49 MB / 0.6556 GB, free: 35.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001409/2.253, allocations: 0.6363 MB / 0.6562 GB, free: 35.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008741/2.262, allocations: 1.145 MB / 0.6573 GB, free: 35.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06232/2.324, allocations: 20.58 MB / 0.6774 GB, free: 35.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09188/2.416, allocations: 32.7 MB / 0.7093 GB, free: 25.7 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001231/2.418, allocations: 196.4 kB / 0.7095 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00701/2.425, allocations: 99.53 kB / 0.7096 GB, free: 25.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003835/2.428, allocations: 2.04 MB / 0.7116 GB, free: 25.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6992/3.128, allocations: 157.1 MB / 0.8651 GB, free: 18.56 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01061/3.138, allocations: 5.251 MB / 0.8702 GB, free: 17.9 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006877/3.145, allocations: 3.535 MB / 0.8736 GB, free: 17.86 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01803/3.163, allocations: 15.28 MB / 0.8886 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/3.164, allocations: 65.69 kB / 0.8886 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=274): time 8.906e-06/3.164, allocations: 3.719 kB / 0.8886 GB, free: 21.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=309): time 0.1643/3.328, allocations: 49.99 MB / 0.9374 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001444/3.328, allocations: 210.2 kB / 0.9376 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02231/3.35, allocations: 8.773 MB / 0.9462 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007811/3.351, allocations: 25.7 kB / 0.9462 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01205/3.363, allocations: 11.11 MB / 0.9571 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002383/3.366, allocations: 1.328 MB / 0.9584 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/3.368, allocations: 0 / 0.9584 GB, free: 3.922 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.002367/3.371, allocations: 1.087 MB / 0.9594 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01436/3.385, allocations: 5.653 MB / 0.965 GB, free: 2.41 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0349/3.42, allocations: 18.51 MB / 0.983 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0243/3.444, allocations: 10.28 MB / 0.9931 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005773/3.445, allocations: 128 kB / 0.9932 GB, free: 5.258 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2386) (initialization): time 0.06354/3.508, allocations: 20.74 MB / 1.013 GB, free: 3.734 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004494/3.509, allocations: 200 kB / 1.014 GB, free: 3.539 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001018/3.51, allocations: 456 kB / 1.014 GB, free: 3.094 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/3.513, allocations: 0.8271 MB / 1.015 GB, free: 2.309 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02742/3.54, allocations: 4.545 MB / 1.019 GB, free: 14.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006402/3.546, allocations: 3.5 MB / 1.023 GB, free: 11.13 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01946/3.566, allocations: 0.7831 MB / 1.024 GB, free: 10.48 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005008/3.571, allocations: 1.17 MB / 1.025 GB, free: 9.32 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2073 * 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 (2340): * Single equations (assignments): 2332 * 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.006201/3.577, allocations: 1.129 MB / 1.026 GB, free: 8.18 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01597/3.593, allocations: 5.876 MB / 1.031 GB, free: 2.969 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002611/3.596, allocations: 0.802 MB / 1.032 GB, free: 2.156 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02061/3.617, allocations: 6.063 MB / 1.038 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001515/3.617, allocations: 36 kB / 1.038 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.701e-05/3.617, allocations: 7.75 kB / 1.038 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-05/3.617, allocations: 12.33 kB / 1.038 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4389/4.056, allocations: 17.85 MB / 1.056 GB, free: 180 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-05/4.056, allocations: 4.062 kB / 1.056 GB, free: 180 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006625/4.063, allocations: 0.6823 MB / 1.056 GB, free: 180 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009965/4.064, allocations: 163.6 kB / 1.057 GB, free: 180 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007405/4.064, allocations: 20.62 kB / 1.057 GB, free: 180 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003512/4.068, allocations: 2.058 MB / 1.059 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.045e-05/4.068, allocations: 5.031 kB / 1.059 GB, free: 178.8 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02411/4.092, allocations: 10.78 MB / 1.069 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004945/4.097, allocations: 1.251 MB / 1.07 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003064/4.1, allocations: 12.62 kB / 1.07 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00763/4.108, allocations: 385.7 kB / 1.071 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00113/4.109, allocations: 176.6 kB / 1.071 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005505/4.11, allocations: 108.3 kB / 1.071 GB, free: 177.1 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0223/4.132, allocations: 5.799 MB / 1.077 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.033e-06/4.132, allocations: 0 / 1.077 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0225/4.155, allocations: 2.5 MB / 1.079 GB, free: 176.9 MB / 0.5886 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.02537/4.18, allocations: 11.98 MB / 1.091 GB, free: 174.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02873/4.209, allocations: 12.49 MB / 1.103 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-05/4.209, allocations: 4.469 kB / 1.103 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.005818/4.215, allocations: 2.825 MB / 1.106 GB, free: 174 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009835/4.225, allocations: 1.248 MB / 1.107 GB, free: 174 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09919/4.324, allocations: 28.79 MB / 1.135 GB, free: 168.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0325/4.356, allocations: 10.77 MB / 1.146 GB, free: 165.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02922/4.386, allocations: 5.446 MB / 1.151 GB, free: 165.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01756/4.403, allocations: 6.867 MB / 1.158 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of SimCode: time 1.743e-06/4.403, allocations: 0 / 1.158 GB, free: 159.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8811/5.284, allocations: 197.1 MB / 1.35 GB, free: 146.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/5.285, allocations: 144.8 kB / 1.35 GB, free: 146.8 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.73/16.01, allocations: 3.938 kB / 1.35 GB, free: 146.7 MB / 0.5886 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