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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.691e-05/2.695e-05, allocations: 5.562 kB / 292.7 MB, free: 8.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08929/0.08933, allocations: 50.41 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3901/0.4795, allocations: 102.2 MB / 445.3 MB, free: 8.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.4798, allocations: 88.44 kB / 445.4 MB, free: 8.188 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7115/1.191, allocations: 120.5 MB / 0.5527 GB, free: 96.61 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.216e-06/1.191, allocations: 0 / 0.5527 GB, free: 96.61 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000232/1.192, allocations: 120.4 kB / 0.5528 GB, free: 96.6 MB / 442.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.0312/1.223, allocations: 6.731 MB / 0.5594 GB, free: 94.3 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.223, allocations: 9.719 kB / 0.5594 GB, free: 94.3 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01936/1.242, allocations: 3.471 MB / 0.5628 GB, free: 93.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02/1.262, allocations: 7.292 MB / 0.5699 GB, free: 93.12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000484/1.263, allocations: 466.2 kB / 0.5703 GB, free: 93.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002341/1.265, allocations: 0.5983 MB / 0.5709 GB, free: 93.09 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04007/1.305, allocations: 17.43 MB / 0.5879 GB, free: 88.75 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002304/1.306, allocations: 79.44 kB / 0.588 GB, free: 88.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001096/1.307, allocations: 292.8 kB / 0.5883 GB, free: 88.56 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002774/1.309, allocations: 1.64 MB / 0.5899 GB, free: 88.29 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0371/1.347, allocations: 14.74 MB / 0.6043 GB, free: 81.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07948/1.426, allocations: 67.49 MB / 0.6702 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02064/1.447, allocations: 6.944 MB / 0.677 GB, free: 7.09 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004984/1.452, allocations: 3.128 MB / 0.68 GB, free: 3.945 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0279/1.48, allocations: 14.53 MB / 0.6942 GB, free: 5.004 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.434e-05/1.48, allocations: 75.86 kB / 0.6943 GB, free: 4.926 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 8.356e-06/1.48, allocations: 0 / 0.6943 GB, free: 4.926 MB / 458.7 MB Notification: Performance of matching and sorting (n=321): time 0.3796/1.859, allocations: 21.08 MB / 0.7149 GB, free: 100.6 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002955/1.862, allocations: 4.572 MB / 0.7193 GB, free: 96.29 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008249/1.871, allocations: 4.441 MB / 0.7237 GB, free: 95.86 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007395/1.872, allocations: 72.77 kB / 0.7238 GB, free: 95.83 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002843/1.874, allocations: 4.175 MB / 0.7278 GB, free: 93.73 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001629/1.876, allocations: 1.244 MB / 0.729 GB, free: 93.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007325/1.877, allocations: 177.4 kB / 0.7292 GB, free: 93.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004888/1.877, allocations: 0.678 MB / 0.7299 GB, free: 92.69 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006166/1.883, allocations: 3.412 MB / 0.7332 GB, free: 92.66 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008527/1.892, allocations: 8.285 MB / 0.7413 GB, free: 86.38 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009493/1.902, allocations: 5.215 MB / 0.7464 GB, free: 85.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001265/1.902, allocations: 50.69 kB / 0.7464 GB, free: 85.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03308/1.935, allocations: 13.36 MB / 0.7595 GB, free: 81.94 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001271/1.935, allocations: 79.94 kB / 0.7596 GB, free: 81.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0161/1.951, allocations: 6.695 MB / 0.7661 GB, free: 80.06 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01101/1.962, allocations: 2.88 MB / 0.7689 GB, free: 79.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008631/1.971, allocations: 2.071 MB / 0.7709 GB, free: 79.36 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01432/1.985, allocations: 12.63 MB / 0.7833 GB, free: 70.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01011/1.995, allocations: 0.8173 MB / 0.7841 GB, free: 70.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001628/1.997, allocations: 0.5184 MB / 0.7846 GB, free: 70.05 MB / 458.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.001667/1.999, allocations: 0.7759 MB / 0.7853 GB, free: 69.42 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/2, allocations: 483.4 kB / 0.7858 GB, free: 69.16 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01695/2.017, allocations: 7.234 MB / 0.7929 GB, free: 65.61 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01511/2.032, allocations: 6.42 MB / 0.7991 GB, free: 60.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.376e-05/2.032, allocations: 11.95 kB / 0.7991 GB, free: 60.55 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.425e-05/2.032, allocations: 18.34 kB / 0.7992 GB, free: 60.55 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03789/2.07, allocations: 16.97 MB / 0.8157 GB, free: 47.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-05/2.07, allocations: 15.8 kB / 0.8157 GB, free: 47.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003618/2.074, allocations: 0.578 MB / 0.8163 GB, free: 46.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01055/2.084, allocations: 2.876 MB / 0.8191 GB, free: 44.83 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005912/2.085, allocations: 102.8 kB / 0.8192 GB, free: 44.75 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01528/2.1, allocations: 13.7 MB / 0.8326 GB, free: 31.69 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002616/2.103, allocations: 4.437 MB / 0.8369 GB, free: 26.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02237/2.125, allocations: 12.1 MB / 0.8487 GB, free: 14.33 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/2.127, allocations: 0.5338 MB / 0.8493 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009649/2.128, allocations: 76.69 kB / 0.8493 GB, free: 13.7 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003725/2.131, allocations: 364.2 kB / 0.8497 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006621/2.132, allocations: 245.4 kB / 0.8499 GB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003778/2.132, allocations: 100.7 kB / 0.85 GB, free: 13 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005185/2.138, allocations: 3.041 MB / 0.853 GB, free: 9.973 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.28e-07/2.138, allocations: 0 / 0.853 GB, free: 9.973 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008973/2.147, allocations: 1.735 MB / 0.8547 GB, free: 8.246 MB / 458.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.0007108/2.147, allocations: 255.7 kB / 0.8549 GB, free: 8 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02/2.167, allocations: 9.877 MB / 0.8646 GB, free: 13.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/2.168, allocations: 4 kB / 0.8646 GB, free: 13.95 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3414/2.509, allocations: 4.97 MB / 0.8694 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/2.513, allocations: 0.5781 MB / 0.87 GB, free: 109.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0305/2.544, allocations: 13.19 MB / 0.8829 GB, free: 106.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008289/2.552, allocations: 4.399 MB / 0.8872 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01781/2.57, allocations: 2.57 MB / 0.8897 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00305/2.573, allocations: 362 kB / 0.89 GB, free: 105.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.509e-06/2.573, allocations: 0.5625 kB / 0.89 GB, free: 105.4 MB / 474.7 MB Notification: Performance of Templates: time 0.167/2.74, allocations: 59.77 MB / 0.9484 GB, free: 88.93 MB / 474.7 MB