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_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.745/1.745, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.307e-05/3.32e-05, allocations: 4 kB / 225 MB, free: 2.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2097, allocations: 38.77 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.3381, allocations: 84.74 MB / 348.5 MB, free: 4.957 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.3384, allocations: 83.95 kB / 348.6 MB, free: 4.875 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5602/0.8986, allocations: 107.8 MB / 456.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.352e-06/0.8987, allocations: 0 / 456.4 MB, free: 17.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002613/0.8989, allocations: 104 kB / 456.5 MB, free: 16.93 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.02956/0.9285, allocations: 6.304 MB / 462.8 MB, free: 10.56 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.9286, allocations: 12.03 kB / 462.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01898/0.9476, allocations: 3.367 MB / 466.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02131/0.9689, allocations: 7.475 MB / 473.6 MB, free: 15.62 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006667/0.9696, allocations: 406.6 kB / 474 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002469/0.9721, allocations: 0.5387 MB / 474.6 MB, free: 14.69 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04744/1.02, allocations: 16.33 MB / 490.9 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002951/1.02, allocations: 83.27 kB / 491 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001612/1.022, allocations: 259.9 kB / 491.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003568/1.025, allocations: 1.495 MB / 492.7 MB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2524/1.278, allocations: 13.9 MB / 0.4947 GB, free: 58.01 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08246/1.36, allocations: 63.61 MB / 0.5569 GB, free: 20.68 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02291/1.383, allocations: 6.158 MB / 0.5629 GB, free: 18.72 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005519/1.389, allocations: 2.954 MB / 0.5658 GB, free: 17.51 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0267/1.415, allocations: 13.21 MB / 0.5787 GB, free: 10.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/1.415, allocations: 55.97 kB / 0.5787 GB, free: 10.93 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 6.869e-06/1.415, allocations: 3.938 kB / 0.5787 GB, free: 10.93 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.08165/1.497, allocations: 21.94 MB / 0.6002 GB, free: 15.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004769/1.502, allocations: 4.575 MB / 0.6046 GB, free: 10.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009857/1.512, allocations: 4.182 MB / 0.6087 GB, free: 7.102 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006703/1.513, allocations: 65.7 kB / 0.6088 GB, free: 7.031 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004285/1.517, allocations: 3.84 MB / 0.6125 GB, free: 3.586 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001955/1.519, allocations: 1.097 MB / 0.6136 GB, free: 2.621 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009273/1.52, allocations: 156 kB / 0.6137 GB, free: 2.469 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007251/1.52, allocations: 0.6382 MB / 0.6144 GB, free: 1.918 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01467/1.535, allocations: 3.625 MB / 0.6179 GB, free: 0 / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/1.548, allocations: 7.717 MB / 0.6254 GB, free: 6.723 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.558, allocations: 4.888 MB / 0.6302 GB, free: 2.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001647/1.559, allocations: 44 kB / 0.6302 GB, free: 2.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.2525/1.811, allocations: 12.34 MB / 0.6423 GB, free: 84.46 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.811, allocations: 74.09 kB / 0.6424 GB, free: 84.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0166/1.828, allocations: 6.179 MB / 0.6484 GB, free: 84.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01037/1.838, allocations: 2.607 MB / 0.6509 GB, free: 84.18 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009215/1.847, allocations: 1.967 MB / 0.6529 GB, free: 84.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01309/1.861, allocations: 11.49 MB / 0.6641 GB, free: 76.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01003/1.871, allocations: 0.813 MB / 0.6649 GB, free: 76.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001931/1.873, allocations: 488.4 kB / 0.6654 GB, free: 76.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.002579/1.875, allocations: 0.7006 MB / 0.666 GB, free: 75.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00118/1.876, allocations: 456.3 kB / 0.6665 GB, free: 75.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02298/1.899, allocations: 6.902 MB / 0.6732 GB, free: 75.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03824/1.938, allocations: 6.173 MB / 0.6792 GB, free: 75.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-05/1.938, allocations: 7.812 kB / 0.6792 GB, free: 75.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001131/1.938, allocations: 12.84 kB / 0.6793 GB, free: 75.45 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05441/1.992, allocations: 15.64 MB / 0.6945 GB, free: 70.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.185e-05/1.993, allocations: 6 kB / 0.6945 GB, free: 70.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003619/1.996, allocations: 0.5162 MB / 0.695 GB, free: 70.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/2.007, allocations: 2.888 MB / 0.6979 GB, free: 69.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007332/2.008, allocations: 87.3 kB / 0.6979 GB, free: 69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01571/2.023, allocations: 13.7 MB / 0.7113 GB, free: 56.32 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002737/2.026, allocations: 4.414 MB / 0.7156 GB, free: 51.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02232/2.049, allocations: 11.43 MB / 0.7268 GB, free: 41.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00152/2.05, allocations: 0.5046 MB / 0.7273 GB, free: 41.39 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002547/2.053, allocations: 69.95 kB / 0.7274 GB, free: 41.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007835/2.061, allocations: 354.3 kB / 0.7277 GB, free: 41.12 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001507/2.062, allocations: 220.9 kB / 0.7279 GB, free: 40.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007331/2.063, allocations: 86.47 kB / 0.728 GB, free: 40.92 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007217/2.07, allocations: 2.888 MB / 0.7308 GB, free: 38.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.032e-06/2.07, allocations: 0 / 0.7308 GB, free: 38.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009264/2.079, allocations: 1.58 MB / 0.7323 GB, free: 36.6 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.0009275/2.08, allocations: 233.3 kB / 0.7326 GB, free: 36.38 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.01887/2.099, allocations: 9.016 MB / 0.7414 GB, free: 27.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.063e-05/2.099, allocations: 4 kB / 0.7414 GB, free: 27.27 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01079/2.11, allocations: 4.832 MB / 0.7461 GB, free: 22.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003736/2.114, allocations: 0.5186 MB / 0.7466 GB, free: 21.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02591/2.14, allocations: 12.32 MB / 0.7586 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007756/2.148, allocations: 4.062 MB / 0.7626 GB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.009139/2.157, allocations: 2.403 MB / 0.765 GB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001766/2.159, allocations: 335.3 kB / 0.7653 GB, free: 2.777 MB / 378.7 MB Notification: Performance of SimCode: time 3.25e-06/2.159, allocations: 0 / 0.7653 GB, free: 2.777 MB / 378.7 MB Notification: Performance of Templates: time 0.3577/2.516, allocations: 54.11 MB / 0.8181 GB, free: 89.24 MB / 394.7 MB