Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.41e-05/3.415e-05, allocations: 0 / 225.1 MB, free: 2.613 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3008/0.3008, allocations: 38.76 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1324/0.4333, allocations: 71.84 MB / 335.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/0.4337, allocations: 71.97 kB / 335.8 MB, free: 1.844 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07048/0.5042, allocations: 15.6 MB / 351.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.5042, allocations: 0 / 351.3 MB, free: 2.129 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.443e-05/0.5043, allocations: 16 kB / 351.4 MB, free: 2.113 MB / 298.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.003152/0.5075, allocations: 1.049 MB / 352.4 MB, free: 0.9961 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.5075, allocations: 8.031 kB / 352.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002887/0.5078, allocations: 119.5 kB / 352.5 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003117/0.5082, allocations: 102.9 kB / 352.6 MB, free: 0.7617 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001358/0.5095, allocations: 0.5117 MB / 353.1 MB, free: 216 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/0.5099, allocations: 154.7 kB / 353.3 MB, free: 40 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/0.5101, allocations: 60.3 kB / 353.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001893/0.512, allocations: 0.7744 MB / 354.1 MB, free: 15.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.852e-05/0.5121, allocations: 7.875 kB / 354.1 MB, free: 15.09 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/0.5122, allocations: 24 kB / 354.2 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.199e-05/0.5122, allocations: 16 kB / 354.2 MB, free: 15.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001541/0.5138, allocations: 498.5 kB / 354.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008024/0.5218, allocations: 2.076 MB / 356.7 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002802/0.5247, allocations: 0.9093 MB / 357.7 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001312/0.5261, allocations: 331 kB / 358 MB, free: 11.08 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001245/0.5262, allocations: 16.75 kB / 358 MB, free: 11.06 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.182e-05/0.5263, allocations: 51.34 kB / 358 MB, free: 11 MB / 314.7 MB Notification: Performance of pre-optimization done (n=74): time 5.179e-06/0.5263, allocations: 0 / 358 MB, free: 11 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.005491/0.5318, allocations: 0.8462 MB / 358.9 MB, free: 10.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006657/0.5326, allocations: 0.8235 MB / 359.7 MB, free: 9.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.5344, allocations: 0.5308 MB / 360.2 MB, free: 8.578 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002944/0.5347, allocations: 45.7 kB / 360.3 MB, free: 8.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000484/0.5352, allocations: 347.5 kB / 360.6 MB, free: 8.188 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004469/0.5357, allocations: 252.2 kB / 360.9 MB, free: 7.938 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.5358, allocations: 16 kB / 360.9 MB, free: 7.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002235/0.536, allocations: 338.8 kB / 361.2 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/0.5371, allocations: 213.6 kB / 361.4 MB, free: 7.375 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/0.5387, allocations: 498.4 kB / 361.9 MB, free: 6.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/0.54, allocations: 348.3 kB / 362.3 MB, free: 6.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.5401, allocations: 3.938 kB / 362.3 MB, free: 6.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005403/0.5455, allocations: 0.9494 MB / 363.2 MB, free: 5.445 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/0.5457, allocations: 85.11 kB / 363.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.5457, allocations: 0 / 363.3 MB, free: 5.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001209/0.5469, allocations: 195.3 kB / 363.5 MB, free: 5.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/0.5489, allocations: 151.8 kB / 363.6 MB, free: 4.992 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2506/0.7995, allocations: 6.198 MB / 369.8 MB, free: 85.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.801, allocations: 118.1 kB / 369.9 MB, free: 85.59 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.8012, allocations: 24.36 kB / 370 MB, free: 85.59 MB / 314.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.0002824/0.8015, allocations: 154.7 kB / 370.1 MB, free: 85.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002573/0.8017, allocations: 80.41 kB / 370.2 MB, free: 85.48 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.802, allocations: 87.62 kB / 370.3 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.446e-05/0.802, allocations: 12.42 kB / 370.3 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.856e-06/0.8021, allocations: 0.6562 kB / 370.3 MB, free: 85.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003475/0.8055, allocations: 1.155 MB / 371.5 MB, free: 84.91 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005297/0.8109, allocations: 1.832 MB / 373.3 MB, free: 84.57 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.108e-05/0.811, allocations: 2.188 kB / 373.3 MB, free: 84.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001386/0.8124, allocations: 151.8 kB / 373.4 MB, free: 84.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006195/0.813, allocations: 161.7 kB / 373.6 MB, free: 84.55 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001012/0.8131, allocations: 12.69 kB / 373.6 MB, free: 84.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007276/0.8204, allocations: 4.79 MB / 378.4 MB, free: 80.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.8205, allocations: 3.75 kB / 378.4 MB, free: 80.71 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003954/0.8245, allocations: 1.252 MB / 379.6 MB, free: 80.49 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002935/0.8248, allocations: 167.9 kB / 379.8 MB, free: 80.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.825, allocations: 21.61 kB / 379.8 MB, free: 80.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009628/0.826, allocations: 63.31 kB / 379.9 MB, free: 80.35 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002489/0.8263, allocations: 64.17 kB / 380 MB, free: 80.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.191e-05/0.8264, allocations: 15.28 kB / 380 MB, free: 80.35 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007222/0.8271, allocations: 433.8 kB / 380.4 MB, free: 80.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 4e-07/0.8271, allocations: 0 / 380.4 MB, free: 80.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001301/0.8284, allocations: 283.6 kB / 380.7 MB, free: 80.24 MB / 314.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.004739/0.8332, allocations: 1.84 MB / 382.5 MB, free: 79.33 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003054/0.8363, allocations: 1.208 MB / 383.7 MB, free: 78.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/0.8364, allocations: 0 / 383.7 MB, free: 78.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002318/0.8387, allocations: 0.7024 MB / 384.4 MB, free: 78.05 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/0.8408, allocations: 199 kB / 384.6 MB, free: 78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/0.8474, allocations: 1.473 MB / 386.1 MB, free: 77.37 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006677/0.8482, allocations: 0.9473 MB / 387 MB, free: 76.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009916/0.8492, allocations: 289.4 kB / 387.3 MB, free: 76.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8492, allocations: 0 / 387.3 MB, free: 76.45 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.267/4.116, allocations: 23.91 MB / 411.2 MB, free: 56.8 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat