Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.654/1.654, allocations: 171.2 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.456e-05, allocations: 4 kB / 219.6 MB, free: 6.941 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.256/0.256, allocations: 38.77 MB / 258.4 MB, free: 12.3 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.4222, allocations: 84.07 MB / 342.4 MB, free: 9.766 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.4226, allocations: 87.95 kB / 342.5 MB, free: 9.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6125/1.035, allocations: 105.3 MB / 447.8 MB, free: 27.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.993e-06/1.035, allocations: 4 kB / 447.8 MB, free: 27.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002735/1.035, allocations: 107.9 kB / 448 MB, free: 27.57 MB / 314.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.04269/1.078, allocations: 6.307 MB / 454.3 MB, free: 21.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/1.078, allocations: 8.031 kB / 454.3 MB, free: 21.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02711/1.105, allocations: 3.371 MB / 457.6 MB, free: 17.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02621/1.132, allocations: 7.464 MB / 465.1 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003501/1.132, allocations: 176 kB / 465.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002982/1.135, allocations: 327.8 kB / 465.6 MB, free: 9.781 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01987/1.155, allocations: 8.374 MB / 474 MB, free: 1.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03411/1.189, allocations: 12.18 MB / 486.1 MB, free: 3.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003613/1.189, allocations: 75.28 kB / 486.2 MB, free: 3.922 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002732/1.192, allocations: 40 kB / 486.3 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004793/1.197, allocations: 1.488 MB / 487.7 MB, free: 2.391 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3497/1.547, allocations: 62.61 MB / 0.5375 GB, free: 29.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008354/1.555, allocations: 4.224 MB / 0.5416 GB, free: 28.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005582/1.561, allocations: 2.8 MB / 0.5443 GB, free: 28.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02962/1.59, allocations: 12.01 MB / 0.556 GB, free: 25.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.059e-05/1.591, allocations: 64.25 kB / 0.5561 GB, free: 25.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=238): time 7.424e-06/1.591, allocations: 0 / 0.5561 GB, free: 25.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=267): time 0.08023/1.671, allocations: 19.33 MB / 0.575 GB, free: 18.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.513e-05/1.671, allocations: 157.2 kB / 0.5751 GB, free: 18.51 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007578/1.679, allocations: 3.654 MB / 0.5787 GB, free: 17.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007751/1.679, allocations: 34.3 kB / 0.5787 GB, free: 17.13 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003131/1.683, allocations: 3.908 MB / 0.5826 GB, free: 14.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001783/1.684, allocations: 1.032 MB / 0.5836 GB, free: 13.39 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009794/1.685, allocations: 0 / 0.5836 GB, free: 13.39 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000526/1.686, allocations: 0.6567 MB / 0.5842 GB, free: 12.94 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007262/1.693, allocations: 3.085 MB / 0.5872 GB, free: 11.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01025/1.703, allocations: 7.735 MB / 0.5948 GB, free: 4.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/1.714, allocations: 4.757 MB / 0.5994 GB, free: 1.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001507/1.714, allocations: 48 kB / 0.5995 GB, free: 1.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=1072) (initialization): time 0.04191/1.756, allocations: 11.97 MB / 0.6111 GB, free: 8.02 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/1.756, allocations: 80.06 kB / 0.6112 GB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02051/1.777, allocations: 5.965 MB / 0.617 GB, free: 3.203 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01383/1.79, allocations: 2.57 MB / 0.6196 GB, free: 1.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01367/1.804, allocations: 2.018 MB / 0.6215 GB, free: 15.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01601/1.82, allocations: 11.1 MB / 0.6324 GB, free: 4.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01245/1.833, allocations: 0.658 MB / 0.633 GB, free: 4.512 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/1.835, allocations: 0.492 MB / 0.6335 GB, free: 4.043 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 757 * 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 (1015): * Single equations (assignments): 994 * 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 {1,1,1} * 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.002014/1.837, allocations: 0.5251 MB / 0.634 GB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.2792/2.116, allocations: 6.706 MB / 0.6406 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001983/2.118, allocations: 414.8 kB / 0.641 GB, free: 88.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02474/2.143, allocations: 6.607 MB / 0.6474 GB, free: 87.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02053/2.164, allocations: 5.949 MB / 0.6532 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.822e-05/2.164, allocations: 7.25 kB / 0.6532 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.432e-05/2.164, allocations: 10.92 kB / 0.6532 GB, free: 87.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04621/2.21, allocations: 14.28 MB / 0.6672 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.5e-05/2.21, allocations: 4.094 kB / 0.6672 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005219/2.215, allocations: 0.4957 MB / 0.6677 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01522/2.231, allocations: 2.834 MB / 0.6704 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009382/2.232, allocations: 48.41 kB / 0.6705 GB, free: 86.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/2.253, allocations: 13.39 MB / 0.6836 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003168/2.256, allocations: 4.246 MB / 0.6877 GB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02957/2.286, allocations: 10.68 MB / 0.6981 GB, free: 71.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001558/2.287, allocations: 469.8 kB / 0.6986 GB, free: 71.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002063/2.29, allocations: 22.19 kB / 0.6986 GB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006368/2.296, allocations: 319.9 kB / 0.6989 GB, free: 71.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0013/2.297, allocations: 201.1 kB / 0.6991 GB, free: 71.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003757/2.298, allocations: 88.16 kB / 0.6992 GB, free: 71.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.005901/2.304, allocations: 2.41 MB / 0.7015 GB, free: 70.31 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.52e-07/2.304, allocations: 0 / 0.7015 GB, free: 70.31 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01013/2.314, allocations: 1.437 MB / 0.7029 GB, free: 70.31 MB / 378.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.03143/2.345, allocations: 12.14 MB / 0.7148 GB, free: 62.85 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02474/2.37, allocations: 8.849 MB / 0.7234 GB, free: 55.39 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/2.37, allocations: 0 / 0.7234 GB, free: 55.39 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01572/2.386, allocations: 4.749 MB / 0.7281 GB, free: 51.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004592/2.39, allocations: 424.6 kB / 0.7285 GB, free: 50.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.044/2.435, allocations: 13.71 MB / 0.7419 GB, free: 38.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009256/2.444, allocations: 4.059 MB / 0.7458 GB, free: 34.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.01212/2.456, allocations: 2.451 MB / 0.7482 GB, free: 31.68 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006477/2.463, allocations: 2.514 MB / 0.7507 GB, free: 29.17 MB / 378.7 MB Notification: Performance of SimCode: time 2.093e-06/2.463, allocations: 0 / 0.7507 GB, free: 29.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5183/2.981, allocations: 100.9 MB / 0.8492 GB, free: 49.39 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/2.981, allocations: 153.3 kB / 0.8494 GB, free: 49.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.299/9.28, allocations: 4 kB / 0.8494 GB, free: 49.19 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat does not exist to compare? outputFormat=mat