Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Thermal_FluidHeatFlow_Examples_PumpDropOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.75/1.75, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.222e-05/3.225e-05, allocations: 4 kB / 219.6 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.2552, allocations: 38.76 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1235/0.3787, allocations: 70.57 MB / 328.9 MB, free: 7.266 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.379, allocations: 71.95 kB / 329 MB, free: 7.195 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04169/0.4207, allocations: 9.592 MB / 338.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.4208, allocations: 4 kB / 338.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.535e-05/0.4209, allocations: 11.98 kB / 338.6 MB, free: 13.54 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.001836/0.4227, allocations: 0.7376 MB / 339.3 MB, free: 12.74 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.4228, allocations: 11.97 kB / 339.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002031/0.423, allocations: 67.25 kB / 339.4 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008604/0.4239, allocations: 388 kB / 339.8 MB, free: 12.24 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001259/0.424, allocations: 46.48 kB / 339.8 MB, free: 12.19 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.893e-05/0.4241, allocations: 20.34 kB / 339.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008255/0.4249, allocations: 273.5 kB / 340.1 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009338/0.4259, allocations: 405.3 kB / 340.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.4259, allocations: 0 / 340.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.486e-05/0.426, allocations: 4 kB / 340.5 MB, free: 11.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.426, allocations: 8 kB / 340.5 MB, free: 11.44 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.4295, allocations: 1.228 MB / 341.7 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001234/0.4308, allocations: 417.8 kB / 342.1 MB, free: 9.715 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004162/0.4312, allocations: 152.8 kB / 342.3 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.043e-05/0.4313, allocations: 7.984 kB / 342.3 MB, free: 9.555 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.4313, allocations: 42.5 kB / 342.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of pre-optimization done (n=38): time 3.557e-06/0.4314, allocations: 0 / 342.3 MB, free: 9.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=38): time 0.00125/0.4326, allocations: 370.9 kB / 342.7 MB, free: 9.129 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000213/0.4328, allocations: 445 kB / 343.1 MB, free: 8.59 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006323/0.4335, allocations: 349.3 kB / 343.5 MB, free: 8.238 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.92e-05/0.4336, allocations: 25.7 kB / 343.5 MB, free: 8.207 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.4338, allocations: 286.9 kB / 343.8 MB, free: 7.926 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.434, allocations: 118.1 kB / 343.9 MB, free: 7.809 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.125e-05/0.434, allocations: 4 kB / 343.9 MB, free: 7.805 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.4342, allocations: 322.8 kB / 344.2 MB, free: 7.48 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002994/0.4345, allocations: 108 kB / 344.3 MB, free: 7.375 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004421/0.4349, allocations: 234.5 kB / 344.5 MB, free: 7.094 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.4353, allocations: 129.3 kB / 344.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.4353, allocations: 0 / 344.7 MB, free: 6.969 MB / 298.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001087/0.4364, allocations: 362.9 kB / 345 MB, free: 6.602 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.512e-05/0.4365, allocations: 37.69 kB / 345.1 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.4365, allocations: 0 / 345.1 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.4369, allocations: 61.72 kB / 345.1 MB, free: 6.492 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008333/0.4377, allocations: 91.88 kB / 345.2 MB, free: 6.402 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002951/0.4407, allocations: 2.634 MB / 347.8 MB, free: 3.539 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007312/0.4415, allocations: 51.7 kB / 347.9 MB, free: 3.488 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.4416, allocations: 12 kB / 347.9 MB, free: 3.477 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: 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 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.0002785/0.4419, allocations: 132.9 kB / 348 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001093/0.443, allocations: 354.5 kB / 348.4 MB, free: 2.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.4431, allocations: 55.38 kB / 348.4 MB, free: 2.926 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000154/0.4433, allocations: 40.91 kB / 348.5 MB, free: 2.883 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.4433, allocations: 4 kB / 348.5 MB, free: 2.879 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4433, allocations: 8 kB / 348.5 MB, free: 2.871 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008531/0.4442, allocations: 0.6611 MB / 349.1 MB, free: 2.105 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001986/0.4462, allocations: 0.9074 MB / 350.1 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4462, allocations: 0 / 350.1 MB, free: 1.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000887/0.4471, allocations: 99.86 kB / 350.2 MB, free: 1.051 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.055e-05/0.4471, allocations: 4 kB / 350.2 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.4472, allocations: 4 kB / 350.2 MB, free: 1.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.783e-06/0.4472, allocations: 7.938 kB / 350.2 MB, free: 1.035 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/0.4472, allocations: 4 kB / 350.2 MB, free: 1.031 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001179/0.4484, allocations: 0.5462 MB / 350.7 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.4486, allocations: 132.4 kB / 350.8 MB, free: 324 kB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4487, allocations: 4 kB / 350.9 MB, free: 320 kB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005309/0.4493, allocations: 28.05 kB / 350.9 MB, free: 292 kB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001037/0.4494, allocations: 23.95 kB / 350.9 MB, free: 268 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.4494, allocations: 8 kB / 350.9 MB, free: 260 kB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005182/0.45, allocations: 275 kB / 351.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.45, allocations: 0 / 351.2 MB, free: 15.98 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006919/0.4507, allocations: 135.7 kB / 351.3 MB, free: 15.85 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.001574/0.4523, allocations: 1.11 MB / 352.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.4535, allocations: 0.5575 MB / 353 MB, free: 14.13 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.4535, allocations: 4 kB / 353 MB, free: 14.12 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.4539, allocations: 143.9 kB / 353.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008946/0.4548, allocations: 105.8 kB / 353.2 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002319/0.4572, allocations: 0.7732 MB / 354 MB, free: 13.06 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.4577, allocations: 0.8352 MB / 354.8 MB, free: 12.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004185/0.4581, allocations: 167.4 kB / 355 MB, free: 12.04 MB / 314.7 MB Notification: Performance of SimCode: time 8.91e-07/0.4581, allocations: 0 / 355 MB, free: 12.04 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.824/3.282, allocations: 10.3 MB / 365.3 MB, free: 1.746 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat does not exist to compare? outputFormat=mat