Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.Distance,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_Distance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.607/2.607, allocations: 235 MB / 247.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.993e-05/5.021e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.474, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.198/0.6721, allocations: 98.91 MB / 458.8 MB, free: 13.98 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003393/0.6725, allocations: 81.17 kB / 458.8 MB, free: 13.91 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3454/1.018, allocations: 72.93 MB / 0.5193 GB, free: 4.492 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.018, allocations: 0 / 0.5193 GB, free: 4.492 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002342/1.018, allocations: 60 kB / 0.5194 GB, free: 4.434 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: 1216 * Number of variables: 1216 Notification: Performance of Generate backend data structure: time 0.01404/1.032, allocations: 3.263 MB / 0.5226 GB, free: 1.109 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.417e-05/1.032, allocations: 12.03 kB / 0.5226 GB, free: 1.098 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002823/1.035, allocations: 0.6183 MB / 0.5232 GB, free: 480 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3717/1.407, allocations: 4.239 MB / 0.5273 GB, free: 107.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01905/1.426, allocations: 4.204 MB / 0.5314 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003786/1.427, allocations: 250 kB / 0.5317 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002143/1.429, allocations: 327.4 kB / 0.532 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02554/1.454, allocations: 8.218 MB / 0.54 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003534/1.455, allocations: 56.42 kB / 0.54 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002126/1.457, allocations: 163 kB / 0.5402 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002212/1.459, allocations: 0.8226 MB / 0.541 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02027/1.479, allocations: 6.573 MB / 0.5474 GB, free: 104.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05413/1.534, allocations: 39.76 MB / 0.5863 GB, free: 74.04 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007538/1.541, allocations: 2.249 MB / 0.5885 GB, free: 72.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002247/1.544, allocations: 1.061 MB / 0.5895 GB, free: 72.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005309/1.544, allocations: 326.6 kB / 0.5898 GB, free: 72.16 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.544, allocations: 46.44 kB / 0.5898 GB, free: 72.1 MB / 458.7 MB Notification: Performance of pre-optimization done (n=117): time 4.749e-06/1.544, allocations: 0 / 0.5898 GB, free: 72.1 MB / 458.7 MB Notification: Performance of matching and sorting (n=141): time 0.04266/1.587, allocations: 9.411 MB / 0.599 GB, free: 68.34 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.021e-05/1.587, allocations: 197.3 kB / 0.5992 GB, free: 68.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00689/1.594, allocations: 3.252 MB / 0.6024 GB, free: 66.92 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003306/1.594, allocations: 45.58 kB / 0.6024 GB, free: 66.87 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002353/1.597, allocations: 2.692 MB / 0.6051 GB, free: 64.78 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008459/1.598, allocations: 0.561 MB / 0.6056 GB, free: 64.38 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004771/1.598, allocations: 107.5 kB / 0.6057 GB, free: 64.3 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003252/1.598, allocations: 0.5318 MB / 0.6062 GB, free: 63.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003933/1.602, allocations: 1.589 MB / 0.6078 GB, free: 63.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00639/1.609, allocations: 5.006 MB / 0.6127 GB, free: 58.09 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006542/1.615, allocations: 2.823 MB / 0.6154 GB, free: 57.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000147/1.616, allocations: 40.03 kB / 0.6155 GB, free: 57.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01769/1.633, allocations: 6.528 MB / 0.6219 GB, free: 52.84 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.928e-05/1.633, allocations: 65.83 kB / 0.6219 GB, free: 52.79 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001687/1.634, allocations: 121.3 kB / 0.622 GB, free: 52.67 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001146/1.635, allocations: 345.3 kB / 0.6224 GB, free: 52.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007672/1.642, allocations: 1.247 MB / 0.6236 GB, free: 51.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004596/1.647, allocations: 2.7 MB / 0.6262 GB, free: 48.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005994/1.653, allocations: 287.6 kB / 0.6265 GB, free: 48.42 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001242/1.654, allocations: 340.3 kB / 0.6268 GB, free: 48.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * 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 (664): * Single equations (assignments): 660 * 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.001115/1.656, allocations: 0.5116 MB / 0.6273 GB, free: 47.58 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008447/1.656, allocations: 319.8 kB / 0.6276 GB, free: 47.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/1.661, allocations: 1.691 MB / 0.6293 GB, free: 45.84 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.393e-05/1.661, allocations: 19.94 kB / 0.6293 GB, free: 45.82 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.12e-05/1.661, allocations: 4 kB / 0.6293 GB, free: 45.81 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.132e-05/1.661, allocations: 7.562 kB / 0.6293 GB, free: 45.81 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01393/1.675, allocations: 5.367 MB / 0.6345 GB, free: 41.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-05/1.675, allocations: 4 kB / 0.6345 GB, free: 41.37 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002165/1.677, allocations: 219.2 kB / 0.6348 GB, free: 41.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008024/1.678, allocations: 161.7 kB / 0.6349 GB, free: 41.08 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000154/1.678, allocations: 24 kB / 0.6349 GB, free: 41.05 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003111/1.681, allocations: 2.15 MB / 0.637 GB, free: 38.95 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.681, allocations: 0 / 0.637 GB, free: 38.95 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007516/1.689, allocations: 3.771 MB / 0.6407 GB, free: 35.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001887/1.691, allocations: 0.5308 MB / 0.6412 GB, free: 34.98 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006416/1.692, allocations: 16 kB / 0.6412 GB, free: 34.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002179/1.694, allocations: 71.53 kB / 0.6413 GB, free: 34.92 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000284/1.694, allocations: 82.56 kB / 0.6414 GB, free: 34.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.694, allocations: 40.03 kB / 0.6414 GB, free: 34.83 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005374/1.7, allocations: 2.266 MB / 0.6436 GB, free: 32.84 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.7, allocations: 0 / 0.6436 GB, free: 32.84 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005999/1.706, allocations: 0.8049 MB / 0.6444 GB, free: 32.04 MB / 458.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 (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.009992/1.716, allocations: 4.68 MB / 0.649 GB, free: 27.69 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008584/1.724, allocations: 3.918 MB / 0.6528 GB, free: 24.1 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.662e-06/1.724, allocations: 4.312 kB / 0.6528 GB, free: 24.1 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002066/1.726, allocations: 1.061 MB / 0.6539 GB, free: 23.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/1.729, allocations: 340.6 kB / 0.6542 GB, free: 22.82 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/1.748, allocations: 7.021 MB / 0.661 GB, free: 16.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003928/1.752, allocations: 2.822 MB / 0.6638 GB, free: 14.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.007988/1.76, allocations: 1.746 MB / 0.6655 GB, free: 12.78 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003622/1.764, allocations: 1.491 MB / 0.667 GB, free: 11.29 MB / 458.7 MB Notification: Performance of SimCode: time 1.323e-06/1.764, allocations: 3.938 kB / 0.667 GB, free: 11.29 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6294/2.394, allocations: 62.85 MB / 0.7283 GB, free: 121.2 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002919/2.394, allocations: 165.2 kB / 0.7285 GB, free: 120.9 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.279/7.673, allocations: 0 / 0.7285 GB, free: 120.9 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance_res.mat does not exist to compare? outputFormat=mat