Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpRecirculation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.974/1.974, allocations: 209.4 MB / 216.9 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.554e-05/2.555e-05, allocations: 2.25 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.69 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.039/1.151, allocations: 309.1 MB / 0.6108 GB, free: 14.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/1.151, allocations: 83.2 kB / 0.6108 GB, free: 14.45 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8062/1.957, allocations: 161.8 MB / 0.7689 GB, free: 44.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/1.957, allocations: 0 / 0.7689 GB, free: 44.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.187e-05/1.957, allocations: 19.31 kB / 0.7689 GB, free: 44.82 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003781/1.961, allocations: 1.042 MB / 0.7699 GB, free: 43.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/1.961, allocations: 12.03 kB / 0.7699 GB, free: 43.73 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007003/1.962, allocations: 102.9 kB / 0.77 GB, free: 43.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/1.964, allocations: 0.6231 MB / 0.7706 GB, free: 42.97 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.736e-05/1.964, allocations: 16 kB / 0.7706 GB, free: 42.96 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001351/1.964, allocations: 43.91 kB / 0.7707 GB, free: 42.91 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001549/1.966, allocations: 0.6156 MB / 0.7713 GB, free: 42.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/1.967, allocations: 0.6632 MB / 0.7719 GB, free: 41.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.286e-05/1.967, allocations: 3.938 kB / 0.7719 GB, free: 41.58 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/1.967, allocations: 4 kB / 0.7719 GB, free: 41.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.704e-05/1.967, allocations: 21.31 kB / 0.772 GB, free: 41.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006568/1.974, allocations: 3.199 MB / 0.7751 GB, free: 38.22 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/1.975, allocations: 380.5 kB / 0.7754 GB, free: 37.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000589/1.975, allocations: 229.5 kB / 0.7757 GB, free: 37.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004319/1.976, allocations: 0.5714 MB / 0.7762 GB, free: 36.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/1.976, allocations: 42.56 kB / 0.7763 GB, free: 36.87 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001219/1.977, allocations: 119 kB / 0.7764 GB, free: 36.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 5.29e-06/1.977, allocations: 0 / 0.7764 GB, free: 36.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.04991/2.027, allocations: 4.732 MB / 0.781 GB, free: 31.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/2.027, allocations: 123.3 kB / 0.7811 GB, free: 31.76 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007358/2.028, allocations: 459.4 kB / 0.7815 GB, free: 31.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001495/2.028, allocations: 25.7 kB / 0.7816 GB, free: 31.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002282/2.028, allocations: 406 kB / 0.782 GB, free: 30.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/2.029, allocations: 216.8 kB / 0.7822 GB, free: 30.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.91e-05/2.029, allocations: 0 / 0.7822 GB, free: 30.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/2.029, allocations: 334.8 kB / 0.7825 GB, free: 30.32 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006383/2.029, allocations: 258.6 kB / 0.7827 GB, free: 30.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/2.03, allocations: 0.5054 MB / 0.7832 GB, free: 29.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/2.035, allocations: 0.6187 MB / 0.7838 GB, free: 28.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/2.035, allocations: 0 / 0.7838 GB, free: 28.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.006427/2.041, allocations: 1.242 MB / 0.785 GB, free: 27.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006184/2.042, allocations: 2.961 MB / 0.7879 GB, free: 24.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.232e-05/2.042, allocations: 11.94 kB / 0.7879 GB, free: 24.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007175/2.049, allocations: 0.6946 MB / 0.7886 GB, free: 23.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001527/2.051, allocations: 211.7 kB / 0.7888 GB, free: 23.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/2.056, allocations: 1.8 MB / 0.7906 GB, free: 21.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/2.058, allocations: 95.88 kB / 0.7907 GB, free: 21.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/2.058, allocations: 55.95 kB / 0.7907 GB, free: 21.47 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/2.058, allocations: 4 kB / 0.7907 GB, free: 21.46 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005432/2.063, allocations: 1.01 MB / 0.7917 GB, free: 20.45 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/2.064, allocations: 8 kB / 0.7917 GB, free: 20.44 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001543/2.065, allocations: 225.9 kB / 0.7919 GB, free: 20.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/2.067, allocations: 231.6 kB / 0.7922 GB, free: 19.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005552/2.072, allocations: 3.661 MB / 0.7957 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001371/2.074, allocations: 79.92 kB / 0.7958 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001221/2.074, allocations: 43.92 kB / 0.7959 GB, free: 15.97 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.pump.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 69 * 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 10,3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0004151/2.074, allocations: 135.5 kB / 0.796 GB, free: 15.84 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006477/2.081, allocations: 1.083 MB / 0.797 GB, free: 14.74 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002698/2.081, allocations: 75.06 kB / 0.7971 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00578/2.087, allocations: 1.356 MB / 0.7984 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.038e-05/2.087, allocations: 8 kB / 0.7984 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/2.087, allocations: 0 / 0.7984 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.785e-05/2.087, allocations: 15.92 kB / 0.7985 GB, free: 13.26 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/2.095, allocations: 2.104 MB / 0.8005 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/2.095, allocations: 0 / 0.8005 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/2.096, allocations: 155.8 kB / 0.8007 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/2.099, allocations: 483.8 kB / 0.8011 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001261/2.099, allocations: 23.97 kB / 0.8012 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00242/2.102, allocations: 1.577 MB / 0.8027 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/2.102, allocations: 0 / 0.8027 GB, free: 8.848 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005635/2.107, allocations: 1.55 MB / 0.8042 GB, free: 7.277 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005941/2.108, allocations: 239.8 kB / 0.8044 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001993/2.108, allocations: 0 / 0.8044 GB, free: 7.023 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00126/2.109, allocations: 83.97 kB / 0.8045 GB, free: 6.941 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001918/2.11, allocations: 60.69 kB / 0.8046 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/2.11, allocations: 35.97 kB / 0.8046 GB, free: 6.848 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005348/2.11, allocations: 343.2 kB / 0.8049 GB, free: 6.516 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/2.11, allocations: 0 / 0.8049 GB, free: 6.516 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003037/2.113, allocations: 0.6128 MB / 0.8055 GB, free: 5.902 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 6,3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.007942/2.121, allocations: 2.553 MB / 0.808 GB, free: 3.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004931/2.126, allocations: 1.382 MB / 0.8094 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.473e-06/2.126, allocations: 0 / 0.8094 GB, free: 1.961 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001195/2.128, allocations: 406.7 kB / 0.8098 GB, free: 1.566 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/2.13, allocations: 279 kB / 0.81 GB, free: 1.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2946/2.425, allocations: 1.375 MB / 0.8114 GB, free: 83.84 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006711/2.426, allocations: 0.9824 MB / 0.8123 GB, free: 83.14 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009641/2.427, allocations: 312.4 kB / 0.8126 GB, free: 83.14 MB / 426.7 MB Notification: Performance of SimCode: time 1.333e-06/2.427, allocations: 3.938 kB / 0.8126 GB, free: 83.14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.493/5.919, allocations: 25.71 MB / 0.8377 GB, free: 82.41 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpRecirculation_res.mat does not exist to compare? outputFormat=mat