Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance2,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|distance1.distance|distance2.distance",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.Distance2") Notification: Performance of loadModel(ModelicaTest): time 2.435/2.435, allocations: 235 MB / 247.2 MB, free: 14.55 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.444e-05, allocations: 4 kB / 304.9 MB, free: 5.383 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3414, allocations: 54.86 MB / 359.8 MB, free: 3.035 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1579/0.4993, allocations: 98.36 MB / 458.1 MB, free: 14.55 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4996, allocations: 68.56 kB / 458.2 MB, free: 14.49 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5723/1.072, allocations: 78.91 MB / 0.5245 GB, free: 103.7 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.814e-06/1.072, allocations: 2.094 kB / 0.5245 GB, free: 103.7 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002033/1.072, allocations: 70 kB / 0.5246 GB, free: 103.7 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: 1364 * Number of variables: 1364 Notification: Performance of Generate backend data structure: time 0.01112/1.083, allocations: 3.526 MB / 0.528 GB, free: 103.1 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/1.083, allocations: 8.312 kB / 0.5281 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02395/1.107, allocations: 4.325 MB / 0.5323 GB, free: 102.9 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01366/1.121, allocations: 4.359 MB / 0.5365 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000357/1.121, allocations: 283.2 kB / 0.5368 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001499/1.123, allocations: 369 kB / 0.5372 GB, free: 102.4 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01905/1.142, allocations: 8.994 MB / 0.5459 GB, free: 99.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001873/1.142, allocations: 60.97 kB / 0.546 GB, free: 99.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008601/1.143, allocations: 185.8 kB / 0.5462 GB, free: 99.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001469/1.145, allocations: 0.8959 MB / 0.547 GB, free: 99.79 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01618/1.161, allocations: 7.078 MB / 0.554 GB, free: 99.77 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04334/1.204, allocations: 42.66 MB / 0.5956 GB, free: 67.03 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005914/1.21, allocations: 2.483 MB / 0.598 GB, free: 65.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001651/1.212, allocations: 1.062 MB / 0.5991 GB, free: 65.36 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003402/1.212, allocations: 330.6 kB / 0.5994 GB, free: 65.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.847e-05/1.212, allocations: 49.12 kB / 0.5994 GB, free: 65.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=119): time 5.087e-06/1.212, allocations: 3.5 kB / 0.5994 GB, free: 65.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=133): time 0.02241/1.235, allocations: 7.466 MB / 0.6067 GB, free: 61.55 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.862e-05/1.235, allocations: 198 kB / 0.6069 GB, free: 61.32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005744/1.241, allocations: 3.459 MB / 0.6103 GB, free: 60.04 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001941/1.241, allocations: 42.84 kB / 0.6103 GB, free: 60 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001814/1.243, allocations: 2.962 MB / 0.6132 GB, free: 57.7 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005391/1.243, allocations: 0.5466 MB / 0.6138 GB, free: 57.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003222/1.244, allocations: 115.1 kB / 0.6139 GB, free: 57.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003369/1.244, allocations: 0.5508 MB / 0.6144 GB, free: 56.82 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002993/1.247, allocations: 1.595 MB / 0.616 GB, free: 56.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004751/1.252, allocations: 5.351 MB / 0.6212 GB, free: 50.51 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005185/1.257, allocations: 2.931 MB / 0.6241 GB, free: 49.4 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.07e-05/1.257, allocations: 40 kB / 0.6241 GB, free: 49.36 MB / 458.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.01348/1.27, allocations: 6.456 MB / 0.6304 GB, free: 43.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.948e-05/1.271, allocations: 67.34 kB / 0.6305 GB, free: 43.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001328/1.271, allocations: 136.2 kB / 0.6306 GB, free: 43.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008641/1.272, allocations: 361.2 kB / 0.6309 GB, free: 43.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005038/1.277, allocations: 1.327 MB / 0.6322 GB, free: 42 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003346/1.28, allocations: 2.747 MB / 0.6349 GB, free: 39.37 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005236/1.285, allocations: 304.6 kB / 0.6352 GB, free: 39.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00088/1.286, allocations: 359.8 kB / 0.6356 GB, free: 38.74 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 28 (LessEqualThreshold1.y,distance2.arrowColor[3],distance2.arrowColor[2],distance2.arrowColor[1],distance1.arrowColor[3],distance1.arrowColor[2],distance1.arrowColor[1],fixed.color[3],fixed.color[2],fixed.color[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (715): * Single equations (assignments): 711 * 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.0008428/1.287, allocations: 0.5595 MB / 0.6361 GB, free: 38.18 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006255/1.288, allocations: 323.8 kB / 0.6364 GB, free: 37.86 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003763/1.292, allocations: 1.558 MB / 0.6379 GB, free: 36.54 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.168e-05/1.292, allocations: 16.7 kB / 0.638 GB, free: 36.52 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.19e-05/1.292, allocations: 4 kB / 0.638 GB, free: 36.52 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/1.292, allocations: 8.484 kB / 0.638 GB, free: 36.52 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/1.303, allocations: 5.193 MB / 0.643 GB, free: 32.25 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.303, allocations: 8.031 kB / 0.643 GB, free: 32.24 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.304, allocations: 196.6 kB / 0.6432 GB, free: 32.08 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/1.304, allocations: 155.5 kB / 0.6434 GB, free: 31.97 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.305, allocations: 24 kB / 0.6434 GB, free: 31.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/1.307, allocations: 2.151 MB / 0.6455 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.732e-06/1.307, allocations: 4 kB / 0.6455 GB, free: 29.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005177/1.312, allocations: 3.526 MB / 0.6489 GB, free: 26.58 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/1.314, allocations: 0.5204 MB / 0.6495 GB, free: 26.07 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000447/1.314, allocations: 21.02 kB / 0.6495 GB, free: 26.05 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001429/1.316, allocations: 56.8 kB / 0.6495 GB, free: 26.02 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001912/1.316, allocations: 80.22 kB / 0.6496 GB, free: 25.96 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001184/1.316, allocations: 35.94 kB / 0.6496 GB, free: 25.93 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004277/1.32, allocations: 2.393 MB / 0.652 GB, free: 23.83 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.078e-06/1.32, allocations: 0 / 0.652 GB, free: 23.83 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005799/1.326, allocations: 0.8489 MB / 0.6528 GB, free: 22.99 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (Revolute1.phi,Revolute1.w) * Number of discrete variables: 1 (LessEqualThreshold1.y) * 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.0003653/1.326, allocations: 156.3 kB / 0.653 GB, free: 22.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00673/1.333, allocations: 3.721 MB / 0.6566 GB, free: 19.46 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.56e-06/1.333, allocations: 7.844 kB / 0.6566 GB, free: 19.45 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/1.335, allocations: 0.9515 MB / 0.6575 GB, free: 18.57 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/1.337, allocations: 351.7 kB / 0.6579 GB, free: 18.27 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01229/1.349, allocations: 6.193 MB / 0.6639 GB, free: 12.71 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003694/1.353, allocations: 3.031 MB / 0.6669 GB, free: 10.39 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005734/1.359, allocations: 1.809 MB / 0.6686 GB, free: 8.809 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008112/1.36, allocations: 223.4 kB / 0.6689 GB, free: 8.59 MB / 458.7 MB Notification: Performance of SimCode: time 1.88e-06/1.36, allocations: 1.219 kB / 0.6689 GB, free: 8.59 MB / 458.7 MB Notification: Performance of Templates: time 0.08237/1.442, allocations: 26.76 MB / 0.695 GB, free: 14.38 MB / 490.7 MB