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.396/2.396, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.283e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3854/0.3855, allocations: 54.85 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Sensors.Distance2): time 0.05456/0.4401, allocations: 32.74 MB / 395.6 MB, free: 12.95 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02409/0.4643, allocations: 7.821 MB / 403.4 MB, free: 5.098 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007947/0.4723, allocations: 163.6 kB / 403.6 MB, free: 4.938 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006408/0.4788, allocations: 1.699 MB / 405.3 MB, free: 3.23 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01997/0.4988, allocations: 4.795 MB / 410.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003202/0.502, allocations: 483.1 kB / 410.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0266/0.5287, allocations: 8.719 MB / 419.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005409/0.5342, allocations: 2.668 MB / 421.9 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.5357, allocations: 0.7013 MB / 422.6 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002363/0.5381, allocations: 1.165 MB / 423.8 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002857/0.541, allocations: 0.9245 MB / 424.7 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00123/0.5423, allocations: 132 kB / 424.9 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002663/0.545, allocations: 1.344 MB / 426.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.5463, allocations: 224 kB / 426.4 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008714/0.5551, allocations: 5.05 MB / 431.5 MB, free: 8.965 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.5551, allocations: 7.938 kB / 431.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.848e-06/0.5552, allocations: 0 / 431.5 MB, free: 8.957 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002661/0.5554, allocations: 0 / 431.5 MB, free: 8.957 MB / 362.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.01227/0.5677, allocations: 3.48 MB / 435 MB, free: 5.414 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.925e-05/0.5678, allocations: 8.031 kB / 435 MB, free: 5.406 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.179/0.7468, allocations: 10.46 MB / 445.4 MB, free: 10.93 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009279/0.7561, allocations: 2.576 MB / 448 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002939/0.7565, allocations: 192.9 kB / 448.2 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001401/0.7579, allocations: 259.8 kB / 448.4 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02406/0.782, allocations: 8.728 MB / 457.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001848/0.7823, allocations: 35.69 kB / 457.2 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00148/0.7837, allocations: 131.8 kB / 457.3 MB, free: 14.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005382/0.7892, allocations: 1.774 MB / 459.1 MB, free: 12.52 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/0.8123, allocations: 7.355 MB / 466.5 MB, free: 5.164 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06557/0.8779, allocations: 33.96 MB / 0.4887 GB, free: 2.172 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.324/1.202, allocations: 2.531 MB / 0.4912 GB, free: 123 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006913/1.203, allocations: 323.3 kB / 0.4915 GB, free: 122.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.202e-05/1.203, allocations: 45.89 kB / 0.4915 GB, free: 122.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=119): time 5.801e-06/1.203, allocations: 0 / 0.4915 GB, free: 122.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.0413/1.244, allocations: 9.188 MB / 0.5005 GB, free: 119.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/1.244, allocations: 194.5 kB / 0.5007 GB, free: 118.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008265/1.253, allocations: 3.628 MB / 0.5042 GB, free: 117.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002738/1.253, allocations: 42.95 kB / 0.5043 GB, free: 117.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002408/1.255, allocations: 2.957 MB / 0.5072 GB, free: 115.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008162/1.256, allocations: 0.5438 MB / 0.5077 GB, free: 114.9 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005184/1.257, allocations: 114.5 kB / 0.5078 GB, free: 114.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003498/1.257, allocations: 0.5469 MB / 0.5083 GB, free: 114.4 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004219/1.261, allocations: 1.671 MB / 0.51 GB, free: 113.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006343/1.268, allocations: 5.45 MB / 0.5153 GB, free: 107.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007666/1.275, allocations: 2.97 MB / 0.5182 GB, free: 104.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001466/1.276, allocations: 40 kB / 0.5182 GB, free: 104.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=748) (initialization): time 0.02129/1.297, allocations: 7.032 MB / 0.5251 GB, free: 97.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.73e-05/1.297, allocations: 64 kB / 0.5251 GB, free: 97.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001573/1.297, allocations: 135.9 kB / 0.5253 GB, free: 97.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/1.299, allocations: 436.1 kB / 0.5257 GB, free: 96.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007238/1.306, allocations: 1.318 MB / 0.527 GB, free: 95.44 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/1.311, allocations: 3.161 MB / 0.5301 GB, free: 92.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005615/1.317, allocations: 310.6 kB / 0.5304 GB, free: 91.85 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001024/1.318, allocations: 367.9 kB / 0.5307 GB, free: 91.49 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * 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 (713): * Single equations (assignments): 709 * 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.004405/1.322, allocations: 1.897 MB / 0.5326 GB, free: 89.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008632/1.323, allocations: 335.7 kB / 0.5329 GB, free: 89.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004509/1.327, allocations: 1.687 MB / 0.5345 GB, free: 87.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.852e-05/1.328, allocations: 16.7 kB / 0.5345 GB, free: 87.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1.328, allocations: 4 kB / 0.5346 GB, free: 87.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/1.328, allocations: 7.938 kB / 0.5346 GB, free: 87.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0133/1.341, allocations: 5.432 MB / 0.5399 GB, free: 82.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/1.341, allocations: 4 kB / 0.5399 GB, free: 82.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001607/1.343, allocations: 191.7 kB / 0.5401 GB, free: 81.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009924/1.344, allocations: 228.8 kB / 0.5403 GB, free: 81.62 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001435/1.344, allocations: 23.95 kB / 0.5403 GB, free: 81.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003736/1.347, allocations: 2.57 MB / 0.5428 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.348, allocations: 0 / 0.5428 GB, free: 78.9 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007326/1.355, allocations: 3.737 MB / 0.5465 GB, free: 75.09 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/1.357, allocations: 0.5318 MB / 0.547 GB, free: 74.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006492/1.357, allocations: 20 kB / 0.547 GB, free: 74.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001996/1.359, allocations: 63.92 kB / 0.5471 GB, free: 74.45 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000241/1.359, allocations: 68.41 kB / 0.5471 GB, free: 74.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/1.36, allocations: 36.62 kB / 0.5472 GB, free: 74.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005125/1.365, allocations: 2.55 MB / 0.5496 GB, free: 71.82 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/1.365, allocations: 0 / 0.5496 GB, free: 71.82 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006318/1.371, allocations: 0.8698 MB / 0.5505 GB, free: 70.96 MB / 426.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.0009651/1.372, allocations: 162.3 kB / 0.5506 GB, free: 70.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0123/1.384, allocations: 4.061 MB / 0.5546 GB, free: 66.76 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.939e-06/1.385, allocations: 0 / 0.5546 GB, free: 66.76 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.388, allocations: 0.9972 MB / 0.5556 GB, free: 65.75 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.391, allocations: 358.9 kB / 0.5559 GB, free: 65.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02453/1.416, allocations: 9.122 MB / 0.5648 GB, free: 56.23 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007181/1.423, allocations: 3.014 MB / 0.5678 GB, free: 53.18 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.008523/1.432, allocations: 1.814 MB / 0.5696 GB, free: 51.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001282/1.433, allocations: 227.4 kB / 0.5698 GB, free: 51.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.683e-06/1.433, allocations: 4 kB / 0.5698 GB, free: 51.13 MB / 426.7 MB Notification: Performance of Templates: time 0.08473/1.518, allocations: 28.42 MB / 0.5975 GB, free: 22.84 MB / 426.7 MB