Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestDelayedValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.395/2.395, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.424e-05/4.431e-05, allocations: 4 kB / 305 MB, free: 5.059 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4042, allocations: 54.86 MB / 359.9 MB, free: 2.816 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.828/1.232, allocations: 346.2 MB / 0.6895 GB, free: 3.098 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003333/1.233, allocations: 81.83 kB / 0.6896 GB, free: 3.055 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.81/3.042, allocations: 302.6 MB / 0.9851 GB, free: 80.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.753e-06/3.042, allocations: 0 / 0.9851 GB, free: 80.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000216/3.043, allocations: 49.58 kB / 0.9852 GB, free: 80.89 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.009227/3.052, allocations: 2.061 MB / 0.9872 GB, free: 79.82 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.933e-05/3.052, allocations: 13.81 kB / 0.9872 GB, free: 79.82 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006981/3.053, allocations: 177.2 kB / 0.9874 GB, free: 79.78 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001136/3.054, allocations: 208.9 kB / 0.9876 GB, free: 79.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004662/3.058, allocations: 1.257 MB / 0.9888 GB, free: 79.31 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002191/3.059, allocations: 186.5 kB / 0.989 GB, free: 79.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00049/3.059, allocations: 119.3 kB / 0.9891 GB, free: 79.21 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004735/3.064, allocations: 1.911 MB / 0.991 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.238e-05/3.064, allocations: 0 / 0.991 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002633/3.064, allocations: 48.44 kB / 0.991 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002463/3.065, allocations: 122.5 kB / 0.9911 GB, free: 78.98 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004908/3.07, allocations: 1.874 MB / 0.9929 GB, free: 78.97 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.01974/3.089, allocations: 7.035 MB / 0.9998 GB, free: 76.68 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003003/3.092, allocations: 1.294 MB / 1.001 GB, free: 76.65 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/3.094, allocations: 0.7794 MB / 1.002 GB, free: 76.55 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009311/3.104, allocations: 4.52 MB / 1.006 GB, free: 73.35 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/3.104, allocations: 46.47 kB / 1.006 GB, free: 73.3 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001603/3.105, allocations: 218.5 kB / 1.007 GB, free: 73.21 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 4.959e-06/3.105, allocations: 0 / 1.007 GB, free: 73.21 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.01463/3.12, allocations: 4.376 MB / 1.011 GB, free: 71.49 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.901e-05/3.12, allocations: 221.5 kB / 1.011 GB, free: 71.24 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002399/3.123, allocations: 1.187 MB / 1.012 GB, free: 70.76 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004063/3.123, allocations: 51.61 kB / 1.012 GB, free: 70.71 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005647/3.124, allocations: 0.661 MB / 1.013 GB, free: 70.19 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005823/3.124, allocations: 455.4 kB / 1.013 GB, free: 69.84 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001762/3.124, allocations: 31.5 kB / 1.013 GB, free: 69.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/3.124, allocations: 371.4 kB / 1.014 GB, free: 69.49 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001916/3.126, allocations: 0.7304 MB / 1.014 GB, free: 69.21 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002087/3.129, allocations: 1.052 MB / 1.015 GB, free: 68.58 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/3.131, allocations: 0.8596 MB / 1.016 GB, free: 68.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.606e-06/3.131, allocations: 0 / 1.016 GB, free: 68.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.006292/3.137, allocations: 2.362 MB / 1.019 GB, free: 67.41 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006424/3.138, allocations: 3.025 MB / 1.022 GB, free: 64.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-05/3.138, allocations: 7.844 kB / 1.022 GB, free: 64.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01344/3.151, allocations: 1.469 MB / 1.023 GB, free: 64.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002815/3.154, allocations: 330.6 kB / 1.023 GB, free: 64.06 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004284/3.158, allocations: 1.69 MB / 1.025 GB, free: 63.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003136/3.162, allocations: 100.6 kB / 1.025 GB, free: 63.08 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006161/3.162, allocations: 82.78 kB / 1.025 GB, free: 63.07 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/3.162, allocations: 3.969 kB / 1.025 GB, free: 63.07 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005708/3.168, allocations: 1.961 MB / 1.027 GB, free: 62.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.331e-05/3.168, allocations: 13.41 kB / 1.027 GB, free: 62.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009715/3.178, allocations: 0.9381 MB / 1.028 GB, free: 62.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002937/3.181, allocations: 341.7 kB / 1.028 GB, free: 62.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002703/3.184, allocations: 1.275 MB / 1.03 GB, free: 61.43 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002755/3.186, allocations: 102 kB / 1.03 GB, free: 61.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003917/3.187, allocations: 79.2 kB / 1.03 GB, free: 61.38 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.00064/3.187, allocations: 200.2 kB / 1.03 GB, free: 61.21 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005295/3.188, allocations: 161.7 kB / 1.03 GB, free: 61.12 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007619/3.196, allocations: 2.465 MB / 1.032 GB, free: 60.24 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.03e-05/3.196, allocations: 20.3 kB / 1.032 GB, free: 60.24 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/3.196, allocations: 3.953 kB / 1.032 GB, free: 60.24 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-05/3.196, allocations: 7.688 kB / 1.032 GB, free: 60.24 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01075/3.207, allocations: 4.02 MB / 1.036 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/3.207, allocations: 0 / 1.036 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002146/3.209, allocations: 234.7 kB / 1.037 GB, free: 56.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008092/3.217, allocations: 1.211 MB / 1.038 GB, free: 56.06 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004375/3.217, allocations: 43.03 kB / 1.038 GB, free: 56.02 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/3.221, allocations: 1.749 MB / 1.04 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/3.221, allocations: 0 / 1.04 GB, free: 54.43 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/3.229, allocations: 3.27 MB / 1.043 GB, free: 51.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001597/3.231, allocations: 470.4 kB / 1.043 GB, free: 51.07 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004978/3.231, allocations: 31.8 kB / 1.043 GB, free: 51.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002402/3.234, allocations: 105.2 kB / 1.043 GB, free: 50.97 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004191/3.234, allocations: 109.8 kB / 1.043 GB, free: 50.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002354/3.234, allocations: 63 kB / 1.043 GB, free: 50.86 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001906/3.236, allocations: 0.9016 MB / 1.044 GB, free: 50.03 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.91e-07/3.236, allocations: 0 / 1.044 GB, free: 50.03 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006555/3.243, allocations: 1.428 MB / 1.046 GB, free: 48.64 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.01245/3.255, allocations: 4.974 MB / 1.051 GB, free: 44.24 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01062/3.266, allocations: 3 MB / 1.054 GB, free: 41.52 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.379e-05/3.266, allocations: 7.859 kB / 1.054 GB, free: 41.51 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003546/3.27, allocations: 0.99 MB / 1.055 GB, free: 40.62 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00626/3.276, allocations: 0.6907 MB / 1.055 GB, free: 40.14 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01295/3.289, allocations: 3.578 MB / 1.059 GB, free: 37.12 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/3.29, allocations: 1.413 MB / 1.06 GB, free: 35.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004474/3.295, allocations: 0.7359 MB / 1.061 GB, free: 35.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/3.296, allocations: 0.6203 MB / 1.061 GB, free: 34.81 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/3.296, allocations: 4 kB / 1.061 GB, free: 34.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5569/3.853, allocations: 65.56 MB / 1.125 GB, free: 74.38 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002508/3.853, allocations: 196.3 kB / 1.126 GB, free: 74.16 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.619/9.472, allocations: 6.469 kB / 1.126 GB, free: 74.16 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestDelayedValve_res.mat does not exist to compare? outputFormat=mat