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.854/1.854, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.069e-05/2.06e-05, allocations: 0 / 249.6 MB, free: 15.29 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2525, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.4521, allocations: 89.71 MB / 383.8 MB, free: 8.238 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005016/0.4526, allocations: 87.89 kB / 383.9 MB, free: 8.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5864/1.039, allocations: 105.5 MB / 489.5 MB, free: 60.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.057e-06/1.039, allocations: 0 / 489.5 MB, free: 60.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002414/1.039, allocations: 104 kB / 489.6 MB, free: 59.98 MB / 362.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.02932/1.069, allocations: 6.299 MB / 495.9 MB, free: 53.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/1.069, allocations: 8.031 kB / 495.9 MB, free: 53.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01943/1.088, allocations: 3.417 MB / 499.3 MB, free: 50.19 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02072/1.109, allocations: 7.483 MB / 0.4949 GB, free: 42.71 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003157/1.109, allocations: 172 kB / 0.4951 GB, free: 42.54 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002269/1.112, allocations: 331.8 kB / 0.4954 GB, free: 42.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01696/1.129, allocations: 8.372 MB / 0.5035 GB, free: 33.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02428/1.153, allocations: 12.18 MB / 0.5154 GB, free: 20.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000233/1.153, allocations: 71.3 kB / 0.5155 GB, free: 20.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001314/1.155, allocations: 40 kB / 0.5155 GB, free: 20.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002877/1.157, allocations: 1.491 MB / 0.517 GB, free: 18.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.35/1.507, allocations: 62.55 MB / 0.5781 GB, free: 55.18 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007408/1.515, allocations: 4.228 MB / 0.5822 GB, free: 54.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004763/1.52, allocations: 2.787 MB / 0.5849 GB, free: 54.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02546/1.545, allocations: 12.03 MB / 0.5967 GB, free: 52.25 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.655e-05/1.545, allocations: 59.53 kB / 0.5967 GB, free: 52.21 MB / 394.7 MB Notification: Performance of pre-optimization done (n=238): time 6.803e-06/1.545, allocations: 0 / 0.5967 GB, free: 52.21 MB / 394.7 MB Notification: Performance of matching and sorting (n=267): time 0.06355/1.609, allocations: 19.34 MB / 0.6156 GB, free: 47.07 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.238e-05/1.609, allocations: 155.2 kB / 0.6158 GB, free: 46.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00702/1.616, allocations: 3.647 MB / 0.6193 GB, free: 45.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006628/1.617, allocations: 28.8 kB / 0.6194 GB, free: 45.54 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002528/1.619, allocations: 3.849 MB / 0.6231 GB, free: 42.45 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001467/1.621, allocations: 1.034 MB / 0.6241 GB, free: 41.69 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007175/1.622, allocations: 3.219 kB / 0.6241 GB, free: 41.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0004948/1.622, allocations: 0.6508 MB / 0.6248 GB, free: 41.23 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006067/1.628, allocations: 3.095 MB / 0.6278 GB, free: 40.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009052/1.637, allocations: 7.745 MB / 0.6353 GB, free: 32.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01285/1.65, allocations: 4.758 MB / 0.64 GB, free: 30.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002343/1.65, allocations: 48 kB / 0.64 GB, free: 30.94 MB / 394.7 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.05229/1.703, allocations: 11.99 MB / 0.6518 GB, free: 21.46 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002077/1.703, allocations: 75.89 kB / 0.6518 GB, free: 21.39 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02661/1.73, allocations: 6.201 MB / 0.6579 GB, free: 16.48 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/1.741, allocations: 2.818 MB / 0.6606 GB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007711/1.748, allocations: 1.952 MB / 0.6625 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/1.762, allocations: 12.16 MB / 0.6744 GB, free: 1.328 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01012/1.772, allocations: 0.6653 MB / 0.6751 GB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001864/1.774, allocations: 494 kB / 0.6755 GB, free: 432 kB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * 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 (1005): * Single equations (assignments): 984 * 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.002162/1.776, allocations: 0.5353 MB / 0.6761 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.778, allocations: 410.5 kB / 0.6764 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01951/1.797, allocations: 6.596 MB / 0.6829 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01744/1.815, allocations: 5.957 MB / 0.6887 GB, free: 4.18 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-05/1.815, allocations: 12 kB / 0.6887 GB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-05/1.815, allocations: 11.95 kB / 0.6887 GB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04997/1.865, allocations: 14.28 MB / 0.7027 GB, free: 5.777 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.597e-05/1.865, allocations: 8.094 kB / 0.7027 GB, free: 5.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006466/1.871, allocations: 0.5031 MB / 0.7032 GB, free: 5.266 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02188/1.893, allocations: 2.834 MB / 0.7059 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001135/1.894, allocations: 51.88 kB / 0.706 GB, free: 2.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03168/1.926, allocations: 13.39 MB / 0.7191 GB, free: 4.293 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004419/1.931, allocations: 4.239 MB / 0.7232 GB, free: 15.69 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05606/1.987, allocations: 10.69 MB / 0.7336 GB, free: 4.715 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003137/1.99, allocations: 471.6 kB / 0.7341 GB, free: 4.23 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002925/1.993, allocations: 27.97 kB / 0.7341 GB, free: 4.203 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009989/2.003, allocations: 307.5 kB / 0.7344 GB, free: 3.902 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00203/2.005, allocations: 209.5 kB / 0.7346 GB, free: 3.699 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009527/2.006, allocations: 83.95 kB / 0.7347 GB, free: 3.617 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0121/2.018, allocations: 2.408 MB / 0.737 GB, free: 1.211 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.82e-06/2.018, allocations: 0 / 0.737 GB, free: 1.211 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.2639/2.282, allocations: 1.45 MB / 0.7385 GB, free: 139.4 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (215): * Single equations (assignments): 200 * 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.001058/2.283, allocations: 184.6 kB / 0.7386 GB, free: 139.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02089/2.304, allocations: 9.252 MB / 0.7477 GB, free: 138 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.661e-06/2.304, allocations: 0 / 0.7477 GB, free: 138 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01266/2.317, allocations: 4.765 MB / 0.7523 GB, free: 136.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005691/2.323, allocations: 419.2 kB / 0.7527 GB, free: 136.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/2.351, allocations: 12.64 MB / 0.7651 GB, free: 133.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00801/2.359, allocations: 4.063 MB / 0.769 GB, free: 132.9 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001872/2.361, allocations: 376.2 kB / 0.7694 GB, free: 132.9 MB / 458.7 MB Notification: Performance of SimCode: time 1.971e-06/2.361, allocations: 0 / 0.7694 GB, free: 132.9 MB / 458.7 MB Notification: Performance of Templates: time 0.9264/3.287, allocations: 321.3 MB / 1.083 GB, free: 137.4 MB / 458.7 MB