Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 223.8 MB, free: 456 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.922e-05/3.91e-05, allocations: 0 / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3622, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance): time 0.04306/0.4054, allocations: 26.74 MB / 351.6 MB, free: 1.094 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.02436/0.4298, allocations: 6.689 MB / 358.3 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007519/0.4374, allocations: 135 kB / 358.4 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005685/0.4431, allocations: 1.364 MB / 359.8 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01707/0.4602, allocations: 3.961 MB / 363.8 MB, free: 8.527 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003116/0.4634, allocations: 479.1 kB / 364.2 MB, free: 8.059 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.02733/0.4908, allocations: 8.641 MB / 372.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005036/0.4959, allocations: 2.326 MB / 375.2 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00158/0.4975, allocations: 0.6546 MB / 375.8 MB, free: 12.4 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.5, allocations: 1.068 MB / 376.9 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003096/0.5031, allocations: 0.9129 MB / 377.8 MB, free: 10.42 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001253/0.5044, allocations: 120 kB / 377.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002346/0.5068, allocations: 1.219 MB / 379.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.5081, allocations: 204 kB / 379.4 MB, free: 8.879 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008055/0.5162, allocations: 4.556 MB / 383.9 MB, free: 4.309 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.5163, allocations: 4 kB / 383.9 MB, free: 4.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.5163, allocations: 3.938 kB / 383.9 MB, free: 4.301 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002024/0.5165, allocations: 0 / 383.9 MB, free: 4.301 MB / 314.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.01114/0.5276, allocations: 3.204 MB / 387.1 MB, free: 1.031 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.5277, allocations: 8.031 kB / 387.1 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1822/0.7099, allocations: 10.38 MB / 397.5 MB, free: 6.621 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009035/0.719, allocations: 2.439 MB / 400 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003235/0.7194, allocations: 180.2 kB / 400.1 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001647/0.7211, allocations: 223.8 kB / 400.3 MB, free: 3.734 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.7426, allocations: 7.862 MB / 408.2 MB, free: 11.25 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001615/0.7428, allocations: 43.55 kB / 408.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006022/0.7434, allocations: 111.9 kB / 408.4 MB, free: 11.09 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004519/0.7479, allocations: 1.609 MB / 410 MB, free: 9.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02132/0.7693, allocations: 6.641 MB / 416.6 MB, free: 2.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05991/0.8293, allocations: 31.21 MB / 447.8 MB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008815/0.8381, allocations: 2.292 MB / 450.1 MB, free: 240 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007641/0.839, allocations: 327.8 kB / 450.4 MB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.859e-05/0.8391, allocations: 51.06 kB / 450.5 MB, free: 15.8 MB / 394.7 MB Notification: Performance of pre-optimization done (n=117): time 6.212e-06/0.8391, allocations: 0 / 450.5 MB, free: 15.8 MB / 394.7 MB Notification: Performance of matching and sorting (n=141): time 0.06367/0.9028, allocations: 11.66 MB / 462.1 MB, free: 3.961 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001405/0.903, allocations: 200.5 kB / 462.3 MB, free: 3.723 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00837/0.9113, allocations: 3.433 MB / 465.8 MB, free: 304 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003631/0.9117, allocations: 45.89 kB / 465.8 MB, free: 252 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003897/0.9157, allocations: 2.674 MB / 468.5 MB, free: 13.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001281/0.917, allocations: 0.5594 MB / 469.1 MB, free: 12.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008893/0.918, allocations: 104 kB / 469.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007325/0.9187, allocations: 0.5293 MB / 469.7 MB, free: 12.33 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00556/0.9243, allocations: 1.67 MB / 471.4 MB, free: 10.65 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008282/0.9327, allocations: 5.072 MB / 476.4 MB, free: 3.855 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007515/0.9402, allocations: 2.871 MB / 479.3 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001002/0.9404, allocations: 39.94 kB / 479.3 MB, free: 0.9414 MB / 410.7 MB Notification: Performance of matching and sorting (n=697) (initialization): time 0.3113/1.252, allocations: 6.729 MB / 486.1 MB, free: 123.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001192/1.252, allocations: 57.62 kB / 486.1 MB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002508/1.252, allocations: 121.2 kB / 486.2 MB, free: 123.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001842/1.254, allocations: 422 kB / 486.6 MB, free: 123.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008532/1.263, allocations: 1.227 MB / 487.9 MB, free: 123 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006297/1.269, allocations: 3.134 MB / 491 MB, free: 121 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005611/1.275, allocations: 291.5 kB / 491.3 MB, free: 120.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001092/1.276, allocations: 336.7 kB / 491.6 MB, free: 120.8 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 552 * 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 (662): * Single equations (assignments): 658 * 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.004576/1.28, allocations: 1.742 MB / 493.4 MB, free: 120 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/1.281, allocations: 309.3 kB / 493.7 MB, free: 120 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/1.287, allocations: 1.849 MB / 495.5 MB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.762e-05/1.287, allocations: 19.34 kB / 495.5 MB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/1.287, allocations: 3.312 kB / 495.5 MB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.952e-05/1.287, allocations: 7.562 kB / 495.5 MB, free: 119.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.304, allocations: 5.618 MB / 0.4894 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.006e-05/1.304, allocations: 0 / 0.4894 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002139/1.306, allocations: 216.2 kB / 0.4896 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001145/1.307, allocations: 232 kB / 0.4898 GB, free: 117.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000269/1.308, allocations: 30.25 kB / 0.4899 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004359/1.312, allocations: 2.562 MB / 0.4924 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/1.312, allocations: 7.875 kB / 0.4924 GB, free: 115.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01011/1.322, allocations: 3.993 MB / 0.4963 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002177/1.325, allocations: 0.5445 MB / 0.4968 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009749/1.326, allocations: 19.88 kB / 0.4968 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002202/1.328, allocations: 83.7 kB / 0.4969 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000242/1.328, allocations: 78.56 kB / 0.497 GB, free: 113.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.328, allocations: 43.38 kB / 0.497 GB, free: 113.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.005033/1.333, allocations: 2.41 MB / 0.4994 GB, free: 112.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.11e-07/1.333, allocations: 3.938 kB / 0.4994 GB, free: 112.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005501/1.339, allocations: 0.8242 MB / 0.5002 GB, free: 112.2 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 (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.0006052/1.339, allocations: 162 kB / 0.5003 GB, free: 112 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009537/1.349, allocations: 4.061 MB / 0.5043 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.887e-06/1.349, allocations: 4 kB / 0.5043 GB, free: 108.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002865/1.352, allocations: 1.136 MB / 0.5054 GB, free: 107.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/1.355, allocations: 332.3 kB / 0.5057 GB, free: 107.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01883/1.374, allocations: 8.586 MB / 0.5141 GB, free: 98.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005002/1.379, allocations: 2.824 MB / 0.5169 GB, free: 95.74 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008435/1.387, allocations: 1.741 MB / 0.5186 GB, free: 94 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.389, allocations: 219.4 kB / 0.5188 GB, free: 93.78 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/1.389, allocations: 0 / 0.5188 GB, free: 93.78 MB / 410.7 MB Notification: Performance of Templates: time 0.08137/1.47, allocations: 28.02 MB / 0.5462 GB, free: 65.89 MB / 410.7 MB