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.345/2.345, allocations: 235.1 MB / 242.2 MB, free: 15.69 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.39e-05/2.394e-05, allocations: 4 kB / 299.5 MB, free: 6.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3587, allocations: 54.86 MB / 354.4 MB, free: 56 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.21/1.569, allocations: 345.5 MB / 0.6835 GB, free: 128.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/1.569, allocations: 84.75 kB / 0.6836 GB, free: 128.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.445/3.014, allocations: 300.7 MB / 0.9772 GB, free: 64.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.565e-06/3.014, allocations: 0 / 0.9772 GB, free: 64.91 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000251/3.014, allocations: 48.06 kB / 0.9772 GB, free: 64.86 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.009771/3.024, allocations: 2.061 MB / 0.9792 GB, free: 62.77 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.616e-05/3.024, allocations: 12.03 kB / 0.9792 GB, free: 62.75 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/3.026, allocations: 197.8 kB / 0.9794 GB, free: 62.56 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005039/3.031, allocations: 1.265 MB / 0.9807 GB, free: 61.26 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002374/3.031, allocations: 143.2 kB / 0.9808 GB, free: 61.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007111/3.032, allocations: 71.94 kB / 0.9809 GB, free: 61.03 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005229/3.037, allocations: 1.746 MB / 0.9826 GB, free: 59.28 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00508/3.043, allocations: 1.748 MB / 0.9843 GB, free: 57.45 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-05/3.043, allocations: 4 kB / 0.9843 GB, free: 57.45 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/3.043, allocations: 7.891 kB / 0.9843 GB, free: 57.44 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003153/3.043, allocations: 126.2 kB / 0.9844 GB, free: 57.31 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.02021/3.063, allocations: 6.753 MB / 0.991 GB, free: 50.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002811/3.066, allocations: 1.276 MB / 0.9923 GB, free: 49.03 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/3.068, allocations: 0.7702 MB / 0.993 GB, free: 48.26 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/3.079, allocations: 4.42 MB / 0.9973 GB, free: 43.46 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.212e-05/3.079, allocations: 43.88 kB / 0.9974 GB, free: 43.41 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001709/3.08, allocations: 178.6 kB / 0.9975 GB, free: 43.23 MB / 490.7 MB Notification: Performance of pre-optimization done (n=117): time 7.323e-06/3.081, allocations: 0 / 0.9975 GB, free: 43.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=132): time 0.02646/3.107, allocations: 5.005 MB / 1.002 GB, free: 38.19 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001311/3.107, allocations: 218.9 kB / 1.003 GB, free: 37.93 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/3.109, allocations: 0.9013 MB / 1.004 GB, free: 37.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005252/3.11, allocations: 25.7 kB / 1.004 GB, free: 36.98 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005804/3.11, allocations: 0.6714 MB / 1.004 GB, free: 36.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007049/3.111, allocations: 437.5 kB / 1.005 GB, free: 35.87 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/3.111, allocations: 0 / 1.005 GB, free: 35.87 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/3.111, allocations: 373.9 kB / 1.005 GB, free: 35.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001776/3.113, allocations: 0.7224 MB / 1.006 GB, free: 34.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001974/3.115, allocations: 1.035 MB / 1.007 GB, free: 33.62 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0208/3.136, allocations: 2.542 MB / 1.009 GB, free: 31.07 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.937e-05/3.136, allocations: 4 kB / 1.009 GB, free: 31.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.025/3.161, allocations: 3.967 MB / 1.013 GB, free: 27.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006614/3.162, allocations: 2.98 MB / 1.016 GB, free: 23.89 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-05/3.162, allocations: 12 kB / 1.016 GB, free: 23.88 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01015/3.172, allocations: 1.146 MB / 1.017 GB, free: 22.73 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/3.175, allocations: 335.4 kB / 1.017 GB, free: 22.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007362/3.182, allocations: 2.105 MB / 1.019 GB, free: 20.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00284/3.185, allocations: 71.88 kB / 1.02 GB, free: 20.2 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003712/3.186, allocations: 79.89 kB / 1.02 GB, free: 20.12 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/3.186, allocations: 4 kB / 1.02 GB, free: 20.12 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02062/3.206, allocations: 3.248 MB / 1.023 GB, free: 16.87 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.257e-05/3.206, allocations: 11.94 kB / 1.023 GB, free: 16.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009295/3.216, allocations: 0.9101 MB / 1.024 GB, free: 15.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002807/3.218, allocations: 339.5 kB / 1.024 GB, free: 15.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/3.221, allocations: 1.333 MB / 1.025 GB, free: 14.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002538/3.224, allocations: 67.78 kB / 1.025 GB, free: 14.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004274/3.224, allocations: 71.97 kB / 1.025 GB, free: 14.11 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.0006423/3.225, allocations: 146.1 kB / 1.026 GB, free: 13.96 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009781/3.235, allocations: 2.198 MB / 1.028 GB, free: 11.75 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000563/3.235, allocations: 150.2 kB / 1.028 GB, free: 11.61 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01068/3.246, allocations: 2.635 MB / 1.03 GB, free: 8.969 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.6e-05/3.246, allocations: 16 kB / 1.03 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-05/3.246, allocations: 3.562 kB / 1.03 GB, free: 8.953 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-05/3.246, allocations: 7.969 kB / 1.03 GB, free: 8.945 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/3.259, allocations: 4.077 MB / 1.034 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/3.26, allocations: 0 / 1.034 GB, free: 4.855 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002007/3.262, allocations: 227.7 kB / 1.035 GB, free: 4.633 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004898/3.266, allocations: 0.9196 MB / 1.036 GB, free: 3.711 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003143/3.267, allocations: 23.94 kB / 1.036 GB, free: 3.688 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006231/3.273, allocations: 2.096 MB / 1.038 GB, free: 1.562 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.253e-06/3.273, allocations: 0 / 1.038 GB, free: 1.562 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3926/3.666, allocations: 3.442 MB / 1.041 GB, free: 80.03 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001899/3.668, allocations: 430.8 kB / 1.041 GB, free: 79.94 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006464/3.668, allocations: 3.859 kB / 1.041 GB, free: 79.94 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002431/3.671, allocations: 81.41 kB / 1.041 GB, free: 79.94 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005199/3.671, allocations: 116.8 kB / 1.042 GB, free: 79.94 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/3.672, allocations: 61.19 kB / 1.042 GB, free: 79.94 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001547/3.673, allocations: 0.6631 MB / 1.042 GB, free: 79.83 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/3.673, allocations: 0 / 1.042 GB, free: 79.83 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006244/3.679, allocations: 1.331 MB / 1.044 GB, free: 79.83 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.01591/3.695, allocations: 5.105 MB / 1.049 GB, free: 79.13 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00955/3.705, allocations: 2.921 MB / 1.051 GB, free: 79.04 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/3.705, allocations: 3 kB / 1.051 GB, free: 79.04 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003169/3.708, allocations: 0.959 MB / 1.052 GB, free: 79.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00558/3.714, allocations: 0.6136 MB / 1.053 GB, free: 79.02 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01293/3.727, allocations: 3.407 MB / 1.056 GB, free: 78.39 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/3.728, allocations: 1.418 MB / 1.058 GB, free: 77.68 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004415/3.733, allocations: 0.6309 MB / 1.058 GB, free: 77.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/3.734, allocations: 0.6092 MB / 1.059 GB, free: 77.65 MB / 490.7 MB Notification: Performance of SimCode: time 1.593e-06/3.734, allocations: 0 / 1.059 GB, free: 77.65 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1577/3.892, allocations: 58.24 MB / 1.116 GB, free: 74.3 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/3.892, allocations: 147.5 kB / 1.116 GB, free: 74.11 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.535/9.427, allocations: 0 / 1.116 GB, free: 74.11 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