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 1.825/1.825, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.818e-05/4.823e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.1249, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4386/0.5635, allocations: 90.39 MB / 390.4 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.5639, allocations: 85.61 kB / 390.5 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5482/1.112, allocations: 108 MB / 498.4 MB, free: 1.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.953e-06/1.112, allocations: 4 kB / 498.4 MB, free: 1.477 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003327/1.112, allocations: 103.6 kB / 498.5 MB, free: 1.379 MB / 378.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.0465/1.159, allocations: 6.31 MB / 0.493 GB, free: 11.01 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.159, allocations: 8.031 kB / 0.493 GB, free: 11 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003937/1.163, allocations: 0.9796 MB / 0.494 GB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03603/1.199, allocations: 3.413 MB / 0.4973 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03207/1.231, allocations: 7.488 MB / 0.5046 GB, free: 15.03 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006562/1.232, allocations: 415.3 kB / 0.505 GB, free: 14.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003242/1.235, allocations: 0.5427 MB / 0.5056 GB, free: 14.08 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3649/1.6, allocations: 16.32 MB / 0.5215 GB, free: 72.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005085/1.601, allocations: 70.41 kB / 0.5216 GB, free: 72.29 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003104/1.604, allocations: 262.8 kB / 0.5218 GB, free: 72.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005069/1.609, allocations: 1.487 MB / 0.5233 GB, free: 72.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05377/1.663, allocations: 13.91 MB / 0.5368 GB, free: 72.26 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09832/1.761, allocations: 63.56 MB / 0.5989 GB, free: 35.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02836/1.79, allocations: 6.162 MB / 0.6049 GB, free: 33.16 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006312/1.796, allocations: 2.954 MB / 0.6078 GB, free: 31.96 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03096/1.827, allocations: 13.22 MB / 0.6207 GB, free: 25.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.473e-05/1.827, allocations: 67.08 kB / 0.6208 GB, free: 25.37 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 6.743e-06/1.827, allocations: 0 / 0.6208 GB, free: 25.37 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.1257/1.953, allocations: 21.87 MB / 0.6421 GB, free: 17.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006025/1.959, allocations: 4.561 MB / 0.6466 GB, free: 28.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01377/1.973, allocations: 4.186 MB / 0.6507 GB, free: 24.64 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001063/1.974, allocations: 65.7 kB / 0.6507 GB, free: 24.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004601/1.978, allocations: 3.839 MB / 0.6545 GB, free: 21.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002399/1.981, allocations: 1.091 MB / 0.6556 GB, free: 20.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001442/1.982, allocations: 167.9 kB / 0.6557 GB, free: 20.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008891/1.983, allocations: 0.6389 MB / 0.6563 GB, free: 19.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01242/1.996, allocations: 3.237 MB / 0.6595 GB, free: 16.58 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01762/2.013, allocations: 7.723 MB / 0.6671 GB, free: 7.18 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/2.029, allocations: 4.899 MB / 0.6718 GB, free: 2.98 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001601/2.029, allocations: 44 kB / 0.6719 GB, free: 2.938 MB / 426.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.3481/2.378, allocations: 12.63 MB / 0.6842 GB, free: 82.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/2.378, allocations: 74.02 kB / 0.6843 GB, free: 82.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02404/2.402, allocations: 6.422 MB / 0.6906 GB, free: 81.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/2.418, allocations: 2.854 MB / 0.6933 GB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.012/2.43, allocations: 1.916 MB / 0.6952 GB, free: 81.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01769/2.448, allocations: 12.6 MB / 0.7075 GB, free: 74.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01256/2.461, allocations: 0.8142 MB / 0.7083 GB, free: 74.18 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002019/2.463, allocations: 488.4 kB / 0.7088 GB, free: 74.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (986): * Single equations (assignments): 965 * 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.00234/2.465, allocations: 0.6988 MB / 0.7095 GB, free: 74.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00125/2.466, allocations: 447.8 kB / 0.7099 GB, free: 74.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02481/2.491, allocations: 6.909 MB / 0.7166 GB, free: 73.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02189/2.513, allocations: 6.17 MB / 0.7227 GB, free: 73.56 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.658e-05/2.513, allocations: 10.47 kB / 0.7227 GB, free: 73.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.964e-05/2.513, allocations: 13.27 kB / 0.7227 GB, free: 73.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04828/2.562, allocations: 15.63 MB / 0.738 GB, free: 71.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.918e-05/2.562, allocations: 7.219 kB / 0.738 GB, free: 71.89 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005271/2.567, allocations: 0.516 MB / 0.7385 GB, free: 71.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0153/2.582, allocations: 2.879 MB / 0.7413 GB, free: 71.38 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00095/2.583, allocations: 89.59 kB / 0.7414 GB, free: 71.34 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0208/2.604, allocations: 13.71 MB / 0.7547 GB, free: 62.23 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003231/2.607, allocations: 4.416 MB / 0.7591 GB, free: 57.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0459/2.653, allocations: 11.44 MB / 0.7702 GB, free: 53.22 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002003/2.655, allocations: 0.5037 MB / 0.7707 GB, free: 52.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002154/2.658, allocations: 71.84 kB / 0.7708 GB, free: 52.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006647/2.664, allocations: 350.2 kB / 0.7711 GB, free: 52.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001303/2.666, allocations: 221.7 kB / 0.7713 GB, free: 52.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004348/2.666, allocations: 86.19 kB / 0.7714 GB, free: 52.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007351/2.674, allocations: 2.886 MB / 0.7742 GB, free: 50.51 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.11e-07/2.674, allocations: 0 / 0.7742 GB, free: 50.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01063/2.684, allocations: 1.597 MB / 0.7758 GB, free: 48.92 MB / 426.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.03148/2.716, allocations: 13.46 MB / 0.7889 GB, free: 37.05 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02596/2.742, allocations: 9.417 MB / 0.7981 GB, free: 28.62 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/2.742, allocations: 0 / 0.7981 GB, free: 28.62 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01618/2.758, allocations: 4.816 MB / 0.8028 GB, free: 24.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004943/2.763, allocations: 0.5364 MB / 0.8034 GB, free: 23.95 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04463/2.808, allocations: 14.16 MB / 0.8172 GB, free: 10.99 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009605/2.817, allocations: 4.071 MB / 0.8212 GB, free: 6.906 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01159/2.829, allocations: 2.398 MB / 0.8235 GB, free: 4.512 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006207/2.835, allocations: 2.542 MB / 0.826 GB, free: 1.973 MB / 426.7 MB Notification: Performance of SimCode: time 1.482e-06/2.835, allocations: 0 / 0.826 GB, free: 1.973 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5349/3.37, allocations: 110 MB / 0.9334 GB, free: 53.38 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002377/3.37, allocations: 196 kB / 0.9336 GB, free: 53.15 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.997/10.37, allocations: 0 / 0.9336 GB, free: 53.15 MB / 442.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