Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.44/2.44, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.359e-05/3.376e-05, allocations: 7.984 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4604/0.4604, allocations: 58.83 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9602/1.421, allocations: 351.4 MB / 0.7165 GB, free: 7.328 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.421, allocations: 87.64 kB / 0.7166 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.947/3.368, allocations: 305.7 MB / 1.015 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.084e-06/3.368, allocations: 3.031 kB / 1.015 GB, free: 95.69 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0002002/3.368, allocations: 46.53 kB / 1.015 GB, free: 95.68 MB / 0.5105 GB 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.009213/3.378, allocations: 2.073 MB / 1.017 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/3.378, allocations: 7.5 kB / 1.017 GB, free: 94.6 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006989/3.378, allocations: 178.6 kB / 1.017 GB, free: 94.56 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001048/3.379, allocations: 201.8 kB / 1.018 GB, free: 94.46 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004659/3.384, allocations: 1.271 MB / 1.019 GB, free: 94.09 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002134/3.384, allocations: 195.7 kB / 1.019 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004042/3.385, allocations: 115.1 kB / 1.019 GB, free: 93.98 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00484/3.39, allocations: 1.904 MB / 1.021 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.097e-05/3.39, allocations: 0 / 1.021 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00027/3.39, allocations: 56.84 kB / 1.021 GB, free: 93.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002525/3.39, allocations: 117.2 kB / 1.021 GB, free: 93.75 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004846/3.395, allocations: 1.875 MB / 1.023 GB, free: 93.75 MB / 0.5105 GB 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.02111/3.416, allocations: 6.991 MB / 1.03 GB, free: 91.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/3.419, allocations: 1.302 MB / 1.031 GB, free: 91.15 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001893/3.421, allocations: 0.7788 MB / 1.032 GB, free: 90.84 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009899/3.431, allocations: 4.497 MB / 1.036 GB, free: 87.64 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.136e-05/3.431, allocations: 50.22 kB / 1.036 GB, free: 87.59 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001697/3.433, allocations: 216.8 kB / 1.037 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=117): time 6.101e-06/3.433, allocations: 0 / 1.037 GB, free: 87.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=132): time 0.01571/3.449, allocations: 4.363 MB / 1.041 GB, free: 85.79 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/3.449, allocations: 229.2 kB / 1.041 GB, free: 85.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002484/3.452, allocations: 1.188 MB / 1.042 GB, free: 85.06 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004459/3.452, allocations: 53.52 kB / 1.042 GB, free: 85.01 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005693/3.453, allocations: 0.6488 MB / 1.043 GB, free: 84.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005621/3.453, allocations: 462 kB / 1.043 GB, free: 84.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/3.453, allocations: 31.25 kB / 1.043 GB, free: 84.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001266/3.454, allocations: 373.4 kB / 1.044 GB, free: 83.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001936/3.455, allocations: 0.7327 MB / 1.044 GB, free: 83.51 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/3.458, allocations: 1.05 MB / 1.045 GB, free: 82.87 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002114/3.46, allocations: 0.8656 MB / 1.046 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/3.46, allocations: 5.719 kB / 1.046 GB, free: 82.56 MB / 0.5105 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006872/3.467, allocations: 2.361 MB / 1.049 GB, free: 81.72 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007304/3.467, allocations: 3.011 MB / 1.052 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.056e-05/3.468, allocations: 17.16 kB / 1.052 GB, free: 78.58 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01361/3.481, allocations: 1.469 MB / 1.053 GB, free: 78.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002808/3.484, allocations: 330.4 kB / 1.053 GB, free: 78.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004303/3.488, allocations: 1.696 MB / 1.055 GB, free: 77.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002948/3.491, allocations: 108.7 kB / 1.055 GB, free: 77.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002783/3.492, allocations: 73.98 kB / 1.055 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.578e-05/3.492, allocations: 4 kB / 1.055 GB, free: 77.02 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005483/3.497, allocations: 2.053 MB / 1.057 GB, free: 75.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-05/3.497, allocations: 8 kB / 1.057 GB, free: 75.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01018/3.507, allocations: 1.039 MB / 1.058 GB, free: 74.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002921/3.51, allocations: 349.3 kB / 1.058 GB, free: 74.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003413/3.514, allocations: 1.414 MB / 1.06 GB, free: 72.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/3.517, allocations: 106.1 kB / 1.06 GB, free: 72.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002548/3.517, allocations: 78.7 kB / 1.06 GB, free: 72.84 MB / 0.5105 GB 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.0006251/3.518, allocations: 197.4 kB / 1.06 GB, free: 72.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004307/3.518, allocations: 162 kB / 1.06 GB, free: 72.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007306/3.526, allocations: 2.47 MB / 1.063 GB, free: 70.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.702e-05/3.526, allocations: 16 kB / 1.063 GB, free: 70.42 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/3.526, allocations: 3.938 kB / 1.063 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.251e-05/3.526, allocations: 7.031 kB / 1.063 GB, free: 70.41 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/3.536, allocations: 4.033 MB / 1.067 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/3.536, allocations: 0 / 1.067 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002235/3.538, allocations: 236.5 kB / 1.067 GB, free: 66.92 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008578/3.547, allocations: 1.221 MB / 1.068 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004748/3.548, allocations: 41.83 kB / 1.068 GB, free: 65.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003821/3.551, allocations: 1.752 MB / 1.07 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/3.551, allocations: 6.625 kB / 1.07 GB, free: 64.39 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008507/3.56, allocations: 3.27 MB / 1.073 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001703/3.562, allocations: 451.4 kB / 1.074 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005537/3.562, allocations: 35.84 kB / 1.074 GB, free: 61.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00286/3.565, allocations: 108 kB / 1.074 GB, free: 60.94 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006346/3.566, allocations: 120.9 kB / 1.074 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002745/3.566, allocations: 58.31 kB / 1.074 GB, free: 60.82 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001937/3.568, allocations: 0.9009 MB / 1.075 GB, free: 60 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.12e-07/3.568, allocations: 0 / 1.075 GB, free: 60 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007347/3.576, allocations: 1.431 MB / 1.076 GB, free: 58.6 MB / 0.5105 GB 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.0145/3.59, allocations: 4.974 MB / 1.081 GB, free: 54.08 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01226/3.602, allocations: 3.041 MB / 1.084 GB, free: 51.04 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/3.603, allocations: 7.188 kB / 1.084 GB, free: 51.03 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003875/3.606, allocations: 0.9884 MB / 1.085 GB, free: 50.05 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006424/3.613, allocations: 0.6958 MB / 1.086 GB, free: 49.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01422/3.627, allocations: 3.573 MB / 1.089 GB, free: 45.97 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/3.628, allocations: 1.421 MB / 1.091 GB, free: 44.52 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004683/3.633, allocations: 0.7321 MB / 1.091 GB, free: 43.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001446/3.635, allocations: 0.6164 MB / 1.092 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of SimCode: time 1.764e-06/3.635, allocations: 0 / 1.092 GB, free: 43.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6326/4.267, allocations: 65.97 MB / 1.156 GB, free: 88.57 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002661/4.268, allocations: 193.5 kB / 1.156 GB, free: 88.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.812/10.08, allocations: 0 / 1.156 GB, free: 88.35 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat