Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Distance1.distance",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadModel(ModelicaTest): time 2.304/2.304, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.386e-05, allocations: 4 kB / 323.4 MB, free: 4.32 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.318, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.4772, allocations: 105.1 MB / 487.3 MB, free: 3.426 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.4775, allocations: 79.95 kB / 487.3 MB, free: 3.348 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.5931/1.071, allocations: 73.22 MB / 0.5474 GB, free: 111.2 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.51e-06/1.071, allocations: 3.188 kB / 0.5474 GB, free: 111.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001682/1.071, allocations: 61.86 kB / 0.5475 GB, free: 111.2 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.008657/1.079, allocations: 3.267 MB / 0.5507 GB, free: 109.6 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.188e-05/1.08, allocations: 10.41 kB / 0.5507 GB, free: 109.6 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02343/1.103, allocations: 4.246 MB / 0.5548 GB, free: 109.4 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01323/1.116, allocations: 4.22 MB / 0.559 GB, free: 108.8 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002751/1.117, allocations: 245.2 kB / 0.5592 GB, free: 108.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001316/1.118, allocations: 336.3 kB / 0.5595 GB, free: 108.8 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01691/1.135, allocations: 8.197 MB / 0.5675 GB, free: 105 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001831/1.135, allocations: 50.91 kB / 0.5676 GB, free: 105 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001008/1.136, allocations: 162.1 kB / 0.5677 GB, free: 104.9 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001396/1.138, allocations: 0.8259 MB / 0.5685 GB, free: 104.3 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/1.151, allocations: 6.432 MB / 0.5748 GB, free: 97.83 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04426/1.195, allocations: 39.86 MB / 0.6137 GB, free: 56.84 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005461/1.201, allocations: 2.24 MB / 0.6159 GB, free: 54.45 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/1.203, allocations: 1.063 MB / 0.617 GB, free: 53.38 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003809/1.203, allocations: 315.5 kB / 0.6173 GB, free: 53.02 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.125e-05/1.203, allocations: 55.06 kB / 0.6173 GB, free: 52.95 MB / 458.8 MB Notification: Performance of pre-optimization done (n=117): time 5.644e-06/1.203, allocations: 0 / 0.6173 GB, free: 52.95 MB / 458.8 MB Notification: Performance of matching and sorting (n=141): time 0.03137/1.234, allocations: 9.411 MB / 0.6265 GB, free: 43.43 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.988e-05/1.234, allocations: 192.9 kB / 0.6267 GB, free: 43.2 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006225/1.241, allocations: 3.281 MB / 0.6299 GB, free: 39.92 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002412/1.241, allocations: 49.64 kB / 0.6299 GB, free: 39.87 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00198/1.243, allocations: 2.705 MB / 0.6326 GB, free: 37.16 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006324/1.244, allocations: 0.559 MB / 0.6331 GB, free: 36.61 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/1.244, allocations: 108 kB / 0.6332 GB, free: 36.5 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003234/1.244, allocations: 0.541 MB / 0.6338 GB, free: 35.96 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003086/1.248, allocations: 1.596 MB / 0.6353 GB, free: 34.36 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005/1.253, allocations: 4.997 MB / 0.6402 GB, free: 27.62 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004855/1.257, allocations: 2.835 MB / 0.643 GB, free: 24.79 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.816e-05/1.258, allocations: 36 kB / 0.643 GB, free: 24.75 MB / 458.8 MB Notification: Performance of matching and sorting (n=702) (initialization): time 0.01363/1.271, allocations: 6.213 MB / 0.6491 GB, free: 18.53 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.208e-05/1.271, allocations: 57.72 kB / 0.6491 GB, free: 18.48 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001158/1.271, allocations: 124 kB / 0.6492 GB, free: 18.36 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000894/1.272, allocations: 353.3 kB / 0.6496 GB, free: 18.01 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005023/1.277, allocations: 1.244 MB / 0.6508 GB, free: 16.76 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/1.281, allocations: 2.712 MB / 0.6534 GB, free: 13.93 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.286, allocations: 287.4 kB / 0.6537 GB, free: 13.64 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009264/1.287, allocations: 336 kB / 0.654 GB, free: 13.32 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.0009647/1.288, allocations: 0.5205 MB / 0.6545 GB, free: 12.79 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006656/1.289, allocations: 315.9 kB / 0.6548 GB, free: 12.48 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/1.292, allocations: 1.695 MB / 0.6565 GB, free: 10.77 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.826e-05/1.292, allocations: 16 kB / 0.6565 GB, free: 10.76 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/1.292, allocations: 4 kB / 0.6565 GB, free: 10.75 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.799e-05/1.293, allocations: 3.984 kB / 0.6565 GB, free: 10.75 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01145/1.304, allocations: 5.389 MB / 0.6618 GB, free: 5.309 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.477e-05/1.304, allocations: 4 kB / 0.6618 GB, free: 5.305 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001433/1.305, allocations: 211.7 kB / 0.662 GB, free: 5.098 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006193/1.306, allocations: 160.7 kB / 0.6621 GB, free: 4.938 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001491/1.306, allocations: 23.98 kB / 0.6622 GB, free: 4.914 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002499/1.309, allocations: 2.151 MB / 0.6643 GB, free: 2.633 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.438e-06/1.309, allocations: 4.062 kB / 0.6643 GB, free: 2.629 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006359/1.315, allocations: 3.767 MB / 0.668 GB, free: 14.81 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.317, allocations: 0.5321 MB / 0.6685 GB, free: 14.25 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006012/1.318, allocations: 24 kB / 0.6685 GB, free: 14.23 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001717/1.319, allocations: 63.98 kB / 0.6686 GB, free: 14.17 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002382/1.32, allocations: 80.56 kB / 0.6686 GB, free: 14.09 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.32, allocations: 43.92 kB / 0.6687 GB, free: 14.04 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.005762/1.326, allocations: 2.287 MB / 0.6709 GB, free: 11.77 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.23e-06/1.326, allocations: 0 / 0.6709 GB, free: 11.77 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.005917/1.332, allocations: 0.808 MB / 0.6717 GB, free: 10.96 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.0004552/1.332, allocations: 155 kB / 0.6718 GB, free: 10.8 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.008288/1.34, allocations: 3.756 MB / 0.6755 GB, free: 7.066 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.306e-06/1.34, allocations: 0 / 0.6755 GB, free: 7.066 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.002084/1.342, allocations: 1.046 MB / 0.6765 GB, free: 6.016 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.345, allocations: 337.2 kB / 0.6769 GB, free: 5.688 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01412/1.359, allocations: 5.924 MB / 0.6826 GB, free: 15.73 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004466/1.363, allocations: 2.831 MB / 0.6854 GB, free: 12.89 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.005992/1.369, allocations: 1.73 MB / 0.6871 GB, free: 11.16 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000929/1.37, allocations: 219.4 kB / 0.6873 GB, free: 10.94 MB / 490.8 MB Notification: Performance of SimCode: time 1.777e-06/1.37, allocations: 4 kB / 0.6873 GB, free: 10.94 MB / 490.8 MB Notification: Performance of Templates: time 0.08329/1.454, allocations: 26.49 MB / 0.7132 GB, free: 0.7109 MB / 0.4949 GB