Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_PumpAndValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.307/2.307, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.334e-05/4.375e-05, allocations: 4 kB / 292.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1156, allocations: 50.41 MB / 342.6 MB, free: 5.836 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4545/0.5702, allocations: 82.89 MB / 425.5 MB, free: 11.04 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.5705, allocations: 70.34 kB / 425.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05951/0.63, allocations: 13.8 MB / 439.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6301, allocations: 7.938 kB / 439.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.656e-05/0.6302, allocations: 12 kB / 439.4 MB, free: 15.43 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002554/0.6327, allocations: 0.8972 MB / 440.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.829e-05/0.6328, allocations: 12.03 kB / 440.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002114/0.633, allocations: 87.7 kB / 440.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002444/0.6333, allocations: 86.97 kB / 440.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.6344, allocations: 451.2 kB / 440.9 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.6346, allocations: 104.5 kB / 441 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.6348, allocations: 50.16 kB / 441.1 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001397/0.6362, allocations: 0.6089 MB / 441.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.6362, allocations: 11.92 kB / 441.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.519e-05/0.6363, allocations: 21.56 kB / 441.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.6363, allocations: 12 kB / 441.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.6375, allocations: 379.1 kB / 442.1 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00523/0.6427, allocations: 1.911 MB / 444 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.646, allocations: 0.6619 MB / 444.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006532/0.6467, allocations: 226.9 kB / 444.9 MB, free: 10.79 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.6468, allocations: 23.91 kB / 444.9 MB, free: 10.77 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.361e-05/0.6468, allocations: 39 kB / 445 MB, free: 10.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.517e-06/0.6468, allocations: 0 / 445 MB, free: 10.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=56): time 0.003093/0.6499, allocations: 0.6739 MB / 445.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002798/0.6502, allocations: 0.568 MB / 446.2 MB, free: 9.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009384/0.6512, allocations: 474.3 kB / 446.7 MB, free: 9.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001416/0.6513, allocations: 38.7 kB / 446.7 MB, free: 9.105 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.6516, allocations: 281.8 kB / 447 MB, free: 8.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000279/0.6519, allocations: 209.7 kB / 447.2 MB, free: 8.75 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.652, allocations: 10.88 kB / 447.2 MB, free: 8.746 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.6522, allocations: 374 kB / 447.6 MB, free: 8.398 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005009/0.6527, allocations: 160.8 kB / 447.7 MB, free: 8.305 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007429/0.6534, allocations: 367.6 kB / 448.1 MB, free: 7.957 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/0.6541, allocations: 229.5 kB / 448.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.01e-06/0.6541, allocations: 0 / 448.3 MB, free: 7.793 MB / 362.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003228/0.6573, allocations: 0.7418 MB / 449.1 MB, free: 7.199 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/0.6574, allocations: 34.94 kB / 449.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.6575, allocations: 0 / 449.1 MB, free: 7.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001337/0.6588, allocations: 204.3 kB / 449.3 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.6604, allocations: 138.5 kB / 449.4 MB, free: 6.859 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009423/0.6699, allocations: 5.008 MB / 454.4 MB, free: 1.793 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/0.6711, allocations: 79.75 kB / 454.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.768e-05/0.6712, allocations: 23.98 kB / 454.5 MB, free: 1.691 MB / 362.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.0002422/0.6714, allocations: 148.9 kB / 454.7 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.6716, allocations: 75.16 kB / 454.7 MB, free: 1.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003226/0.6749, allocations: 0.7227 MB / 455.5 MB, free: 0.7305 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.6749, allocations: 4 kB / 455.5 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.675, allocations: 0 / 455.5 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003029/0.678, allocations: 0.9841 MB / 456.5 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004837/0.6829, allocations: 1.468 MB / 457.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.6829, allocations: 0 / 457.9 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/0.6846, allocations: 135.8 kB / 458.1 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001121/0.6857, allocations: 153.5 kB / 458.2 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-05/0.6858, allocations: 15.98 kB / 458.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006737/0.6926, allocations: 3.396 MB / 461.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.6926, allocations: 0 / 461.6 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003652/0.6963, allocations: 0.9841 MB / 462.6 MB, free: 9.117 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004784/0.6968, allocations: 200.2 kB / 462.8 MB, free: 8.902 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001486/0.6969, allocations: 15.98 kB / 462.8 MB, free: 8.887 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007976/0.6978, allocations: 47.97 kB / 462.9 MB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001742/0.698, allocations: 36.5 kB / 462.9 MB, free: 8.805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.926e-05/0.698, allocations: 19.98 kB / 462.9 MB, free: 8.785 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007252/0.6988, allocations: 377.6 kB / 463.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6988, allocations: 0 / 463.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001179/0.7, allocations: 231.7 kB / 463.5 MB, free: 8.191 MB / 378.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.004182/0.7042, allocations: 1.568 MB / 465.1 MB, free: 6.59 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00274/0.707, allocations: 0.8887 MB / 466 MB, free: 5.66 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.707, allocations: 0 / 466 MB, free: 5.66 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00158/0.7086, allocations: 497.6 kB / 466.5 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/0.7102, allocations: 166.3 kB / 466.6 MB, free: 4.992 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003747/0.714, allocations: 1.041 MB / 467.7 MB, free: 3.91 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006233/0.7146, allocations: 0.9036 MB / 468.6 MB, free: 2.977 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006438/0.7153, allocations: 77.12 kB / 468.6 MB, free: 2.902 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005329/0.7159, allocations: 227.4 kB / 468.9 MB, free: 2.684 MB / 378.7 MB Notification: Performance of SimCode: time 1.553e-06/0.7159, allocations: 0 / 468.9 MB, free: 2.684 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08198/0.7979, allocations: 17.92 MB / 486.8 MB, free: 0.9688 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003467/0.7983, allocations: 180 kB / 487 MB, free: 0.75 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/4.389, allocations: 4.062 kB / 487 MB, free: 0.7461 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat does not exist to compare? outputFormat=mat