Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadModel(ModelicaTest): time 2.232/2.232, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.001e-05, allocations: 1.969 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1119, allocations: 61.88 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4857/0.5977, allocations: 106.2 MB / 0.5044 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002265/0.5979, allocations: 83.94 kB / 0.5045 GB, free: 13.79 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3075/0.9054, allocations: 72.02 MB / 0.5748 GB, free: 5.305 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.8e-06/0.9055, allocations: 4 kB / 0.5748 GB, free: 5.301 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000164/0.9057, allocations: 56 kB / 0.5748 GB, free: 5.246 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1170 * Number of variables: 1170 Notification: Performance of Generate backend data structure: time 0.009215/0.9149, allocations: 3.168 MB / 0.5779 GB, free: 2.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.9149, allocations: 12.03 kB / 0.578 GB, free: 2.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02255/0.9375, allocations: 4.235 MB / 0.5821 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01317/0.9507, allocations: 4.009 MB / 0.586 GB, free: 9.684 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003087/0.9511, allocations: 238.2 kB / 0.5862 GB, free: 9.449 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001218/0.9523, allocations: 315.8 kB / 0.5865 GB, free: 9.141 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01781/0.9701, allocations: 7.915 MB / 0.5943 GB, free: 280 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/0.9704, allocations: 63.41 kB / 0.5943 GB, free: 216 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000688/0.9711, allocations: 159.9 kB / 0.5945 GB, free: 56 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001405/0.9725, allocations: 0.7781 MB / 0.5952 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01519/0.9877, allocations: 6.173 MB / 0.6013 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.349/1.337, allocations: 38.98 MB / 0.6393 GB, free: 100.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005771/1.343, allocations: 2.151 MB / 0.6414 GB, free: 99.63 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0018/1.344, allocations: 1.014 MB / 0.6424 GB, free: 99.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004045/1.345, allocations: 317 kB / 0.6427 GB, free: 99.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/1.345, allocations: 48.48 kB / 0.6428 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=108): time 5.521e-06/1.345, allocations: 3.969 kB / 0.6428 GB, free: 99.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=132): time 0.03285/1.378, allocations: 8.994 MB / 0.6516 GB, free: 96.93 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.434e-05/1.378, allocations: 192.7 kB / 0.6517 GB, free: 96.71 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006684/1.385, allocations: 3.214 MB / 0.6549 GB, free: 96.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000241/1.385, allocations: 46.27 kB / 0.6549 GB, free: 96.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002092/1.387, allocations: 2.616 MB / 0.6575 GB, free: 95.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006523/1.388, allocations: 0.5335 MB / 0.658 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004229/1.388, allocations: 102 kB / 0.6581 GB, free: 94.85 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003444/1.388, allocations: 0.5264 MB / 0.6586 GB, free: 94.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003336/1.392, allocations: 1.539 MB / 0.6601 GB, free: 94.52 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004956/1.397, allocations: 4.863 MB / 0.6649 GB, free: 90.16 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004794/1.402, allocations: 2.758 MB / 0.6676 GB, free: 89.9 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.779e-05/1.402, allocations: 36.66 kB / 0.6676 GB, free: 89.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=680) (initialization): time 0.01444/1.416, allocations: 6.027 MB / 0.6735 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.607e-05/1.416, allocations: 53.69 kB / 0.6735 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/1.417, allocations: 120 kB / 0.6736 GB, free: 88.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009269/1.418, allocations: 344 kB / 0.674 GB, free: 88.06 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005125/1.423, allocations: 1.206 MB / 0.6751 GB, free: 87.91 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003538/1.426, allocations: 2.683 MB / 0.6778 GB, free: 86.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00523/1.432, allocations: 288.1 kB / 0.678 GB, free: 85.93 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009319/1.432, allocations: 329.5 kB / 0.6784 GB, free: 85.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * Number of states: 0 () * Number of discrete variables: 29 (BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Distance1.arrow.arrowLine.twoHeadedArrow,Distance1.arrow.headAtOrigin,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 (645): * Single equations (assignments): 641 * 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.001013/1.434, allocations: 0.5053 MB / 0.6789 GB, free: 85.46 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000744/1.434, allocations: 310.9 kB / 0.6791 GB, free: 85.29 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003301/1.438, allocations: 1.577 MB / 0.6807 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.686e-05/1.438, allocations: 15.75 kB / 0.6807 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.438, allocations: 3.469 kB / 0.6807 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.855e-05/1.438, allocations: 13.59 kB / 0.6807 GB, free: 84.66 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01135/1.449, allocations: 5.126 MB / 0.6857 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.259e-05/1.449, allocations: 3.344 kB / 0.6857 GB, free: 82.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001297/1.45, allocations: 202.4 kB / 0.6859 GB, free: 82.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006561/1.451, allocations: 154.4 kB / 0.6861 GB, free: 82.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/1.451, allocations: 21.91 kB / 0.6861 GB, free: 82.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002604/1.454, allocations: 2.15 MB / 0.6882 GB, free: 80.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.425e-06/1.454, allocations: 3.953 kB / 0.6882 GB, free: 80.89 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005787/1.46, allocations: 3.603 MB / 0.6917 GB, free: 79.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001013/1.461, allocations: 371 kB / 0.6921 GB, free: 78.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005217/1.461, allocations: 20.2 kB / 0.6921 GB, free: 78.87 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001528/1.463, allocations: 57.72 kB / 0.6921 GB, free: 78.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/1.463, allocations: 76.19 kB / 0.6922 GB, free: 78.84 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001297/1.463, allocations: 41.22 kB / 0.6923 GB, free: 78.83 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004309/1.468, allocations: 2.232 MB / 0.6944 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.267e-06/1.468, allocations: 64 / 0.6944 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005499/1.473, allocations: 0.7758 MB / 0.6952 GB, free: 77.95 MB / 0.5105 GB 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 (102): * Single equations (assignments): 98 * 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.0004302/1.474, allocations: 161.4 kB / 0.6953 GB, free: 77.84 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006831/1.48, allocations: 3.615 MB / 0.6989 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.621e-06/1.48, allocations: 0 / 0.6989 GB, free: 76.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.482, allocations: 0.9979 MB / 0.6998 GB, free: 76.14 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002419/1.485, allocations: 347.3 kB / 0.7002 GB, free: 75.98 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01282/1.498, allocations: 5.708 MB / 0.7058 GB, free: 73.86 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003937/1.502, allocations: 2.749 MB / 0.7084 GB, free: 72.71 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005655/1.507, allocations: 1.689 MB / 0.7101 GB, free: 72.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009248/1.508, allocations: 205.9 kB / 0.7103 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of SimCode: time 2.712e-06/1.508, allocations: 0 / 0.7103 GB, free: 72.56 MB / 0.5105 GB Notification: Performance of Templates: time 0.09378/1.602, allocations: 25.74 MB / 0.7354 GB, free: 56.04 MB / 0.5105 GB