Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body1.frame_a.r_0.1.|body1.frame_a.r_0.2.|body1.frame_a.r_0.3.|body1.v_0.1.|body1.v_0.2.|body1.v_0.3.|body1.w_a.1.|body1.w_a.2.|body1.w_a.3.|body2.frame_a.r_0.1.|body2.frame_a.r_0.2.|body2.frame_a.r_0.3.|body2.v_0.1.|body2.v_0.2.|body2.v_0.3.|body2.w_a.1.|body2.w_a.2.|body2.w_a.3.|body3.frame_a.r_0.1.|body3.frame_a.r_0.2.|body3.frame_a.r_0.3.|body3.v_0.1.|body3.v_0.2.|body3.v_0.3.|body3.w_a.1.|body3.w_a.2.|body3.w_a.3.|springDamperSeries.s_damper",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 2.122/2.122, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.38e-05, allocations: 4 kB / 269.4 MB, free: 6.395 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08443/0.08449, allocations: 47.57 MB / 316.9 MB, free: 6.738 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3629/0.4474, allocations: 100.3 MB / 417.2 MB, free: 4.102 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4477, allocations: 84.89 kB / 417.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7487/1.196, allocations: 119.3 MB / 0.524 GB, free: 88.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.603e-06/1.197, allocations: 3.844 kB / 0.524 GB, free: 88.92 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003437/1.197, allocations: 114.4 kB / 0.5241 GB, free: 88.91 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.03308/1.23, allocations: 6.749 MB / 0.5307 GB, free: 86.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/1.23, allocations: 10.98 kB / 0.5307 GB, free: 86.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02253/1.253, allocations: 3.475 MB / 0.5341 GB, free: 86.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02324/1.276, allocations: 7.727 MB / 0.5417 GB, free: 85.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000576/1.276, allocations: 466 kB / 0.5421 GB, free: 85.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002742/1.279, allocations: 0.6025 MB / 0.5427 GB, free: 85.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0476/1.327, allocations: 17.42 MB / 0.5597 GB, free: 82.09 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000323/1.327, allocations: 75.59 kB / 0.5598 GB, free: 82.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002273/1.33, allocations: 294.8 kB / 0.5601 GB, free: 82.08 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003519/1.333, allocations: 1.635 MB / 0.5617 GB, free: 82.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04138/1.374, allocations: 14.74 MB / 0.5761 GB, free: 81.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08466/1.459, allocations: 67.58 MB / 0.642 GB, free: 23.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02161/1.481, allocations: 6.94 MB / 0.6488 GB, free: 16.97 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005462/1.486, allocations: 3.137 MB / 0.6519 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2715/1.758, allocations: 14.55 MB / 0.6661 GB, free: 82.31 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.189e-05/1.758, allocations: 63.44 kB / 0.6662 GB, free: 82.27 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 8.727e-06/1.758, allocations: 3 kB / 0.6662 GB, free: 82.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.0774/1.835, allocations: 21.25 MB / 0.6869 GB, free: 78.97 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003131/1.839, allocations: 4.571 MB / 0.6914 GB, free: 74.67 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009677/1.848, allocations: 4.48 MB / 0.6957 GB, free: 74.23 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007013/1.849, allocations: 72.94 kB / 0.6958 GB, free: 74.2 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003242/1.852, allocations: 4.181 MB / 0.6999 GB, free: 72.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001752/1.854, allocations: 1.243 MB / 0.7011 GB, free: 71.53 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/1.855, allocations: 175.4 kB / 0.7013 GB, free: 71.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006745/1.856, allocations: 0.6817 MB / 0.7019 GB, free: 71.21 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007327/1.863, allocations: 3.415 MB / 0.7053 GB, free: 71.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01038/1.874, allocations: 8.285 MB / 0.7134 GB, free: 64.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01017/1.884, allocations: 5.213 MB / 0.7185 GB, free: 64.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/1.884, allocations: 51.44 kB / 0.7185 GB, free: 64.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.0366/1.921, allocations: 13.36 MB / 0.7316 GB, free: 62 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001403/1.921, allocations: 78.81 kB / 0.7316 GB, free: 62 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01828/1.939, allocations: 6.694 MB / 0.7382 GB, free: 60.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01269/1.952, allocations: 2.88 MB / 0.741 GB, free: 59.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009534/1.962, allocations: 2.073 MB / 0.743 GB, free: 59.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/1.977, allocations: 12.63 MB / 0.7553 GB, free: 50.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01123/1.988, allocations: 0.8245 MB / 0.7561 GB, free: 50.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/1.99, allocations: 0.5095 MB / 0.7566 GB, free: 49.65 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 66 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[1],bar3.color[3],bar3.color[2],bar3.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1092): * Single equations (assignments): 1071 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00285/1.993, allocations: 0.7824 MB / 0.7574 GB, free: 48.88 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0013/1.995, allocations: 485.7 kB / 0.7579 GB, free: 48.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01913/2.014, allocations: 7.238 MB / 0.7649 GB, free: 42.75 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01641/2.03, allocations: 6.427 MB / 0.7712 GB, free: 37.69 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.698e-05/2.03, allocations: 8 kB / 0.7712 GB, free: 37.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-05/2.03, allocations: 13.45 kB / 0.7712 GB, free: 37.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0416/2.072, allocations: 16.99 MB / 0.7878 GB, free: 24.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.285e-05/2.072, allocations: 8.844 kB / 0.7878 GB, free: 24.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003743/2.076, allocations: 0.5822 MB / 0.7884 GB, free: 23.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/2.086, allocations: 2.88 MB / 0.7912 GB, free: 21.31 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007546/2.087, allocations: 95.94 kB / 0.7913 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01584/2.103, allocations: 13.7 MB / 0.8047 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002663/2.106, allocations: 4.424 MB / 0.809 GB, free: 1.906 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02766/2.133, allocations: 12.12 MB / 0.8208 GB, free: 5.383 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001914/2.135, allocations: 0.5377 MB / 0.8214 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/2.137, allocations: 75.98 kB / 0.8214 GB, free: 4.746 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00489/2.142, allocations: 363.4 kB / 0.8218 GB, free: 4.391 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001107/2.143, allocations: 251 kB / 0.822 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004123/2.144, allocations: 91.95 kB / 0.8221 GB, free: 4.059 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.2999/2.443, allocations: 3.069 MB / 0.8251 GB, free: 84.26 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.247e-06/2.444, allocations: 0 / 0.8251 GB, free: 84.26 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01088/2.454, allocations: 1.732 MB / 0.8268 GB, free: 84.26 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 37 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],springDamperSeries.s_damper,body3.frame_a.r_0[1],body3.frame_a.r_0[2],body3.frame_a.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.w_a[1],body3.w_a[2],body3.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (267): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/2.456, allocations: 258.3 kB / 0.827 GB, free: 84.17 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02326/2.479, allocations: 9.874 MB / 0.8367 GB, free: 82.86 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/2.479, allocations: 0 / 0.8367 GB, free: 82.86 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01248/2.491, allocations: 4.983 MB / 0.8416 GB, free: 81.59 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004531/2.496, allocations: 0.5723 MB / 0.8421 GB, free: 81.56 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02947/2.526, allocations: 13.21 MB / 0.855 GB, free: 78.31 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01107/2.537, allocations: 4.419 MB / 0.8593 GB, free: 77.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01659/2.553, allocations: 2.58 MB / 0.8618 GB, free: 77.23 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003053/2.556, allocations: 366.4 kB / 0.8622 GB, free: 77.22 MB / 442.7 MB Notification: Performance of SimCode: time 2.637e-06/2.556, allocations: 0 / 0.8622 GB, free: 77.22 MB / 442.7 MB Notification: Performance of Templates: time 0.2012/2.758, allocations: 59.88 MB / 0.9207 GB, free: 52.32 MB / 442.7 MB