Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_HeatLosses",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.561e-05/3.569e-05, allocations: 4 kB / 292.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1128, allocations: 50.42 MB / 343.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4675/0.5804, allocations: 102.3 MB / 445.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003663/0.5808, allocations: 84.14 kB / 445.5 MB, free: 7.828 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8754/1.456, allocations: 120.6 MB / 0.5528 GB, free: 96.55 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.284e-06/1.456, allocations: 2.625 kB / 0.5528 GB, free: 96.55 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003644/1.457, allocations: 115.5 kB / 0.5529 GB, free: 96.55 MB / 442.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.04654/1.503, allocations: 6.742 MB / 0.5595 GB, free: 94.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/1.503, allocations: 7.781 kB / 0.5595 GB, free: 94.24 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.005309/1.509, allocations: 1.096 MB / 0.5606 GB, free: 94.15 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02863/1.537, allocations: 3.471 MB / 0.564 GB, free: 93.73 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02857/1.566, allocations: 7.288 MB / 0.5711 GB, free: 92.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006633/1.567, allocations: 463.8 kB / 0.5715 GB, free: 92.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003783/1.57, allocations: 0.6024 MB / 0.5721 GB, free: 92.95 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06071/1.631, allocations: 17.42 MB / 0.5891 GB, free: 88.35 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003393/1.632, allocations: 81.12 kB / 0.5892 GB, free: 88.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002488/1.634, allocations: 297.9 kB / 0.5895 GB, free: 88.16 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004521/1.639, allocations: 1.635 MB / 0.5911 GB, free: 87.89 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05316/1.692, allocations: 14.75 MB / 0.6055 GB, free: 80.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1188/1.811, allocations: 67.48 MB / 0.6714 GB, free: 13.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02949/1.84, allocations: 6.947 MB / 0.6782 GB, free: 5.859 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007271/1.848, allocations: 3.14 MB / 0.6812 GB, free: 2.703 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04289/1.89, allocations: 14.53 MB / 0.6954 GB, free: 3.758 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.978e-05/1.891, allocations: 68.56 kB / 0.6955 GB, free: 3.684 MB / 458.7 MB Notification: Performance of pre-optimization done (n=289): time 6.452e-06/1.891, allocations: 0 / 0.6955 GB, free: 3.684 MB / 458.7 MB Notification: Performance of matching and sorting (n=321): time 0.4167/2.307, allocations: 21.07 MB / 0.7161 GB, free: 100.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003592/2.311, allocations: 4.574 MB / 0.7205 GB, free: 96.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01106/2.322, allocations: 4.44 MB / 0.7249 GB, free: 96.03 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009828/2.323, allocations: 74.5 kB / 0.7249 GB, free: 96 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00392/2.327, allocations: 4.176 MB / 0.729 GB, free: 93.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00233/2.329, allocations: 1.245 MB / 0.7302 GB, free: 93.17 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001453/2.331, allocations: 175 kB / 0.7304 GB, free: 93.17 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007765/2.332, allocations: 0.6805 MB / 0.7311 GB, free: 92.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008857/2.341, allocations: 3.414 MB / 0.7344 GB, free: 92.82 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01214/2.353, allocations: 8.289 MB / 0.7425 GB, free: 86.54 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01205/2.365, allocations: 5.21 MB / 0.7476 GB, free: 85.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002275/2.365, allocations: 54.28 kB / 0.7476 GB, free: 85.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=1158) (initialization): time 0.045/2.41, allocations: 13.36 MB / 0.7607 GB, free: 82.11 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/2.41, allocations: 79.88 kB / 0.7608 GB, free: 82.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02352/2.434, allocations: 6.689 MB / 0.7673 GB, free: 80.24 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/2.45, allocations: 2.886 MB / 0.7701 GB, free: 79.78 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0129/2.463, allocations: 2.071 MB / 0.7721 GB, free: 79.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/2.481, allocations: 12.63 MB / 0.7845 GB, free: 70.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01344/2.495, allocations: 0.8229 MB / 0.7853 GB, free: 70.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002253/2.497, allocations: 0.5138 MB / 0.7858 GB, free: 70.23 MB / 458.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.002834/2.5, allocations: 0.7814 MB / 0.7865 GB, free: 69.59 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001477/2.501, allocations: 483.2 kB / 0.787 GB, free: 69.33 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02502/2.526, allocations: 7.221 MB / 0.794 GB, free: 64.71 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02239/2.549, allocations: 6.435 MB / 0.8003 GB, free: 59.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.834e-05/2.549, allocations: 4 kB / 0.8003 GB, free: 59.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.972e-05/2.549, allocations: 14.39 kB / 0.8003 GB, free: 59.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05423/2.603, allocations: 16.99 MB / 0.8169 GB, free: 46.27 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-05/2.603, allocations: 8 kB / 0.8169 GB, free: 46.26 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005491/2.609, allocations: 0.576 MB / 0.8175 GB, free: 45.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01528/2.624, allocations: 2.884 MB / 0.8203 GB, free: 43.9 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001069/2.625, allocations: 94.98 kB / 0.8204 GB, free: 43.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02183/2.647, allocations: 13.7 MB / 0.8338 GB, free: 30.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003202/2.65, allocations: 4.435 MB / 0.8381 GB, free: 25.58 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03153/2.682, allocations: 12.1 MB / 0.8499 GB, free: 13.07 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/2.684, allocations: 0.5338 MB / 0.8505 GB, free: 12.51 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001421/2.685, allocations: 83.03 kB / 0.8505 GB, free: 12.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006645/2.692, allocations: 364.2 kB / 0.8509 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001187/2.693, allocations: 241.5 kB / 0.8511 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003924/2.694, allocations: 100.7 kB / 0.8512 GB, free: 11.74 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007396/2.701, allocations: 3.044 MB / 0.8542 GB, free: 8.707 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.92e-07/2.701, allocations: 0 / 0.8542 GB, free: 8.707 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01165/2.713, allocations: 1.732 MB / 0.8559 GB, free: 6.984 MB / 458.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.3823/3.095, allocations: 14.3 MB / 0.8698 GB, free: 105.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.08353/3.179, allocations: 9.879 MB / 0.8795 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.845e-05/3.179, allocations: 4.125 kB / 0.8795 GB, free: 104.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01979/3.198, allocations: 4.98 MB / 0.8844 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005702/3.204, allocations: 0.5751 MB / 0.8849 GB, free: 103 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04734/3.252, allocations: 15.19 MB / 0.8998 GB, free: 99.55 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009858/3.262, allocations: 4.406 MB / 0.9041 GB, free: 98.68 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01215/3.274, allocations: 2.571 MB / 0.9066 GB, free: 98.47 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006574/3.28, allocations: 2.808 MB / 0.9093 GB, free: 98.46 MB / 474.7 MB Notification: Performance of SimCode: time 1.332e-06/3.28, allocations: 0 / 0.9093 GB, free: 98.46 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2484/3.529, allocations: 118.1 MB / 1.025 GB, free: 16.64 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003391/3.529, allocations: 195.8 kB / 1.025 GB, free: 16.41 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/10.93, allocations: 8.062 kB / 1.025 GB, free: 16.41 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.HeatLosses_res.mat does not exist to compare? outputFormat=mat