Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.662/2.662, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.372e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1512, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.341/1.492, allocations: 352.1 MB / 0.7446 GB, free: 52.84 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003084/1.492, allocations: 86.02 kB / 0.7447 GB, free: 52.8 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.952/3.444, allocations: 311.3 MB / 1.049 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.635e-06/3.444, allocations: 0 / 1.049 GB, free: 76.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002732/3.445, allocations: 43.48 kB / 1.049 GB, free: 76.66 MB / 0.5261 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.01052/3.455, allocations: 2.072 MB / 1.051 GB, free: 75.83 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.68e-05/3.455, allocations: 8.719 kB / 1.051 GB, free: 75.83 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008546/3.456, allocations: 182.2 kB / 1.051 GB, free: 75.79 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/3.457, allocations: 201.2 kB / 1.051 GB, free: 75.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00497/3.462, allocations: 1.269 MB / 1.052 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002485/3.463, allocations: 187.6 kB / 1.053 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006059/3.463, allocations: 114.6 kB / 1.053 GB, free: 75.29 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/3.469, allocations: 1.906 MB / 1.055 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.505e-05/3.469, allocations: 1.844 kB / 1.055 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/3.469, allocations: 54.89 kB / 1.055 GB, free: 75.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002847/3.47, allocations: 111.2 kB / 1.055 GB, free: 75.06 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/3.475, allocations: 1.885 MB / 1.057 GB, free: 75.05 MB / 0.5261 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.02143/3.497, allocations: 6.994 MB / 1.063 GB, free: 72.84 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003271/3.5, allocations: 1.287 MB / 1.065 GB, free: 72.81 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/3.502, allocations: 0.7881 MB / 1.065 GB, free: 72.8 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01038/3.513, allocations: 4.5 MB / 1.07 GB, free: 70.45 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.577e-05/3.513, allocations: 48.25 kB / 1.07 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001811/3.515, allocations: 214.6 kB / 1.07 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 6.412e-06/3.515, allocations: 0 / 1.07 GB, free: 70.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01648/3.531, allocations: 4.375 MB / 1.074 GB, free: 69.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.659e-05/3.531, allocations: 221.3 kB / 1.075 GB, free: 69.48 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/3.534, allocations: 1.19 MB / 1.076 GB, free: 69.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005385/3.534, allocations: 53.17 kB / 1.076 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006099/3.535, allocations: 0.6552 MB / 1.076 GB, free: 69.03 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008777/3.536, allocations: 461.8 kB / 1.077 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002513/3.536, allocations: 26.84 kB / 1.077 GB, free: 68.74 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001689/3.536, allocations: 374 kB / 1.077 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002857/3.539, allocations: 0.7348 MB / 1.078 GB, free: 68.43 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/3.543, allocations: 1.045 MB / 1.079 GB, free: 68.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/3.546, allocations: 0.8642 MB / 1.08 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.389e-05/3.546, allocations: 3.875 kB / 1.08 GB, free: 68.09 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.01397/3.56, allocations: 2.356 MB / 1.082 GB, free: 67.94 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00083/3.561, allocations: 3.033 MB / 1.085 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.974e-05/3.561, allocations: 10.31 kB / 1.085 GB, free: 64.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04247/3.604, allocations: 1.462 MB / 1.086 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00829/3.612, allocations: 333.9 kB / 1.087 GB, free: 64.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006132/3.618, allocations: 1.689 MB / 1.088 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003372/3.622, allocations: 109.9 kB / 1.089 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005384/3.622, allocations: 79.39 kB / 1.089 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/3.622, allocations: 3.312 kB / 1.089 GB, free: 64.27 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005939/3.628, allocations: 2.059 MB / 1.091 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-05/3.628, allocations: 9.234 kB / 1.091 GB, free: 64.23 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/3.638, allocations: 1.03 MB / 1.092 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002961/3.641, allocations: 346.3 kB / 1.092 GB, free: 64.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003339/3.645, allocations: 1.409 MB / 1.093 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002998/3.648, allocations: 103.6 kB / 1.093 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003433/3.648, allocations: 72.28 kB / 1.094 GB, free: 63.68 MB / 0.5261 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.0006307/3.649, allocations: 203.4 kB / 1.094 GB, free: 63.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005193/3.649, allocations: 170.8 kB / 1.094 GB, free: 63.48 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007394/3.657, allocations: 2.461 MB / 1.096 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/3.657, allocations: 20.3 kB / 1.096 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/3.657, allocations: 0 / 1.096 GB, free: 63.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.008e-05/3.657, allocations: 14.38 kB / 1.096 GB, free: 63.35 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/3.667, allocations: 4.015 MB / 1.1 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/3.667, allocations: 0 / 1.1 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002121/3.669, allocations: 234.3 kB / 1.1 GB, free: 62.96 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008156/3.677, allocations: 1.225 MB / 1.102 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000402/3.678, allocations: 43.2 kB / 1.102 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003669/3.681, allocations: 1.757 MB / 1.103 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/3.681, allocations: 0 / 1.103 GB, free: 62.39 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007842/3.689, allocations: 3.276 MB / 1.107 GB, free: 62.11 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001594/3.691, allocations: 453.8 kB / 1.107 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004499/3.691, allocations: 34.27 kB / 1.107 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002303/3.694, allocations: 104.1 kB / 1.107 GB, free: 61.92 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003549/3.694, allocations: 114.8 kB / 1.107 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002228/3.694, allocations: 66.78 kB / 1.107 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001825/3.696, allocations: 0.8954 MB / 1.108 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.21e-07/3.696, allocations: 3.562 kB / 1.108 GB, free: 61.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006089/3.702, allocations: 1.438 MB / 1.11 GB, free: 61.56 MB / 0.5261 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.01178/3.714, allocations: 4.962 MB / 1.114 GB, free: 60.48 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01062/3.725, allocations: 3.058 MB / 1.117 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/3.725, allocations: 3.938 kB / 1.117 GB, free: 60.36 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003329/3.728, allocations: 0.9864 MB / 1.118 GB, free: 60.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006098/3.734, allocations: 0.6987 MB / 1.119 GB, free: 59.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0126/3.747, allocations: 3.559 MB / 1.123 GB, free: 58.59 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001057/3.748, allocations: 1.421 MB / 1.124 GB, free: 57.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.004424/3.753, allocations: 0.7344 MB / 1.125 GB, free: 57.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/3.754, allocations: 0.6152 MB / 1.125 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of SimCode: time 1.382e-06/3.754, allocations: 2.688 kB / 1.125 GB, free: 57.34 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2084/3.962, allocations: 65.97 MB / 1.19 GB, free: 27.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002586/3.963, allocations: 198.6 kB / 1.19 GB, free: 27.37 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.976/9.939, allocations: 3.938 kB / 1.19 GB, free: 27.36 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat