Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.045/2.045, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.277e-05/4.292e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1112, allocations: 44.49 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4403/0.5515, allocations: 78.13 MB / 378.1 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003697/0.552, allocations: 71.83 kB / 378.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09395/0.6459, allocations: 13.79 MB / 392 MB, free: 11.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.845e-06/0.646, allocations: 0 / 392 MB, free: 11.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.269e-05/0.6461, allocations: 11.72 kB / 392 MB, free: 11.37 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003558/0.6497, allocations: 0.8798 MB / 392.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.352e-05/0.6498, allocations: 7.75 kB / 392.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003694/0.6501, allocations: 93.64 kB / 393 MB, free: 10.73 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003925/0.6506, allocations: 89.78 kB / 393 MB, free: 10.69 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001568/0.6522, allocations: 454.2 kB / 393.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002811/0.6525, allocations: 96.64 kB / 393.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/0.6527, allocations: 45.62 kB / 393.6 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002077/0.6548, allocations: 0.6042 MB / 394.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.821e-05/0.6549, allocations: 3.906 kB / 394.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001381/0.6551, allocations: 23.16 kB / 394.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.018e-05/0.6551, allocations: 11.5 kB / 394.3 MB, free: 10.11 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001835/0.657, allocations: 385.7 kB / 394.6 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007693/0.6647, allocations: 1.891 MB / 396.5 MB, free: 9.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00503/0.6698, allocations: 0.6611 MB / 397.2 MB, free: 9.273 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006737/0.6706, allocations: 229.1 kB / 397.4 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.687e-05/0.6707, allocations: 18.56 kB / 397.4 MB, free: 9.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.6707, allocations: 42.83 kB / 397.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 3.436e-06/0.6707, allocations: 0 / 397.5 MB, free: 9.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.003016/0.6738, allocations: 0.6735 MB / 398.1 MB, free: 9.105 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.674, allocations: 0.5673 MB / 398.7 MB, free: 8.414 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008614/0.6748, allocations: 457.3 kB / 399.2 MB, free: 8.301 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.6751, allocations: 37.45 kB / 399.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002251/0.6753, allocations: 283.7 kB / 399.5 MB, free: 8.148 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002128/0.6755, allocations: 191.5 kB / 399.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.683e-05/0.6756, allocations: 11.28 kB / 399.7 MB, free: 8.023 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6757, allocations: 388.3 kB / 400.1 MB, free: 7.699 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004659/0.6762, allocations: 155.4 kB / 400.2 MB, free: 7.699 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006319/0.6768, allocations: 371.9 kB / 400.6 MB, free: 7.484 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005643/0.6774, allocations: 231 kB / 400.8 MB, free: 7.434 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.6774, allocations: 0 / 400.8 MB, free: 7.434 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003097/0.6805, allocations: 0.7482 MB / 401.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.463e-05/0.6807, allocations: 29.64 kB / 401.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6807, allocations: 3.812 kB / 401.6 MB, free: 7.246 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.6827, allocations: 193.2 kB / 401.8 MB, free: 7.219 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001706/0.6845, allocations: 142 kB / 401.9 MB, free: 7.207 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009077/0.6936, allocations: 5.026 MB / 406.9 MB, free: 19.28 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001179/0.6948, allocations: 85.61 kB / 407 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.096e-05/0.6949, allocations: 22.38 kB / 407 MB, free: 19.25 MB / 330.7 MB 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 (49): * Single equations (assignments): 45 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.6952, allocations: 140.3 kB / 407.2 MB, free: 19.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.6954, allocations: 65.38 kB / 407.2 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003026/0.6984, allocations: 0.7207 MB / 408 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.6985, allocations: 10.45 kB / 408 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.6985, allocations: 4 kB / 408 MB, free: 19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002847/0.7013, allocations: 0.9811 MB / 409 MB, free: 18.42 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.7058, allocations: 1.445 MB / 410.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.7058, allocations: 4 kB / 410.4 MB, free: 17.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001567/0.7074, allocations: 142.7 kB / 410.5 MB, free: 17.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001083/0.7085, allocations: 149.8 kB / 410.7 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.259e-05/0.7086, allocations: 15.39 kB / 410.7 MB, free: 17.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006802/0.7154, allocations: 3.411 MB / 414.1 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.7155, allocations: 0 / 414.1 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003406/0.7189, allocations: 0.9815 MB / 415.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004504/0.7194, allocations: 200.7 kB / 415.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001404/0.7195, allocations: 14.06 kB / 415.3 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000774/0.7203, allocations: 49.91 kB / 415.4 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.7205, allocations: 47.11 kB / 415.4 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/0.7206, allocations: 23.31 kB / 415.4 MB, free: 14.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006262/0.7212, allocations: 358.6 kB / 415.8 MB, free: 14.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7212, allocations: 4 kB / 415.8 MB, free: 14.39 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001083/0.7223, allocations: 230.9 kB / 416 MB, free: 14.38 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 44 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.004317/0.7267, allocations: 1.552 MB / 417.6 MB, free: 13.55 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002465/0.7292, allocations: 0.9013 MB / 418.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7292, allocations: 0 / 418.5 MB, free: 13.09 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001327/0.7305, allocations: 491.2 kB / 418.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.7319, allocations: 174.4 kB / 419.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002864/0.7348, allocations: 0.9905 MB / 420.1 MB, free: 12.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005164/0.7353, allocations: 0.8952 MB / 421 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005679/0.7359, allocations: 79.28 kB / 421.1 MB, free: 11.44 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.7363, allocations: 225.6 kB / 421.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7363, allocations: 0 / 421.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06164/0.798, allocations: 17.68 MB / 439 MB, free: 2.73 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.7983, allocations: 184.3 kB / 439.1 MB, free: 2.504 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.406/4.205, allocations: 4 kB / 439.1 MB, free: 2.5 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat