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.977/1.977, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.113e-05/3.106e-05, allocations: 7.906 kB / 258.8 MB, free: 8.699 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3205, allocations: 44.49 MB / 303.3 MB, free: 12.62 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.07364/0.3942, allocations: 46.61 MB / 349.9 MB, free: 14.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.03192/0.4262, allocations: 10.37 MB / 360.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01102/0.4373, allocations: 243.4 kB / 360.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008759/0.4461, allocations: 2.426 MB / 362.9 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03804/0.4842, allocations: 6.615 MB / 369.5 MB, free: 11.15 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01089/0.4951, allocations: 0.8113 MB / 370.4 MB, free: 10.34 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0203/0.5155, allocations: 2.399 MB / 372.8 MB, free: 7.934 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02183/0.5374, allocations: 4.858 MB / 377.6 MB, free: 3.02 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003368/0.5408, allocations: 1.083 MB / 378.7 MB, free: 1.934 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00418/0.5451, allocations: 1.746 MB / 380.4 MB, free: 188 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003526/0.5486, allocations: 0.948 MB / 381.4 MB, free: 15.23 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001568/0.5502, allocations: 156 kB / 381.5 MB, free: 15.08 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003621/0.5539, allocations: 1.979 MB / 383.5 MB, free: 13.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001942/0.5559, allocations: 352 kB / 383.9 MB, free: 12.75 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01144/0.5674, allocations: 6.613 MB / 390.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5675, allocations: 0 / 390.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.677e-06/0.5675, allocations: 0 / 390.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0003279/0.5678, allocations: 0 / 390.5 MB, free: 6.125 MB / 330.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.01865/0.5865, allocations: 5.171 MB / 395.7 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.5866, allocations: 15.97 kB / 395.7 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02215/0.6087, allocations: 3.097 MB / 398.8 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01077/0.6196, allocations: 3.649 MB / 402.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004729/0.6201, allocations: 319.8 kB / 402.7 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003923/0.624, allocations: 0.6204 MB / 403.3 MB, free: 9.113 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05638/0.6805, allocations: 16.41 MB / 419.8 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002044/0.6807, allocations: 55.52 kB / 419.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009343/0.6817, allocations: 199.8 kB / 420 MB, free: 7.523 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007326/0.689, allocations: 2.538 MB / 422.5 MB, free: 4.984 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3215/1.011, allocations: 14.62 MB / 437.2 MB, free: 100.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09716/1.108, allocations: 56.43 MB / 493.6 MB, free: 46.26 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07239/1.18, allocations: 13.95 MB / 0.4956 GB, free: 32.16 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04948/1.23, allocations: 16.27 MB / 0.5115 GB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.188e-05/1.23, allocations: 60.5 kB / 0.5116 GB, free: 15.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 7.234e-06/1.23, allocations: 0 / 0.5116 GB, free: 15.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.2453/1.475, allocations: 44.4 MB / 0.555 GB, free: 2.812 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006497/1.482, allocations: 4.611 MB / 0.5595 GB, free: 13.74 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01554/1.497, allocations: 4.613 MB / 0.564 GB, free: 9.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001024/1.498, allocations: 65.22 kB / 0.564 GB, free: 9.066 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004441/1.503, allocations: 3.718 MB / 0.5677 GB, free: 5.352 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002546/1.505, allocations: 1.101 MB / 0.5687 GB, free: 4.262 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001423/1.507, allocations: 156 kB / 0.5689 GB, free: 4.109 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0008155/1.508, allocations: 0.6498 MB / 0.5695 GB, free: 3.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2751/1.783, allocations: 3.848 MB / 0.5733 GB, free: 140.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01443/1.797, allocations: 8.394 MB / 0.5815 GB, free: 134.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01304/1.811, allocations: 5.441 MB / 0.5868 GB, free: 132.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/1.811, allocations: 46.66 kB / 0.5868 GB, free: 132.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=1054) (initialization): time 0.0757/1.886, allocations: 16.84 MB / 0.6033 GB, free: 126.6 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/1.887, allocations: 76 kB / 0.6033 GB, free: 126.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05555/1.942, allocations: 10.19 MB / 0.6133 GB, free: 116.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05476/1.997, allocations: 6.164 MB / 0.6193 GB, free: 110 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01649/2.014, allocations: 2.001 MB / 0.6213 GB, free: 108 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05718/2.071, allocations: 18.59 MB / 0.6394 GB, free: 88.76 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01447/2.085, allocations: 0.742 MB / 0.6401 GB, free: 88.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001936/2.087, allocations: 491.9 kB / 0.6406 GB, free: 87.56 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 730 * 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 (988): * Single equations (assignments): 967 * 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.006418/2.094, allocations: 2.47 MB / 0.643 GB, free: 85.16 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001166/2.095, allocations: 447.5 kB / 0.6435 GB, free: 84.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02564/2.121, allocations: 7.821 MB / 0.6511 GB, free: 77.09 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02378/2.144, allocations: 7.025 MB / 0.658 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.133e-05/2.144, allocations: 8 kB / 0.658 GB, free: 70.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.037e-05/2.145, allocations: 15.91 kB / 0.658 GB, free: 70 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04981/2.194, allocations: 17.08 MB / 0.6747 GB, free: 52.85 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.404e-05/2.194, allocations: 4 kB / 0.6747 GB, free: 52.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006461/2.201, allocations: 0.6715 MB / 0.6753 GB, free: 52.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01536/2.216, allocations: 2.904 MB / 0.6781 GB, free: 49.23 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009692/2.217, allocations: 88.47 kB / 0.6782 GB, free: 49.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02161/2.239, allocations: 13.97 MB / 0.6919 GB, free: 34.46 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003417/2.242, allocations: 4.473 MB / 0.6962 GB, free: 29.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03437/2.277, allocations: 12.7 MB / 0.7086 GB, free: 16.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00151/2.278, allocations: 0.5109 MB / 0.7091 GB, free: 16.14 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00187/2.28, allocations: 71.98 kB / 0.7092 GB, free: 16.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006149/2.287, allocations: 367.4 kB / 0.7096 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001314/2.288, allocations: 217.5 kB / 0.7098 GB, free: 15.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004036/2.288, allocations: 85.44 kB / 0.7099 GB, free: 15.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.006955/2.295, allocations: 3.238 MB / 0.713 GB, free: 12.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.021e-06/2.295, allocations: 0 / 0.713 GB, free: 12.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.009857/2.305, allocations: 1.703 MB / 0.7147 GB, free: 10.49 MB / 410.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 (228): * Single equations (assignments): 213 * 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 {(4,100.0%),(3,100.0%),(3,100.0%),(4,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 Backend phase and start with SimCode phase: time 0.001437/2.307, allocations: 238.2 kB / 0.7149 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.301/2.608, allocations: 10.8 MB / 0.7255 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.344e-05/2.608, allocations: 3.906 kB / 0.7255 GB, free: 129.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01775/2.625, allocations: 5.266 MB / 0.7306 GB, free: 127.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004975/2.631, allocations: 0.5352 MB / 0.7311 GB, free: 127.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04019/2.671, allocations: 17.92 MB / 0.7486 GB, free: 118 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008283/2.679, allocations: 4.091 MB / 0.7526 GB, free: 116.4 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002926/2.682, allocations: 397.7 kB / 0.753 GB, free: 116.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.894e-06/2.682, allocations: 0 / 0.753 GB, free: 116.1 MB / 410.7 MB Notification: Performance of Templates: time 1.13/3.812, allocations: 329.8 MB / 1.075 GB, free: 104.1 MB / 426.7 MB