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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.891/1.891, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.26e-05/2.265e-05, allocations: 0 / 292.2 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08939/0.08944, allocations: 50.41 MB / 342.6 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3895/0.479, allocations: 102.2 MB / 444.8 MB, free: 8.238 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.4793, allocations: 86.58 kB / 444.9 MB, free: 8.195 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7278/1.207, allocations: 120.5 MB / 0.5522 GB, free: 96.78 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.96e-06/1.207, allocations: 0 / 0.5522 GB, free: 96.78 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002285/1.207, allocations: 114.4 kB / 0.5523 GB, free: 96.77 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.03123/1.239, allocations: 6.735 MB / 0.5589 GB, free: 94.47 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.988e-05/1.239, allocations: 8.969 kB / 0.5589 GB, free: 94.47 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02066/1.259, allocations: 3.477 MB / 0.5623 GB, free: 94.05 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/1.28, allocations: 7.294 MB / 0.5694 GB, free: 93.29 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004907/1.281, allocations: 460.9 kB / 0.5698 GB, free: 93.28 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00228/1.283, allocations: 0.6018 MB / 0.5704 GB, free: 93.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04181/1.325, allocations: 17.43 MB / 0.5874 GB, free: 88.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002288/1.325, allocations: 76.91 kB / 0.5875 GB, free: 88.83 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001055/1.326, allocations: 295.3 kB / 0.5878 GB, free: 88.67 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002902/1.329, allocations: 1.636 MB / 0.5894 GB, free: 88.4 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03952/1.369, allocations: 14.74 MB / 0.6038 GB, free: 81.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1023/1.471, allocations: 67.5 MB / 0.6697 GB, free: 14.29 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04057/1.512, allocations: 6.933 MB / 0.6765 GB, free: 7.133 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009435/1.521, allocations: 3.132 MB / 0.6795 GB, free: 3.988 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03287/1.554, allocations: 14.54 MB / 0.6937 GB, free: 5.039 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/1.555, allocations: 60.56 kB / 0.6938 GB, free: 4.973 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 7.14e-06/1.555, allocations: 4 kB / 0.6938 GB, free: 4.969 MB / 458.7 MB Notification: Performance of matching and sorting (n=321): time 0.3525/1.907, allocations: 21.09 MB / 0.7144 GB, free: 100.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003011/1.91, allocations: 4.569 MB / 0.7188 GB, free: 96.6 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008639/1.919, allocations: 4.433 MB / 0.7232 GB, free: 96.16 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007222/1.919, allocations: 79.38 kB / 0.7232 GB, free: 96.13 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002894/1.922, allocations: 4.18 MB / 0.7273 GB, free: 94.04 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00139/1.924, allocations: 1.241 MB / 0.7285 GB, free: 93.32 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006211/1.924, allocations: 173.6 kB / 0.7287 GB, free: 93.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004797/1.925, allocations: 0.6818 MB / 0.7294 GB, free: 92.99 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006232/1.931, allocations: 3.411 MB / 0.7327 GB, free: 92.97 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009075/1.94, allocations: 8.292 MB / 0.7408 GB, free: 86.69 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009381/1.95, allocations: 5.211 MB / 0.7459 GB, free: 85.98 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/1.95, allocations: 46.47 kB / 0.7459 GB, free: 85.98 MB / 458.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.0334/1.983, allocations: 13.36 MB / 0.759 GB, free: 82.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/1.983, allocations: 83.91 kB / 0.7591 GB, free: 82.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01689/2, allocations: 6.694 MB / 0.7656 GB, free: 80.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01144/2.012, allocations: 2.873 MB / 0.7684 GB, free: 79.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008838/2.021, allocations: 2.071 MB / 0.7704 GB, free: 79.62 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01446/2.035, allocations: 12.63 MB / 0.7828 GB, free: 70.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009979/2.045, allocations: 0.8245 MB / 0.7836 GB, free: 70.38 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/2.047, allocations: 0.5163 MB / 0.7841 GB, free: 70.3 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.001635/2.048, allocations: 0.7796 MB / 0.7848 GB, free: 69.68 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/2.049, allocations: 485.5 kB / 0.7853 GB, free: 69.41 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01838/2.068, allocations: 7.236 MB / 0.7924 GB, free: 65.82 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02124/2.089, allocations: 6.426 MB / 0.7986 GB, free: 60.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-05/2.089, allocations: 7.953 kB / 0.7986 GB, free: 60.75 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.812e-05/2.089, allocations: 19.75 kB / 0.7987 GB, free: 60.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07203/2.161, allocations: 16.97 MB / 0.8152 GB, free: 47.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.936e-05/2.161, allocations: 8 kB / 0.8152 GB, free: 47.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006362/2.168, allocations: 0.5761 MB / 0.8158 GB, free: 46.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01048/2.178, allocations: 2.889 MB / 0.8186 GB, free: 45.02 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006822/2.179, allocations: 93.81 kB / 0.8187 GB, free: 44.95 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01585/2.195, allocations: 13.7 MB / 0.8321 GB, free: 31.78 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002584/2.197, allocations: 4.426 MB / 0.8364 GB, free: 26.93 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02206/2.219, allocations: 12.1 MB / 0.8482 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001536/2.221, allocations: 0.5338 MB / 0.8488 GB, free: 13.86 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009184/2.222, allocations: 75.98 kB / 0.8488 GB, free: 13.79 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003596/2.226, allocations: 367.4 kB / 0.8492 GB, free: 13.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006591/2.226, allocations: 247.7 kB / 0.8494 GB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003736/2.227, allocations: 99.2 kB / 0.8495 GB, free: 13.1 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.005138/2.232, allocations: 3.041 MB / 0.8525 GB, free: 10.07 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.2e-07/2.232, allocations: 0 / 0.8525 GB, free: 10.07 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00846/2.24, allocations: 1.734 MB / 0.8542 GB, free: 8.344 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.0006728/2.241, allocations: 262.3 kB / 0.8544 GB, free: 8.094 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01923/2.26, allocations: 9.871 MB / 0.8641 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.455e-06/2.26, allocations: 3.844 kB / 0.8641 GB, free: 14.06 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.3071/2.567, allocations: 4.975 MB / 0.8689 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004188/2.572, allocations: 0.577 MB / 0.8695 GB, free: 109.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02909/2.601, allocations: 13.18 MB / 0.8824 GB, free: 106.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006966/2.608, allocations: 4.399 MB / 0.8867 GB, free: 105.7 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008576/2.616, allocations: 2.574 MB / 0.8892 GB, free: 105.5 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001543/2.618, allocations: 358.5 kB / 0.8895 GB, free: 105.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.773e-06/2.618, allocations: 0 / 0.8895 GB, free: 105.5 MB / 474.7 MB Notification: Performance of Templates: time 0.1436/2.762, allocations: 59.77 MB / 0.9479 GB, free: 89.19 MB / 474.7 MB