Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Thermal_FluidHeatFlow_Examples_IndirectCooling",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.569/2.569, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.071e-05/2.09e-05, allocations: 0 / 249.8 MB, free: 14.77 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3858/0.3858, allocations: 44.49 MB / 294.3 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2127/0.5986, allocations: 75.97 MB / 370.3 MB, free: 5.82 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003979/0.599, allocations: 71.95 kB / 370.3 MB, free: 5.75 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.112/0.7111, allocations: 17.91 MB / 388.2 MB, free: 3.727 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.003e-06/0.7112, allocations: 0 / 388.2 MB, free: 3.727 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.358e-05/0.7112, allocations: 19.94 kB / 388.3 MB, free: 3.707 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.00375/0.715, allocations: 1.119 MB / 389.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.167e-05/0.7151, allocations: 8.031 kB / 389.4 MB, free: 2.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00039/0.7155, allocations: 119.5 kB / 389.5 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.7173, allocations: 0.5823 MB / 390.1 MB, free: 1.773 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003599/0.7177, allocations: 126.4 kB / 390.2 MB, free: 1.629 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001812/0.7179, allocations: 39.98 kB / 390.3 MB, free: 1.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001995/0.7199, allocations: 0.5103 MB / 390.8 MB, free: 1.082 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002255/0.7222, allocations: 0.7908 MB / 391.6 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.358e-05/0.7222, allocations: 0 / 391.6 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.7224, allocations: 4 kB / 391.6 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.7224, allocations: 12 kB / 391.6 MB, free: 160 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007889/0.7303, allocations: 2.37 MB / 393.9 MB, free: 13.67 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007882/0.7382, allocations: 0.8523 MB / 394.8 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002135/0.7405, allocations: 299.2 kB / 395.1 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.7407, allocations: 16.72 kB / 395.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.518e-05/0.7408, allocations: 47.33 kB / 395.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 6.712e-06/0.7409, allocations: 0 / 395.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.003878/0.7448, allocations: 0.6712 MB / 395.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005098/0.7453, allocations: 0.949 MB / 396.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.7468, allocations: 0.5545 MB / 397.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.747, allocations: 29.7 kB / 397.3 MB, free: 9.949 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005069/0.7476, allocations: 396.2 kB / 397.7 MB, free: 9.559 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003985/0.748, allocations: 236.4 kB / 398 MB, free: 9.324 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.285e-05/0.7481, allocations: 8 kB / 398 MB, free: 9.316 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000254/0.7483, allocations: 382.8 kB / 398.3 MB, free: 8.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007588/0.7491, allocations: 213.5 kB / 398.6 MB, free: 8.727 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.7503, allocations: 0.5139 MB / 399.1 MB, free: 8.086 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009039/0.7512, allocations: 267.6 kB / 399.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.7513, allocations: 0 / 399.3 MB, free: 7.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003212/0.7545, allocations: 0.7767 MB / 400.1 MB, free: 7.027 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001099/0.7546, allocations: 93.09 kB / 400.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.503e-05/0.7547, allocations: 0 / 400.2 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001192/0.7559, allocations: 172 kB / 400.4 MB, free: 6.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/0.7576, allocations: 159.8 kB / 400.5 MB, free: 6.578 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01393/0.7716, allocations: 6.675 MB / 407.2 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.7739, allocations: 91.44 kB / 407.3 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/0.7742, allocations: 27.98 kB / 407.3 MB, free: 15.21 MB / 362.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: outerPump.flowPort_b.H_flow:VARIABLE(flow=true unit = "W" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: absolutePressure.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: innerPipe.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: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 71 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 4 {1 3,1 1,1 3,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0006835/0.7749, allocations: 140.6 kB / 407.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003817/0.7787, allocations: 0.6634 MB / 408.1 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005706/0.7794, allocations: 90.97 kB / 408.2 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004742/0.7799, allocations: 87.92 kB / 408.3 MB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-05/0.7799, allocations: 8 kB / 408.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.7799, allocations: 0 / 408.3 MB, free: 14.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0028/0.7828, allocations: 0.8753 MB / 409.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00681/0.7896, allocations: 1.547 MB / 410.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.679e-06/0.7897, allocations: 0 / 410.7 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002971/0.7927, allocations: 163.8 kB / 410.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003428/0.7931, allocations: 32.84 kB / 410.9 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.7933, allocations: 7.984 kB / 410.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002492/0.7958, allocations: 1.377 MB / 412.3 MB, free: 9.906 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.157e-05/0.7958, allocations: 7.891 kB / 412.3 MB, free: 9.898 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003038/0.7989, allocations: 0.9399 MB / 413.2 MB, free: 8.938 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003913/0.7993, allocations: 172 kB / 413.4 MB, free: 8.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002805/0.7996, allocations: 7.953 kB / 413.4 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.8007, allocations: 31.89 kB / 413.5 MB, free: 8.711 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001946/0.8009, allocations: 52.64 kB / 413.5 MB, free: 8.656 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.027e-05/0.801, allocations: 16 kB / 413.5 MB, free: 8.641 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001056/0.8021, allocations: 439.2 kB / 413.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.8021, allocations: 0 / 413.9 MB, free: 8.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001609/0.8037, allocations: 273.7 kB / 414.2 MB, free: 7.949 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 68 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003491/0.8072, allocations: 1.508 MB / 415.7 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004099/0.8114, allocations: 1.29 MB / 417 MB, free: 5.035 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.8114, allocations: 4 kB / 417 MB, free: 5.031 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001062/0.8125, allocations: 368.7 kB / 417.4 MB, free: 4.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001964/0.8145, allocations: 215.5 kB / 417.6 MB, free: 4.453 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005383/0.8199, allocations: 1.318 MB / 418.9 MB, free: 3.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000834/0.8208, allocations: 0.9836 MB / 419.9 MB, free: 2.082 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001047/0.8218, allocations: 114.6 kB / 420 MB, free: 1.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008837/0.8227, allocations: 327.3 kB / 420.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of SimCode: time 1.553e-06/0.8228, allocations: 0 / 420.3 MB, free: 1.645 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4004/1.223, allocations: 20.62 MB / 440.9 MB, free: 99.52 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002813/1.224, allocations: 144.9 kB / 441.1 MB, free: 99.34 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.624/5.847, allocations: 3.906 kB / 441.1 MB, free: 99.34 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat does not exist to compare? outputFormat=mat