Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 171.3 MB / 178.4 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.357e-05/2.371e-05, allocations: 0 / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2761, allocations: 38.76 MB / 258.3 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.4171, allocations: 70.24 MB / 328.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/0.4175, allocations: 67.95 kB / 328.6 MB, free: 7.473 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05939/0.4769, allocations: 9.314 MB / 338 MB, free: 14.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.477, allocations: 0 / 338 MB, free: 14.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.013e-05/0.4771, allocations: 16 kB / 338 MB, free: 14.09 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: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.002733/0.4798, allocations: 0.7181 MB / 338.7 MB, free: 13.32 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.027e-05/0.4799, allocations: 12.03 kB / 338.7 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002761/0.4802, allocations: 63.34 kB / 338.8 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.4815, allocations: 376 kB / 339.1 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.4818, allocations: 58.47 kB / 339.2 MB, free: 12.77 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.4819, allocations: 16.34 kB / 339.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001209/0.4831, allocations: 257.4 kB / 339.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.4845, allocations: 393.4 kB / 339.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/0.4846, allocations: 0 / 339.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.405e-05/0.4847, allocations: 0 / 339.8 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.4847, allocations: 8 kB / 339.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005276/0.49, allocations: 1.186 MB / 341 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.4913, allocations: 360 kB / 341.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005316/0.4919, allocations: 140.8 kB / 341.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.031e-05/0.492, allocations: 4 kB / 341.5 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.822e-05/0.4921, allocations: 42.55 kB / 341.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 6.212e-06/0.4921, allocations: 0 / 341.6 MB, free: 10.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001889/0.494, allocations: 355 kB / 341.9 MB, free: 9.875 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003282/0.4944, allocations: 445 kB / 342.4 MB, free: 9.336 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/0.4954, allocations: 345.3 kB / 342.7 MB, free: 8.988 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001409/0.4956, allocations: 29.7 kB / 342.7 MB, free: 8.953 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003307/0.4959, allocations: 228.6 kB / 342.9 MB, free: 8.727 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000228/0.4962, allocations: 126.1 kB / 343.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.091e-05/0.4962, allocations: 0 / 343.1 MB, free: 8.602 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000238/0.4965, allocations: 354.8 kB / 343.4 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.497, allocations: 107.9 kB / 343.5 MB, free: 8.141 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006712/0.4977, allocations: 234.3 kB / 343.7 MB, free: 7.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/0.4983, allocations: 124.8 kB / 343.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.4983, allocations: 0 / 343.9 MB, free: 7.742 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001915/0.5002, allocations: 382.3 kB / 344.2 MB, free: 7.355 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.242e-05/0.5004, allocations: 33.66 kB / 344.3 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.603e-05/0.5004, allocations: 4 kB / 344.3 MB, free: 7.312 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005334/0.5009, allocations: 53.69 kB / 344.3 MB, free: 7.254 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/0.5021, allocations: 91.88 kB / 344.4 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/0.5075, allocations: 2.63 MB / 347.1 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00081/0.5084, allocations: 55.7 kB / 347.1 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.696e-05/0.5084, allocations: 12 kB / 347.1 MB, free: 4.234 MB / 298.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: pipe.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pump.h:VARIABLE(unit = "J/kg" protected = true ) "Medium's specific enthalpy" 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003165/0.5088, allocations: 116.9 kB / 347.2 MB, free: 4.113 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00112/0.5099, allocations: 350.5 kB / 347.6 MB, free: 3.758 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001265/0.5101, allocations: 51.44 kB / 347.6 MB, free: 3.707 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001614/0.5102, allocations: 45.08 kB / 347.7 MB, free: 3.66 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.5103, allocations: 4 kB / 347.7 MB, free: 3.656 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.5103, allocations: 11.88 kB / 347.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008798/0.5112, allocations: 0.6457 MB / 348.3 MB, free: 2.895 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.5133, allocations: 0.8768 MB / 349.2 MB, free: 1.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-06/0.5134, allocations: 7.938 kB / 349.2 MB, free: 1.957 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008857/0.5142, allocations: 99.88 kB / 349.3 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.468e-06/0.5143, allocations: 0 / 349.3 MB, free: 1.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.5143, allocations: 3.953 kB / 349.3 MB, free: 1.855 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.5143, allocations: 7.984 kB / 349.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5144, allocations: 0 / 349.3 MB, free: 1.848 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.5156, allocations: 0.5266 MB / 349.8 MB, free: 1.305 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002204/0.5159, allocations: 124.6 kB / 350 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001153/0.516, allocations: 0 / 350 MB, free: 1.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005584/0.5166, allocations: 31.92 kB / 350 MB, free: 1.133 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.5167, allocations: 27.83 kB / 350 MB, free: 1.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-05/0.5168, allocations: 8.062 kB / 350 MB, free: 1.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004982/0.5173, allocations: 279 kB / 350.3 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5173, allocations: 0 / 350.3 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006874/0.518, allocations: 127.7 kB / 350.4 MB, free: 0.7031 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001679/0.5197, allocations: 1.083 MB / 351.5 MB, free: 15.59 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001433/0.5212, allocations: 0.5379 MB / 352.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.319e-06/0.5212, allocations: 0 / 352.1 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003881/0.5217, allocations: 144.4 kB / 352.2 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.5227, allocations: 109.8 kB / 352.3 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.5252, allocations: 0.7108 MB / 353 MB, free: 14.02 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004857/0.5257, allocations: 0.8351 MB / 353.8 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004113/0.5261, allocations: 51.44 kB / 353.9 MB, free: 13.11 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.5265, allocations: 167.4 kB / 354.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5266, allocations: 0 / 354.1 MB, free: 12.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05854/0.5851, allocations: 10.21 MB / 364.3 MB, free: 2.754 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002796/0.5855, allocations: 145.7 kB / 364.4 MB, free: 2.551 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/3.659, allocations: 4.031 kB / 364.4 MB, free: 2.547 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat