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.733/1.733, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.679e-05/4.683e-05, allocations: 4 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2588/0.2589, allocations: 38.77 MB / 263.9 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.4651, allocations: 84.74 MB / 348.6 MB, free: 4.945 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004584/0.4656, allocations: 79.95 kB / 348.7 MB, free: 4.867 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6686/1.134, allocations: 107.7 MB / 456.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.215e-06/1.134, allocations: 0 / 456.4 MB, free: 17.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000332/1.135, allocations: 108 kB / 456.5 MB, free: 16.95 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.04434/1.179, allocations: 6.3 MB / 462.8 MB, free: 10.58 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/1.179, allocations: 12.03 kB / 462.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00441/1.183, allocations: 0.9796 MB / 463.8 MB, free: 9.578 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0276/1.211, allocations: 3.371 MB / 467.2 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02894/1.24, allocations: 7.476 MB / 474.7 MB, free: 14.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007098/1.241, allocations: 406.7 kB / 475.1 MB, free: 14.26 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0034/1.244, allocations: 0.5426 MB / 475.6 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06418/1.308, allocations: 16.39 MB / 492 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003378/1.309, allocations: 71.34 kB / 492.1 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/1.311, allocations: 267.8 kB / 492.3 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004975/1.316, allocations: 1.488 MB / 493.8 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3188/1.635, allocations: 14.12 MB / 0.496 GB, free: 58.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1137/1.749, allocations: 63.61 MB / 0.5582 GB, free: 20.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02908/1.778, allocations: 6.188 MB / 0.5642 GB, free: 18.81 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006776/1.785, allocations: 2.956 MB / 0.5671 GB, free: 17.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03229/1.817, allocations: 13.21 MB / 0.58 GB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.047e-05/1.817, allocations: 64.53 kB / 0.5801 GB, free: 11.02 MB / 346.7 MB Notification: Performance of pre-optimization done (n=246): time 6.001e-06/1.817, allocations: 0 / 0.5801 GB, free: 11.02 MB / 346.7 MB Notification: Performance of matching and sorting (n=278): time 0.1123/1.93, allocations: 21.91 MB / 0.6014 GB, free: 14.27 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005134/1.935, allocations: 4.567 MB / 0.6059 GB, free: 9.438 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01137/1.946, allocations: 4.188 MB / 0.61 GB, free: 5.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009268/1.947, allocations: 65.7 kB / 0.6101 GB, free: 5.656 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004622/1.952, allocations: 3.834 MB / 0.6138 GB, free: 2.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002251/1.954, allocations: 1.091 MB / 0.6149 GB, free: 1.25 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/1.955, allocations: 161.8 kB / 0.615 GB, free: 1.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007416/1.956, allocations: 0.6413 MB / 0.6156 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03175/1.988, allocations: 4.114 MB / 0.6197 GB, free: 15.81 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02171/2.01, allocations: 7.761 MB / 0.6272 GB, free: 5.988 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0208/2.031, allocations: 4.89 MB / 0.632 GB, free: 1.211 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001866/2.031, allocations: 47.84 kB / 0.6321 GB, free: 1.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=1053) (initialization): time 0.3572/2.388, allocations: 12.79 MB / 0.6446 GB, free: 84.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001242/2.388, allocations: 74.31 kB / 0.6446 GB, free: 84.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02315/2.411, allocations: 6.171 MB / 0.6507 GB, free: 84.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/2.425, allocations: 2.61 MB / 0.6532 GB, free: 84.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01294/2.438, allocations: 1.967 MB / 0.6551 GB, free: 83.88 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/2.453, allocations: 11.5 MB / 0.6664 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01302/2.466, allocations: 0.8107 MB / 0.6671 GB, free: 76.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002252/2.468, allocations: 492.1 kB / 0.6676 GB, free: 76.09 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.002979/2.471, allocations: 0.6938 MB / 0.6683 GB, free: 75.83 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001288/2.473, allocations: 454.2 kB / 0.6687 GB, free: 75.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02526/2.498, allocations: 6.91 MB / 0.6755 GB, free: 75.53 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02281/2.521, allocations: 6.165 MB / 0.6815 GB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.761e-05/2.521, allocations: 7.469 kB / 0.6815 GB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.778e-05/2.521, allocations: 14.11 kB / 0.6815 GB, free: 75.07 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05216/2.573, allocations: 15.66 MB / 0.6968 GB, free: 69.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-05/2.573, allocations: 4 kB / 0.6968 GB, free: 69.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005326/2.579, allocations: 0.5163 MB / 0.6973 GB, free: 69.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01563/2.594, allocations: 2.885 MB / 0.7001 GB, free: 67.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009922/2.595, allocations: 86.36 kB / 0.7002 GB, free: 67.22 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02093/2.616, allocations: 13.71 MB / 0.7136 GB, free: 54.52 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003304/2.62, allocations: 4.434 MB / 0.7179 GB, free: 49.9 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03062/2.65, allocations: 11.41 MB / 0.7291 GB, free: 40.11 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001748/2.652, allocations: 0.5071 MB / 0.7296 GB, free: 39.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001678/2.654, allocations: 70.19 kB / 0.7296 GB, free: 39.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006448/2.66, allocations: 354.7 kB / 0.73 GB, free: 39.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001321/2.662, allocations: 230.6 kB / 0.7302 GB, free: 39.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004098/2.662, allocations: 85.64 kB / 0.7303 GB, free: 39.14 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.007162/2.669, allocations: 2.881 MB / 0.7331 GB, free: 36.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.092e-06/2.669, allocations: 0 / 0.7331 GB, free: 36.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.009694/2.679, allocations: 1.587 MB / 0.7346 GB, free: 34.86 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.03069/2.71, allocations: 13.44 MB / 0.7478 GB, free: 21.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.02611/2.736, allocations: 9.269 MB / 0.7568 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.381e-05/2.736, allocations: 4 kB / 0.7568 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01722/2.753, allocations: 4.881 MB / 0.7616 GB, free: 6.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004448/2.758, allocations: 0.5327 MB / 0.7621 GB, free: 6.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3097/3.067, allocations: 14.19 MB / 0.776 GB, free: 94.99 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009668/3.077, allocations: 4.066 MB / 0.78 GB, free: 94.17 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.01206/3.089, allocations: 2.399 MB / 0.7823 GB, free: 94.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006547/3.096, allocations: 2.53 MB / 0.7848 GB, free: 94.12 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/3.096, allocations: 0 / 0.7848 GB, free: 94.12 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2383/3.334, allocations: 108.8 MB / 0.8911 GB, free: 26.18 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002928/3.334, allocations: 204.9 kB / 0.8913 GB, free: 25.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.744/10.08, allocations: 0 / 0.8913 GB, free: 25.95 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