Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.755/2.755, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.127e-05, allocations: 4 kB / 299.6 MB, free: 6.457 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4797/0.4798, allocations: 54.87 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2241/0.7039, allocations: 104 MB / 458.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005274/0.7045, allocations: 87.94 kB / 458.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.791/2.496, allocations: 227.7 MB / 0.6701 GB, free: 20.08 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.294e-06/2.496, allocations: 3.688 kB / 0.6701 GB, free: 20.08 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.001217/2.497, allocations: 371.1 kB / 0.6705 GB, free: 20.07 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.05595/2.553, allocations: 13.14 MB / 0.6833 GB, free: 15.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/2.553, allocations: 10.16 kB / 0.6833 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04535/2.598, allocations: 5.81 MB / 0.689 GB, free: 14.29 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04164/2.64, allocations: 10.5 MB / 0.6993 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001268/2.641, allocations: 0.6366 MB / 0.6999 GB, free: 13.04 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008327/2.65, allocations: 1.149 MB / 0.701 GB, free: 13.03 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06458/2.714, allocations: 20.57 MB / 0.7211 GB, free: 12.94 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09888/2.813, allocations: 32.7 MB / 0.753 GB, free: 4.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001609/2.815, allocations: 194.8 kB / 0.7532 GB, free: 4.078 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007249/2.822, allocations: 108 kB / 0.7533 GB, free: 4.074 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004584/2.827, allocations: 2.044 MB / 0.7553 GB, free: 4.039 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.84/3.667, allocations: 157.2 MB / 0.9088 GB, free: 18.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01083/3.678, allocations: 5.251 MB / 0.914 GB, free: 18.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007205/3.685, allocations: 3.526 MB / 0.9174 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02191/3.707, allocations: 15.28 MB / 0.9323 GB, free: 21.49 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001013/3.707, allocations: 70.3 kB / 0.9324 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=274): time 8.917e-06/3.707, allocations: 3.625 kB / 0.9324 GB, free: 21.45 MB / 0.5573 GB Notification: Performance of matching and sorting (n=309): time 0.2023/3.91, allocations: 49.97 MB / 0.9812 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001465/3.91, allocations: 221.4 kB / 0.9814 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02448/3.934, allocations: 8.768 MB / 0.99 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0008335/3.935, allocations: 28.89 kB / 0.99 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.01275/3.948, allocations: 11.11 MB / 1.001 GB, free: 4.785 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.002501/3.951, allocations: 1.32 MB / 1.002 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002441/3.953, allocations: 0 / 1.002 GB, free: 4.125 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.002668/3.956, allocations: 1.095 MB / 1.003 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01467/3.971, allocations: 5.658 MB / 1.009 GB, free: 3.738 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0282/3.999, allocations: 18.17 MB / 1.026 GB, free: 2.508 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02976/4.029, allocations: 10.43 MB / 1.037 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000656/4.029, allocations: 132 kB / 1.037 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2386) (initialization): time 0.07683/4.106, allocations: 21.15 MB / 1.057 GB, free: 10.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004614/4.107, allocations: 200 kB / 1.058 GB, free: 10.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001065/4.108, allocations: 463.9 kB / 1.058 GB, free: 9.844 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/4.11, allocations: 0.8257 MB / 1.059 GB, free: 9.062 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03169/4.142, allocations: 4.522 MB / 1.063 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007112/4.149, allocations: 3.504 MB / 1.067 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02144/4.171, allocations: 0.7783 MB / 1.067 GB, free: 1.207 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004912/4.176, allocations: 1.17 MB / 1.069 GB, free: 48 kB / 0.6042 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.4724/4.648, allocations: 1.129 MB / 1.07 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02297/4.671, allocations: 5.866 MB / 1.075 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003346/4.675, allocations: 0.8005 MB / 1.076 GB, free: 153.6 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0242/4.699, allocations: 5.844 MB / 1.082 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002101/4.699, allocations: 37.06 kB / 1.082 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.708e-05/4.699, allocations: 3.344 kB / 1.082 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.629e-05/4.699, allocations: 18.58 kB / 1.082 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06474/4.764, allocations: 17.67 MB / 1.099 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-05/4.764, allocations: 3.875 kB / 1.099 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006717/4.771, allocations: 0.6786 MB / 1.1 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009363/4.772, allocations: 164.8 kB / 1.1 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006897/4.773, allocations: 24.12 kB / 1.1 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003345/4.776, allocations: 2.065 MB / 1.102 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/4.776, allocations: 6.031 kB / 1.102 GB, free: 150.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/4.798, allocations: 10.78 MB / 1.113 GB, free: 149 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005028/4.803, allocations: 1.257 MB / 1.114 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002959/4.806, allocations: 6.969 kB / 1.114 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007712/4.814, allocations: 395.8 kB / 1.114 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001052/4.815, allocations: 172.5 kB / 1.114 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004554/4.816, allocations: 101.6 kB / 1.115 GB, free: 148.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01574/4.831, allocations: 5.796 MB / 1.12 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.81e-07/4.831, allocations: 6.031 kB / 1.12 GB, free: 148.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.02313/4.854, allocations: 2.494 MB / 1.123 GB, free: 148.1 MB / 0.6042 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.0231/4.878, allocations: 11.98 MB / 1.134 GB, free: 145.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02798/4.906, allocations: 12.5 MB / 1.147 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/4.906, allocations: 448 / 1.147 GB, free: 144.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.006056/4.912, allocations: 2.822 MB / 1.149 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009663/4.921, allocations: 1.259 MB / 1.151 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1034/5.025, allocations: 28.81 MB / 1.179 GB, free: 134.6 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03048/5.055, allocations: 10.75 MB / 1.189 GB, free: 130.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.02936/5.085, allocations: 5.449 MB / 1.194 GB, free: 127.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01735/5.102, allocations: 6.869 MB / 1.201 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of SimCode: time 1.853e-06/5.102, allocations: 0 / 1.201 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9531/6.055, allocations: 197.2 MB / 1.394 GB, free: 113.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002783/6.056, allocations: 155.1 kB / 1.394 GB, free: 113 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.98/17.04, allocations: 0 / 1.394 GB, free: 113 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat