Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 235 MB / 247.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.066e-05/5.064e-05, allocations: 4 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4113, allocations: 54.84 MB / 359.9 MB, free: 3.086 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8334/1.245, allocations: 346.2 MB / 0.6895 GB, free: 3.445 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/1.245, allocations: 86.97 kB / 0.6896 GB, free: 3.398 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.785/3.03, allocations: 302.6 MB / 0.9851 GB, free: 80.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.174e-06/3.03, allocations: 0 / 0.9851 GB, free: 80.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002251/3.03, allocations: 45.91 kB / 0.9851 GB, free: 80.9 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 291 * Number of variables: 291 Notification: Performance of Generate backend data structure: time 0.009749/3.04, allocations: 2.064 MB / 0.9872 GB, free: 79.83 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/3.04, allocations: 14.84 kB / 0.9872 GB, free: 79.83 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007912/3.041, allocations: 179.9 kB / 0.9873 GB, free: 79.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001182/3.042, allocations: 207.7 kB / 0.9875 GB, free: 79.69 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005098/3.047, allocations: 1.254 MB / 0.9888 GB, free: 79.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002701/3.047, allocations: 192.1 kB / 0.9889 GB, free: 79.22 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006479/3.048, allocations: 114.1 kB / 0.9891 GB, free: 79.22 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005456/3.054, allocations: 1.927 MB / 0.9909 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.137e-05/3.054, allocations: 3.844 kB / 0.9909 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002972/3.054, allocations: 50.48 kB / 0.991 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000252/3.054, allocations: 111.8 kB / 0.9911 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005661/3.06, allocations: 1.897 MB / 0.9929 GB, free: 78.96 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0233/3.083, allocations: 7.027 MB / 0.9998 GB, free: 76.67 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003274/3.087, allocations: 1.311 MB / 1.001 GB, free: 76.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/3.089, allocations: 0.7822 MB / 1.002 GB, free: 76.62 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01096/3.1, allocations: 4.508 MB / 1.006 GB, free: 73.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.523e-05/3.1, allocations: 55.53 kB / 1.006 GB, free: 73.38 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0021/3.102, allocations: 222.4 kB / 1.007 GB, free: 73.29 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 7.364e-06/3.102, allocations: 0 / 1.007 GB, free: 73.29 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01717/3.119, allocations: 4.377 MB / 1.011 GB, free: 71.57 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.107e-05/3.119, allocations: 225.7 kB / 1.011 GB, free: 71.32 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002543/3.122, allocations: 1.186 MB / 1.012 GB, free: 70.84 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005261/3.122, allocations: 53.17 kB / 1.012 GB, free: 70.79 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006405/3.123, allocations: 0.654 MB / 1.013 GB, free: 70.27 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007336/3.124, allocations: 456.6 kB / 1.013 GB, free: 69.93 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002165/3.124, allocations: 31.62 kB / 1.013 GB, free: 69.9 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/3.124, allocations: 364.1 kB / 1.014 GB, free: 69.57 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002082/3.126, allocations: 0.7391 MB / 1.014 GB, free: 69.3 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002704/3.129, allocations: 1.06 MB / 1.015 GB, free: 68.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002633/3.132, allocations: 0.8598 MB / 1.016 GB, free: 68.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/3.132, allocations: 3.781 kB / 1.016 GB, free: 68.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007383/3.139, allocations: 2.38 MB / 1.019 GB, free: 67.5 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007093/3.14, allocations: 3.03 MB / 1.022 GB, free: 64.34 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/3.14, allocations: 6.844 kB / 1.022 GB, free: 64.34 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01362/3.154, allocations: 1.469 MB / 1.023 GB, free: 64.18 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00292/3.157, allocations: 340.5 kB / 1.023 GB, free: 64.14 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/3.161, allocations: 1.686 MB / 1.025 GB, free: 63.2 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/3.165, allocations: 102.3 kB / 1.025 GB, free: 63.16 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005355/3.165, allocations: 77.23 kB / 1.025 GB, free: 63.15 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/3.165, allocations: 3.906 kB / 1.025 GB, free: 63.15 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007534/3.173, allocations: 1.979 MB / 1.027 GB, free: 62.43 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-05/3.173, allocations: 13.94 kB / 1.027 GB, free: 62.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01746/3.19, allocations: 0.9356 MB / 1.028 GB, free: 62.31 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003867/3.194, allocations: 346.8 kB / 1.028 GB, free: 62.29 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01186/3.206, allocations: 1.276 MB / 1.03 GB, free: 61.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007693/3.214, allocations: 99.69 kB / 1.03 GB, free: 61.46 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003458/3.214, allocations: 72.94 kB / 1.03 GB, free: 61.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 23} Notification: Performance of prepare postOptimizeDAE: time 0.0008668/3.215, allocations: 194 kB / 1.03 GB, free: 61.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006271/3.216, allocations: 168.5 kB / 1.03 GB, free: 61.19 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02747/3.243, allocations: 2.463 MB / 1.032 GB, free: 60.3 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.934e-05/3.243, allocations: 22.19 kB / 1.033 GB, free: 60.3 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.231e-05/3.243, allocations: 0 / 1.033 GB, free: 60.3 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.127e-05/3.243, allocations: 12.98 kB / 1.033 GB, free: 60.29 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.012/3.256, allocations: 4.022 MB / 1.036 GB, free: 57.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.257e-05/3.256, allocations: 0 / 1.036 GB, free: 57.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002307/3.258, allocations: 241.9 kB / 1.037 GB, free: 57.16 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00817/3.266, allocations: 1.2 MB / 1.038 GB, free: 56.27 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004542/3.267, allocations: 47.45 kB / 1.038 GB, free: 56.23 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003777/3.27, allocations: 1.751 MB / 1.04 GB, free: 54.64 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/3.27, allocations: 0 / 1.04 GB, free: 54.64 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009848/3.28, allocations: 3.266 MB / 1.043 GB, free: 51.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001766/3.282, allocations: 469.5 kB / 1.043 GB, free: 51.29 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006421/3.283, allocations: 31.95 kB / 1.043 GB, free: 51.26 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00263/3.285, allocations: 103.8 kB / 1.043 GB, free: 51.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005252/3.286, allocations: 113.2 kB / 1.043 GB, free: 51.12 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002648/3.286, allocations: 61.22 kB / 1.044 GB, free: 51.07 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002094/3.288, allocations: 0.9002 MB / 1.044 GB, free: 50.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.61e-07/3.289, allocations: 0 / 1.044 GB, free: 50.25 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006655/3.295, allocations: 1.429 MB / 1.046 GB, free: 48.85 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level,valveDelayed.filter.x[1],valveDelayed.filter.x[2]) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (116): * Single equations (assignments): 113 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0128/3.308, allocations: 4.954 MB / 1.051 GB, free: 44.46 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01056/3.319, allocations: 3.042 MB / 1.054 GB, free: 41.7 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/3.319, allocations: 3.859 kB / 1.054 GB, free: 41.7 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003528/3.322, allocations: 1.001 MB / 1.055 GB, free: 40.8 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006102/3.328, allocations: 0.6845 MB / 1.055 GB, free: 40.32 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/3.341, allocations: 3.592 MB / 1.059 GB, free: 37.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/3.342, allocations: 1.42 MB / 1.06 GB, free: 36.11 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004721/3.347, allocations: 0.7314 MB / 1.061 GB, free: 35.62 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001417/3.349, allocations: 0.6265 MB / 1.061 GB, free: 35.05 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/3.349, allocations: 0 / 1.061 GB, free: 35.05 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6479/3.997, allocations: 65.58 MB / 1.126 GB, free: 74.26 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002909/3.997, allocations: 199.1 kB / 1.126 GB, free: 74.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.733/9.73, allocations: 0 / 1.126 GB, free: 74.04 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat