Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.187/2.187, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.337e-05, allocations: 0 / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3223, allocations: 38.76 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.4691, allocations: 71.25 MB / 335.1 MB, free: 2.371 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002891/0.4695, allocations: 75.97 kB / 335.2 MB, free: 2.297 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04519/0.5147, allocations: 9.706 MB / 344.9 MB, free: 8.527 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5148, allocations: 0 / 344.9 MB, free: 8.527 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.091e-05/0.5148, allocations: 12 kB / 344.9 MB, free: 8.516 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002019/0.5168, allocations: 0.7453 MB / 345.6 MB, free: 7.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.663e-05/0.5169, allocations: 12.03 kB / 345.7 MB, free: 7.707 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002052/0.5171, allocations: 79.22 kB / 345.7 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001897/0.5173, allocations: 59.34 kB / 345.8 MB, free: 7.562 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.5183, allocations: 389.7 kB / 346.2 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001484/0.5184, allocations: 58.83 kB / 346.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.5186, allocations: 47.89 kB / 346.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.5197, allocations: 461.4 kB / 346.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.5197, allocations: 0 / 346.7 MB, free: 6.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.747e-05/0.5198, allocations: 16 kB / 346.7 MB, free: 6.512 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.512e-05/0.5198, allocations: 8 kB / 346.8 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008855/0.5207, allocations: 285.5 kB / 347 MB, free: 6.227 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/0.5245, allocations: 1.327 MB / 348.4 MB, free: 4.82 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.5259, allocations: 425.2 kB / 348.8 MB, free: 4.379 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.5264, allocations: 164.8 kB / 348.9 MB, free: 4.215 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.676e-05/0.5265, allocations: 7.984 kB / 348.9 MB, free: 4.207 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.792e-05/0.5265, allocations: 50.56 kB / 349 MB, free: 4.148 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.076e-06/0.5265, allocations: 0 / 349 MB, free: 4.148 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.00119/0.5277, allocations: 374.9 kB / 349.4 MB, free: 3.77 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002403/0.528, allocations: 449 kB / 349.8 MB, free: 3.227 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.5288, allocations: 391.2 kB / 350.2 MB, free: 2.844 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.569e-05/0.5289, allocations: 37.7 kB / 350.2 MB, free: 2.801 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000262/0.5292, allocations: 244.4 kB / 350.5 MB, free: 2.559 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/0.5294, allocations: 130.1 kB / 350.6 MB, free: 2.43 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.392e-05/0.5295, allocations: 4 kB / 350.6 MB, free: 2.426 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.5297, allocations: 362.7 kB / 350.9 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003578/0.53, allocations: 108 kB / 351 MB, free: 1.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/0.5306, allocations: 257.1 kB / 351.3 MB, free: 1.656 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.531, allocations: 160.9 kB / 351.5 MB, free: 1.496 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.239e-06/0.5311, allocations: 4 kB / 351.5 MB, free: 1.492 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001227/0.5323, allocations: 433 kB / 351.9 MB, free: 1.051 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.286e-05/0.5324, allocations: 37.69 kB / 351.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.5324, allocations: 0 / 351.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002441/0.5326, allocations: 49.7 kB / 352 MB, free: 0.9531 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008368/0.5335, allocations: 95.91 kB / 352.1 MB, free: 0.8594 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003749/0.5373, allocations: 2.74 MB / 354.8 MB, free: 13.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008547/0.5382, allocations: 71.64 kB / 354.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.5383, allocations: 12 kB / 354.9 MB, free: 13.77 MB / 314.7 MB 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 (40): * Single equations (assignments): 37 * 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.000221/0.5385, allocations: 134.1 kB / 355 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.5387, allocations: 47.44 kB / 355.1 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002042/0.5389, allocations: 52.89 kB / 355.1 MB, free: 13.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.5389, allocations: 8 kB / 355.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.5389, allocations: 0 / 355.1 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001094/0.54, allocations: 0.6841 MB / 355.8 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002267/0.5423, allocations: 0.9886 MB / 356.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/0.5424, allocations: 0 / 356.8 MB, free: 11.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009222/0.5433, allocations: 103.9 kB / 356.9 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.207e-05/0.5433, allocations: 4.172 kB / 356.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.5434, allocations: 19.89 kB / 356.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.5434, allocations: 0 / 356.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5434, allocations: 0 / 356.9 MB, free: 11.55 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001432/0.5448, allocations: 0.5811 MB / 357.5 MB, free: 10.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.5451, allocations: 128.5 kB / 357.6 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001115/0.5452, allocations: 12.06 kB / 357.6 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005854/0.5458, allocations: 43.92 kB / 357.7 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.902e-05/0.5459, allocations: 19.97 kB / 357.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.5459, allocations: 8 kB / 357.7 MB, free: 10.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006011/0.5466, allocations: 321.2 kB / 358 MB, free: 10.41 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5466, allocations: 0 / 358 MB, free: 10.41 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007344/0.5473, allocations: 155.7 kB / 358.2 MB, free: 10.26 MB / 314.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 (38): * Single equations (assignments): 38 * 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.001914/0.5492, allocations: 1.138 MB / 359.3 MB, free: 9.098 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001414/0.5507, allocations: 0.5689 MB / 359.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.5507, allocations: 0 / 359.9 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004099/0.5511, allocations: 151.9 kB / 360 MB, free: 8.348 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001066/0.5522, allocations: 126 kB / 360.2 MB, free: 8.227 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002608/0.5548, allocations: 0.7599 MB / 360.9 MB, free: 7.422 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006091/0.5555, allocations: 0.8433 MB / 361.8 MB, free: 6.547 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004434/0.5559, allocations: 60.34 kB / 361.8 MB, free: 6.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.5563, allocations: 175.3 kB / 362 MB, free: 6.32 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.5563, allocations: 0 / 362 MB, free: 6.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2841/0.8405, allocations: 11.96 MB / 373.9 MB, free: 91.15 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001651/0.8407, allocations: 188.5 kB / 374.1 MB, free: 90.92 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/3.985, allocations: 3.688 kB / 374.1 MB, free: 90.92 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat