Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.131/2.131, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.059e-05/3.07e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1078, allocations: 48.71 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.5639, allocations: 97.39 MB / 413.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.5642, allocations: 78.33 kB / 413.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.123/1.687, allocations: 227.7 MB / 0.6265 GB, free: 3.305 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.687, allocations: 4 kB / 0.6265 GB, free: 3.301 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000787/1.688, allocations: 371.8 kB / 0.6268 GB, free: 2.938 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.05364/1.741, allocations: 13.13 MB / 0.6396 GB, free: 5.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.903e-05/1.742, allocations: 12.03 kB / 0.6396 GB, free: 5.684 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3855/2.127, allocations: 5.807 MB / 0.6453 GB, free: 36.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03933/2.166, allocations: 10.49 MB / 0.6556 GB, free: 35.53 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001317/2.168, allocations: 0.639 MB / 0.6562 GB, free: 35.53 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008295/2.176, allocations: 1.146 MB / 0.6573 GB, free: 35.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06102/2.237, allocations: 20.59 MB / 0.6774 GB, free: 35.43 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.091/2.328, allocations: 32.7 MB / 0.7093 GB, free: 25.56 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001484/2.33, allocations: 195 kB / 0.7095 GB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006983/2.337, allocations: 105.5 kB / 0.7096 GB, free: 25.55 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/2.341, allocations: 2.037 MB / 0.7116 GB, free: 25.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7181/3.059, allocations: 157.1 MB / 0.8651 GB, free: 18.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/3.07, allocations: 5.252 MB / 0.8702 GB, free: 17.94 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00682/3.077, allocations: 3.53 MB / 0.8736 GB, free: 17.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01812/3.095, allocations: 15.28 MB / 0.8886 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001053/3.095, allocations: 70.75 kB / 0.8886 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=274): time 9.838e-06/3.095, allocations: 0 / 0.8886 GB, free: 21.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=309): time 0.1637/3.259, allocations: 49.98 MB / 0.9374 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001522/3.259, allocations: 218.3 kB / 0.9376 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02425/3.283, allocations: 8.765 MB / 0.9462 GB, free: 11.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0008632/3.284, allocations: 29.05 kB / 0.9462 GB, free: 11.66 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.01228/3.297, allocations: 11.02 MB / 0.957 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003097/3.3, allocations: 1.326 MB / 0.9583 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003064/3.303, allocations: 3.281 kB / 0.9583 GB, free: 3.898 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.003784/3.307, allocations: 1.094 MB / 0.9594 GB, free: 3.547 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02217/3.329, allocations: 5.652 MB / 0.9649 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03567/3.365, allocations: 18.52 MB / 0.983 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02466/3.389, allocations: 10.29 MB / 0.993 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005382/3.39, allocations: 128 kB / 0.9931 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2386) (initialization): time 0.07046/3.461, allocations: 20.61 MB / 1.013 GB, free: 3.848 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004228/3.461, allocations: 200 kB / 1.013 GB, free: 3.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001039/3.462, allocations: 455.4 kB / 1.014 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002474/3.465, allocations: 0.8293 MB / 1.015 GB, free: 2.422 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02827/3.493, allocations: 4.544 MB / 1.019 GB, free: 14.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/3.499, allocations: 3.5 MB / 1.023 GB, free: 11.25 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02053/3.52, allocations: 0.7824 MB / 1.023 GB, free: 10.61 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004839/3.525, allocations: 1.174 MB / 1.024 GB, free: 9.449 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.006333/3.531, allocations: 1.126 MB / 1.026 GB, free: 8.305 MB / 0.573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02025/3.551, allocations: 5.872 MB / 1.031 GB, free: 3.098 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006946/3.558, allocations: 0.802 MB / 1.032 GB, free: 2.285 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05718/3.616, allocations: 6.021 MB / 1.038 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001962/3.616, allocations: 36 kB / 1.038 GB, free: 13.74 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.427e-05/3.616, allocations: 4 kB / 1.038 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001019/3.616, allocations: 11.95 kB / 1.038 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4484/4.065, allocations: 17.86 MB / 1.055 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.655e-05/4.065, allocations: 4.375 kB / 1.055 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00659/4.071, allocations: 0.6826 MB / 1.056 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/4.072, allocations: 162 kB / 1.056 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007472/4.073, allocations: 18.42 kB / 1.056 GB, free: 180.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/4.077, allocations: 2.056 MB / 1.058 GB, free: 178.9 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.206e-05/4.077, allocations: 6.344 kB / 1.058 GB, free: 178.9 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03152/4.108, allocations: 10.78 MB / 1.069 GB, free: 177.3 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006451/4.115, allocations: 1.255 MB / 1.07 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003759/4.119, allocations: 10.69 kB / 1.07 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01012/4.129, allocations: 385.8 kB / 1.07 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001473/4.13, allocations: 175.5 kB / 1.071 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007452/4.131, allocations: 104.8 kB / 1.071 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.02246/4.153, allocations: 5.794 MB / 1.076 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.142e-06/4.154, allocations: 0 / 1.076 GB, free: 176.9 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02712/4.181, allocations: 2.496 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.03127/4.212, allocations: 11.99 MB / 1.091 GB, free: 174.3 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.03669/4.249, allocations: 12.49 MB / 1.103 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.591e-05/4.249, allocations: 448 / 1.103 GB, free: 174.2 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006046/4.255, allocations: 2.824 MB / 1.105 GB, free: 174.1 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01004/4.265, allocations: 1.247 MB / 1.107 GB, free: 174 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1294/4.394, allocations: 30.81 MB / 1.137 GB, free: 168.1 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03114/4.426, allocations: 10.76 MB / 1.147 GB, free: 164.5 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01678/4.442, allocations: 6.992 MB / 1.154 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/4.442, allocations: 4.688 kB / 1.154 GB, free: 158.6 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.719/12.16, allocations: 324.5 MB / 1.471 GB, free: 139.1 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat