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.029/2.029, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.662e-05/3.679e-05, allocations: 6.391 kB / 255.4 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1/0.1001, allocations: 44.51 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.464/0.5641, allocations: 78.12 MB / 378.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/0.5645, allocations: 68.94 kB / 378.1 MB, free: 12.79 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05723/0.6217, allocations: 13.78 MB / 391.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.6218, allocations: 0 / 391.9 MB, free: 11.36 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.621e-05/0.6218, allocations: 14.66 kB / 391.9 MB, free: 11.36 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.002126/0.624, allocations: 0.8887 MB / 392.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.624, allocations: 11.69 kB / 392.8 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.6242, allocations: 91.98 kB / 392.9 MB, free: 10.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001993/0.6244, allocations: 89.78 kB / 393 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000842/0.6253, allocations: 442.5 kB / 393.4 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001697/0.6255, allocations: 102 kB / 393.5 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.6256, allocations: 46.53 kB / 393.6 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.6268, allocations: 0.6063 MB / 394.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.6268, allocations: 3.906 kB / 394.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.567e-05/0.6269, allocations: 23.25 kB / 394.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.33e-05/0.6269, allocations: 11.22 kB / 394.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001024/0.628, allocations: 385.8 kB / 394.6 MB, free: 10.09 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004328/0.6323, allocations: 1.893 MB / 396.5 MB, free: 9.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00288/0.6352, allocations: 0.6692 MB / 397.2 MB, free: 9.266 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005702/0.6358, allocations: 240 kB / 397.4 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.966e-05/0.6359, allocations: 11.5 kB / 397.4 MB, free: 9.254 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.092e-05/0.636, allocations: 38.88 kB / 397.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 4.168e-06/0.636, allocations: 3.984 kB / 397.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=56): time 0.003019/0.639, allocations: 0.7044 MB / 398.2 MB, free: 9.082 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001534/0.6392, allocations: 0.5674 MB / 398.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008169/0.64, allocations: 458.7 kB / 399.2 MB, free: 8.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001378/0.6402, allocations: 37.45 kB / 399.2 MB, free: 8.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.6404, allocations: 290 kB / 399.5 MB, free: 8.121 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/0.6406, allocations: 192.6 kB / 399.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.404e-05/0.6407, allocations: 10.12 kB / 399.7 MB, free: 7.996 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.6408, allocations: 367.4 kB / 400.1 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000462/0.6413, allocations: 161.7 kB / 400.2 MB, free: 7.684 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006292/0.6419, allocations: 375.6 kB / 400.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.6425, allocations: 232 kB / 400.8 MB, free: 7.422 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.6425, allocations: 3.953 kB / 400.8 MB, free: 7.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003228/0.6457, allocations: 0.7756 MB / 401.6 MB, free: 7.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.488e-05/0.6458, allocations: 29.64 kB / 401.6 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.6458, allocations: 3.812 kB / 401.6 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/0.6474, allocations: 227.1 kB / 401.8 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/0.6489, allocations: 131.3 kB / 402 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009031/0.658, allocations: 5.022 MB / 407 MB, free: 19.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.6593, allocations: 89.52 kB / 407.1 MB, free: 19.22 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.602e-05/0.6595, allocations: 18.75 kB / 407.1 MB, free: 19.22 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.000251/0.6597, allocations: 145.6 kB / 407.2 MB, free: 19.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.6599, allocations: 72.62 kB / 407.3 MB, free: 19.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.6631, allocations: 0.7437 MB / 408.1 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.6632, allocations: 7.781 kB / 408.1 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.6632, allocations: 0 / 408.1 MB, free: 18.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002908/0.6661, allocations: 0.9878 MB / 409 MB, free: 18.38 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004493/0.6707, allocations: 1.454 MB / 410.5 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.6707, allocations: 0 / 410.5 MB, free: 17.87 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.6724, allocations: 146.1 kB / 410.6 MB, free: 17.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001111/0.6735, allocations: 158.5 kB / 410.8 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.6736, allocations: 14.55 kB / 410.8 MB, free: 17.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006895/0.6805, allocations: 3.406 MB / 414.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6806, allocations: 4.344 kB / 414.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.6842, allocations: 0.9895 MB / 415.2 MB, free: 14.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005631/0.6848, allocations: 195.3 kB / 415.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001597/0.685, allocations: 21.72 kB / 415.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008836/0.6859, allocations: 43.8 kB / 415.5 MB, free: 14.49 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002092/0.6861, allocations: 45.92 kB / 415.5 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.6862, allocations: 14.52 kB / 415.5 MB, free: 14.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006605/0.6869, allocations: 365.7 kB / 415.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6869, allocations: 0 / 415.9 MB, free: 14.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001192/0.6881, allocations: 225.2 kB / 416.1 MB, free: 14.34 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.004106/0.6922, allocations: 1.568 MB / 417.7 MB, free: 13.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.6948, allocations: 0.9216 MB / 418.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.6949, allocations: 0 / 418.6 MB, free: 13.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001393/0.6963, allocations: 0.4982 MB / 419.1 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.6976, allocations: 176.7 kB / 419.3 MB, free: 12.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.7007, allocations: 0.9964 MB / 420.3 MB, free: 12.18 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.7013, allocations: 0.8992 MB / 421.2 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005368/0.7018, allocations: 76.03 kB / 421.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000407/0.7022, allocations: 224.6 kB / 421.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.372e-06/0.7023, allocations: 0 / 421.5 MB, free: 11.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05908/0.7614, allocations: 17.74 MB / 439.2 MB, free: 2.609 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003223/0.7617, allocations: 189.5 kB / 439.4 MB, free: 2.379 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.593/4.354, allocations: 7.75 kB / 439.4 MB, free: 2.375 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