Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.976/1.976, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.913e-05/2.937e-05, allocations: 4 kB / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09246/0.09251, allocations: 50.42 MB / 342.6 MB, free: 6.395 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3952/0.4877, allocations: 102.3 MB / 444.9 MB, free: 8.086 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.488, allocations: 85.58 kB / 444.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7071/1.195, allocations: 120.5 MB / 0.5522 GB, free: 96.67 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.07e-06/1.195, allocations: 0 / 0.5522 GB, free: 96.67 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002931/1.196, allocations: 120.5 kB / 0.5523 GB, free: 96.67 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.0316/1.227, allocations: 6.732 MB / 0.5589 GB, free: 94.37 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/1.227, allocations: 9.719 kB / 0.5589 GB, free: 94.37 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02223/1.249, allocations: 3.474 MB / 0.5623 GB, free: 93.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02257/1.272, allocations: 7.295 MB / 0.5694 GB, free: 93.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005677/1.273, allocations: 461 kB / 0.5699 GB, free: 93.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002866/1.276, allocations: 0.6009 MB / 0.5704 GB, free: 93.17 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04689/1.322, allocations: 17.43 MB / 0.5875 GB, free: 88.71 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/1.323, allocations: 77.89 kB / 0.5875 GB, free: 88.7 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/1.325, allocations: 299.6 kB / 0.5878 GB, free: 88.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003438/1.328, allocations: 1.633 MB / 0.5894 GB, free: 88.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0393/1.368, allocations: 14.75 MB / 0.6038 GB, free: 81.38 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08481/1.452, allocations: 67.49 MB / 0.6697 GB, free: 14.52 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02452/1.477, allocations: 6.943 MB / 0.6765 GB, free: 7.359 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005518/1.483, allocations: 3.128 MB / 0.6796 GB, free: 4.215 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03245/1.515, allocations: 14.54 MB / 0.6938 GB, free: 5.266 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.066e-05/1.515, allocations: 64.56 kB / 0.6938 GB, free: 5.195 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 6.93e-06/1.515, allocations: 0 / 0.6938 GB, free: 5.195 MB / 458.7 MB Notification: Performance of matching and sorting (n=321): time 0.4124/1.928, allocations: 21.08 MB / 0.7144 GB, free: 100.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003059/1.931, allocations: 4.571 MB / 0.7189 GB, free: 96.46 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00982/1.941, allocations: 4.444 MB / 0.7232 GB, free: 96.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007767/1.941, allocations: 77.7 kB / 0.7233 GB, free: 96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003014/1.944, allocations: 4.048 MB / 0.7272 GB, free: 93.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001819/1.946, allocations: 1.25 MB / 0.7285 GB, free: 93.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009346/1.947, allocations: 175.3 kB / 0.7286 GB, free: 93.11 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.000589/1.948, allocations: 0.6831 MB / 0.7293 GB, free: 92.78 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007336/1.955, allocations: 3.418 MB / 0.7326 GB, free: 92.75 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01031/1.965, allocations: 8.285 MB / 0.7407 GB, free: 86.48 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01454/1.98, allocations: 5.205 MB / 0.7458 GB, free: 85.8 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001588/1.98, allocations: 52.44 kB / 0.7459 GB, free: 85.8 MB / 458.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.03535/2.016, allocations: 13.2 MB / 0.7588 GB, free: 82.13 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001368/2.016, allocations: 81.47 kB / 0.7588 GB, free: 82.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01808/2.034, allocations: 6.696 MB / 0.7654 GB, free: 80.25 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01222/2.046, allocations: 2.877 MB / 0.7682 GB, free: 79.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00952/2.056, allocations: 2.076 MB / 0.7702 GB, free: 79.56 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01515/2.071, allocations: 12.63 MB / 0.7825 GB, free: 70.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01075/2.082, allocations: 0.8282 MB / 0.7834 GB, free: 70.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002213/2.084, allocations: 0.514 MB / 0.7839 GB, free: 70.25 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.003145/2.087, allocations: 0.7789 MB / 0.7846 GB, free: 69.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001491/2.089, allocations: 483 kB / 0.7851 GB, free: 69.36 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02049/2.109, allocations: 7.231 MB / 0.7921 GB, free: 66.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01629/2.126, allocations: 6.423 MB / 0.7984 GB, free: 61.12 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.825e-05/2.126, allocations: 11.95 kB / 0.7984 GB, free: 61.11 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.458e-05/2.126, allocations: 14.67 kB / 0.7984 GB, free: 61.11 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0411/2.167, allocations: 16.98 MB / 0.815 GB, free: 47.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.32e-05/2.167, allocations: 8 kB / 0.815 GB, free: 47.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003772/2.171, allocations: 0.5789 MB / 0.8156 GB, free: 47.29 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01091/2.182, allocations: 2.886 MB / 0.8184 GB, free: 45.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008548/2.183, allocations: 98.14 kB / 0.8185 GB, free: 45.3 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/2.198, allocations: 13.7 MB / 0.8319 GB, free: 32.28 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002672/2.201, allocations: 4.428 MB / 0.8362 GB, free: 27.44 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02446/2.226, allocations: 12.1 MB / 0.848 GB, free: 14.92 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00179/2.227, allocations: 0.537 MB / 0.8485 GB, free: 14.36 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001937/2.229, allocations: 75.98 kB / 0.8486 GB, free: 14.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005077/2.235, allocations: 364.1 kB / 0.849 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001218/2.236, allocations: 249.4 kB / 0.8492 GB, free: 13.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007101/2.237, allocations: 100.6 kB / 0.8493 GB, free: 13.59 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007495/2.244, allocations: 3.039 MB / 0.8523 GB, free: 10.57 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.157e-06/2.244, allocations: 0 / 0.8523 GB, free: 10.57 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0136/2.258, allocations: 1.734 MB / 0.854 GB, free: 8.848 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.001773/2.26, allocations: 264.4 kB / 0.8542 GB, free: 8.59 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02357/2.283, allocations: 9.875 MB / 0.8639 GB, free: 14.55 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-05/2.283, allocations: 4 kB / 0.8639 GB, free: 14.54 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2826/2.566, allocations: 4.992 MB / 0.8687 GB, free: 109.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005166/2.571, allocations: 0.5756 MB / 0.8693 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03725/2.608, allocations: 13.81 MB / 0.8828 GB, free: 106.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01007/2.619, allocations: 4.404 MB / 0.8871 GB, free: 105.8 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00239/2.621, allocations: 426.9 kB / 0.8875 GB, free: 105.8 MB / 474.7 MB Notification: Performance of SimCode: time 2.017e-06/2.621, allocations: 0 / 0.8875 GB, free: 105.8 MB / 474.7 MB Notification: Performance of Templates: time 1.052/3.673, allocations: 353 MB / 1.232 GB, free: 124.5 MB / 490.7 MB