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.703/1.703, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.827e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3156, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.4719, allocations: 84.74 MB / 348.6 MB, free: 4.844 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.4723, allocations: 83.95 kB / 348.7 MB, free: 4.762 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.679/1.151, allocations: 107.8 MB / 456.5 MB, free: 16.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.086e-06/1.151, allocations: 0 / 456.5 MB, free: 16.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002748/1.152, allocations: 107.9 kB / 456.6 MB, free: 16.72 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.04374/1.195, allocations: 6.292 MB / 462.9 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.195, allocations: 12.03 kB / 462.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005216/1.201, allocations: 0.9835 MB / 463.9 MB, free: 9.352 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02764/1.228, allocations: 3.371 MB / 467.2 MB, free: 5.969 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03894/1.267, allocations: 7.475 MB / 474.7 MB, free: 14.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009148/1.268, allocations: 406.7 kB / 475.1 MB, free: 14.03 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004227/1.273, allocations: 0.5387 MB / 475.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0657/1.338, allocations: 16.33 MB / 492 MB, free: 11.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003511/1.339, allocations: 71.28 kB / 492 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002555/1.341, allocations: 271.8 kB / 492.3 MB, free: 11.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004893/1.346, allocations: 1.476 MB / 493.8 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3012/1.647, allocations: 13.91 MB / 0.4958 GB, free: 58.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1412/1.789, allocations: 63.62 MB / 0.5579 GB, free: 20.57 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04567/1.834, allocations: 6.152 MB / 0.5639 GB, free: 18.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01007/1.845, allocations: 2.955 MB / 0.5668 GB, free: 17.38 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04514/1.89, allocations: 13.21 MB / 0.5797 GB, free: 10.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.818e-05/1.89, allocations: 62.34 kB / 0.5798 GB, free: 10.8 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 8.736e-06/1.89, allocations: 3.938 kB / 0.5798 GB, free: 10.8 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.1526/2.043, allocations: 21.9 MB / 0.6012 GB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00574/2.048, allocations: 4.57 MB / 0.6056 GB, free: 9.449 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01089/2.059, allocations: 4.188 MB / 0.6097 GB, free: 5.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008702/2.06, allocations: 64.28 kB / 0.6098 GB, free: 5.668 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004554/2.065, allocations: 3.838 MB / 0.6135 GB, free: 2.223 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002296/2.067, allocations: 1.092 MB / 0.6146 GB, free: 1.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/2.069, allocations: 161.1 kB / 0.6148 GB, free: 1.105 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0008112/2.069, allocations: 0.6495 MB / 0.6154 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02443/2.094, allocations: 4.121 MB / 0.6194 GB, free: 15.85 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01451/2.108, allocations: 7.714 MB / 0.6269 GB, free: 6.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/2.121, allocations: 4.888 MB / 0.6317 GB, free: 1.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001805/2.122, allocations: 48 kB / 0.6318 GB, free: 1.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.3205/2.442, allocations: 12.34 MB / 0.6438 GB, free: 84.12 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/2.442, allocations: 75.41 kB / 0.6439 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02095/2.463, allocations: 6.177 MB / 0.6499 GB, free: 83.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0137/2.477, allocations: 2.603 MB / 0.6525 GB, free: 83.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01305/2.49, allocations: 1.968 MB / 0.6544 GB, free: 83.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/2.504, allocations: 11.49 MB / 0.6656 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0126/2.517, allocations: 0.8109 MB / 0.6664 GB, free: 75.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002104/2.519, allocations: 486 kB / 0.6669 GB, free: 75.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 729 * 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 (996): * Single equations (assignments): 975 * 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.002777/2.522, allocations: 0.7027 MB / 0.6675 GB, free: 75.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00119/2.523, allocations: 453.7 kB / 0.668 GB, free: 75.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02466/2.548, allocations: 6.906 MB / 0.6747 GB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0218/2.57, allocations: 6.17 MB / 0.6807 GB, free: 75 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.775e-05/2.57, allocations: 3.594 kB / 0.6807 GB, free: 75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.887e-05/2.57, allocations: 15.84 kB / 0.6808 GB, free: 75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04915/2.619, allocations: 15.64 MB / 0.696 GB, free: 69.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.557e-05/2.619, allocations: 7.531 kB / 0.696 GB, free: 69.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005313/2.625, allocations: 0.5237 MB / 0.6966 GB, free: 69.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01543/2.64, allocations: 2.881 MB / 0.6994 GB, free: 67.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008869/2.641, allocations: 86.53 kB / 0.6994 GB, free: 67.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02165/2.663, allocations: 13.7 MB / 0.7128 GB, free: 54.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003251/2.666, allocations: 4.42 MB / 0.7171 GB, free: 50.34 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03069/2.697, allocations: 11.42 MB / 0.7283 GB, free: 40.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001683/2.698, allocations: 0.5053 MB / 0.7288 GB, free: 40.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001801/2.7, allocations: 75.06 kB / 0.7289 GB, free: 39.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006517/2.707, allocations: 358.1 kB / 0.7292 GB, free: 39.77 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/2.708, allocations: 214.6 kB / 0.7294 GB, free: 39.65 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004272/2.709, allocations: 89.17 kB / 0.7295 GB, free: 39.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007129/2.716, allocations: 2.883 MB / 0.7323 GB, free: 36.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.02e-07/2.716, allocations: 0 / 0.7323 GB, free: 36.9 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.01005/2.726, allocations: 1.576 MB / 0.7339 GB, free: 35.33 MB / 378.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 (226): * Single equations (assignments): 211 * 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.03176/2.758, allocations: 13.47 MB / 0.747 GB, free: 21.63 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02546/2.783, allocations: 9.017 MB / 0.7558 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.783, allocations: 3.844 kB / 0.7558 GB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01601/2.799, allocations: 4.827 MB / 0.7605 GB, free: 7.523 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004969/2.804, allocations: 0.5199 MB / 0.761 GB, free: 7.023 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3162/3.121, allocations: 14.17 MB / 0.7749 GB, free: 95.97 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008959/3.13, allocations: 4.064 MB / 0.7788 GB, free: 95.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.012/3.142, allocations: 2.403 MB / 0.7812 GB, free: 95.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006058/3.148, allocations: 2.528 MB / 0.7837 GB, free: 95.09 MB / 394.7 MB Notification: Performance of SimCode: time 2.013e-06/3.148, allocations: 3.938 kB / 0.7837 GB, free: 95.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2429/3.391, allocations: 108.2 MB / 0.8893 GB, free: 27.93 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002711/3.391, allocations: 207.6 kB / 0.8895 GB, free: 27.69 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.76/10.15, allocations: 3.938 kB / 0.8895 GB, free: 27.69 MB / 394.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