Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.896e-05/2.899e-05, allocations: 0 / 249.7 MB, free: 15.21 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3197/0.3198, allocations: 44.5 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1619/0.4817, allocations: 75.98 MB / 370.2 MB, free: 6 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003308/0.4821, allocations: 71.89 kB / 370.3 MB, free: 5.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.138/0.6201, allocations: 15.3 MB / 385.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.895e-06/0.6202, allocations: 0 / 385.6 MB, free: 6.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.673e-05/0.6203, allocations: 16 kB / 385.6 MB, free: 6.504 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.004151/0.6244, allocations: 1.014 MB / 386.6 MB, free: 5.426 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.33e-05/0.6245, allocations: 12.03 kB / 386.6 MB, free: 5.414 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005208/0.6251, allocations: 103.2 kB / 386.7 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00187/0.627, allocations: 0.5038 MB / 387.2 MB, free: 4.77 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/0.6274, allocations: 126.4 kB / 387.3 MB, free: 4.625 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.6276, allocations: 36 kB / 387.4 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002067/0.6297, allocations: 470.5 kB / 387.8 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002267/0.632, allocations: 0.6923 MB / 388.5 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.845e-05/0.6321, allocations: 0 / 388.5 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.6323, allocations: 0 / 388.5 MB, free: 3.336 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.6323, allocations: 20 kB / 388.5 MB, free: 3.316 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007511/0.6398, allocations: 1.946 MB / 390.5 MB, free: 1.289 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002349/0.6422, allocations: 0.8713 MB / 391.4 MB, free: 356 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008213/0.6431, allocations: 311.2 kB / 391.7 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.6432, allocations: 24.77 kB / 391.7 MB, free: 20 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.845e-05/0.6433, allocations: 51.28 kB / 391.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 3.517e-06/0.6433, allocations: 0 / 391.7 MB, free: 15.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.003469/0.6468, allocations: 0.811 MB / 392.5 MB, free: 15.13 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000427/0.6472, allocations: 0.8274 MB / 393.4 MB, free: 14.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/0.6483, allocations: 450.3 kB / 393.8 MB, free: 13.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/0.6485, allocations: 33.69 kB / 393.8 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003119/0.6488, allocations: 339.3 kB / 394.2 MB, free: 13.29 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000376/0.6492, allocations: 248.3 kB / 394.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.472e-05/0.6493, allocations: 0 / 394.4 MB, free: 13.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001664/0.6495, allocations: 346.8 kB / 394.8 MB, free: 12.69 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006083/0.6501, allocations: 193.6 kB / 394.9 MB, free: 12.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009367/0.651, allocations: 467.1 kB / 395.4 MB, free: 11.95 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007567/0.6518, allocations: 249.5 kB / 395.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6518, allocations: 0 / 395.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003526/0.6554, allocations: 0.831 MB / 396.5 MB, free: 10.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001276/0.6555, allocations: 89.09 kB / 396.6 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.6556, allocations: 9.578 kB / 396.6 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001076/0.6567, allocations: 207.3 kB / 396.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/0.6579, allocations: 131.9 kB / 396.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01037/0.6683, allocations: 6.04 MB / 402.9 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/0.6695, allocations: 79.42 kB / 403 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.962e-05/0.6696, allocations: 23.98 kB / 403 MB, free: 3.797 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.0003619/0.67, allocations: 128.6 kB / 403.2 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0034/0.6734, allocations: 0.8227 MB / 404 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003367/0.6738, allocations: 75.16 kB / 404.1 MB, free: 2.75 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.6741, allocations: 75.33 kB / 404.1 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.6741, allocations: 8 kB / 404.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.6741, allocations: 0 / 404.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003156/0.6773, allocations: 1.119 MB / 405.3 MB, free: 1.426 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005596/0.6829, allocations: 1.719 MB / 407 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.683, allocations: 0 / 407 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001294/0.6843, allocations: 127.9 kB / 407.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007581/0.685, allocations: 166.5 kB / 407.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.484e-05/0.6852, allocations: 15.88 kB / 407.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008134/0.6933, allocations: 4.635 MB / 411.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.6934, allocations: 4.125 kB / 411.9 MB, free: 10.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004339/0.6977, allocations: 1.218 MB / 413.1 MB, free: 9.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/0.6981, allocations: 164.1 kB / 413.3 MB, free: 8.906 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002144/0.6983, allocations: 12.19 kB / 413.3 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007998/0.6991, allocations: 23.98 kB / 413.3 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002544/0.6994, allocations: 64.62 kB / 413.4 MB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.928e-05/0.6995, allocations: 27.97 kB / 413.4 MB, free: 8.781 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006853/0.7002, allocations: 347 kB / 413.8 MB, free: 8.445 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7002, allocations: 4 kB / 413.8 MB, free: 8.441 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001313/0.7015, allocations: 259.6 kB / 414 MB, free: 8.188 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.004671/0.7062, allocations: 1.935 MB / 416 MB, free: 6.199 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002849/0.7091, allocations: 1.163 MB / 417.1 MB, free: 4.965 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/0.7092, allocations: 8 kB / 417.1 MB, free: 4.957 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001834/0.711, allocations: 0.6798 MB / 417.8 MB, free: 4.246 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.7125, allocations: 177.8 kB / 418 MB, free: 4.074 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004366/0.7169, allocations: 1.325 MB / 419.3 MB, free: 2.691 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006642/0.7176, allocations: 0.9402 MB / 420.2 MB, free: 1.727 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/0.7183, allocations: 291.3 kB / 420.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of SimCode: time 9.82e-07/0.7183, allocations: 0 / 420.5 MB, free: 1.441 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.332/4.051, allocations: 22.85 MB / 443.4 MB, free: 98.57 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat does not exist to compare? outputFormat=mat