Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.602e-05/3.64e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4483/0.5675, allocations: 100.3 MB / 417.3 MB, free: 3.648 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003173/0.5679, allocations: 83.62 kB / 417.4 MB, free: 3.605 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7765/1.344, allocations: 119.3 MB / 0.5241 GB, free: 88.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.938e-06/1.344, allocations: 3.188 kB / 0.5241 GB, free: 88.58 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003655/1.345, allocations: 114.5 kB / 0.5242 GB, free: 88.57 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2151 * Number of variables: 2151 Notification: Performance of Generate backend data structure: time 0.0483/1.393, allocations: 6.753 MB / 0.5308 GB, free: 86.39 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/1.393, allocations: 11.22 kB / 0.5308 GB, free: 86.39 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005082/1.398, allocations: 1.089 MB / 0.5319 GB, free: 86.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02844/1.427, allocations: 3.481 MB / 0.5353 GB, free: 85.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02722/1.454, allocations: 7.732 MB / 0.5429 GB, free: 85.18 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004849/1.455, allocations: 456 kB / 0.5433 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002912/1.458, allocations: 0.6005 MB / 0.5439 GB, free: 85.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05938/1.517, allocations: 17.43 MB / 0.5609 GB, free: 81.67 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005142/1.518, allocations: 73.22 kB / 0.561 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003502/1.521, allocations: 294.3 kB / 0.5612 GB, free: 81.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004261/1.525, allocations: 1.641 MB / 0.5628 GB, free: 81.65 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05287/1.578, allocations: 14.73 MB / 0.5772 GB, free: 80.5 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1035/1.682, allocations: 67.57 MB / 0.6432 GB, free: 22.11 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02894/1.711, allocations: 6.948 MB / 0.65 GB, free: 16.06 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007066/1.718, allocations: 3.127 MB / 0.6531 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3402/2.058, allocations: 14.54 MB / 0.6673 GB, free: 80.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.474e-05/2.058, allocations: 70.02 kB / 0.6673 GB, free: 80.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=289): time 7.103e-06/2.058, allocations: 0 / 0.6673 GB, free: 80.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.0994/2.158, allocations: 21.26 MB / 0.6881 GB, free: 76.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003342/2.161, allocations: 4.579 MB / 0.6926 GB, free: 72.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008973/2.17, allocations: 4.475 MB / 0.6969 GB, free: 72.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008995/2.171, allocations: 81.25 kB / 0.697 GB, free: 72.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003374/2.175, allocations: 4.183 MB / 0.7011 GB, free: 70.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001985/2.177, allocations: 1.246 MB / 0.7023 GB, free: 69.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/2.178, allocations: 178.1 kB / 0.7025 GB, free: 69.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005037/2.178, allocations: 0.6716 MB / 0.7031 GB, free: 69.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007891/2.186, allocations: 3.415 MB / 0.7065 GB, free: 69.06 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01697/2.203, allocations: 8.285 MB / 0.7146 GB, free: 62.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01798/2.221, allocations: 5.211 MB / 0.7196 GB, free: 62.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002667/2.221, allocations: 50.88 kB / 0.7197 GB, free: 62.71 MB / 426.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.06641/2.288, allocations: 13.36 MB / 0.7327 GB, free: 59.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002152/2.288, allocations: 81.56 kB / 0.7328 GB, free: 59.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03563/2.324, allocations: 6.693 MB / 0.7394 GB, free: 57.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02489/2.349, allocations: 2.878 MB / 0.7422 GB, free: 57.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01905/2.368, allocations: 2.078 MB / 0.7442 GB, free: 57.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02655/2.395, allocations: 12.62 MB / 0.7565 GB, free: 48.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/2.408, allocations: 0.8195 MB / 0.7573 GB, free: 48.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002827/2.411, allocations: 0.5188 MB / 0.7578 GB, free: 48 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 66 (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],springDamperSeries.color[3],springDamperSeries.color[2],springDamperSeries.color[1],springDamperSeries.color_b[3],springDamperSeries.color_b[2],springDamperSeries.color_b[1],springDamperSeries.color_a[3],springDamperSeries.color_a[2],springDamperSeries.color_a[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],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[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.groundColor[3],world.groundColor[2],world.groundColor[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 (1092): * Single equations (assignments): 1071 * 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.004431/2.415, allocations: 0.7737 MB / 0.7586 GB, free: 47.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/2.417, allocations: 485.3 kB / 0.759 GB, free: 47.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03575/2.453, allocations: 7.243 MB / 0.7661 GB, free: 41.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03129/2.484, allocations: 6.424 MB / 0.7724 GB, free: 36.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.104e-05/2.484, allocations: 8 kB / 0.7724 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/2.484, allocations: 11.44 kB / 0.7724 GB, free: 36.59 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06079/2.545, allocations: 16.99 MB / 0.789 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.113e-05/2.545, allocations: 4 kB / 0.789 GB, free: 23.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00556/2.551, allocations: 0.5799 MB / 0.7896 GB, free: 22.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01543/2.566, allocations: 2.884 MB / 0.7924 GB, free: 19.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001093/2.568, allocations: 95.92 kB / 0.7925 GB, free: 19.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02915/2.597, allocations: 13.71 MB / 0.8059 GB, free: 5.297 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004591/2.601, allocations: 4.419 MB / 0.8102 GB, free: 472 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04912/2.651, allocations: 12.11 MB / 0.822 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002117/2.653, allocations: 0.5299 MB / 0.8225 GB, free: 3.387 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002028/2.655, allocations: 87.25 kB / 0.8226 GB, free: 3.305 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006639/2.661, allocations: 372 kB / 0.823 GB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.3084/2.97, allocations: 232.4 kB / 0.8232 GB, free: 84.02 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009883/2.971, allocations: 98.38 kB / 0.8233 GB, free: 84.02 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00936/2.98, allocations: 3.069 MB / 0.8263 GB, free: 83.82 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.62e-07/2.98, allocations: 0.5 kB / 0.8263 GB, free: 83.82 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01249/2.993, allocations: 1.74 MB / 0.828 GB, free: 83.82 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * 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 (267): * Single equations (assignments): 252 * 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.04309/3.036, allocations: 14.32 MB / 0.842 GB, free: 79.94 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0397/3.076, allocations: 9.867 MB / 0.8516 GB, free: 78.62 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.17e-05/3.076, allocations: 9.219 kB / 0.8516 GB, free: 78.62 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02436/3.1, allocations: 4.978 MB / 0.8565 GB, free: 77.35 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007286/3.108, allocations: 0.5807 MB / 0.857 GB, free: 77.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06697/3.175, allocations: 15.23 MB / 0.8719 GB, free: 73.86 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01307/3.188, allocations: 4.417 MB / 0.8762 GB, free: 72.99 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.01675/3.205, allocations: 2.585 MB / 0.8787 GB, free: 72.78 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00915/3.214, allocations: 2.811 MB / 0.8815 GB, free: 71.39 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/3.214, allocations: 1.781 kB / 0.8815 GB, free: 71.39 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6225/3.836, allocations: 118.5 MB / 0.9972 GB, free: 76.21 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/3.837, allocations: 197.4 kB / 0.9974 GB, free: 75.98 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.781/11.62, allocations: 0 / 0.9974 GB, free: 75.98 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat does not exist to compare? outputFormat=mat