Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.849/1.849, allocations: 171.2 MB / 178.4 MB, free: 176 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.151e-05/2.148e-05, allocations: 0 / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2768, allocations: 38.77 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1284/0.4053, allocations: 70.65 MB / 329 MB, free: 7.137 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002402/0.4056, allocations: 75.95 kB / 329.1 MB, free: 7.062 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0661/0.4717, allocations: 15.24 MB / 344.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.4718, allocations: 0 / 344.3 MB, free: 7.711 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.517e-05/0.4719, allocations: 12 kB / 344.3 MB, free: 7.699 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: 141 * Number of variables: 141 Notification: Performance of Generate backend data structure: time 0.002695/0.4746, allocations: 1.018 MB / 345.3 MB, free: 6.617 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.4747, allocations: 8.031 kB / 345.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002731/0.4749, allocations: 98.97 kB / 345.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.4762, allocations: 0.5076 MB / 345.9 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002803/0.4765, allocations: 130.7 kB / 346.1 MB, free: 5.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.4766, allocations: 39.95 kB / 346.1 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00138/0.478, allocations: 466.5 kB / 346.6 MB, free: 5.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.4796, allocations: 0.7001 MB / 347.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.669e-05/0.4796, allocations: 0 / 347.3 MB, free: 4.52 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.314e-05/0.4797, allocations: 4 kB / 347.3 MB, free: 4.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.4797, allocations: 12 kB / 347.3 MB, free: 4.504 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005067/0.4848, allocations: 1.926 MB / 349.2 MB, free: 2.496 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002272/0.4871, allocations: 0.8674 MB / 350.1 MB, free: 1.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008094/0.488, allocations: 326.8 kB / 350.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.995e-05/0.4881, allocations: 20.84 kB / 350.4 MB, free: 1.223 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.4882, allocations: 51.28 kB / 350.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 3.477e-06/0.4882, allocations: 0 / 350.5 MB, free: 1.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.003371/0.4915, allocations: 0.8188 MB / 351.3 MB, free: 332 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004473/0.492, allocations: 0.8196 MB / 352.1 MB, free: 15.31 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009214/0.493, allocations: 454.3 kB / 352.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/0.4931, allocations: 29.7 kB / 352.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.4935, allocations: 318.6 kB / 352.9 MB, free: 14.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.4938, allocations: 248.2 kB / 353.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.234e-05/0.4938, allocations: 0 / 353.1 MB, free: 14.26 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001985/0.4941, allocations: 378.8 kB / 353.5 MB, free: 13.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005927/0.4947, allocations: 201.5 kB / 353.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008664/0.4955, allocations: 463.2 kB / 354.2 MB, free: 13.13 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/0.4962, allocations: 251.6 kB / 354.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.4963, allocations: 0 / 354.4 MB, free: 12.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00353/0.4998, allocations: 0.8774 MB / 355.3 MB, free: 12 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.317e-05/0.4999, allocations: 92.69 kB / 355.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.4999, allocations: 3.953 kB / 355.4 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.501, allocations: 211.3 kB / 355.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001151/0.5021, allocations: 131.8 kB / 355.7 MB, free: 11.54 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009717/0.5119, allocations: 6.009 MB / 361.7 MB, free: 5.07 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001181/0.5131, allocations: 87.5 kB / 361.8 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.958e-05/0.5132, allocations: 23.98 kB / 361.8 MB, free: 4.961 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 (70): * Single equations (assignments): 63 * 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 {1 5,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.5136, allocations: 133 kB / 362 MB, free: 4.824 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003276/0.5169, allocations: 0.8149 MB / 362.8 MB, free: 3.988 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.5172, allocations: 79.16 kB / 362.8 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002687/0.5175, allocations: 75.33 kB / 362.9 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/0.5175, allocations: 11.98 kB / 362.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5175, allocations: 0 / 362.9 MB, free: 3.816 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003075/0.5206, allocations: 1.123 MB / 364.1 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00544/0.5261, allocations: 1.696 MB / 365.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.5261, allocations: 4 kB / 365.8 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001251/0.5274, allocations: 127.9 kB / 365.9 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000767/0.5282, allocations: 170.5 kB / 366 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.821e-05/0.5283, allocations: 4 kB / 366 MB, free: 0.5117 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2289/0.7572, allocations: 4.622 MB / 370.7 MB, free: 86.39 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.7572, allocations: 3.156 kB / 370.7 MB, free: 86.39 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/0.7615, allocations: 1.229 MB / 371.9 MB, free: 86.17 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.7618, allocations: 161.5 kB / 372.1 MB, free: 86.04 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002541/0.7621, allocations: 5.906 kB / 372.1 MB, free: 86.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008505/0.763, allocations: 30.72 kB / 372.1 MB, free: 86.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002778/0.7633, allocations: 55.98 kB / 372.1 MB, free: 86.04 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.676e-05/0.7634, allocations: 22.28 kB / 372.2 MB, free: 86.04 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006637/0.764, allocations: 348.4 kB / 372.5 MB, free: 85.95 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.5e-07/0.7641, allocations: 0 / 372.5 MB, free: 85.95 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001478/0.7655, allocations: 251.7 kB / 372.8 MB, free: 85.95 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.004414/0.77, allocations: 1.949 MB / 374.7 MB, free: 85.01 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.7728, allocations: 1.164 MB / 375.9 MB, free: 84.4 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/0.7728, allocations: 0 / 375.9 MB, free: 84.4 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001734/0.7746, allocations: 0.6795 MB / 376.5 MB, free: 84.08 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.776, allocations: 163.3 kB / 376.7 MB, free: 84.08 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004127/0.7802, allocations: 1.309 MB / 378 MB, free: 83.67 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004436/0.7807, allocations: 0.937 MB / 379 MB, free: 82.95 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0006822/0.7814, allocations: 88.02 kB / 379 MB, free: 82.94 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005227/0.7819, allocations: 277 kB / 379.3 MB, free: 82.93 MB / 314.7 MB Notification: Performance of SimCode: time 1.062e-06/0.782, allocations: 0 / 379.3 MB, free: 82.93 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08019/0.8622, allocations: 19.52 MB / 398.8 MB, free: 71.77 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.8625, allocations: 139.6 kB / 399 MB, free: 71.58 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.658/4.521, allocations: 0 / 399 MB, free: 71.58 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat