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.837/1.837, allocations: 194.9 MB / 208.4 MB, free: 3.234 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.82e-05, allocations: 3.469 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07875/0.0788, allocations: 44.5 MB / 299.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3545/0.4334, allocations: 90.38 MB / 390.2 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.4336, allocations: 88.59 kB / 390.3 MB, free: 20.11 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3968/0.8305, allocations: 107.9 MB / 498.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.231e-06/0.8305, allocations: 0 / 498.3 MB, free: 5.965 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003039/0.8308, allocations: 108 kB / 498.4 MB, free: 5.859 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.03319/0.864, allocations: 6.311 MB / 0.4929 GB, free: 15.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.8641, allocations: 8.031 kB / 0.4929 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0217/0.8858, allocations: 3.401 MB / 0.4962 GB, free: 12.05 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02474/0.9106, allocations: 7.499 MB / 0.5035 GB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006843/0.9113, allocations: 411.4 kB / 0.5039 GB, free: 4.09 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00272/0.9141, allocations: 0.5349 MB / 0.5044 GB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2809/1.195, allocations: 16.31 MB / 0.5204 GB, free: 60.24 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003879/1.195, allocations: 89.53 kB / 0.5204 GB, free: 60.24 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002305/1.198, allocations: 260.6 kB / 0.5207 GB, free: 60.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003242/1.201, allocations: 1.483 MB / 0.5221 GB, free: 60.23 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0368/1.238, allocations: 13.91 MB / 0.5357 GB, free: 60.21 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08149/1.319, allocations: 63.55 MB / 0.5978 GB, free: 36.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02067/1.34, allocations: 6.159 MB / 0.6038 GB, free: 34.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005097/1.345, allocations: 2.962 MB / 0.6067 GB, free: 33.11 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02568/1.371, allocations: 13.22 MB / 0.6196 GB, free: 26.59 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.043e-05/1.371, allocations: 60.34 kB / 0.6197 GB, free: 26.53 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 8.273e-06/1.371, allocations: 0 / 0.6197 GB, free: 26.53 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.07758/1.449, allocations: 21.87 MB / 0.641 GB, free: 11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00433/1.453, allocations: 4.565 MB / 0.6455 GB, free: 6.16 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01029/1.463, allocations: 4.191 MB / 0.6496 GB, free: 2.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006875/1.464, allocations: 65.7 kB / 0.6496 GB, free: 2.43 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004048/1.468, allocations: 3.717 MB / 0.6533 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001915/1.47, allocations: 1.102 MB / 0.6543 GB, free: 14.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009248/1.471, allocations: 157.6 kB / 0.6545 GB, free: 13.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0007234/1.472, allocations: 0.6493 MB / 0.6551 GB, free: 13.37 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007967/1.48, allocations: 3.239 MB / 0.6583 GB, free: 10.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01292/1.493, allocations: 7.723 MB / 0.6658 GB, free: 1.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2594/1.752, allocations: 5.224 MB / 0.6709 GB, free: 84.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001443/1.752, allocations: 46.03 kB / 0.671 GB, free: 84.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.03431/1.787, allocations: 12.48 MB / 0.6832 GB, free: 84.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000123/1.787, allocations: 77.14 kB / 0.6832 GB, free: 84.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01601/1.803, allocations: 6.419 MB / 0.6895 GB, free: 83.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/1.814, allocations: 2.851 MB / 0.6923 GB, free: 83.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008062/1.822, allocations: 1.916 MB / 0.6942 GB, free: 83.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0138/1.836, allocations: 12.6 MB / 0.7065 GB, free: 75.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009842/1.846, allocations: 0.8111 MB / 0.7073 GB, free: 75.74 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001726/1.848, allocations: 484.9 kB / 0.7077 GB, free: 75.74 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.001721/1.85, allocations: 0.7066 MB / 0.7084 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001055/1.851, allocations: 444.9 kB / 0.7088 GB, free: 75.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01741/1.868, allocations: 6.911 MB / 0.7156 GB, free: 75.18 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01539/1.883, allocations: 6.164 MB / 0.7216 GB, free: 74.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-05/1.884, allocations: 9.234 kB / 0.7216 GB, free: 74.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.403e-05/1.884, allocations: 16.66 kB / 0.7216 GB, free: 74.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03649/1.92, allocations: 15.65 MB / 0.7369 GB, free: 70.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.161e-05/1.92, allocations: 7.375 kB / 0.7369 GB, free: 70.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003371/1.924, allocations: 0.5163 MB / 0.7374 GB, free: 70.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01064/1.934, allocations: 2.886 MB / 0.7402 GB, free: 70.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007374/1.935, allocations: 89.23 kB / 0.7403 GB, free: 70.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/1.951, allocations: 13.71 MB / 0.7537 GB, free: 60.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002666/1.953, allocations: 4.418 MB / 0.758 GB, free: 56.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02219/1.976, allocations: 11.42 MB / 0.7692 GB, free: 48.86 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00143/1.977, allocations: 0.5107 MB / 0.7697 GB, free: 48.36 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001233/1.978, allocations: 70.52 kB / 0.7697 GB, free: 48.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004398/1.983, allocations: 353.2 kB / 0.7701 GB, free: 48.09 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001001/1.984, allocations: 220.7 kB / 0.7703 GB, free: 47.96 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000357/1.984, allocations: 89.12 kB / 0.7704 GB, free: 47.89 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.006147/1.99, allocations: 2.881 MB / 0.7732 GB, free: 45.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.367e-06/1.99, allocations: 0 / 0.7732 GB, free: 45.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.009373/2, allocations: 1.602 MB / 0.7748 GB, free: 43.77 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.001017/2.001, allocations: 225.6 kB / 0.775 GB, free: 43.55 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02252/2.023, allocations: 9.428 MB / 0.7842 GB, free: 35.11 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.802e-05/2.023, allocations: 1.25 kB / 0.7842 GB, free: 35.11 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02173/2.045, allocations: 4.845 MB / 0.7889 GB, free: 30.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00682/2.052, allocations: 0.528 MB / 0.7894 GB, free: 30.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05031/2.102, allocations: 12.88 MB / 0.802 GB, free: 19.11 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009405/2.112, allocations: 4.078 MB / 0.806 GB, free: 15.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001998/2.114, allocations: 391.3 kB / 0.8064 GB, free: 14.91 MB / 426.7 MB Notification: Performance of SimCode: time 2.64e-06/2.114, allocations: 0 / 0.8064 GB, free: 14.91 MB / 426.7 MB Notification: Performance of Templates: time 0.9309/3.045, allocations: 323.5 MB / 1.122 GB, free: 23.59 MB / 458.7 MB