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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.747e-05/2.772e-05, allocations: 0 / 255.3 MB, free: 3.195 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07869/0.07874, allocations: 44.5 MB / 299.8 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3486/0.4274, allocations: 90.37 MB / 390.2 MB, free: 20.12 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.4277, allocations: 86.42 kB / 390.3 MB, free: 20.12 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4031/0.8308, allocations: 107.9 MB / 498.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.688e-06/0.8309, allocations: 0 / 498.2 MB, free: 5.996 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003173/0.8312, allocations: 111.9 kB / 498.3 MB, free: 5.887 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: 1913 * Number of variables: 1913 Notification: Performance of Generate backend data structure: time 0.0332/0.8644, allocations: 6.311 MB / 0.4928 GB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/0.8645, allocations: 8.031 kB / 0.4928 GB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02208/0.8866, allocations: 3.405 MB / 0.4962 GB, free: 12.08 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02515/0.9118, allocations: 7.492 MB / 0.5035 GB, free: 4.523 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006609/0.9125, allocations: 407.4 kB / 0.5039 GB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002749/0.9152, allocations: 0.5349 MB / 0.5044 GB, free: 3.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2825/1.198, allocations: 16.39 MB / 0.5204 GB, free: 60.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003462/1.198, allocations: 75.22 kB / 0.5205 GB, free: 60.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002178/1.2, allocations: 263.9 kB / 0.5207 GB, free: 60.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003557/1.204, allocations: 1.487 MB / 0.5222 GB, free: 60.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04105/1.245, allocations: 14.14 MB / 0.536 GB, free: 60.13 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08674/1.332, allocations: 63.54 MB / 0.598 GB, free: 36.25 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02193/1.354, allocations: 6.194 MB / 0.6041 GB, free: 34.26 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005588/1.359, allocations: 2.962 MB / 0.607 GB, free: 33.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03321/1.393, allocations: 13.22 MB / 0.6199 GB, free: 26.51 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.245e-05/1.393, allocations: 65.59 kB / 0.6199 GB, free: 26.45 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 1.12e-05/1.393, allocations: 0 / 0.6199 GB, free: 26.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.1419/1.535, allocations: 21.87 MB / 0.6413 GB, free: 10.86 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007098/1.542, allocations: 4.57 MB / 0.6458 GB, free: 5.992 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01712/1.559, allocations: 4.199 MB / 0.6499 GB, free: 2.324 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009027/1.56, allocations: 65.7 kB / 0.6499 GB, free: 2.254 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006119/1.566, allocations: 3.718 MB / 0.6536 GB, free: 14.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002929/1.569, allocations: 1.096 MB / 0.6546 GB, free: 13.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001451/1.571, allocations: 161 kB / 0.6548 GB, free: 13.75 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001249/1.572, allocations: 0.6453 MB / 0.6554 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0135/1.586, allocations: 3.24 MB / 0.6586 GB, free: 10.31 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01343/1.599, allocations: 7.761 MB / 0.6662 GB, free: 0.8008 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2591/1.858, allocations: 5.234 MB / 0.6713 GB, free: 84.37 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002836/1.859, allocations: 45.22 kB / 0.6713 GB, free: 84.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.03812/1.897, allocations: 12.93 MB / 0.6839 GB, free: 83.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001227/1.897, allocations: 73.56 kB / 0.684 GB, free: 83.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01818/1.915, allocations: 6.418 MB / 0.6903 GB, free: 83.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01281/1.928, allocations: 2.861 MB / 0.6931 GB, free: 83.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008676/1.937, allocations: 1.914 MB / 0.6949 GB, free: 83.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/1.952, allocations: 12.61 MB / 0.7073 GB, free: 75.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01081/1.963, allocations: 0.8136 MB / 0.708 GB, free: 75.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.964, allocations: 486.6 kB / 0.7085 GB, free: 75.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (986): * Single equations (assignments): 965 * 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.00232/1.967, allocations: 0.6981 MB / 0.7092 GB, free: 75.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001053/1.968, allocations: 446.4 kB / 0.7096 GB, free: 75.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01921/1.987, allocations: 6.907 MB / 0.7164 GB, free: 75.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01747/2.005, allocations: 6.171 MB / 0.7224 GB, free: 74.78 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.632e-05/2.005, allocations: 7.562 kB / 0.7224 GB, free: 74.78 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.375e-05/2.005, allocations: 17.55 kB / 0.7224 GB, free: 74.78 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04/2.045, allocations: 15.65 MB / 0.7377 GB, free: 70.35 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.415e-05/2.045, allocations: 7.125 kB / 0.7377 GB, free: 70.35 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003901/2.049, allocations: 0.5299 MB / 0.7382 GB, free: 70.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01235/2.061, allocations: 2.876 MB / 0.741 GB, free: 69.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007536/2.062, allocations: 84.92 kB / 0.7411 GB, free: 69.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01744/2.079, allocations: 13.72 MB / 0.7545 GB, free: 60.68 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002887/2.082, allocations: 4.423 MB / 0.7588 GB, free: 56.41 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02334/2.106, allocations: 11.43 MB / 0.77 GB, free: 48.34 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001494/2.107, allocations: 0.5042 MB / 0.7705 GB, free: 47.84 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001482/2.109, allocations: 80.61 kB / 0.7706 GB, free: 47.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00454/2.113, allocations: 352.6 kB / 0.7709 GB, free: 47.57 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009758/2.114, allocations: 215.1 kB / 0.7711 GB, free: 47.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003697/2.115, allocations: 85.27 kB / 0.7712 GB, free: 47.38 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006702/2.121, allocations: 2.881 MB / 0.774 GB, free: 44.84 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.385e-06/2.121, allocations: 7.344 kB / 0.774 GB, free: 44.84 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009691/2.131, allocations: 1.6 MB / 0.7756 GB, free: 43.25 MB / 426.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.001086/2.132, allocations: 234.5 kB / 0.7758 GB, free: 43.04 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02022/2.153, allocations: 9.688 MB / 0.7853 GB, free: 34.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/2.153, allocations: 0 / 0.7853 GB, free: 34.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01118/2.164, allocations: 4.894 MB / 0.79 GB, free: 29.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003796/2.168, allocations: 0.5268 MB / 0.7905 GB, free: 29.51 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02849/2.196, allocations: 12.93 MB / 0.8032 GB, free: 18.19 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008277/2.204, allocations: 4.075 MB / 0.8072 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002068/2.207, allocations: 391.3 kB / 0.8075 GB, free: 13.85 MB / 426.7 MB Notification: Performance of SimCode: time 2.213e-06/2.207, allocations: 4 kB / 0.8075 GB, free: 13.85 MB / 426.7 MB Notification: Performance of Templates: time 0.926/3.133, allocations: 324.7 MB / 1.125 GB, free: 22.48 MB / 458.7 MB