Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.463/2.463, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.054e-05/3.063e-05, allocations: 4.031 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1092, allocations: 44.5 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5898/0.699, allocations: 89.71 MB / 384 MB, free: 5.203 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003396/0.6995, allocations: 92.12 kB / 384.1 MB, free: 5.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5918/1.291, allocations: 105.6 MB / 489.7 MB, free: 13.67 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.434e-06/1.291, allocations: 0 / 489.7 MB, free: 13.67 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0004088/1.292, allocations: 104 kB / 489.8 MB, free: 13.57 MB / 394.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.05602/1.348, allocations: 6.307 MB / 496.1 MB, free: 7.188 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/1.348, allocations: 8.031 kB / 496.1 MB, free: 7.18 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03635/1.384, allocations: 3.405 MB / 499.5 MB, free: 3.762 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.361/1.745, allocations: 7.48 MB / 0.4951 GB, free: 71.06 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000526/1.746, allocations: 176 kB / 0.4953 GB, free: 71.06 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003516/1.749, allocations: 329.9 kB / 0.4956 GB, free: 71.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02633/1.776, allocations: 8.377 MB / 0.5038 GB, free: 71.04 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0487/1.825, allocations: 12.17 MB / 0.5157 GB, free: 67.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006017/1.825, allocations: 72.16 kB / 0.5157 GB, free: 67.79 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003906/1.829, allocations: 39.12 kB / 0.5158 GB, free: 67.79 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007848/1.837, allocations: 1.492 MB / 0.5172 GB, free: 67.78 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1548/1.992, allocations: 62.56 MB / 0.5783 GB, free: 27.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/2.003, allocations: 4.216 MB / 0.5824 GB, free: 25.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007108/2.01, allocations: 2.793 MB / 0.5852 GB, free: 24.28 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0363/2.046, allocations: 12.02 MB / 0.5969 GB, free: 18.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.701e-05/2.046, allocations: 58.53 kB / 0.597 GB, free: 18.54 MB / 394.7 MB Notification: Performance of pre-optimization done (n=238): time 7.865e-06/2.046, allocations: 0 / 0.597 GB, free: 18.54 MB / 394.7 MB Notification: Performance of matching and sorting (n=267): time 0.09293/2.139, allocations: 19.32 MB / 0.6158 GB, free: 5.207 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/2.139, allocations: 162.5 kB / 0.616 GB, free: 5.016 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008775/2.148, allocations: 3.656 MB / 0.6196 GB, free: 1.793 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008871/2.149, allocations: 29.7 kB / 0.6196 GB, free: 1.758 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004348/2.153, allocations: 3.904 MB / 0.6234 GB, free: 14.2 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002389/2.156, allocations: 1.029 MB / 0.6244 GB, free: 13.28 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001494/2.157, allocations: 4 kB / 0.6244 GB, free: 13.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0009073/2.158, allocations: 0.645 MB / 0.625 GB, free: 12.72 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/2.168, allocations: 3.095 MB / 0.6281 GB, free: 9.984 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01466/2.183, allocations: 7.748 MB / 0.6356 GB, free: 0.543 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3616/2.545, allocations: 5.228 MB / 0.6407 GB, free: 75.62 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002211/2.545, allocations: 47.94 kB / 0.6408 GB, free: 75.62 MB / 410.7 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.05192/2.597, allocations: 12.1 MB / 0.6526 GB, free: 75.23 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/2.597, allocations: 79.75 kB / 0.6527 GB, free: 75.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02713/2.624, allocations: 6.199 MB / 0.6587 GB, free: 74.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01931/2.644, allocations: 2.823 MB / 0.6615 GB, free: 74.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01431/2.658, allocations: 1.951 MB / 0.6634 GB, free: 74.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02026/2.678, allocations: 12.15 MB / 0.6753 GB, free: 67.31 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0148/2.693, allocations: 0.6626 MB / 0.6759 GB, free: 67.31 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002345/2.696, allocations: 497.5 kB / 0.6764 GB, free: 67.31 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 756 * 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 (1005): * Single equations (assignments): 984 * 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.002841/2.699, allocations: 0.5291 MB / 0.6769 GB, free: 67.03 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.028/2.727, allocations: 6.705 MB / 0.6834 GB, free: 66.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/2.728, allocations: 421.8 kB / 0.6838 GB, free: 66.79 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02859/2.757, allocations: 6.596 MB / 0.6903 GB, free: 66.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02624/2.783, allocations: 5.954 MB / 0.6961 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.782e-05/2.783, allocations: 6.906 kB / 0.6961 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001013/2.784, allocations: 14.95 kB / 0.6961 GB, free: 66.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05389/2.837, allocations: 14.29 MB / 0.7101 GB, free: 62.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.8e-05/2.838, allocations: 6.562 kB / 0.7101 GB, free: 62.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006294/2.844, allocations: 0.4985 MB / 0.7106 GB, free: 62.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01886/2.863, allocations: 2.837 MB / 0.7133 GB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001026/2.864, allocations: 45.78 kB / 0.7134 GB, free: 61.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02524/2.889, allocations: 13.38 MB / 0.7265 GB, free: 51.84 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003627/2.893, allocations: 4.251 MB / 0.7306 GB, free: 47.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03506/2.928, allocations: 10.68 MB / 0.741 GB, free: 38.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001813/2.93, allocations: 474.9 kB / 0.7415 GB, free: 37.77 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002366/2.932, allocations: 27.23 kB / 0.7415 GB, free: 37.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007568/2.94, allocations: 312.1 kB / 0.7418 GB, free: 37.59 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001583/2.941, allocations: 203.6 kB / 0.742 GB, free: 37.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008701/2.942, allocations: 81.73 kB / 0.7421 GB, free: 37.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007153/2.95, allocations: 2.408 MB / 0.7444 GB, free: 35.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.493e-06/2.95, allocations: 0 / 0.7444 GB, free: 35.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01258/2.962, allocations: 1.455 MB / 0.7459 GB, free: 33.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (215): * Single equations (assignments): 200 * 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.0361/2.998, allocations: 12.15 MB / 0.7577 GB, free: 23.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.02921/3.028, allocations: 9.239 MB / 0.7667 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.199e-05/3.028, allocations: 0 / 0.7667 GB, free: 13.63 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01886/3.047, allocations: 4.74 MB / 0.7714 GB, free: 8.695 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005018/3.052, allocations: 431.3 kB / 0.7718 GB, free: 8.281 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05151/3.103, allocations: 13.72 MB / 0.7852 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.359/3.462, allocations: 4.057 MB / 0.7891 GB, free: 84.27 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01659/3.479, allocations: 2.44 MB / 0.7915 GB, free: 84.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007871/3.487, allocations: 2.519 MB / 0.794 GB, free: 84.22 MB / 426.7 MB Notification: Performance of SimCode: time 2.114e-06/3.487, allocations: 1 kB / 0.794 GB, free: 84.22 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3316/3.818, allocations: 102.7 MB / 0.8943 GB, free: 40.13 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003294/3.819, allocations: 154 kB / 0.8944 GB, free: 39.94 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.318/12.14, allocations: 0 / 0.8944 GB, free: 39.94 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat does not exist to compare? outputFormat=mat