Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.222/2.222, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.548e-05/2.566e-05, allocations: 7.984 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3362, allocations: 44.49 MB / 294.2 MB, free: 14.43 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1446/0.4809, allocations: 75.91 MB / 370.1 MB, free: 6.02 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.4812, allocations: 63.97 kB / 370.2 MB, free: 5.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04254/0.5238, allocations: 9.63 MB / 379.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.943e-06/0.5238, allocations: 0 / 379.8 MB, free: 12.28 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.044e-05/0.5239, allocations: 8 kB / 379.8 MB, free: 12.27 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001826/0.5257, allocations: 0.7376 MB / 380.6 MB, free: 11.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.143e-05/0.5258, allocations: 11.97 kB / 380.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.526, allocations: 71.19 kB / 380.6 MB, free: 11.4 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008698/0.5268, allocations: 392.3 kB / 381 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.527, allocations: 50.47 kB / 381.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.692e-05/0.5271, allocations: 20 kB / 381.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008231/0.5279, allocations: 265.5 kB / 381.4 MB, free: 10.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000937/0.5289, allocations: 405.3 kB / 381.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.5289, allocations: 0 / 381.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.542e-05/0.529, allocations: 4 kB / 381.8 MB, free: 10.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.395e-05/0.529, allocations: 8 kB / 381.8 MB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003501/0.5325, allocations: 1.241 MB / 383 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.5338, allocations: 415.8 kB / 383.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003808/0.5342, allocations: 148.9 kB / 383.6 MB, free: 8.297 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.838e-05/0.5343, allocations: 7.984 kB / 383.6 MB, free: 8.289 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.43e-05/0.5343, allocations: 46.55 kB / 383.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 2.806e-06/0.5344, allocations: 0 / 383.6 MB, free: 8.234 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.001229/0.5356, allocations: 359.1 kB / 384 MB, free: 7.871 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002331/0.5358, allocations: 452.9 kB / 384.4 MB, free: 7.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006439/0.5365, allocations: 345.3 kB / 384.7 MB, free: 6.977 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.5366, allocations: 29.7 kB / 384.8 MB, free: 6.941 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002554/0.5369, allocations: 240.6 kB / 385 MB, free: 6.703 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.5371, allocations: 118.1 kB / 385.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.5371, allocations: 0 / 385.1 MB, free: 6.586 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.5373, allocations: 358.8 kB / 385.5 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/0.5376, allocations: 107.9 kB / 385.6 MB, free: 6.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.5381, allocations: 247.7 kB / 385.8 MB, free: 5.828 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003803/0.5385, allocations: 124.6 kB / 385.9 MB, free: 5.711 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.5385, allocations: 4 kB / 385.9 MB, free: 5.707 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001243/0.5398, allocations: 391.3 kB / 386.3 MB, free: 5.312 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.032e-05/0.5398, allocations: 29.7 kB / 386.4 MB, free: 5.277 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.5399, allocations: 4 kB / 386.4 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004103/0.5403, allocations: 61.7 kB / 386.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008156/0.5411, allocations: 91.88 kB / 386.5 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003123/0.5443, allocations: 2.642 MB / 389.2 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006991/0.545, allocations: 55.66 kB / 389.2 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.84e-05/0.5451, allocations: 12 kB / 389.2 MB, free: 2.18 MB / 330.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: ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real pipe.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 (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.0002657/0.5453, allocations: 136.8 kB / 389.4 MB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001051/0.5464, allocations: 366.4 kB / 389.7 MB, free: 1.668 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001261/0.5466, allocations: 47.53 kB / 389.8 MB, free: 1.621 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.5467, allocations: 44.91 kB / 389.8 MB, free: 1.574 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.394e-06/0.5467, allocations: 4 kB / 389.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.5468, allocations: 0 / 389.8 MB, free: 1.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009036/0.5477, allocations: 0.6644 MB / 390.5 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001999/0.5497, allocations: 0.9195 MB / 391.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.5497, allocations: 0 / 391.4 MB, free: 15.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.5506, allocations: 99.88 kB / 391.5 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.064e-05/0.5507, allocations: 4 kB / 391.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.5507, allocations: 3.984 kB / 391.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.5507, allocations: 0 / 391.5 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5507, allocations: 4 kB / 391.5 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.5519, allocations: 0.5423 MB / 392 MB, free: 15.16 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.5521, allocations: 124.6 kB / 392.2 MB, free: 15.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/0.5523, allocations: 8 kB / 392.2 MB, free: 15.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005392/0.5528, allocations: 32.03 kB / 392.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/0.5529, allocations: 31.7 kB / 392.2 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.553, allocations: 8 kB / 392.2 MB, free: 14.94 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004516/0.5535, allocations: 271 kB / 392.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.404e-06/0.5535, allocations: 0 / 392.5 MB, free: 14.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006939/0.5542, allocations: 143.6 kB / 392.6 MB, free: 14.54 MB / 346.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.001632/0.5558, allocations: 1.111 MB / 393.8 MB, free: 13.4 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001237/0.5571, allocations: 0.5495 MB / 394.3 MB, free: 12.82 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.5571, allocations: 4 kB / 394.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.5575, allocations: 147.6 kB / 394.5 MB, free: 12.67 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009358/0.5584, allocations: 121.8 kB / 394.6 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.561, allocations: 0.7154 MB / 395.3 MB, free: 11.79 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.5615, allocations: 0.8468 MB / 396.1 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004209/0.562, allocations: 52.16 kB / 396.2 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003917/0.5624, allocations: 167.4 kB / 396.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5624, allocations: 0 / 396.3 MB, free: 10.7 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06865/0.631, allocations: 10.5 MB / 406.8 MB, free: 216 kB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/0.6314, allocations: 139.1 kB / 407 MB, free: 20 kB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/3.79, allocations: 4 kB / 407 MB, free: 16 kB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat