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.392/2.392, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.042e-05/3.042e-05, allocations: 3.938 kB / 299.5 MB, free: 6.352 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3693/0.3694, allocations: 54.86 MB / 354.3 MB, free: 44 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.561, allocations: 104 MB / 458.3 MB, free: 7.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/0.5614, allocations: 71.97 kB / 458.4 MB, free: 7.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.465/2.026, allocations: 227.7 MB / 0.67 GB, free: 37.65 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.214e-06/2.026, allocations: 0 / 0.67 GB, free: 37.65 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007386/2.027, allocations: 371.2 kB / 0.6704 GB, free: 37.64 MB / 474.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.05165/2.079, allocations: 13.13 MB / 0.6832 GB, free: 32.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/2.079, allocations: 7.375 kB / 0.6832 GB, free: 32.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04952/2.129, allocations: 5.819 MB / 0.6889 GB, free: 31.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04869/2.177, allocations: 10.5 MB / 0.6991 GB, free: 30.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001327/2.179, allocations: 0.6355 MB / 0.6998 GB, free: 30.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008718/2.187, allocations: 1.143 MB / 0.7009 GB, free: 30.57 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06016/2.248, allocations: 20.58 MB / 0.721 GB, free: 30.48 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09263/2.34, allocations: 32.69 MB / 0.7529 GB, free: 18.21 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001424/2.342, allocations: 198.1 kB / 0.7531 GB, free: 18.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007847/2.35, allocations: 101.3 kB / 0.7532 GB, free: 18.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004027/2.354, allocations: 2.045 MB / 0.7552 GB, free: 17.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6709/3.025, allocations: 157.2 MB / 0.9087 GB, free: 31.35 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0128/3.038, allocations: 5.248 MB / 0.9138 GB, free: 30.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008961/3.047, allocations: 3.533 MB / 0.9173 GB, free: 30.64 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0258/3.072, allocations: 15.28 MB / 0.9322 GB, free: 18.09 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001172/3.073, allocations: 73.5 kB / 0.9323 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=274): time 1.116e-05/3.073, allocations: 0 / 0.9323 GB, free: 18.05 MB / 0.5573 GB Notification: Performance of matching and sorting (n=309): time 0.1979/3.271, allocations: 49.98 MB / 0.9811 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001593/3.271, allocations: 215.8 kB / 0.9813 GB, free: 9.191 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02397/3.295, allocations: 8.767 MB / 0.9899 GB, free: 8.449 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.000914/3.296, allocations: 29.55 kB / 0.9899 GB, free: 8.418 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01421/3.31, allocations: 11.11 MB / 1.001 GB, free: 1.426 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002791/3.313, allocations: 1.324 MB / 1.002 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002509/3.315, allocations: 0 / 1.002 GB, free: 0.7617 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002063/3.317, allocations: 1.095 MB / 1.003 GB, free: 428 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02118/3.339, allocations: 5.75 MB / 1.009 GB, free: 0 / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03899/3.378, allocations: 18.17 MB / 1.026 GB, free: 12.71 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03554/3.413, allocations: 10.29 MB / 1.037 GB, free: 8.285 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0008878/3.414, allocations: 132 kB / 1.037 GB, free: 8.156 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2386) (initialization): time 0.5293/3.944, allocations: 20.72 MB / 1.057 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003285/3.944, allocations: 204.5 kB / 1.057 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008127/3.945, allocations: 452.3 kB / 1.057 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002229/3.947, allocations: 0.8226 MB / 1.058 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02546/3.973, allocations: 4.53 MB / 1.063 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005398/3.978, allocations: 3.501 MB / 1.066 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01853/3.997, allocations: 0.7727 MB / 1.067 GB, free: 131.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0043/4.001, allocations: 1.172 MB / 1.068 GB, free: 131.9 MB / 0.5886 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.005755/4.007, allocations: 1.135 MB / 1.069 GB, free: 131.5 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0131/4.02, allocations: 5.87 MB / 1.075 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002086/4.022, allocations: 0.8051 MB / 1.076 GB, free: 131.4 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01418/4.036, allocations: 5.846 MB / 1.081 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/4.036, allocations: 35.39 kB / 1.081 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.61e-05/4.036, allocations: 7.391 kB / 1.081 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.877e-05/4.036, allocations: 13.78 kB / 1.081 GB, free: 131.2 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05583/4.092, allocations: 17.68 MB / 1.099 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.767e-05/4.092, allocations: 3.562 kB / 1.099 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005908/4.098, allocations: 0.6868 MB / 1.099 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008269/4.099, allocations: 161.1 kB / 1.1 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005879/4.1, allocations: 17.47 kB / 1.1 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002912/4.103, allocations: 2.065 MB / 1.102 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.277e-06/4.103, allocations: 3.719 kB / 1.102 GB, free: 128.5 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0201/4.123, allocations: 10.78 MB / 1.112 GB, free: 126.4 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004723/4.128, allocations: 1.263 MB / 1.113 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002588/4.13, allocations: 3.875 kB / 1.113 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007037/4.137, allocations: 390.6 kB / 1.114 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009896/4.138, allocations: 175.1 kB / 1.114 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004233/4.139, allocations: 101.4 kB / 1.114 GB, free: 125.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01492/4.154, allocations: 5.8 MB / 1.12 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.723e-06/4.154, allocations: 0 / 1.12 GB, free: 125.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.021/4.175, allocations: 2.499 MB / 1.122 GB, free: 125.6 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.02115/4.196, allocations: 11.98 MB / 1.134 GB, free: 122.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.02696/4.223, allocations: 12.5 MB / 1.146 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.294e-05/4.223, allocations: 3.688 kB / 1.146 GB, free: 119 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006003/4.229, allocations: 2.82 MB / 1.149 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009549/4.239, allocations: 1.271 MB / 1.15 GB, free: 117.5 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/4.368, allocations: 28.8 MB / 1.178 GB, free: 101.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03831/4.407, allocations: 10.77 MB / 1.189 GB, free: 93.27 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02675/4.433, allocations: 5.447 MB / 1.194 GB, free: 90.07 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01614/4.45, allocations: 6.861 MB / 1.201 GB, free: 83.66 MB / 0.5886 GB Notification: Performance of SimCode: time 1.343e-06/4.45, allocations: 0 / 1.201 GB, free: 83.66 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9468/5.396, allocations: 197.1 MB / 1.393 GB, free: 73.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002361/5.397, allocations: 145.3 kB / 1.393 GB, free: 73.15 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.4/15.8, allocations: 2.297 kB / 1.393 GB, free: 73.15 MB / 0.5886 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