Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.814/1.814, allocations: 171.3 MB / 178.8 MB, free: 112 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.645e-05/2.662e-05, allocations: 4 kB / 219.6 MB, free: 7.273 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2624, allocations: 38.77 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1292/0.3916, allocations: 70.65 MB / 329 MB, free: 7.164 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/0.392, allocations: 67.97 kB / 329 MB, free: 7.098 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06781/0.4598, allocations: 15.24 MB / 344.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.4598, allocations: 0 / 344.3 MB, free: 7.746 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.124e-05/0.4599, allocations: 16 kB / 344.3 MB, free: 7.73 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.003016/0.463, allocations: 1.018 MB / 345.3 MB, free: 6.648 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.14e-05/0.4631, allocations: 12.03 kB / 345.3 MB, free: 6.637 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004736/0.4635, allocations: 98.97 kB / 345.4 MB, free: 6.539 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001784/0.4653, allocations: 0.4998 MB / 345.9 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00039/0.4658, allocations: 130.8 kB / 346 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.466, allocations: 39.95 kB / 346.1 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001991/0.468, allocations: 470.5 kB / 346.5 MB, free: 5.352 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002194/0.4702, allocations: 0.6923 MB / 347.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.528e-05/0.4703, allocations: 0 / 347.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.4704, allocations: 0 / 347.2 MB, free: 4.559 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.768e-05/0.4705, allocations: 20 kB / 347.3 MB, free: 4.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007215/0.4777, allocations: 1.938 MB / 349.2 MB, free: 2.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003445/0.4812, allocations: 0.8637 MB / 350.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.4825, allocations: 322.9 kB / 350.4 MB, free: 1.273 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.4827, allocations: 12.77 kB / 350.4 MB, free: 1.262 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.335e-05/0.4828, allocations: 51.34 kB / 350.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of pre-optimization done (n=74): time 8.346e-06/0.4828, allocations: 0 / 350.4 MB, free: 1.199 MB / 298.7 MB Notification: Performance of matching and sorting (n=74): time 0.004558/0.4874, allocations: 0.8149 MB / 351.2 MB, free: 376 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005378/0.4879, allocations: 0.8273 MB / 352.1 MB, free: 15.34 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.4891, allocations: 462.3 kB / 352.5 MB, free: 14.88 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.4893, allocations: 31.34 kB / 352.6 MB, free: 14.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003958/0.4897, allocations: 335.4 kB / 352.9 MB, free: 14.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003813/0.4901, allocations: 248.2 kB / 353.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.4902, allocations: 4 kB / 353.1 MB, free: 14.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.4904, allocations: 338.8 kB / 353.5 MB, free: 13.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008269/0.4913, allocations: 197.6 kB / 353.7 MB, free: 13.73 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001232/0.4925, allocations: 466.4 kB / 354.1 MB, free: 13.18 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009559/0.4935, allocations: 249.1 kB / 354.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.4935, allocations: 0 / 354.4 MB, free: 12.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.004717/0.4983, allocations: 0.8311 MB / 355.2 MB, free: 12.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001078/0.4984, allocations: 92.69 kB / 355.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.4984, allocations: 3.953 kB / 355.3 MB, free: 11.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.4999, allocations: 215.2 kB / 355.5 MB, free: 11.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001478/0.5014, allocations: 127.9 kB / 355.6 MB, free: 11.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01293/0.5143, allocations: 6.016 MB / 361.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.5159, allocations: 83.59 kB / 361.7 MB, free: 5.074 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001218/0.5161, allocations: 24 kB / 361.7 MB, free: 5.051 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.0004584/0.5166, allocations: 132.8 kB / 361.9 MB, free: 4.914 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004464/0.521, allocations: 0.8149 MB / 362.7 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003592/0.5214, allocations: 75.3 kB / 362.8 MB, free: 4.004 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003226/0.5218, allocations: 79.31 kB / 362.8 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.5218, allocations: 8 kB / 362.8 MB, free: 3.91 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.288e-05/0.5218, allocations: 3.984 kB / 362.8 MB, free: 3.906 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004208/0.5261, allocations: 1.119 MB / 364 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007423/0.5335, allocations: 1.692 MB / 365.7 MB, free: 0.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/0.5336, allocations: 3.938 kB / 365.7 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001642/0.5353, allocations: 127.9 kB / 365.8 MB, free: 0.7891 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009808/0.5363, allocations: 174.5 kB / 366 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.153e-05/0.5364, allocations: 4 kB / 366 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.227/0.7634, allocations: 4.628 MB / 370.6 MB, free: 86.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7635, allocations: 0.7188 kB / 370.6 MB, free: 86.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003921/0.7674, allocations: 1.228 MB / 371.8 MB, free: 86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002828/0.7678, allocations: 156.1 kB / 372 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/0.768, allocations: 13.55 kB / 372 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007731/0.7688, allocations: 23.34 kB / 372 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.769, allocations: 61.11 kB / 372.1 MB, free: 85.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.721e-05/0.7691, allocations: 25.78 kB / 372.1 MB, free: 85.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006387/0.7698, allocations: 347.3 kB / 372.4 MB, free: 85.79 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7698, allocations: 0 / 372.4 MB, free: 85.79 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001367/0.7711, allocations: 248.9 kB / 372.7 MB, free: 85.78 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.0042/0.7754, allocations: 1.944 MB / 374.6 MB, free: 84.85 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.00253/0.778, allocations: 1.159 MB / 375.8 MB, free: 84.23 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.778, allocations: 2.375 kB / 375.8 MB, free: 84.23 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001649/0.7797, allocations: 0.6824 MB / 376.5 MB, free: 83.92 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.7811, allocations: 167.3 kB / 376.6 MB, free: 83.91 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.7853, allocations: 1.343 MB / 378 MB, free: 83.47 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/0.7858, allocations: 0.9408 MB / 378.9 MB, free: 82.76 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005908/0.7864, allocations: 282.8 kB / 379.2 MB, free: 82.75 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/0.7864, allocations: 0 / 379.2 MB, free: 82.75 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.055/3.841, allocations: 22.82 MB / 402 MB, free: 68.65 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat