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_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses") Notification: Performance of loadModel(Modelica): time 1.669/1.669, allocations: 171.1 MB / 186.3 MB, free: 1.422 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.206e-05, allocations: 4 kB / 228.1 MB, free: 7.984 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08326/0.08332, allocations: 38.77 MB / 266.9 MB, free: 1.137 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses): time 0.296/0.3794, allocations: 46.59 MB / 313.5 MB, free: 3.008 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0299/0.4094, allocations: 10.33 MB / 323.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01341/0.4228, allocations: 247.2 kB / 324.1 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008995/0.4319, allocations: 2.427 MB / 326.5 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02776/0.4597, allocations: 6.617 MB / 333.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00505/0.4648, allocations: 0.8289 MB / 333.9 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007574/0.4724, allocations: 2.405 MB / 336.3 MB, free: 10.04 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01037/0.4829, allocations: 4.86 MB / 341.2 MB, free: 6.324 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003153/0.4861, allocations: 1.087 MB / 342.3 MB, free: 5.234 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004159/0.4903, allocations: 1.734 MB / 344 MB, free: 3.496 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003726/0.494, allocations: 0.9441 MB / 345 MB, free: 2.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.4957, allocations: 156 kB / 345.1 MB, free: 2.398 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003671/0.4994, allocations: 1.975 MB / 347.1 MB, free: 428 kB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002071/0.5015, allocations: 348 kB / 347.4 MB, free: 80 kB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01151/0.5131, allocations: 6.601 MB / 354 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.5131, allocations: 0 / 354 MB, free: 9.457 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.5131, allocations: 0 / 354 MB, free: 9.457 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0003364/0.5135, allocations: 0 / 354 MB, free: 9.457 MB / 282.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.01883/0.5323, allocations: 5.184 MB / 359.2 MB, free: 4.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/0.5324, allocations: 8.031 kB / 359.2 MB, free: 4.191 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02129/0.5537, allocations: 3.027 MB / 362.3 MB, free: 1.152 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01036/0.5641, allocations: 3.622 MB / 365.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005159/0.5647, allocations: 319.9 kB / 366.2 MB, free: 13.15 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004011/0.5687, allocations: 0.6279 MB / 366.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05877/0.6275, allocations: 16.41 MB / 383.2 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.6279, allocations: 55.47 kB / 383.3 MB, free: 11.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001794/0.6297, allocations: 199.8 kB / 383.5 MB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007562/0.6373, allocations: 2.534 MB / 386 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05803/0.6953, allocations: 14.63 MB / 400.6 MB, free: 9.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3583/1.054, allocations: 56.43 MB / 457.1 MB, free: 93.25 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.07172/1.125, allocations: 13.96 MB / 471 MB, free: 91.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03709/1.163, allocations: 16.21 MB / 487.2 MB, free: 81.12 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.003e-05/1.163, allocations: 62.28 kB / 487.3 MB, free: 81.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=246): time 7.293e-06/1.163, allocations: 0 / 487.3 MB, free: 81.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=278): time 0.2241/1.387, allocations: 44.4 MB / 0.5192 GB, free: 36.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00383/1.391, allocations: 4.62 MB / 0.5238 GB, free: 31.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01007/1.401, allocations: 4.605 MB / 0.5282 GB, free: 26.85 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009324/1.402, allocations: 66.88 kB / 0.5283 GB, free: 26.78 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002964/1.405, allocations: 3.72 MB / 0.5319 GB, free: 23.07 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001965/1.407, allocations: 1.091 MB / 0.533 GB, free: 21.98 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001154/1.408, allocations: 165.5 kB / 0.5332 GB, free: 21.82 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006002/1.409, allocations: 0.6498 MB / 0.5338 GB, free: 21.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00974/1.418, allocations: 3.771 MB / 0.5375 GB, free: 17.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01283/1.431, allocations: 8.329 MB / 0.5456 GB, free: 6.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/1.444, allocations: 5.367 MB / 0.5509 GB, free: 1.613 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001311/1.444, allocations: 44 kB / 0.5509 GB, free: 1.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=1055) (initialization): time 0.04885/1.493, allocations: 14.13 MB / 0.5647 GB, free: 3.371 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001419/1.493, allocations: 75.75 kB / 0.5648 GB, free: 3.301 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02822/1.521, allocations: 7.458 MB / 0.5721 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01761/1.539, allocations: 3.194 MB / 0.5752 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01325/1.552, allocations: 2.004 MB / 0.5771 GB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3106/1.863, allocations: 13.36 MB / 0.5902 GB, free: 135.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01139/1.874, allocations: 0.7328 MB / 0.5909 GB, free: 135.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002226/1.877, allocations: 494 kB / 0.5914 GB, free: 135.4 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 731 * 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 (989): * Single equations (assignments): 968 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 6 * 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: 0 * 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: 3 {3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.007738/1.884, allocations: 2.471 MB / 0.5938 GB, free: 135 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001808/1.886, allocations: 449.3 kB / 0.5942 GB, free: 135 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0284/1.915, allocations: 7.818 MB / 0.6018 GB, free: 132.6 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02472/1.94, allocations: 7.037 MB / 0.6087 GB, free: 130.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.807e-05/1.94, allocations: 6.875 kB / 0.6087 GB, free: 130.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.029e-05/1.94, allocations: 15.14 kB / 0.6087 GB, free: 130.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05321/1.993, allocations: 17.07 MB / 0.6254 GB, free: 121.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.215e-05/1.993, allocations: 8 kB / 0.6254 GB, free: 121.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006355/1.999, allocations: 0.6711 MB / 0.6261 GB, free: 121 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01529/2.015, allocations: 2.9 MB / 0.6289 GB, free: 118.1 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009501/2.016, allocations: 92.58 kB / 0.629 GB, free: 118 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02644/2.042, allocations: 13.97 MB / 0.6426 GB, free: 103.4 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003333/2.046, allocations: 4.464 MB / 0.647 GB, free: 98.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04048/2.086, allocations: 12.69 MB / 0.6594 GB, free: 85.79 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001577/2.088, allocations: 0.5129 MB / 0.6599 GB, free: 85.31 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002039/2.09, allocations: 79.25 kB / 0.66 GB, free: 85.24 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006207/2.096, allocations: 363.4 kB / 0.6603 GB, free: 84.88 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001318/2.097, allocations: 219.9 kB / 0.6605 GB, free: 84.68 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005195/2.098, allocations: 87.95 kB / 0.6606 GB, free: 84.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.007298/2.105, allocations: 3.234 MB / 0.6638 GB, free: 81.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.105, allocations: 0 / 0.6638 GB, free: 81.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.009507/2.115, allocations: 1.651 MB / 0.6654 GB, free: 79.72 MB / 394.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 (228): * Single equations (assignments): 213 * 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.001526/2.116, allocations: 249.3 kB / 0.6656 GB, free: 79.48 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0295/2.146, allocations: 10.64 MB / 0.676 GB, free: 68.71 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.401e-05/2.146, allocations: 2 kB / 0.676 GB, free: 68.71 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01715/2.163, allocations: 5.271 MB / 0.6811 GB, free: 63.27 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/2.168, allocations: 0.5321 MB / 0.6817 GB, free: 62.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0365/2.204, allocations: 17.91 MB / 0.6992 GB, free: 44.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007739/2.212, allocations: 4.087 MB / 0.7032 GB, free: 40.63 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002921/2.215, allocations: 399.3 kB / 0.7035 GB, free: 40.24 MB / 394.7 MB Notification: Performance of SimCode: time 1.783e-06/2.215, allocations: 0 / 0.7035 GB, free: 40.24 MB / 394.7 MB Notification: Performance of Templates: time 1.299/3.514, allocations: 327.4 MB / 1.023 GB, free: 126.2 MB / 394.7 MB