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.1_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.65/1.65, allocations: 171.2 MB / 183.8 MB, free: 11.94 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.376e-05, allocations: 4 kB / 225 MB, free: 2.691 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2098/0.2099, allocations: 38.77 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.3369, allocations: 84.74 MB / 348.5 MB, free: 4.996 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.3372, allocations: 83.95 kB / 348.6 MB, free: 4.914 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5662/0.9034, allocations: 107.7 MB / 456.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.9035, allocations: 0 / 456.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002598/0.9038, allocations: 111.9 kB / 456.4 MB, free: 16.96 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.02981/0.9336, allocations: 6.292 MB / 462.7 MB, free: 10.6 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.9337, allocations: 8.031 kB / 462.7 MB, free: 10.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/0.9527, allocations: 3.367 MB / 466.1 MB, free: 7.215 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02102/0.9738, allocations: 7.483 MB / 473.6 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006524/0.9745, allocations: 414.7 kB / 474 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002675/0.9772, allocations: 0.5387 MB / 474.5 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04877/1.026, allocations: 16.33 MB / 490.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003993/1.026, allocations: 79.33 kB / 490.9 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002379/1.029, allocations: 263.8 kB / 491.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003646/1.033, allocations: 1.488 MB / 492.7 MB, free: 11.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3457/1.378, allocations: 13.91 MB / 0.4947 GB, free: 56.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08252/1.461, allocations: 63.61 MB / 0.5568 GB, free: 19.74 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02114/1.482, allocations: 6.159 MB / 0.5628 GB, free: 17.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006146/1.488, allocations: 2.962 MB / 0.5657 GB, free: 16.56 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02661/1.515, allocations: 13.21 MB / 0.5786 GB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/1.515, allocations: 59.47 kB / 0.5787 GB, free: 9.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 7.114e-06/1.515, allocations: 0 / 0.5787 GB, free: 9.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.08249/1.597, allocations: 21.88 MB / 0.6001 GB, free: 14.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004956/1.602, allocations: 4.582 MB / 0.6045 GB, free: 9.473 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0103/1.613, allocations: 4.19 MB / 0.6086 GB, free: 5.758 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008071/1.614, allocations: 66.61 kB / 0.6087 GB, free: 5.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004023/1.618, allocations: 3.728 MB / 0.6123 GB, free: 2.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001912/1.62, allocations: 1.089 MB / 0.6134 GB, free: 1.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/1.621, allocations: 157.8 kB / 0.6135 GB, free: 1.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0008179/1.622, allocations: 0.6473 MB / 0.6142 GB, free: 0.6406 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02435/1.646, allocations: 4.142 MB / 0.6182 GB, free: 0 / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01313/1.659, allocations: 7.716 MB / 0.6258 GB, free: 6.277 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0112/1.67, allocations: 4.886 MB / 0.6305 GB, free: 1.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001771/1.671, allocations: 44 kB / 0.6306 GB, free: 1.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.2551/1.926, allocations: 12.2 MB / 0.6425 GB, free: 83.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/1.926, allocations: 71.22 kB / 0.6426 GB, free: 83.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01662/1.942, allocations: 6.174 MB / 0.6486 GB, free: 83.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0106/1.953, allocations: 2.604 MB / 0.6511 GB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009187/1.962, allocations: 1.967 MB / 0.653 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.975, allocations: 11.49 MB / 0.6643 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/1.985, allocations: 0.8161 MB / 0.6651 GB, free: 75.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001913/1.987, allocations: 485.2 kB / 0.6655 GB, free: 75.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 729 * Number of states: 0 () * Number of discrete variables: 48 (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],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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (996): * Single equations (assignments): 975 * 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 {1,1,1} * 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.002666/1.99, allocations: 0.7076 MB / 0.6662 GB, free: 74.97 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001151/1.991, allocations: 448.8 kB / 0.6666 GB, free: 74.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01967/2.01, allocations: 6.897 MB / 0.6734 GB, free: 74.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01657/2.027, allocations: 6.179 MB / 0.6794 GB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.751e-05/2.027, allocations: 7.25 kB / 0.6794 GB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.897e-05/2.027, allocations: 10.55 kB / 0.6794 GB, free: 74.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03944/2.067, allocations: 15.64 MB / 0.6947 GB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-05/2.067, allocations: 7.844 kB / 0.6947 GB, free: 69.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003766/2.071, allocations: 0.5168 MB / 0.6952 GB, free: 68.85 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/2.081, allocations: 2.888 MB / 0.698 GB, free: 66.98 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007631/2.082, allocations: 86.73 kB / 0.6981 GB, free: 66.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01606/2.098, allocations: 13.7 MB / 0.7115 GB, free: 54.22 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002754/2.101, allocations: 4.421 MB / 0.7158 GB, free: 49.61 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02292/2.124, allocations: 11.43 MB / 0.727 GB, free: 39.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001502/2.126, allocations: 0.5084 MB / 0.7275 GB, free: 39.38 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001557/2.127, allocations: 67.33 kB / 0.7275 GB, free: 39.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00461/2.132, allocations: 352.9 kB / 0.7279 GB, free: 39.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001026/2.133, allocations: 221.9 kB / 0.7281 GB, free: 38.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003791/2.133, allocations: 86.23 kB / 0.7282 GB, free: 38.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.006342/2.14, allocations: 2.886 MB / 0.731 GB, free: 36.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.573e-06/2.14, allocations: 0 / 0.731 GB, free: 36.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009051/2.149, allocations: 1.585 MB / 0.7325 GB, free: 34.67 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (226): * Single equations (assignments): 211 * 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.0009914/2.15, allocations: 230.8 kB / 0.7328 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01907/2.169, allocations: 9.064 MB / 0.7416 GB, free: 25.3 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/2.169, allocations: 6 kB / 0.7416 GB, free: 25.3 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01096/2.18, allocations: 4.843 MB / 0.7463 GB, free: 20.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/2.184, allocations: 0.5174 MB / 0.7468 GB, free: 19.79 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02751/2.211, allocations: 12.89 MB / 0.7594 GB, free: 7.035 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009913/2.221, allocations: 4.08 MB / 0.7634 GB, free: 2.953 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003798/2.225, allocations: 391.3 kB / 0.7638 GB, free: 2.574 MB / 378.7 MB Notification: Performance of SimCode: time 3.174e-06/2.225, allocations: 0 / 0.7638 GB, free: 2.574 MB / 378.7 MB Notification: Performance of Templates: time 1.175/3.4, allocations: 322.9 MB / 1.079 GB, free: 103.3 MB / 410.7 MB