Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.604/2.604, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.02e-05/2.022e-05, allocations: 0 / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3745, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.237/1.611, allocations: 345.5 MB / 0.6836 GB, free: 124.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003294/1.612, allocations: 99.03 kB / 0.6837 GB, free: 124.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583/3.195, allocations: 300.7 MB / 0.9773 GB, free: 49.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.275e-06/3.195, allocations: 0 / 0.9773 GB, free: 49.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0002152/3.195, allocations: 44.12 kB / 0.9773 GB, free: 49.48 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.00954/3.205, allocations: 2.061 MB / 0.9793 GB, free: 47.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/3.205, allocations: 8.031 kB / 0.9793 GB, free: 47.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001349/3.206, allocations: 201.8 kB / 0.9795 GB, free: 47.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/3.211, allocations: 1.268 MB / 0.9808 GB, free: 45.88 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/3.211, allocations: 143.2 kB / 0.9809 GB, free: 45.72 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00035/3.211, allocations: 68 kB / 0.981 GB, free: 45.66 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004604/3.216, allocations: 1.742 MB / 0.9827 GB, free: 43.91 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004292/3.22, allocations: 1.764 MB / 0.9844 GB, free: 42.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-05/3.22, allocations: 3.938 kB / 0.9844 GB, free: 42.06 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002581/3.221, allocations: 7.953 kB / 0.9844 GB, free: 42.05 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/3.221, allocations: 118.2 kB / 0.9845 GB, free: 41.93 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.01921/3.24, allocations: 6.756 MB / 0.9911 GB, free: 34.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002793/3.243, allocations: 1.268 MB / 0.9923 GB, free: 33.66 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001704/3.245, allocations: 0.7637 MB / 0.9931 GB, free: 32.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009786/3.255, allocations: 4.419 MB / 0.9974 GB, free: 28.09 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.764e-05/3.255, allocations: 55.86 kB / 0.9975 GB, free: 28.03 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00171/3.256, allocations: 166.9 kB / 0.9976 GB, free: 27.86 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 5.441e-06/3.256, allocations: 0 / 0.9976 GB, free: 27.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.02666/3.283, allocations: 5.006 MB / 1.003 GB, free: 22.82 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.605e-05/3.283, allocations: 222.9 kB / 1.003 GB, free: 22.55 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001832/3.285, allocations: 0.9013 MB / 1.004 GB, free: 21.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002474/3.285, allocations: 29.69 kB / 1.004 GB, free: 21.61 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005561/3.286, allocations: 0.6714 MB / 1.004 GB, free: 20.93 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000488/3.286, allocations: 437.4 kB / 1.005 GB, free: 20.49 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001764/3.287, allocations: 0 / 1.005 GB, free: 20.49 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/3.287, allocations: 369.9 kB / 1.005 GB, free: 20.12 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001866/3.289, allocations: 0.7224 MB / 1.006 GB, free: 19.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00204/3.291, allocations: 1.031 MB / 1.007 GB, free: 18.25 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02231/3.313, allocations: 2.546 MB / 1.009 GB, free: 15.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/3.313, allocations: 4 kB / 1.009 GB, free: 15.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.02706/3.34, allocations: 3.975 MB / 1.013 GB, free: 11.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006145/3.341, allocations: 2.972 MB / 1.016 GB, free: 8.523 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.991e-05/3.341, allocations: 11.98 kB / 1.016 GB, free: 8.512 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01384/3.355, allocations: 1.138 MB / 1.017 GB, free: 7.371 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00397/3.359, allocations: 339.5 kB / 1.017 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/3.37, allocations: 2.105 MB / 1.02 GB, free: 4.906 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004037/3.374, allocations: 71.72 kB / 1.02 GB, free: 4.836 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004/3.374, allocations: 79.95 kB / 1.02 GB, free: 4.758 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/3.374, allocations: 6.344 kB / 1.02 GB, free: 4.754 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03271/3.407, allocations: 3.255 MB / 1.023 GB, free: 1.496 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.534e-05/3.407, allocations: 12 kB / 1.023 GB, free: 1.484 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01486/3.422, allocations: 0.9021 MB / 1.024 GB, free: 0.5781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004018/3.426, allocations: 343.5 kB / 1.024 GB, free: 248 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4025/3.829, allocations: 1.333 MB / 1.025 GB, free: 76.49 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/3.832, allocations: 66.91 kB / 1.025 GB, free: 76.49 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005057/3.832, allocations: 73.59 kB / 1.026 GB, free: 76.49 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.0006975/3.833, allocations: 141.9 kB / 1.026 GB, free: 76.39 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01268/3.846, allocations: 2.203 MB / 1.028 GB, free: 76.33 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008258/3.846, allocations: 150.4 kB / 1.028 GB, free: 76.33 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01305/3.86, allocations: 2.63 MB / 1.031 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.151e-05/3.86, allocations: 20.16 kB / 1.031 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/3.86, allocations: 0 / 1.031 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.09e-05/3.86, allocations: 12.94 kB / 1.031 GB, free: 76.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01532/3.875, allocations: 4.068 MB / 1.035 GB, free: 75.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/3.875, allocations: 0 / 1.035 GB, free: 75.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002344/3.877, allocations: 230.8 kB / 1.035 GB, free: 75.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005596/3.883, allocations: 0.9247 MB / 1.036 GB, free: 75.91 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/3.883, allocations: 23.14 kB / 1.036 GB, free: 75.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007017/3.89, allocations: 2.092 MB / 1.038 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/3.89, allocations: 3.609 kB / 1.038 GB, free: 75.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01216/3.903, allocations: 3.446 MB / 1.041 GB, free: 75.12 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/3.904, allocations: 428.6 kB / 1.041 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004965/3.905, allocations: 17.36 kB / 1.042 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002361/3.907, allocations: 75.47 kB / 1.042 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004033/3.907, allocations: 117.2 kB / 1.042 GB, free: 74.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002453/3.908, allocations: 55.92 kB / 1.042 GB, free: 74.95 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001399/3.909, allocations: 0.6657 MB / 1.042 GB, free: 74.84 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.909, allocations: 0 / 1.042 GB, free: 74.84 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005866/3.915, allocations: 1.331 MB / 1.044 GB, free: 74.84 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.01667/3.932, allocations: 5.111 MB / 1.049 GB, free: 74.03 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0103/3.942, allocations: 2.918 MB / 1.052 GB, free: 73.93 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/3.942, allocations: 0 / 1.052 GB, free: 73.93 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003545/3.946, allocations: 0.9618 MB / 1.052 GB, free: 73.91 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00594/3.952, allocations: 0.6058 MB / 1.053 GB, free: 73.91 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/3.964, allocations: 3.405 MB / 1.056 GB, free: 73.28 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/3.966, allocations: 1.413 MB / 1.058 GB, free: 72.56 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004647/3.97, allocations: 0.6448 MB / 1.058 GB, free: 72.54 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00236/3.973, allocations: 0.6034 MB / 1.059 GB, free: 72.53 MB / 490.7 MB Notification: Performance of SimCode: time 1.422e-06/3.973, allocations: 0 / 1.059 GB, free: 72.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1828/4.156, allocations: 58.24 MB / 1.116 GB, free: 69.29 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000307/4.156, allocations: 159.8 kB / 1.116 GB, free: 69.1 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.549/9.705, allocations: 4 kB / 1.116 GB, free: 69.09 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat