Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.005/2.005, allocations: 194.9 MB / 208.4 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.616e-05/3.616e-05, allocations: 4 kB / 255.4 MB, free: 3.105 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09447/0.09454, allocations: 44.5 MB / 300 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4324/0.527, allocations: 77.17 MB / 377.1 MB, free: 12.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5274, allocations: 73.47 kB / 377.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0636/0.591, allocations: 15.65 MB / 392.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.591, allocations: 0 / 392.8 MB, free: 11.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.01e-05/0.5911, allocations: 15.5 kB / 392.9 MB, free: 11.14 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002603/0.5937, allocations: 1.05 MB / 393.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.5938, allocations: 15.56 kB / 393.9 MB, free: 10.48 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002309/0.594, allocations: 109 kB / 394 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002463/0.5943, allocations: 104.6 kB / 394.1 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.5954, allocations: 0.518 MB / 394.7 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002604/0.5957, allocations: 149.1 kB / 394.8 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.5958, allocations: 56.19 kB / 394.9 MB, free: 10 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/0.5973, allocations: 0.7847 MB / 395.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.868e-05/0.5974, allocations: 0 / 395.6 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001007/0.5975, allocations: 27.84 kB / 395.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.5975, allocations: 15.47 kB / 395.7 MB, free: 9.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001301/0.5988, allocations: 495.9 kB / 396.2 MB, free: 9.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004925/0.6038, allocations: 2.096 MB / 398.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001507/0.6053, allocations: 0.9031 MB / 399.2 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.6061, allocations: 325.8 kB / 399.5 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.01e-05/0.6061, allocations: 12.36 kB / 399.5 MB, free: 8.625 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.6062, allocations: 50.59 kB / 399.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 3.577e-06/0.6062, allocations: 4 kB / 399.5 MB, free: 8.578 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003284/0.6095, allocations: 0.8454 MB / 400.4 MB, free: 8.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/0.6097, allocations: 0.8263 MB / 401.2 MB, free: 7.441 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009108/0.6107, allocations: 0.5272 MB / 401.7 MB, free: 7.316 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.6108, allocations: 48.09 kB / 401.8 MB, free: 7.285 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.611, allocations: 345.3 kB / 402.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002266/0.6113, allocations: 255 kB / 402.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.032e-05/0.6113, allocations: 15.28 kB / 402.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.798e-05/0.6114, allocations: 341.4 kB / 402.7 MB, free: 6.609 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005962/0.612, allocations: 216.7 kB / 402.9 MB, free: 6.609 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008274/0.6129, allocations: 484.2 kB / 403.4 MB, free: 6.344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000702/0.6136, allocations: 356.4 kB / 403.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.6136, allocations: 0 / 403.8 MB, free: 6.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003095/0.6167, allocations: 0.9414 MB / 404.7 MB, free: 6.016 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.356e-05/0.6168, allocations: 88.53 kB / 404.8 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.6168, allocations: 3.781 kB / 404.8 MB, free: 5.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007216/0.6176, allocations: 197.2 kB / 405 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/0.6187, allocations: 145.5 kB / 405.1 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00865/0.6274, allocations: 6.212 MB / 411.3 MB, free: 16.68 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6288, allocations: 116.5 kB / 411.5 MB, free: 16.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.551e-05/0.6289, allocations: 18.94 kB / 411.5 MB, free: 16.64 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.6292, allocations: 166.4 kB / 411.6 MB, free: 16.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000167/0.6294, allocations: 81.72 kB / 411.7 MB, free: 16.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.6296, allocations: 90.72 kB / 411.8 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.6296, allocations: 7.75 kB / 411.8 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/0.6296, allocations: 0 / 411.8 MB, free: 16.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002953/0.6326, allocations: 1.152 MB / 413 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004907/0.6375, allocations: 1.849 MB / 414.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.493e-06/0.6376, allocations: 0 / 414.8 MB, free: 15.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001324/0.6389, allocations: 148.2 kB / 415 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000542/0.6395, allocations: 162.4 kB / 415.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.736e-05/0.6396, allocations: 15.31 kB / 415.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007703/0.6473, allocations: 4.776 MB / 419.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.6473, allocations: 3.984 kB / 419.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003818/0.6512, allocations: 1.264 MB / 421.2 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002839/0.6515, allocations: 165.4 kB / 421.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.6517, allocations: 14.25 kB / 421.3 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009427/0.6526, allocations: 66.72 kB / 421.4 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.6529, allocations: 65.95 kB / 421.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.941e-05/0.6529, allocations: 22.5 kB / 421.5 MB, free: 10.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000707/0.6536, allocations: 423.6 kB / 421.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6537, allocations: 0 / 421.9 MB, free: 10.22 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00114/0.6548, allocations: 280.2 kB / 422.2 MB, free: 10.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004064/0.6589, allocations: 1.859 MB / 424 MB, free: 9.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002224/0.6611, allocations: 1.203 MB / 425.2 MB, free: 8.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.678e-06/0.6612, allocations: 0 / 425.2 MB, free: 8.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001687/0.6629, allocations: 0.7 MB / 425.9 MB, free: 8.289 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.6643, allocations: 206.3 kB / 426.1 MB, free: 8.234 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/0.6681, allocations: 1.431 MB / 427.6 MB, free: 7.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005684/0.6687, allocations: 0.9546 MB / 428.5 MB, free: 6.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005711/0.6693, allocations: 292.2 kB / 428.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of SimCode: time 8.22e-07/0.6693, allocations: 0 / 428.8 MB, free: 6.633 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.136/3.805, allocations: 24.12 MB / 452.9 MB, free: 7.102 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat