Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.Distance,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Sensors_Distance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.45/2.45, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.519e-05/4.525e-05, allocations: 8 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4067/0.4067, allocations: 58.82 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1948/0.6016, allocations: 105.1 MB / 487.4 MB, free: 3.297 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000309/0.6019, allocations: 79.95 kB / 487.4 MB, free: 3.219 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6474/1.249, allocations: 73.24 MB / 0.5475 GB, free: 111.1 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.175e-06/1.249, allocations: 0 / 0.5475 GB, free: 111.1 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001752/1.25, allocations: 65.59 kB / 0.5476 GB, free: 111.1 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1219 * Number of variables: 1219 Notification: Performance of Generate backend data structure: time 0.01175/1.261, allocations: 3.271 MB / 0.5508 GB, free: 109.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.261, allocations: 6.719 kB / 0.5508 GB, free: 109.6 MB / 458.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002337/1.264, allocations: 0.6212 MB / 0.5514 GB, free: 109.5 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0311/1.295, allocations: 4.249 MB / 0.5556 GB, free: 109.3 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01603/1.311, allocations: 4.216 MB / 0.5597 GB, free: 108.7 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/1.311, allocations: 248.3 kB / 0.5599 GB, free: 108.7 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00205/1.314, allocations: 331.6 kB / 0.5602 GB, free: 108.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02063/1.334, allocations: 8.193 MB / 0.5682 GB, free: 104.4 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000202/1.334, allocations: 55.36 kB / 0.5683 GB, free: 104.3 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/1.336, allocations: 164.2 kB / 0.5684 GB, free: 104.2 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001554/1.337, allocations: 0.8209 MB / 0.5692 GB, free: 103.4 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0171/1.354, allocations: 6.43 MB / 0.5755 GB, free: 96.96 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04923/1.404, allocations: 39.87 MB / 0.6145 GB, free: 55.96 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007149/1.411, allocations: 2.247 MB / 0.6166 GB, free: 53.57 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002055/1.413, allocations: 1.059 MB / 0.6177 GB, free: 52.5 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004818/1.413, allocations: 322.2 kB / 0.618 GB, free: 52.14 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/1.413, allocations: 51.06 kB / 0.618 GB, free: 52.08 MB / 458.8 MB Notification: Performance of pre-optimization done (n=117): time 4.959e-06/1.413, allocations: 0 / 0.618 GB, free: 52.08 MB / 458.8 MB Notification: Performance of matching and sorting (n=141): time 0.04173/1.455, allocations: 9.413 MB / 0.6272 GB, free: 42.55 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.939e-05/1.455, allocations: 200.6 kB / 0.6274 GB, free: 42.31 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007003/1.462, allocations: 3.281 MB / 0.6306 GB, free: 39.04 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003109/1.463, allocations: 45.7 kB / 0.6307 GB, free: 38.99 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002344/1.465, allocations: 2.702 MB / 0.6333 GB, free: 36.29 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007816/1.466, allocations: 0.5587 MB / 0.6339 GB, free: 35.73 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006239/1.467, allocations: 108.2 kB / 0.634 GB, free: 35.63 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003344/1.467, allocations: 0.5332 MB / 0.6345 GB, free: 35.09 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003982/1.471, allocations: 1.6 MB / 0.636 GB, free: 33.48 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00617/1.477, allocations: 4.989 MB / 0.6409 GB, free: 26.76 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005991/1.483, allocations: 2.838 MB / 0.6437 GB, free: 23.92 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001009/1.483, allocations: 36 kB / 0.6437 GB, free: 23.89 MB / 458.8 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01617/1.499, allocations: 6.218 MB / 0.6498 GB, free: 17.66 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.354e-05/1.5, allocations: 60 kB / 0.6498 GB, free: 17.6 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.5, allocations: 120 kB / 0.65 GB, free: 17.48 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/1.501, allocations: 353.2 kB / 0.6503 GB, free: 17.14 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007386/1.508, allocations: 1.244 MB / 0.6515 GB, free: 15.89 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004072/1.512, allocations: 2.704 MB / 0.6542 GB, free: 13.05 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005701/1.518, allocations: 295.3 kB / 0.6544 GB, free: 12.77 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001106/1.519, allocations: 336 kB / 0.6548 GB, free: 12.44 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 557 * Number of states: 0 () * Number of discrete variables: 27 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrowColor[3],Distance1.arrowColor[2],Distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (667): * Single equations (assignments): 663 * Array equations: 3 * 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%) 11} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001072/1.52, allocations: 0.5241 MB / 0.6553 GB, free: 11.91 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007464/1.521, allocations: 311.9 kB / 0.6556 GB, free: 11.61 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/1.526, allocations: 1.691 MB / 0.6572 GB, free: 9.898 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.825e-05/1.526, allocations: 16 kB / 0.6572 GB, free: 9.883 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/1.526, allocations: 7.75 kB / 0.6572 GB, free: 9.879 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.127e-05/1.526, allocations: 3.984 kB / 0.6572 GB, free: 9.875 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/1.541, allocations: 5.39 MB / 0.6625 GB, free: 4.434 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.727e-05/1.541, allocations: 0 / 0.6625 GB, free: 4.434 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.543, allocations: 219.7 kB / 0.6627 GB, free: 4.219 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008455/1.544, allocations: 156.8 kB / 0.6629 GB, free: 4.062 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002794/1.545, allocations: 24 kB / 0.6629 GB, free: 4.039 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00309/1.548, allocations: 2.148 MB / 0.665 GB, free: 1.758 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.548, allocations: 8.062 kB / 0.665 GB, free: 1.75 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008036/1.556, allocations: 3.766 MB / 0.6687 GB, free: 13.93 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002006/1.558, allocations: 0.5319 MB / 0.6692 GB, free: 13.38 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006076/1.558, allocations: 24 kB / 0.6692 GB, free: 13.36 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.561, allocations: 67.98 kB / 0.6693 GB, free: 13.29 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002678/1.561, allocations: 76.62 kB / 0.6694 GB, free: 13.21 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001486/1.561, allocations: 43.56 kB / 0.6694 GB, free: 13.17 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.006136/1.567, allocations: 2.287 MB / 0.6716 GB, free: 10.9 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.222e-06/1.567, allocations: 0 / 0.6716 GB, free: 10.9 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.006503/1.574, allocations: 0.8047 MB / 0.6724 GB, free: 10.09 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (112): * Single equations (assignments): 108 * Array equations: 3 * 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.01025/1.584, allocations: 4.695 MB / 0.677 GB, free: 5.344 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.00985/1.594, allocations: 3.745 MB / 0.6807 GB, free: 1.617 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.594, allocations: 4 kB / 0.6807 GB, free: 1.613 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002594/1.597, allocations: 1.044 MB / 0.6817 GB, free: 0.5625 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/1.6, allocations: 345 kB / 0.682 GB, free: 236 kB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.624, allocations: 7.038 MB / 0.6889 GB, free: 9.137 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006023/1.63, allocations: 2.83 MB / 0.6916 GB, free: 6.293 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.008663/1.638, allocations: 1.73 MB / 0.6933 GB, free: 4.57 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004207/1.643, allocations: 1.511 MB / 0.6948 GB, free: 3.059 MB / 490.8 MB Notification: Performance of SimCode: time 2.004e-06/1.643, allocations: 0 / 0.6948 GB, free: 3.059 MB / 490.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4935/2.136, allocations: 62.7 MB / 0.756 GB, free: 130.6 MB / 0.4949 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/2.136, allocations: 169.2 kB / 0.7562 GB, free: 130.4 MB / 0.4949 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.921/7.057, allocations: 3.938 kB / 0.7562 GB, free: 130.4 MB / 0.4949 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance_res.mat does not exist to compare? outputFormat=mat