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 1.864/1.864, allocations: 209.3 MB / 221.5 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.675e-05/2.692e-05, allocations: 0 / 273.1 MB, free: 3.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08662/0.08667, allocations: 48.7 MB / 321.8 MB, free: 2.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3554/0.4421, allocations: 92.1 MB / 413.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4424, allocations: 76.8 kB / 413.9 MB, free: 2.953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2835/0.7259, allocations: 72.91 MB / 486.9 MB, free: 1.309 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.522e-06/0.7259, allocations: 0 / 486.9 MB, free: 1.309 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001788/0.7261, allocations: 64 kB / 486.9 MB, free: 1.246 MB / 378.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.01092/0.7371, allocations: 3.259 MB / 490.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.7371, allocations: 15.97 kB / 490.2 MB, free: 13.91 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02373/0.7609, allocations: 4.242 MB / 494.4 MB, free: 9.656 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/0.7746, allocations: 4.208 MB / 498.7 MB, free: 5.395 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003425/0.775, allocations: 246.5 kB / 498.9 MB, free: 5.152 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001423/0.7765, allocations: 331.8 kB / 499.2 MB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01879/0.7953, allocations: 8.179 MB / 0.4955 GB, free: 11.69 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001762/0.7955, allocations: 47.56 kB / 0.4955 GB, free: 11.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007201/0.7962, allocations: 163.9 kB / 0.4957 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001491/0.7977, allocations: 0.8174 MB / 0.4965 GB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01624/0.814, allocations: 6.42 MB / 0.5028 GB, free: 4.234 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3743/1.188, allocations: 39.75 MB / 0.5416 GB, free: 72.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/1.194, allocations: 2.242 MB / 0.5438 GB, free: 71.47 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001867/1.196, allocations: 1.065 MB / 0.5448 GB, free: 71.44 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004092/1.197, allocations: 320.8 kB / 0.5451 GB, free: 71.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/1.197, allocations: 48.53 kB / 0.5452 GB, free: 71.12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=117): time 5.065e-06/1.197, allocations: 1.031 kB / 0.5452 GB, free: 71.12 MB / 426.7 MB Notification: Performance of matching and sorting (n=141): time 0.03549/1.232, allocations: 9.384 MB / 0.5543 GB, free: 68.71 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/1.232, allocations: 203.4 kB / 0.5545 GB, free: 68.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006328/1.239, allocations: 3.253 MB / 0.5577 GB, free: 68.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002429/1.239, allocations: 43.67 kB / 0.5578 GB, free: 68.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00187/1.241, allocations: 2.689 MB / 0.5604 GB, free: 66.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005804/1.241, allocations: 0.5679 MB / 0.5609 GB, free: 66.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/1.242, allocations: 102.4 kB / 0.561 GB, free: 66.57 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003193/1.242, allocations: 0.5366 MB / 0.5616 GB, free: 66.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003035/1.245, allocations: 1.593 MB / 0.5631 GB, free: 66.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004861/1.25, allocations: 4.969 MB / 0.568 GB, free: 61.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005052/1.255, allocations: 2.824 MB / 0.5707 GB, free: 61.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.516e-05/1.255, allocations: 36.94 kB / 0.5708 GB, free: 61.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.01454/1.27, allocations: 6.204 MB / 0.5768 GB, free: 61.39 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.334e-05/1.27, allocations: 55.56 kB / 0.5769 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001267/1.27, allocations: 127.8 kB / 0.577 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009089/1.271, allocations: 345.5 kB / 0.5773 GB, free: 61.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005374/1.276, allocations: 1.241 MB / 0.5785 GB, free: 61.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/1.28, allocations: 2.701 MB / 0.5812 GB, free: 59.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005254/1.285, allocations: 289.8 kB / 0.5814 GB, free: 59.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000835/1.286, allocations: 336.6 kB / 0.5818 GB, free: 59.36 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 554 * 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 (664): * Single equations (assignments): 660 * 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.0008578/1.287, allocations: 0.5148 MB / 0.5823 GB, free: 58.93 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006628/1.288, allocations: 311.3 kB / 0.5826 GB, free: 58.76 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003438/1.291, allocations: 1.702 MB / 0.5842 GB, free: 58.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.662e-05/1.291, allocations: 14.31 kB / 0.5842 GB, free: 58.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.04e-05/1.291, allocations: 2.438 kB / 0.5842 GB, free: 58.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/1.291, allocations: 9.797 kB / 0.5843 GB, free: 58.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.303, allocations: 5.371 MB / 0.5895 GB, free: 55.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.426e-05/1.303, allocations: 0 / 0.5895 GB, free: 55.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/1.305, allocations: 225.7 kB / 0.5897 GB, free: 55.94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000661/1.306, allocations: 156.5 kB / 0.5899 GB, free: 55.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002254/1.306, allocations: 27.22 kB / 0.5899 GB, free: 55.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/1.309, allocations: 2.145 MB / 0.592 GB, free: 54.25 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/1.309, allocations: 7.906 kB / 0.592 GB, free: 54.25 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006313/1.315, allocations: 3.765 MB / 0.5957 GB, free: 52.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00159/1.317, allocations: 0.5287 MB / 0.5962 GB, free: 52.13 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005499/1.317, allocations: 23.98 kB / 0.5962 GB, free: 52.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001797/1.319, allocations: 69.62 kB / 0.5963 GB, free: 52.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002273/1.319, allocations: 73.72 kB / 0.5963 GB, free: 52.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001395/1.319, allocations: 41.78 kB / 0.5964 GB, free: 52.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.004537/1.324, allocations: 2.268 MB / 0.5986 GB, free: 51.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.837e-06/1.324, allocations: 4.062 kB / 0.5986 GB, free: 51.28 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005872/1.33, allocations: 0.7977 MB / 0.5994 GB, free: 51.18 MB / 426.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.0004729/1.33, allocations: 151.9 kB / 0.5995 GB, free: 51.06 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007198/1.338, allocations: 3.742 MB / 0.6032 GB, free: 49.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.419e-06/1.338, allocations: 1.688 kB / 0.6032 GB, free: 49.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001786/1.339, allocations: 1.05 MB / 0.6042 GB, free: 49.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00235/1.342, allocations: 346.7 kB / 0.6045 GB, free: 49.14 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/1.355, allocations: 5.891 MB / 0.6103 GB, free: 45.66 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004766/1.36, allocations: 2.822 MB / 0.613 GB, free: 43.48 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.006037/1.366, allocations: 1.742 MB / 0.6147 GB, free: 42.38 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001003/1.367, allocations: 222.4 kB / 0.615 GB, free: 42.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/1.367, allocations: 0 / 0.615 GB, free: 42.18 MB / 426.7 MB Notification: Performance of Templates: time 0.07165/1.439, allocations: 26.36 MB / 0.6407 GB, free: 23.13 MB / 426.7 MB