Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.Distance,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_Distance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 209.4 MB / 216.5 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.562e-05/2.581e-05, allocations: 0 / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 48.7 MB / 316.3 MB, free: 4.145 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4601/0.5662, allocations: 91.65 MB / 408 MB, free: 1.008 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002724/0.5665, allocations: 77.33 kB / 408.1 MB, free: 0.9688 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3192/0.8857, allocations: 71.59 MB / 479.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.8857, allocations: 0 / 479.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002198/0.886, allocations: 60 kB / 479.7 MB, free: 12.34 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: 1216 * Number of variables: 1216 Notification: Performance of Generate backend data structure: time 0.01301/0.899, allocations: 3.255 MB / 483 MB, free: 9.027 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.887e-05/0.8991, allocations: 12.02 kB / 483 MB, free: 9.016 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03229/0.9314, allocations: 4.262 MB / 487.2 MB, free: 4.742 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02167/0.9531, allocations: 4.201 MB / 491.4 MB, free: 0.4922 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002639/0.9534, allocations: 104 kB / 491.5 MB, free: 400 kB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001709/0.9552, allocations: 191.9 kB / 491.7 MB, free: 208 kB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.3104/1.266, allocations: 4.661 MB / 496.4 MB, free: 93.17 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02073/1.286, allocations: 7.571 MB / 0.4921 GB, free: 90.67 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002517/1.287, allocations: 58.17 kB / 0.4922 GB, free: 90.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001253/1.288, allocations: 28.44 kB / 0.4922 GB, free: 90.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/1.29, allocations: 0.814 MB / 0.493 GB, free: 90.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0546/1.345, allocations: 38.11 MB / 0.5302 GB, free: 65.02 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004016/1.349, allocations: 2.338 MB / 0.5325 GB, free: 63.51 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002042/1.351, allocations: 1.053 MB / 0.5336 GB, free: 63.06 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/1.351, allocations: 324.8 kB / 0.5339 GB, free: 62.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.352, allocations: 42.41 kB / 0.5339 GB, free: 62.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 6.583e-06/1.352, allocations: 6 kB / 0.5339 GB, free: 62.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=150): time 0.04171/1.393, allocations: 10.5 MB / 0.5442 GB, free: 58.27 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.385e-05/1.393, allocations: 195 kB / 0.5443 GB, free: 58.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009142/1.403, allocations: 2.789 MB / 0.5471 GB, free: 57.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003801/1.403, allocations: 25.7 kB / 0.5471 GB, free: 56.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003214/1.406, allocations: 2.734 MB / 0.5498 GB, free: 54.99 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001128/1.407, allocations: 0.5748 MB / 0.5503 GB, free: 54.58 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007966/1.408, allocations: 3.688 kB / 0.5503 GB, free: 54.58 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0006396/1.409, allocations: 0.5436 MB / 0.5509 GB, free: 54.17 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005633/1.415, allocations: 1.558 MB / 0.5524 GB, free: 53.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01409/1.429, allocations: 5.107 MB / 0.5574 GB, free: 48.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007206/1.436, allocations: 2.826 MB / 0.5601 GB, free: 47.17 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000139/1.436, allocations: 40.41 kB / 0.5602 GB, free: 47.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=735) (initialization): time 0.02519/1.461, allocations: 6.007 MB / 0.566 GB, free: 45.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/1.462, allocations: 58.34 kB / 0.5661 GB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002864/1.462, allocations: 136.6 kB / 0.5662 GB, free: 45.07 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001903/1.464, allocations: 343.2 kB / 0.5665 GB, free: 45.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01219/1.476, allocations: 1.306 MB / 0.5678 GB, free: 44.87 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006339/1.483, allocations: 2.601 MB / 0.5704 GB, free: 43.08 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009239/1.492, allocations: 194.7 kB / 0.5705 GB, free: 43.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002679/1.495, allocations: 353.4 kB / 0.5709 GB, free: 43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 581 * Number of states: 0 () * Number of discrete variables: 24 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (700): * Single equations (assignments): 696 * 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.00272/1.497, allocations: 411.6 kB / 0.5713 GB, free: 42.66 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005524/1.503, allocations: 2.057 MB / 0.5733 GB, free: 41.89 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009673/1.504, allocations: 278.8 kB / 0.5735 GB, free: 41.73 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004661/1.509, allocations: 1.664 MB / 0.5752 GB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-05/1.509, allocations: 16 kB / 0.5752 GB, free: 41.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/1.509, allocations: 7.953 kB / 0.5752 GB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.506e-05/1.509, allocations: 6.281 kB / 0.5752 GB, free: 41.01 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01496/1.524, allocations: 5.14 MB / 0.5802 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/1.524, allocations: 4 kB / 0.5802 GB, free: 36.71 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002262/1.526, allocations: 231.3 kB / 0.5804 GB, free: 36.52 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008019/1.527, allocations: 159.2 kB / 0.5806 GB, free: 36.41 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002421/1.527, allocations: 8 kB / 0.5806 GB, free: 36.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/1.53, allocations: 2.043 MB / 0.5826 GB, free: 34.42 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.295e-06/1.53, allocations: 7.875 kB / 0.5826 GB, free: 34.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007473/1.538, allocations: 3.758 MB / 0.5863 GB, free: 30.98 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002207/1.54, allocations: 0.5101 MB / 0.5868 GB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000929/1.541, allocations: 0 / 0.5868 GB, free: 30.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.544, allocations: 53.02 kB / 0.5868 GB, free: 30.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003657/1.544, allocations: 78.19 kB / 0.5869 GB, free: 30.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001936/1.544, allocations: 43.47 kB / 0.5869 GB, free: 30.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005101/1.55, allocations: 1.856 MB / 0.5888 GB, free: 28.75 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.52e-07/1.55, allocations: 0 / 0.5888 GB, free: 28.75 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009379/1.559, allocations: 0.6862 MB / 0.5894 GB, free: 28.07 MB / 410.7 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 (121): * Single equations (assignments): 117 * 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.01057/1.57, allocations: 4.658 MB / 0.594 GB, free: 23.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01144/1.581, allocations: 3.779 MB / 0.5977 GB, free: 20.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.581, allocations: 0 / 0.5977 GB, free: 20.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00306/1.584, allocations: 1.072 MB / 0.5987 GB, free: 19.33 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.587, allocations: 268.9 kB / 0.599 GB, free: 19.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/1.618, allocations: 6.892 MB / 0.6057 GB, free: 13.12 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005202/1.623, allocations: 2.83 MB / 0.6085 GB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.007795/1.631, allocations: 1.775 MB / 0.6102 GB, free: 9.816 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003464/1.634, allocations: 1.495 MB / 0.6117 GB, free: 8.434 MB / 410.7 MB Notification: Performance of SimCode: time 1.713e-06/1.635, allocations: 7.938 kB / 0.6117 GB, free: 8.426 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4778/2.112, allocations: 58.5 MB / 0.6688 GB, free: 93.74 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/2.113, allocations: 136.2 kB / 0.6689 GB, free: 93.55 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.854/6.967, allocations: 4 kB / 0.6689 GB, free: 93.54 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance_res.mat does not exist to compare? outputFormat=mat