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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 2.039/2.039, allocations: 224.8 MB / 241.1 MB, free: 1.656 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.989e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1112, allocations: 50.42 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.07763/0.1889, allocations: 49.9 MB / 394.9 MB, free: 6.914 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.3341/0.5231, allocations: 11.08 MB / 406 MB, free: 3.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01248/0.5356, allocations: 262.5 kB / 406.2 MB, free: 3.09 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009858/0.5455, allocations: 2.525 MB / 408.7 MB, free: 3.082 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02759/0.5732, allocations: 7.038 MB / 415.8 MB, free: 2.551 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00504/0.5782, allocations: 0.8321 MB / 416.6 MB, free: 2.301 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.007761/0.5861, allocations: 2.572 MB / 419.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00996/0.5961, allocations: 4.982 MB / 424.2 MB, free: 344 kB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.5997, allocations: 1.174 MB / 425.3 MB, free: 192 kB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005862/0.6056, allocations: 1.952 MB / 427.3 MB, free: 0 / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004575/0.6103, allocations: 0.9988 MB / 428.3 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001993/0.6123, allocations: 173.5 kB / 428.5 MB, free: 15.84 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004098/0.6164, allocations: 2.187 MB / 430.7 MB, free: 15.35 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002394/0.6189, allocations: 389.5 kB / 431 MB, free: 15.35 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01208/0.631, allocations: 7.118 MB / 438.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.81e-06/0.6311, allocations: 2.312 kB / 438.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.6311, allocations: 0 / 438.2 MB, free: 11.51 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.000399/0.6315, allocations: 0 / 438.2 MB, free: 11.51 MB / 346.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.02091/0.6524, allocations: 5.6 MB / 443.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/0.6525, allocations: 16.03 kB / 443.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02273/0.6752, allocations: 3.155 MB / 446.9 MB, free: 4.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01028/0.6856, allocations: 3.341 MB / 450.3 MB, free: 2.105 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000421/0.6861, allocations: 361.3 kB / 450.6 MB, free: 1.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004004/0.6901, allocations: 0.6746 MB / 451.3 MB, free: 1.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06065/0.7508, allocations: 17.6 MB / 468.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/0.7511, allocations: 65.72 kB / 469 MB, free: 2.875 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001984/0.7531, allocations: 223.8 kB / 469.2 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00828/0.7614, allocations: 2.844 MB / 472 MB, free: 464 kB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06057/0.8221, allocations: 15.48 MB / 487.5 MB, free: 3.582 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1203/0.9424, allocations: 60.39 MB / 0.535 GB, free: 6.188 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07608/1.019, allocations: 14.8 MB / 0.5495 GB, free: 7.121 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0454/1.064, allocations: 17.58 MB / 0.5667 GB, free: 5.137 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.24e-05/1.064, allocations: 68.5 kB / 0.5667 GB, free: 5.062 MB / 474.7 MB Notification: Performance of pre-optimization done (n=289): time 7.163e-06/1.064, allocations: 0 / 0.5667 GB, free: 5.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.5141/1.578, allocations: 44.15 MB / 0.6098 GB, free: 161.5 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003782/1.582, allocations: 4.607 MB / 0.6143 GB, free: 156.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01102/1.593, allocations: 4.871 MB / 0.6191 GB, free: 151.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001088/1.594, allocations: 75.66 kB / 0.6192 GB, free: 151.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003449/1.598, allocations: 4.067 MB / 0.6232 GB, free: 147.4 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002346/1.6, allocations: 1.239 MB / 0.6244 GB, free: 146.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001509/1.602, allocations: 174.1 kB / 0.6245 GB, free: 146 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007262/1.603, allocations: 0.6868 MB / 0.6252 GB, free: 145.3 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01064/1.613, allocations: 3.968 MB / 0.6291 GB, free: 141.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01372/1.627, allocations: 8.898 MB / 0.6378 GB, free: 130 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0138/1.641, allocations: 5.703 MB / 0.6433 GB, free: 124.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001652/1.641, allocations: 48 kB / 0.6434 GB, free: 124.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1160) (initialization): time 0.09864/1.74, allocations: 17.5 MB / 0.6605 GB, free: 106.7 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/1.74, allocations: 76 kB / 0.6605 GB, free: 106.6 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05791/1.798, allocations: 10.36 MB / 0.6707 GB, free: 96.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05453/1.852, allocations: 6.182 MB / 0.6767 GB, free: 89.95 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01357/1.866, allocations: 2.187 MB / 0.6788 GB, free: 87.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04067/1.907, allocations: 18.61 MB / 0.697 GB, free: 68.36 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01224/1.919, allocations: 0.7741 MB / 0.6978 GB, free: 67.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002193/1.921, allocations: 0.5204 MB / 0.6983 GB, free: 67.06 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 792 * 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 (1094): * Single equations (assignments): 1073 * 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.00759/1.929, allocations: 2.684 MB / 0.7009 GB, free: 64.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.93, allocations: 485.8 kB / 0.7014 GB, free: 63.89 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02706/1.957, allocations: 8.076 MB / 0.7092 GB, free: 55.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02443/1.982, allocations: 7.179 MB / 0.7163 GB, free: 48.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.945e-05/1.982, allocations: 4 kB / 0.7163 GB, free: 48.45 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.25e-05/1.982, allocations: 19.94 kB / 0.7163 GB, free: 48.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05388/2.036, allocations: 18.34 MB / 0.7342 GB, free: 29.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-05/2.036, allocations: 8 kB / 0.7342 GB, free: 29.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01002/2.046, allocations: 0.7496 MB / 0.7349 GB, free: 29.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01542/2.062, allocations: 2.9 MB / 0.7378 GB, free: 26.25 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001082/2.063, allocations: 91.94 kB / 0.7378 GB, free: 26.16 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/2.084, allocations: 13.96 MB / 0.7515 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003413/2.088, allocations: 4.48 MB / 0.7559 GB, free: 6.5 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3993/2.487, allocations: 13.34 MB / 0.7689 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002357/2.49, allocations: 0.5434 MB / 0.7694 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00314/2.493, allocations: 84.95 kB / 0.7695 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006976/2.5, allocations: 379.5 kB / 0.7699 GB, free: 153.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001482/2.502, allocations: 242.2 kB / 0.7701 GB, free: 153.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000884/2.502, allocations: 103.8 kB / 0.7702 GB, free: 153.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008691/2.511, allocations: 3.391 MB / 0.7735 GB, free: 152 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.511, allocations: 0 / 0.7735 GB, free: 152 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01128/2.522, allocations: 1.847 MB / 0.7753 GB, free: 151.8 MB / 474.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 (273): * Single equations (assignments): 258 * 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 {(4,100.0%),(3,100.0%),(3,100.0%),(4,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 Backend phase and start with SimCode phase: time 0.001634/2.524, allocations: 267.1 kB / 0.7756 GB, free: 151.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03153/2.556, allocations: 11.21 MB / 0.7865 GB, free: 147.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.278e-05/2.556, allocations: 0 / 0.7865 GB, free: 147.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01733/2.573, allocations: 5.411 MB / 0.7918 GB, free: 145 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005392/2.579, allocations: 0.5794 MB / 0.7923 GB, free: 144.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04134/2.62, allocations: 19.3 MB / 0.8112 GB, free: 131.5 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008917/2.629, allocations: 4.415 MB / 0.8155 GB, free: 128.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002971/2.632, allocations: 443.9 kB / 0.8159 GB, free: 127.8 MB / 474.7 MB Notification: Performance of SimCode: time 1.172e-06/2.632, allocations: 0 / 0.8159 GB, free: 127.8 MB / 474.7 MB Notification: Performance of Templates: time 1.283/3.915, allocations: 359.7 MB / 1.167 GB, free: 101.1 MB / 474.7 MB