Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.743/2.743, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 6.699e-05/6.71e-05, allocations: 7.234 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1517, allocations: 61.89 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.227/1.378, allocations: 352.1 MB / 0.7446 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000401/1.379, allocations: 89.5 kB / 0.7447 GB, free: 52.53 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 2.037/3.416, allocations: 311.3 MB / 1.049 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.677e-06/3.416, allocations: 0 / 1.049 GB, free: 76.98 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002085/3.416, allocations: 48.53 kB / 1.049 GB, free: 76.98 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.009118/3.426, allocations: 2.074 MB / 1.051 GB, free: 76.15 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/3.426, allocations: 10.41 kB / 1.051 GB, free: 76.15 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005552/3.426, allocations: 178.3 kB / 1.051 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/3.427, allocations: 203.9 kB / 1.051 GB, free: 76.02 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004312/3.432, allocations: 1.266 MB / 1.052 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001953/3.432, allocations: 188.6 kB / 1.053 GB, free: 75.61 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003472/3.432, allocations: 114 kB / 1.053 GB, free: 75.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004648/3.437, allocations: 1.906 MB / 1.055 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.984e-05/3.437, allocations: 3.938 kB / 1.055 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002866/3.437, allocations: 48.33 kB / 1.055 GB, free: 75.39 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002905/3.438, allocations: 112.6 kB / 1.055 GB, free: 75.38 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005701/3.443, allocations: 1.886 MB / 1.057 GB, free: 75.37 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.03024/3.474, allocations: 6.993 MB / 1.063 GB, free: 73.17 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004922/3.479, allocations: 1.3 MB / 1.065 GB, free: 73.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003037/3.482, allocations: 0.7807 MB / 1.065 GB, free: 73.13 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01497/3.497, allocations: 4.501 MB / 1.07 GB, free: 70.77 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.211e-05/3.497, allocations: 52.42 kB / 1.07 GB, free: 70.73 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002767/3.5, allocations: 215.6 kB / 1.07 GB, free: 70.67 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 8.095e-06/3.5, allocations: 0 / 1.07 GB, free: 70.67 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01729/3.517, allocations: 4.375 MB / 1.074 GB, free: 70.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.047e-05/3.517, allocations: 227 kB / 1.075 GB, free: 69.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002502/3.52, allocations: 1.183 MB / 1.076 GB, free: 69.64 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005243/3.52, allocations: 53.23 kB / 1.076 GB, free: 69.61 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005878/3.521, allocations: 0.6571 MB / 1.076 GB, free: 69.36 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006612/3.522, allocations: 456.5 kB / 1.077 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001897/3.522, allocations: 29.72 kB / 1.077 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001334/3.522, allocations: 369.2 kB / 1.077 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002034/3.524, allocations: 0.7306 MB / 1.078 GB, free: 68.77 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002275/3.526, allocations: 1.053 MB / 1.079 GB, free: 68.44 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002364/3.529, allocations: 0.8621 MB / 1.08 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/3.529, allocations: 3.719 kB / 1.08 GB, free: 68.42 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.007166/3.536, allocations: 2.353 MB / 1.082 GB, free: 68.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007073/3.537, allocations: 3.029 MB / 1.085 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.537e-05/3.537, allocations: 11.75 kB / 1.085 GB, free: 65.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01373/3.55, allocations: 1.47 MB / 1.086 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002861/3.553, allocations: 332.8 kB / 1.087 GB, free: 65.16 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004335/3.558, allocations: 1.697 MB / 1.088 GB, free: 64.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003228/3.561, allocations: 100.2 kB / 1.089 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005974/3.562, allocations: 78.3 kB / 1.089 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/3.562, allocations: 3.719 kB / 1.089 GB, free: 64.61 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005861/3.568, allocations: 2.06 MB / 1.091 GB, free: 64.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.896e-05/3.568, allocations: 11.62 kB / 1.091 GB, free: 64.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01001/3.578, allocations: 1.029 MB / 1.092 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/3.581, allocations: 348.3 kB / 1.092 GB, free: 64.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003193/3.584, allocations: 1.407 MB / 1.093 GB, free: 64.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/3.587, allocations: 100.3 kB / 1.093 GB, free: 64.01 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/3.587, allocations: 76.27 kB / 1.094 GB, free: 64.01 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.0006265/3.588, allocations: 199.3 kB / 1.094 GB, free: 63.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004488/3.588, allocations: 168 kB / 1.094 GB, free: 63.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007277/3.595, allocations: 2.466 MB / 1.096 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.606e-05/3.596, allocations: 14.62 kB / 1.096 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/3.596, allocations: 0 / 1.096 GB, free: 63.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.67e-05/3.596, allocations: 11.64 kB / 1.096 GB, free: 63.68 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/3.605, allocations: 4.031 MB / 1.1 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.261e-05/3.606, allocations: 3.844 kB / 1.1 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/3.608, allocations: 230.6 kB / 1.1 GB, free: 63.29 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008171/3.616, allocations: 1.224 MB / 1.102 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004271/3.616, allocations: 47.23 kB / 1.102 GB, free: 63.28 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003682/3.62, allocations: 1.75 MB / 1.103 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/3.62, allocations: 0 / 1.103 GB, free: 62.72 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009347/3.629, allocations: 3.266 MB / 1.107 GB, free: 62.45 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002178/3.632, allocations: 462.5 kB / 1.107 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008514/3.633, allocations: 33.2 kB / 1.107 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003172/3.636, allocations: 103.1 kB / 1.107 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007008/3.637, allocations: 116.2 kB / 1.107 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003022/3.637, allocations: 63.3 kB / 1.107 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002145/3.639, allocations: 0.9018 MB / 1.108 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.132e-06/3.639, allocations: 0 / 1.108 GB, free: 62.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006463/3.646, allocations: 1.43 MB / 1.11 GB, free: 61.89 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.01165/3.657, allocations: 4.975 MB / 1.115 GB, free: 60.82 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01023/3.668, allocations: 3.051 MB / 1.117 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/3.668, allocations: 0 / 1.117 GB, free: 60.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003257/3.671, allocations: 0.9838 MB / 1.118 GB, free: 60.64 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005924/3.677, allocations: 0.6926 MB / 1.119 GB, free: 60.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01243/3.689, allocations: 3.574 MB / 1.123 GB, free: 59.16 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/3.69, allocations: 1.414 MB / 1.124 GB, free: 58.39 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00482/3.695, allocations: 0.7348 MB / 1.125 GB, free: 58.37 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/3.697, allocations: 0.6179 MB / 1.125 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.673e-06/3.697, allocations: 0 / 1.125 GB, free: 57.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1917/3.888, allocations: 65.98 MB / 1.19 GB, free: 27.62 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/3.889, allocations: 202.3 kB / 1.19 GB, free: 27.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.698/9.586, allocations: 0 / 1.19 GB, free: 27.39 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat