Running command: translateModel(ModelicaTest.MultiBody.Sensors.Distance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Sensors.Distance") Notification: Performance of loadModel(ModelicaTest): time 2.299/2.299, allocations: 270 MB / 282.7 MB, free: 1.785 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.902e-05/2.91e-05, allocations: 4 kB / 347 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3177, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1613/0.479, allocations: 106.2 MB / 0.503 GB, free: 428 kB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002161/0.4793, allocations: 79.95 kB / 0.5031 GB, free: 348 kB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5661/1.045, allocations: 72.02 MB / 0.5734 GB, free: 67.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.402e-06/1.045, allocations: 4 kB / 0.5734 GB, free: 67.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001343/1.046, allocations: 59.98 kB / 0.5735 GB, free: 67.59 MB / 442.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.008104/1.054, allocations: 3.161 MB / 0.5765 GB, free: 64.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/1.054, allocations: 12.03 kB / 0.5766 GB, free: 64.36 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02072/1.075, allocations: 4.227 MB / 0.5807 GB, free: 60.12 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01138/1.086, allocations: 4.01 MB / 0.5846 GB, free: 56.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001702/1.086, allocations: 250.1 kB / 0.5848 GB, free: 55.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007229/1.087, allocations: 319.8 kB / 0.5851 GB, free: 55.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01325/1.1, allocations: 7.916 MB / 0.5929 GB, free: 46.62 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/1.1, allocations: 59.47 kB / 0.5929 GB, free: 46.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005324/1.101, allocations: 155.9 kB / 0.5931 GB, free: 46.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001068/1.102, allocations: 0.7781 MB / 0.5938 GB, free: 45.62 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01232/1.114, allocations: 6.173 MB / 0.5999 GB, free: 39.44 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/1.151, allocations: 38.98 MB / 0.6379 GB, free: 15.12 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005935/1.157, allocations: 2.15 MB / 0.64 GB, free: 12.82 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.159, allocations: 1.025 MB / 0.641 GB, free: 11.78 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004929/1.159, allocations: 319.7 kB / 0.6413 GB, free: 11.41 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.43e-05/1.159, allocations: 46.92 kB / 0.6414 GB, free: 11.35 MB / 458.7 MB Notification: Performance of pre-optimization done (n=108): time 5.149e-06/1.159, allocations: 0 / 0.6414 GB, free: 11.35 MB / 458.7 MB Notification: Performance of matching and sorting (n=132): time 0.03231/1.192, allocations: 8.997 MB / 0.6502 GB, free: 2.227 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001329/1.192, allocations: 192.7 kB / 0.6504 GB, free: 1.996 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005964/1.198, allocations: 3.215 MB / 0.6535 GB, free: 14.79 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001754/1.198, allocations: 45.7 kB / 0.6535 GB, free: 14.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002321/1.2, allocations: 2.558 MB / 0.656 GB, free: 12.14 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006695/1.201, allocations: 0.5286 MB / 0.6566 GB, free: 11.61 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002975/1.201, allocations: 104 kB / 0.6567 GB, free: 11.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004922/1.202, allocations: 0.5337 MB / 0.6572 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003166/1.205, allocations: 1.545 MB / 0.6587 GB, free: 9.41 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006218/1.211, allocations: 4.855 MB / 0.6634 GB, free: 2.855 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005331/1.217, allocations: 2.753 MB / 0.6661 GB, free: 108 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.372e-05/1.217, allocations: 36 kB / 0.6661 GB, free: 72 kB / 474.7 MB Notification: Performance of matching and sorting (n=680) (initialization): time 0.01395/1.231, allocations: 5.928 MB / 0.6719 GB, free: 10.14 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001052/1.231, allocations: 56 kB / 0.672 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001565/1.231, allocations: 120 kB / 0.6721 GB, free: 9.969 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009873/1.232, allocations: 353.1 kB / 0.6724 GB, free: 9.621 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004862/1.237, allocations: 1.197 MB / 0.6736 GB, free: 8.422 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004259/1.241, allocations: 2.685 MB / 0.6762 GB, free: 5.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00483/1.246, allocations: 283.4 kB / 0.6765 GB, free: 5.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006717/1.247, allocations: 328 kB / 0.6768 GB, free: 5 MB / 490.7 MB 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.0009356/1.248, allocations: 0.5128 MB / 0.6773 GB, free: 4.477 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005763/1.248, allocations: 304 kB / 0.6776 GB, free: 4.176 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/1.252, allocations: 1.58 MB / 0.6792 GB, free: 2.586 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.109e-05/1.252, allocations: 12 kB / 0.6792 GB, free: 2.574 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.149e-05/1.252, allocations: 4 kB / 0.6792 GB, free: 2.57 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/1.252, allocations: 3.984 kB / 0.6792 GB, free: 2.566 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01154/1.264, allocations: 5.147 MB / 0.6842 GB, free: 13.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.269e-05/1.264, allocations: 4 kB / 0.6842 GB, free: 13.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.265, allocations: 195.7 kB / 0.6844 GB, free: 13.13 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006533/1.266, allocations: 156.7 kB / 0.6845 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001249/1.266, allocations: 27.98 kB / 0.6846 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003248/1.269, allocations: 2.144 MB / 0.6867 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.933e-06/1.269, allocations: 7.969 kB / 0.6867 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006576/1.276, allocations: 3.61 MB / 0.6902 GB, free: 7 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009855/1.277, allocations: 364.9 kB / 0.6905 GB, free: 6.621 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004282/1.277, allocations: 24 kB / 0.6906 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/1.279, allocations: 59.86 kB / 0.6906 GB, free: 6.539 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/1.279, allocations: 72.64 kB / 0.6907 GB, free: 6.469 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/1.279, allocations: 36.06 kB / 0.6907 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.004487/1.283, allocations: 2.238 MB / 0.6929 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of sort global known variables: time 9.27e-07/1.283, allocations: 0 / 0.6929 GB, free: 4.207 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00513/1.289, allocations: 0.7734 MB / 0.6937 GB, free: 3.434 MB / 0.4948 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.0004378/1.289, allocations: 159 kB / 0.6938 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007556/1.297, allocations: 3.615 MB / 0.6973 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.175e-06/1.297, allocations: 480 / 0.6973 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/1.299, allocations: 1 MB / 0.6983 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002096/1.301, allocations: 347.8 kB / 0.6987 GB, free: 14.32 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01339/1.314, allocations: 6.074 MB / 0.7046 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004205/1.318, allocations: 2.754 MB / 0.7073 GB, free: 5.402 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/1.32, allocations: 251.4 kB / 0.7075 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of SimCode: time 1.655e-06/1.32, allocations: 0 / 0.7075 GB, free: 5.156 MB / 0.5105 GB Notification: Performance of Templates: time 0.3771/1.697, allocations: 58.07 MB / 0.7642 GB, free: 124.8 MB / 0.5105 GB