Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.AbsoluteSensor,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Sensors_AbsoluteSensor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.489/2.489, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.127e-05/4.131e-05, allocations: 7.938 kB / 348.5 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1412, allocations: 61.88 MB / 410.4 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5526/0.6938, allocations: 112.5 MB / 0.5106 GB, free: 7.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002955/0.6942, allocations: 81.27 kB / 0.5107 GB, free: 7.352 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.188/1.883, allocations: 229.2 MB / 0.7345 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.215e-06/1.883, allocations: 0 / 0.7345 GB, free: 68.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006843/1.883, allocations: 363.9 kB / 0.7348 GB, free: 67.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5519 * Number of variables: 5519 Notification: Performance of Generate backend data structure: time 0.05009/1.933, allocations: 12.79 MB / 0.7473 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/1.934, allocations: 12.03 kB / 0.7473 GB, free: 54.92 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0139/1.947, allocations: 2.868 MB / 0.7501 GB, free: 52.04 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05176/1.999, allocations: 5.726 MB / 0.7557 GB, free: 46.28 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04436/2.044, allocations: 10.16 MB / 0.7657 GB, free: 36.05 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001538/2.045, allocations: 1.437 MB / 0.7671 GB, free: 34.61 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008199/2.054, allocations: 1.894 MB / 0.7689 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1868/2.24, allocations: 39.92 MB / 0.8079 GB, free: 5.48 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001697/2.242, allocations: 198.1 kB / 0.8081 GB, free: 5.285 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008736/2.251, allocations: 0.8827 MB / 0.809 GB, free: 4.402 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004313/2.255, allocations: 1.901 MB / 0.8108 GB, free: 2.496 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5517/2.807, allocations: 28.18 MB / 0.8383 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2568/3.064, allocations: 162.1 MB / 0.9967 GB, free: 12.53 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.07093/3.135, allocations: 12.79 MB / 1.009 GB, free: 9.082 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007888/3.143, allocations: 3.44 MB / 1.013 GB, free: 5.941 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02043/3.163, allocations: 15.26 MB / 1.027 GB, free: 5.559 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001094/3.164, allocations: 76.5 kB / 1.028 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=238): time 8.686e-06/3.164, allocations: 0 / 1.028 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of matching and sorting (n=273): time 0.854/4.018, allocations: 74.51 MB / 1.1 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/4.018, allocations: 211.8 kB / 1.1 GB, free: 145.7 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02544/4.043, allocations: 9.216 MB / 1.109 GB, free: 144.6 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0006961/4.044, allocations: 68.8 kB / 1.11 GB, free: 144.5 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.009126/4.053, allocations: 10.77 MB / 1.12 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/4.055, allocations: 1.233 MB / 1.121 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00249/4.058, allocations: 355.6 kB / 1.122 GB, free: 137.2 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.002549/4.06, allocations: 1.051 MB / 1.123 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0148/4.075, allocations: 5.734 MB / 1.128 GB, free: 136.6 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02302/4.098, allocations: 17.73 MB / 1.146 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02241/4.121, allocations: 10.3 MB / 1.156 GB, free: 108.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000663/4.121, allocations: 124 kB / 1.156 GB, free: 108.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2265) (initialization): time 0.05476/4.176, allocations: 21.19 MB / 1.176 GB, free: 90.37 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003858/4.177, allocations: 195 kB / 1.177 GB, free: 90.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000734/4.177, allocations: 432 kB / 1.177 GB, free: 89.76 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001906/4.179, allocations: 0.8102 MB / 1.178 GB, free: 88.99 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02451/4.204, allocations: 4.288 MB / 1.182 GB, free: 85.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/4.209, allocations: 3.57 MB / 1.185 GB, free: 81.91 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01921/4.229, allocations: 1.092 MB / 1.187 GB, free: 80.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004077/4.233, allocations: 1.117 MB / 1.188 GB, free: 79.84 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1988 * Number of states: 0 () * Number of discrete variables: 41 (sensor_world2.arrow.arrowLine.twoHeadedArrow,sensor_world2.arrow.headAtOrigin,sensor_world2.arrowColor[3],sensor_world2.arrowColor[2],sensor_world2.arrowColor[1],sensor_frame_a2.arrow.arrowLine.twoHeadedArrow,sensor_frame_a2.arrow.headAtOrigin,sensor_frame_a2.arrowColor[3],sensor_frame_a2.arrowColor[2],sensor_frame_a2.arrowColor[1],sensor_world1.arrow.arrowLine.twoHeadedArrow,sensor_world1.arrow.headAtOrigin,sensor_world1.arrowColor[3],sensor_world1.arrowColor[2],sensor_world1.arrowColor[1],sensor_frame_a1.arrow.arrowLine.twoHeadedArrow,sensor_frame_a1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (2219): * Single equations (assignments): 2211 * 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.005599/4.238, allocations: 1.475 MB / 1.189 GB, free: 78.35 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001674/4.24, allocations: 0.7974 MB / 1.19 GB, free: 77.55 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01406/4.254, allocations: 5.63 MB / 1.195 GB, free: 72.78 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001279/4.254, allocations: 33.8 kB / 1.195 GB, free: 72.75 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.536e-05/4.254, allocations: 4 kB / 1.195 GB, free: 72.74 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.969e-05/4.254, allocations: 12.42 kB / 1.195 GB, free: 72.74 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06227/4.317, allocations: 20.11 MB / 1.215 GB, free: 56.14 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/4.317, allocations: 8.141 kB / 1.215 GB, free: 56.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005397/4.322, allocations: 0.6059 MB / 1.216 GB, free: 55.62 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008707/4.323, allocations: 168.6 kB / 1.216 GB, free: 55.45 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005916/4.324, allocations: 46.22 kB / 1.216 GB, free: 55.41 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003124/4.327, allocations: 2.157 MB / 1.218 GB, free: 53.12 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/4.327, allocations: 4 kB / 1.218 GB, free: 53.12 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01863/4.346, allocations: 10.41 MB / 1.228 GB, free: 42.42 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002402/4.348, allocations: 0.7366 MB / 1.229 GB, free: 41.65 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002258/4.35, allocations: 44.78 kB / 1.229 GB, free: 41.61 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006721/4.357, allocations: 416.3 kB / 1.229 GB, free: 41.2 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008413/4.358, allocations: 158.2 kB / 1.229 GB, free: 41.05 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003882/4.358, allocations: 85.78 kB / 1.23 GB, free: 40.96 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.01677/4.375, allocations: 6.275 MB / 1.236 GB, free: 34.7 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.82e-07/4.375, allocations: 3.938 kB / 1.236 GB, free: 34.7 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.02177/4.397, allocations: 2.783 MB / 1.238 GB, free: 31.93 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 (239): * Single equations (assignments): 231 * 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.5/4.897, allocations: 11.63 MB / 1.25 GB, free: 126.9 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.05495/4.952, allocations: 12.27 MB / 1.262 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/4.952, allocations: 2.906 kB / 1.262 GB, free: 126.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.006521/4.959, allocations: 2.673 MB / 1.264 GB, free: 126.7 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01042/4.969, allocations: 1.378 MB / 1.266 GB, free: 126.6 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1174/5.087, allocations: 28.39 MB / 1.293 GB, free: 121.7 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03556/5.122, allocations: 10.47 MB / 1.304 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.02605/5.148, allocations: 5.227 MB / 1.309 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01679/5.165, allocations: 6.66 MB / 1.315 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of SimCode: time 1.763e-06/5.165, allocations: 0 / 1.315 GB, free: 116.7 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9552/6.12, allocations: 195.7 MB / 1.506 GB, free: 99.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/6.121, allocations: 184.9 kB / 1.507 GB, free: 99.29 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.52/16.64, allocations: 0 / 1.507 GB, free: 99.29 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.AbsoluteSensor_res.mat does not exist to compare? outputFormat=mat