Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.667e-05/2.676e-05, allocations: 8 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3487, allocations: 44.49 MB / 294.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1674/0.5161, allocations: 89.72 MB / 383.9 MB, free: 8.117 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.5166, allocations: 87.94 kB / 384 MB, free: 8.031 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6991/1.216, allocations: 105.5 MB / 489.6 MB, free: 59.92 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.216, allocations: 0 / 489.6 MB, free: 59.92 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003904/1.216, allocations: 106.2 kB / 489.7 MB, free: 59.82 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.06613/1.282, allocations: 6.295 MB / 496 MB, free: 53.47 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.477e-05/1.282, allocations: 12.03 kB / 496 MB, free: 53.46 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03969/1.322, allocations: 3.409 MB / 499.4 MB, free: 50.04 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03746/1.36, allocations: 7.495 MB / 0.495 GB, free: 42.54 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005454/1.36, allocations: 176 kB / 0.4952 GB, free: 42.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003653/1.364, allocations: 327.9 kB / 0.4955 GB, free: 42.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02891/1.393, allocations: 8.379 MB / 0.5037 GB, free: 33.67 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04134/1.434, allocations: 12.16 MB / 0.5156 GB, free: 20.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000466/1.435, allocations: 83.22 kB / 0.5156 GB, free: 20.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003289/1.438, allocations: 36 kB / 0.5157 GB, free: 20.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005917/1.444, allocations: 1.48 MB / 0.5171 GB, free: 18.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4112/1.855, allocations: 62.55 MB / 0.5782 GB, free: 56.27 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009168/1.865, allocations: 4.219 MB / 0.5823 GB, free: 55.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005682/1.87, allocations: 2.794 MB / 0.585 GB, free: 55.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03039/1.901, allocations: 12.03 MB / 0.5968 GB, free: 53.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.888e-05/1.901, allocations: 62.52 kB / 0.5969 GB, free: 53.3 MB / 394.7 MB Notification: Performance of pre-optimization done (n=238): time 6.663e-06/1.901, allocations: 2.625 kB / 0.5969 GB, free: 53.3 MB / 394.7 MB Notification: Performance of matching and sorting (n=267): time 0.08196/1.983, allocations: 19.33 MB / 0.6157 GB, free: 48.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/1.983, allocations: 153.3 kB / 0.6159 GB, free: 47.95 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008075/1.991, allocations: 3.656 MB / 0.6195 GB, free: 46.61 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000831/1.992, allocations: 29.23 kB / 0.6195 GB, free: 46.58 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003344/1.995, allocations: 3.902 MB / 0.6233 GB, free: 43.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001885/1.997, allocations: 1.038 MB / 0.6243 GB, free: 42.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/1.998, allocations: 0 / 0.6243 GB, free: 42.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005526/1.999, allocations: 0.6523 MB / 0.6249 GB, free: 42.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007631/2.006, allocations: 3.097 MB / 0.628 GB, free: 41.25 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01058/2.017, allocations: 7.746 MB / 0.6355 GB, free: 33.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01052/2.028, allocations: 4.755 MB / 0.6402 GB, free: 31.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001645/2.028, allocations: 48 kB / 0.6402 GB, free: 31.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.03822/2.066, allocations: 12.11 MB / 0.652 GB, free: 22.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/2.066, allocations: 76 kB / 0.6521 GB, free: 22.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02096/2.087, allocations: 6.195 MB / 0.6582 GB, free: 17.3 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01593/2.103, allocations: 2.819 MB / 0.6609 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01227/2.116, allocations: 1.955 MB / 0.6628 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01674/2.132, allocations: 12.16 MB / 0.6747 GB, free: 2.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01244/2.145, allocations: 0.6611 MB / 0.6753 GB, free: 1.711 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002192/2.147, allocations: 497.6 kB / 0.6758 GB, free: 1.242 MB / 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.002406/2.15, allocations: 0.5241 MB / 0.6763 GB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02934/2.179, allocations: 6.952 MB / 0.6831 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/2.181, allocations: 418.7 kB / 0.6835 GB, free: 10.96 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02541/2.206, allocations: 6.603 MB / 0.69 GB, free: 4.309 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02276/2.229, allocations: 5.963 MB / 0.6958 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-05/2.229, allocations: 7.844 kB / 0.6958 GB, free: 14.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-05/2.229, allocations: 15.95 kB / 0.6958 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04971/2.279, allocations: 14.27 MB / 0.7098 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.401e-05/2.279, allocations: 7.953 kB / 0.7098 GB, free: 15.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005361/2.284, allocations: 0.4954 MB / 0.7102 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01614/2.301, allocations: 2.838 MB / 0.713 GB, free: 12.52 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009011/2.302, allocations: 47.94 kB / 0.7131 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0242/2.326, allocations: 13.4 MB / 0.7261 GB, free: 14.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004312/2.33, allocations: 4.236 MB / 0.7303 GB, free: 9.82 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3203/2.651, allocations: 10.68 MB / 0.7407 GB, free: 137.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001699/2.652, allocations: 467.9 kB / 0.7412 GB, free: 137.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002243/2.655, allocations: 28.98 kB / 0.7412 GB, free: 137.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006493/2.661, allocations: 315.5 kB / 0.7415 GB, free: 137.3 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001414/2.663, allocations: 198.7 kB / 0.7417 GB, free: 137.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004381/2.663, allocations: 84 kB / 0.7418 GB, free: 137.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007009/2.67, allocations: 2.401 MB / 0.7441 GB, free: 137.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.67, allocations: 0 / 0.7441 GB, free: 137.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01161/2.682, allocations: 1.462 MB / 0.7455 GB, free: 137.1 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.03104/2.713, allocations: 12.14 MB / 0.7574 GB, free: 134.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02483/2.738, allocations: 9.244 MB / 0.7664 GB, free: 133.4 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/2.738, allocations: 0 / 0.7664 GB, free: 133.4 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01593/2.754, allocations: 4.753 MB / 0.771 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004398/2.758, allocations: 411.3 kB / 0.7714 GB, free: 132.1 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04021/2.798, allocations: 13.71 MB / 0.7848 GB, free: 128.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008424/2.807, allocations: 4.074 MB / 0.7888 GB, free: 126.9 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01139/2.818, allocations: 2.438 MB / 0.7912 GB, free: 126.7 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006261/2.825, allocations: 2.519 MB / 0.7936 GB, free: 124.7 MB / 458.7 MB Notification: Performance of SimCode: time 1.483e-06/2.825, allocations: 3.938 kB / 0.7937 GB, free: 124.7 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5307/3.355, allocations: 102.7 MB / 0.8939 GB, free: 114.1 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001997/3.356, allocations: 147.7 kB / 0.8941 GB, free: 113.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.745/10.1, allocations: 6.641 kB / 0.8941 GB, free: 113.9 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat does not exist to compare? outputFormat=mat