Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.193/2.193, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.346e-05, allocations: 4 kB / 249.7 MB, free: 14.81 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3706, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1362/0.5069, allocations: 75.98 MB / 370.2 MB, free: 5.844 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/0.5072, allocations: 71.95 kB / 370.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07194/0.5792, allocations: 15.31 MB / 385.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5792, allocations: 0 / 385.6 MB, free: 6.355 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.649e-05/0.5793, allocations: 16 kB / 385.6 MB, free: 6.34 MB / 330.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.002627/0.5819, allocations: 1.014 MB / 386.6 MB, free: 5.262 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.407e-05/0.582, allocations: 8.031 kB / 386.6 MB, free: 5.254 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000263/0.5823, allocations: 103.2 kB / 386.7 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.5835, allocations: 0.5 MB / 387.2 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000281/0.5838, allocations: 130.3 kB / 387.4 MB, free: 4.465 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001291/0.5839, allocations: 40 kB / 387.4 MB, free: 4.426 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001384/0.5853, allocations: 462.5 kB / 387.8 MB, free: 3.977 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.5869, allocations: 0.693 MB / 388.5 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.5869, allocations: 8 kB / 388.5 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.941e-05/0.587, allocations: 0 / 388.5 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.205e-05/0.587, allocations: 16 kB / 388.6 MB, free: 3.156 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005006/0.592, allocations: 1.942 MB / 390.5 MB, free: 1.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.5944, allocations: 0.8707 MB / 391.4 MB, free: 196 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008639/0.5953, allocations: 319.2 kB / 391.7 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.5954, allocations: 16.83 kB / 391.7 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.011e-05/0.5955, allocations: 47.34 kB / 391.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 4.147e-06/0.5955, allocations: 0 / 391.7 MB, free: 15.81 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.003514/0.599, allocations: 0.8227 MB / 392.6 MB, free: 14.96 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003936/0.5994, allocations: 0.8235 MB / 393.4 MB, free: 13.95 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/0.6004, allocations: 446.3 kB / 393.8 MB, free: 13.5 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001983/0.6006, allocations: 29.7 kB / 393.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.601, allocations: 320.8 kB / 394.2 MB, free: 13.15 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003614/0.6013, allocations: 252.2 kB / 394.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.394e-05/0.6014, allocations: 0 / 394.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6016, allocations: 378.7 kB / 394.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005942/0.6022, allocations: 205.5 kB / 395 MB, free: 12.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008728/0.6031, allocations: 459.1 kB / 395.4 MB, free: 11.77 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006782/0.6038, allocations: 247.7 kB / 395.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.6038, allocations: 0 / 395.7 MB, free: 11.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003554/0.6074, allocations: 0.8774 MB / 396.6 MB, free: 10.64 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.733e-05/0.6075, allocations: 85.11 kB / 396.6 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.6075, allocations: 5.641 kB / 396.6 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001032/0.6086, allocations: 215.2 kB / 396.9 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/0.6098, allocations: 127.9 kB / 397 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009935/0.6197, allocations: 6.036 MB / 403 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/0.6209, allocations: 79.55 kB / 403.1 MB, free: 3.609 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.4e-05/0.6211, allocations: 27.98 kB / 403.1 MB, free: 3.582 MB / 346.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.0003751/0.6214, allocations: 128.8 kB / 403.2 MB, free: 3.449 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003281/0.6247, allocations: 0.8188 MB / 404.1 MB, free: 2.613 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002819/0.6251, allocations: 79.16 kB / 404.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002977/0.6254, allocations: 71.33 kB / 404.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.407e-05/0.6254, allocations: 11.98 kB / 404.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.6254, allocations: 0 / 404.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003136/0.6286, allocations: 1.119 MB / 405.3 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005536/0.6341, allocations: 1.712 MB / 407.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/0.6342, allocations: 3.984 kB / 407.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001267/0.6355, allocations: 131.8 kB / 407.2 MB, free: 15.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007564/0.6363, allocations: 170.5 kB / 407.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/0.6364, allocations: 3.953 kB / 407.4 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009257/0.6457, allocations: 4.651 MB / 412 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.6457, allocations: 0 / 412 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004218/0.65, allocations: 1.221 MB / 413.2 MB, free: 8.863 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/0.6504, allocations: 164.1 kB / 413.4 MB, free: 8.684 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000245/0.6506, allocations: 7.953 kB / 413.4 MB, free: 8.676 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008137/0.6515, allocations: 31.97 kB / 413.4 MB, free: 8.645 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/0.6517, allocations: 64.56 kB / 413.5 MB, free: 8.582 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.827e-05/0.6518, allocations: 20.12 kB / 413.5 MB, free: 8.562 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006833/0.6525, allocations: 354.9 kB / 413.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6525, allocations: 0 / 413.9 MB, free: 8.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001387/0.6539, allocations: 263.6 kB / 414.1 MB, free: 7.961 MB / 362.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.004755/0.6587, allocations: 1.927 MB / 416 MB, free: 5.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.6617, allocations: 1.171 MB / 417.2 MB, free: 4.738 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/0.6618, allocations: 4 kB / 417.2 MB, free: 4.734 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/0.6637, allocations: 0.6837 MB / 417.9 MB, free: 4.02 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.6654, allocations: 178 kB / 418.1 MB, free: 3.848 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004433/0.6699, allocations: 1.288 MB / 419.4 MB, free: 2.508 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006597/0.6706, allocations: 0.9441 MB / 420.3 MB, free: 1.539 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007085/0.6713, allocations: 85.62 kB / 420.4 MB, free: 1.453 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005824/0.6719, allocations: 271.3 kB / 420.7 MB, free: 1.188 MB / 362.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6719, allocations: 4 kB / 420.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3265/0.9984, allocations: 19.61 MB / 440.3 MB, free: 100.9 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002725/0.9988, allocations: 147.8 kB / 440.4 MB, free: 100.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.853/4.852, allocations: 0 / 440.4 MB, free: 100.7 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat