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.857/1.857, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.254e-05, allocations: 10.38 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08746/0.08751, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4477/0.5353, allocations: 90.37 MB / 390.3 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003545/0.5357, allocations: 80.47 kB / 390.4 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5438/1.08, allocations: 108 MB / 498.4 MB, free: 1.617 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.505e-06/1.08, allocations: 3.938 kB / 498.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003101/1.08, allocations: 104 kB / 498.5 MB, free: 1.512 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.0456/1.126, allocations: 6.307 MB / 0.493 GB, free: 11.13 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/1.126, allocations: 12.03 kB / 0.493 GB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004769/1.13, allocations: 0.9835 MB / 0.4939 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02935/1.16, allocations: 3.405 MB / 0.4973 GB, free: 6.707 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03011/1.19, allocations: 7.492 MB / 0.5046 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000696/1.191, allocations: 407.3 kB / 0.505 GB, free: 14.75 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003429/1.194, allocations: 0.5349 MB / 0.5055 GB, free: 14.22 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3379/1.532, allocations: 16.39 MB / 0.5215 GB, free: 71.74 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005252/1.533, allocations: 79.11 kB / 0.5216 GB, free: 71.74 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002955/1.536, allocations: 262.6 kB / 0.5218 GB, free: 71.74 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005022/1.541, allocations: 1.49 MB / 0.5233 GB, free: 71.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05436/1.595, allocations: 14.13 MB / 0.5371 GB, free: 71.7 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1018/1.697, allocations: 63.55 MB / 0.5991 GB, free: 34.18 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02851/1.725, allocations: 6.186 MB / 0.6052 GB, free: 32.19 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006529/1.732, allocations: 2.955 MB / 0.6081 GB, free: 30.98 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03136/1.763, allocations: 13.23 MB / 0.621 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.155e-05/1.764, allocations: 63.5 kB / 0.621 GB, free: 24.38 MB / 410.7 MB Notification: Performance of pre-optimization done (n=246): time 6.652e-06/1.764, allocations: 0 / 0.621 GB, free: 24.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=278): time 0.1096/1.873, allocations: 21.87 MB / 0.6424 GB, free: 15.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004153/1.877, allocations: 4.576 MB / 0.6469 GB, free: 26.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009604/1.887, allocations: 4.189 MB / 0.651 GB, free: 23.28 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008517/1.888, allocations: 69.38 kB / 0.651 GB, free: 23.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003381/1.891, allocations: 3.837 MB / 0.6548 GB, free: 19.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00185/1.893, allocations: 1.087 MB / 0.6558 GB, free: 18.81 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001197/1.894, allocations: 158.2 kB / 0.656 GB, free: 18.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006289/1.895, allocations: 0.6488 MB / 0.6566 GB, free: 18.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008399/1.904, allocations: 3.239 MB / 0.6598 GB, free: 15.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01294/1.917, allocations: 7.76 MB / 0.6674 GB, free: 5.77 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01293/1.93, allocations: 4.91 MB / 0.6722 GB, free: 1.562 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001527/1.93, allocations: 44 kB / 0.6722 GB, free: 1.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=1052) (initialization): time 0.3379/2.268, allocations: 13.19 MB / 0.6851 GB, free: 82.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/2.268, allocations: 76.28 kB / 0.6851 GB, free: 82.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02512/2.293, allocations: 6.42 MB / 0.6914 GB, free: 82.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01667/2.31, allocations: 2.858 MB / 0.6942 GB, free: 82.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01228/2.322, allocations: 1.918 MB / 0.6961 GB, free: 82.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01847/2.341, allocations: 12.62 MB / 0.7084 GB, free: 74.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01262/2.353, allocations: 0.8087 MB / 0.7092 GB, free: 74.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002135/2.355, allocations: 491.9 kB / 0.7097 GB, free: 74.41 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.00318/2.359, allocations: 0.7019 MB / 0.7103 GB, free: 74.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001361/2.36, allocations: 447.7 kB / 0.7108 GB, free: 74.15 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02534/2.385, allocations: 6.898 MB / 0.7175 GB, free: 73.86 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02299/2.409, allocations: 6.174 MB / 0.7235 GB, free: 73.63 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.346e-05/2.409, allocations: 7.375 kB / 0.7235 GB, free: 73.63 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.687e-05/2.409, allocations: 14.33 kB / 0.7236 GB, free: 73.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05319/2.462, allocations: 15.65 MB / 0.7388 GB, free: 71.06 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.763e-05/2.462, allocations: 4.438 kB / 0.7388 GB, free: 71.06 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005262/2.467, allocations: 0.5234 MB / 0.7394 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01541/2.483, allocations: 2.885 MB / 0.7422 GB, free: 70.55 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001011/2.484, allocations: 85.39 kB / 0.7423 GB, free: 70.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02104/2.505, allocations: 13.72 MB / 0.7556 GB, free: 61.39 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003262/2.508, allocations: 4.422 MB / 0.76 GB, free: 57.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03176/2.54, allocations: 11.43 MB / 0.7711 GB, free: 51.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001927/2.542, allocations: 0.5089 MB / 0.7716 GB, free: 51.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002081/2.544, allocations: 72.58 kB / 0.7717 GB, free: 51.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006791/2.551, allocations: 352.6 kB / 0.772 GB, free: 50.81 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001367/2.552, allocations: 219.3 kB / 0.7722 GB, free: 50.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004474/2.553, allocations: 89.22 kB / 0.7723 GB, free: 50.61 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.007878/2.561, allocations: 2.882 MB / 0.7751 GB, free: 48.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.052e-06/2.561, allocations: 0 / 0.7751 GB, free: 48.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01103/2.572, allocations: 1.601 MB / 0.7767 GB, free: 46.48 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.03302/2.605, allocations: 13.46 MB / 0.7899 GB, free: 34.6 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02578/2.631, allocations: 9.676 MB / 0.7993 GB, free: 25.92 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/2.631, allocations: 4 kB / 0.7993 GB, free: 25.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01594/2.647, allocations: 4.874 MB / 0.8041 GB, free: 21.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00513/2.652, allocations: 0.5299 MB / 0.8046 GB, free: 21.16 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04639/2.698, allocations: 14.2 MB / 0.8184 GB, free: 7.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009601/2.708, allocations: 4.074 MB / 0.8224 GB, free: 3.812 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0124/2.721, allocations: 2.395 MB / 0.8248 GB, free: 1.418 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007472/2.728, allocations: 2.544 MB / 0.8273 GB, free: 14.92 MB / 442.7 MB Notification: Performance of SimCode: time 4.839e-06/2.728, allocations: 0 / 0.8273 GB, free: 14.92 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5314/3.26, allocations: 110.7 MB / 0.9354 GB, free: 48.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/3.26, allocations: 189.3 kB / 0.9355 GB, free: 48.22 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.101/10.36, allocations: 3.938 kB / 0.9355 GB, free: 48.21 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