Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 270 MB / 282.7 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.168e-05/4.171e-05, allocations: 7.938 kB / 347.1 MB, free: 3.195 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.421/0.4211, allocations: 61.87 MB / 408.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.317/1.738, allocations: 352.1 MB / 0.7432 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/1.739, allocations: 80.3 kB / 0.7433 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.539/3.278, allocations: 311.3 MB / 1.047 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.386e-06/3.278, allocations: 0 / 1.047 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002451/3.278, allocations: 55.81 kB / 1.047 GB, free: 75.11 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.009723/3.288, allocations: 2.062 MB / 1.049 GB, free: 73.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.6e-05/3.288, allocations: 8.031 kB / 1.049 GB, free: 73.01 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007523/3.289, allocations: 188.4 kB / 1.05 GB, free: 72.83 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/3.29, allocations: 201.8 kB / 1.05 GB, free: 72.63 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004821/3.294, allocations: 1.264 MB / 1.051 GB, free: 71.34 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/3.295, allocations: 186.6 kB / 1.051 GB, free: 71.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005128/3.295, allocations: 113.1 kB / 1.051 GB, free: 71.04 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004966/3.3, allocations: 1.911 MB / 1.053 GB, free: 69.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/3.3, allocations: 3.984 kB / 1.053 GB, free: 69.06 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002745/3.301, allocations: 51.56 kB / 1.053 GB, free: 69.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002514/3.301, allocations: 118.1 kB / 1.053 GB, free: 68.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004872/3.306, allocations: 1.871 MB / 1.055 GB, free: 67.03 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.02072/3.327, allocations: 7.005 MB / 1.062 GB, free: 59.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003507/3.33, allocations: 1.301 MB / 1.063 GB, free: 58.48 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002209/3.332, allocations: 0.7864 MB / 1.064 GB, free: 57.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01091/3.343, allocations: 4.495 MB / 1.068 GB, free: 52.81 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.912e-05/3.344, allocations: 55.5 kB / 1.068 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001873/3.345, allocations: 226.4 kB / 1.069 GB, free: 52.53 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=117): time 6.442e-06/3.345, allocations: 0 / 1.069 GB, free: 52.53 MB / 0.5261 GB Notification: Performance of matching and sorting (n=132): time 0.01687/3.362, allocations: 4.36 MB / 1.073 GB, free: 48.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/3.362, allocations: 226.9 kB / 1.073 GB, free: 47.85 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002531/3.365, allocations: 1.183 MB / 1.074 GB, free: 46.66 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0005553/3.366, allocations: 53.7 kB / 1.074 GB, free: 46.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005304/3.366, allocations: 0.6192 MB / 1.075 GB, free: 45.98 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007277/3.367, allocations: 456.8 kB / 1.075 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000222/3.367, allocations: 35.94 kB / 1.075 GB, free: 45.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001475/3.367, allocations: 370.8 kB / 1.076 GB, free: 45.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002057/3.369, allocations: 0.7341 MB / 1.076 GB, free: 44.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00248/3.372, allocations: 1.051 MB / 1.078 GB, free: 43.22 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002508/3.374, allocations: 0.8598 MB / 1.078 GB, free: 42.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.488e-05/3.375, allocations: 7.953 kB / 1.078 GB, free: 42.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006817/3.381, allocations: 2.259 MB / 1.081 GB, free: 40.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007354/3.382, allocations: 2.972 MB / 1.083 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/3.382, allocations: 8 kB / 1.083 GB, free: 36.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01402/3.396, allocations: 1.465 MB / 1.085 GB, free: 35.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002887/3.399, allocations: 331.5 kB / 1.085 GB, free: 35.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004393/3.404, allocations: 1.696 MB / 1.087 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003145/3.407, allocations: 103.8 kB / 1.087 GB, free: 33.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005556/3.408, allocations: 80.02 kB / 1.087 GB, free: 33.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/3.408, allocations: 4 kB / 1.087 GB, free: 33.19 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005982/3.414, allocations: 2.057 MB / 1.089 GB, free: 31.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.482e-05/3.414, allocations: 12.73 kB / 1.089 GB, free: 31.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009943/3.424, allocations: 1.013 MB / 1.09 GB, free: 30.12 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002985/3.427, allocations: 343.7 kB / 1.09 GB, free: 29.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003182/3.43, allocations: 1.386 MB / 1.092 GB, free: 28.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/3.432, allocations: 99.78 kB / 1.092 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002906/3.433, allocations: 79.95 kB / 1.092 GB, free: 28.2 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.0006187/3.433, allocations: 192.6 kB / 1.092 GB, free: 28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005891/3.434, allocations: 169.9 kB / 1.092 GB, free: 27.83 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007594/3.442, allocations: 2.469 MB / 1.095 GB, free: 25.35 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.971e-05/3.442, allocations: 16 kB / 1.095 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/3.442, allocations: 0 / 1.095 GB, free: 25.33 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-05/3.442, allocations: 7.969 kB / 1.095 GB, free: 25.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01078/3.452, allocations: 4.023 MB / 1.099 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/3.453, allocations: 0 / 1.099 GB, free: 21.27 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002232/3.455, allocations: 231.7 kB / 1.099 GB, free: 21.04 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008396/3.463, allocations: 1.227 MB / 1.1 GB, free: 19.81 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004546/3.464, allocations: 47.97 kB / 1.1 GB, free: 19.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/3.467, allocations: 1.749 MB / 1.102 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/3.467, allocations: 0 / 1.102 GB, free: 17.99 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008425/3.476, allocations: 3.271 MB / 1.105 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/3.478, allocations: 454.7 kB / 1.105 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005705/3.478, allocations: 31.98 kB / 1.105 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00265/3.481, allocations: 107.8 kB / 1.106 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000478/3.481, allocations: 113.1 kB / 1.106 GB, free: 14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002534/3.482, allocations: 59.95 kB / 1.106 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001976/3.484, allocations: 0.8978 MB / 1.107 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sort global known variables: time 9.12e-07/3.484, allocations: 0 / 1.107 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007983/3.492, allocations: 1.436 MB / 1.108 GB, free: 11.6 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.01409/3.506, allocations: 4.984 MB / 1.113 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01075/3.517, allocations: 2.987 MB / 1.116 GB, free: 3.691 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/3.517, allocations: 4.312 kB / 1.116 GB, free: 3.688 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003495/3.52, allocations: 0.978 MB / 1.117 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006348/3.527, allocations: 0.6932 MB / 1.117 GB, free: 2.023 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4325/3.959, allocations: 3.624 MB / 1.121 GB, free: 86.01 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/3.961, allocations: 1.406 MB / 1.122 GB, free: 85.3 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001928/3.963, allocations: 0.6519 MB / 1.123 GB, free: 85.29 MB / 0.5261 GB Notification: Performance of SimCode: time 1.472e-06/3.963, allocations: 1.375 kB / 1.123 GB, free: 85.29 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.969/7.932, allocations: 48.6 MB / 1.17 GB, free: 82.91 MB / 0.5261 GB