Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.158/2.158, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.076e-05/4.087e-05, allocations: 9.391 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1041, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9253/1.03, allocations: 209.1 MB / 0.5185 GB, free: 112.1 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002927/1.03, allocations: 86 kB / 0.5186 GB, free: 112.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.963/3.993, allocations: 0.4989 GB / 1.017 GB, free: 60.64 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.235e-06/3.993, allocations: 0 / 1.017 GB, free: 60.64 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001626/3.993, allocations: 32.94 kB / 1.018 GB, free: 60.64 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007843/4.001, allocations: 1.904 MB / 1.019 GB, free: 60.04 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.244e-05/4.001, allocations: 12.16 kB / 1.019 GB, free: 60.04 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005089/4.002, allocations: 129.3 kB / 1.02 GB, free: 60 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00507/4.007, allocations: 350.7 kB / 1.02 GB, free: 59.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003292/4.01, allocations: 0.9026 MB / 1.021 GB, free: 59.67 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/4.01, allocations: 64.56 kB / 1.021 GB, free: 59.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004015/4.011, allocations: 83.55 kB / 1.021 GB, free: 59.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004526/4.015, allocations: 1.119 MB / 1.022 GB, free: 59.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/4.016, allocations: 2.062 kB / 1.022 GB, free: 59.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/4.016, allocations: 38.69 kB / 1.022 GB, free: 59.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.406e-05/4.016, allocations: 26.09 kB / 1.022 GB, free: 59.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003886/4.02, allocations: 0.8076 MB / 1.023 GB, free: 59.41 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01239/4.032, allocations: 6.28 MB / 1.029 GB, free: 55.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002212/4.034, allocations: 496.8 kB / 1.029 GB, free: 55.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006228/4.035, allocations: 217.9 kB / 1.03 GB, free: 55.17 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006723/4.036, allocations: 0.7598 MB / 1.03 GB, free: 54.32 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.001e-05/4.036, allocations: 39.75 kB / 1.03 GB, free: 54.29 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001262/4.037, allocations: 110.4 kB / 1.031 GB, free: 54.27 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 5.721e-06/4.037, allocations: 3.062 kB / 1.031 GB, free: 54.27 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.003924/4.041, allocations: 0.6976 MB / 1.031 GB, free: 54.17 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.601e-05/4.041, allocations: 187.6 kB / 1.031 GB, free: 53.95 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001574/4.043, allocations: 0.747 MB / 1.032 GB, free: 53.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002388/4.043, allocations: 34.58 kB / 1.032 GB, free: 53.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/4.044, allocations: 0.6027 MB / 1.033 GB, free: 53.52 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003046/4.044, allocations: 172.8 kB / 1.033 GB, free: 53.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/4.044, allocations: 17.47 kB / 1.033 GB, free: 53.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.938e-05/4.044, allocations: 344.6 kB / 1.033 GB, free: 53.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008331/4.045, allocations: 271.7 kB / 1.034 GB, free: 53.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/4.046, allocations: 0.5995 MB / 1.034 GB, free: 52.71 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/4.047, allocations: 362.7 kB / 1.034 GB, free: 52.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-05/4.047, allocations: 5.938 kB / 1.034 GB, free: 52.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00364/4.051, allocations: 1.064 MB / 1.035 GB, free: 52.6 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009845/4.052, allocations: 4.188 MB / 1.04 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.61e-05/4.052, allocations: 11.12 kB / 1.04 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009698/4.062, allocations: 0.741 MB / 1.04 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/4.064, allocations: 288.3 kB / 1.041 GB, free: 48.25 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/4.065, allocations: 0.796 MB / 1.041 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002896/4.068, allocations: 98.97 kB / 1.041 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005665/4.069, allocations: 79.36 kB / 1.042 GB, free: 47.72 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/4.069, allocations: 3.656 kB / 1.042 GB, free: 47.72 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003438/4.073, allocations: 0.8926 MB / 1.042 GB, free: 47.69 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.026e-05/4.073, allocations: 11.75 kB / 1.042 GB, free: 47.69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006233/4.073, allocations: 89.94 kB / 1.043 GB, free: 47.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002183/4.076, allocations: 302.1 kB / 1.043 GB, free: 47.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/4.078, allocations: 1.652 MB / 1.044 GB, free: 46.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001903/4.08, allocations: 92.53 kB / 1.044 GB, free: 46.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003609/4.08, allocations: 69.72 kB / 1.045 GB, free: 46.34 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004441/4.081, allocations: 163.1 kB / 1.045 GB, free: 46.23 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004269/4.081, allocations: 109.6 kB / 1.045 GB, free: 46.18 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005409/4.087, allocations: 1.501 MB / 1.046 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.538e-05/4.087, allocations: 7.719 kB / 1.046 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/4.087, allocations: 0 / 1.046 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/4.087, allocations: 1.406 kB / 1.046 GB, free: 46.07 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004678/4.092, allocations: 1.647 MB / 1.048 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/4.092, allocations: 3.188 kB / 1.048 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009673/4.093, allocations: 127.9 kB / 1.048 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005149/4.098, allocations: 0.5714 MB / 1.049 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/4.098, allocations: 22.61 kB / 1.049 GB, free: 45.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/4.099, allocations: 0.8 MB / 1.049 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/4.099, allocations: 3.594 kB / 1.049 GB, free: 45.17 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00236/4.102, allocations: 0.9004 MB / 1.05 GB, free: 44.83 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/4.103, allocations: 317.6 kB / 1.051 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004567/4.103, allocations: 13.31 kB / 1.051 GB, free: 44.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/4.105, allocations: 75.72 kB / 1.051 GB, free: 44.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/4.105, allocations: 53.36 kB / 1.051 GB, free: 44.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/4.105, allocations: 30.94 kB / 1.051 GB, free: 44.67 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001374/4.107, allocations: 0.5813 MB / 1.051 GB, free: 44.55 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.92e-07/4.107, allocations: 3.812 kB / 1.051 GB, free: 44.55 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005948/4.113, allocations: 1.025 MB / 1.052 GB, free: 44.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.006474/4.119, allocations: 2.481 MB / 1.055 GB, free: 43.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004469/4.124, allocations: 1.283 MB / 1.056 GB, free: 43 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.242e-05/4.124, allocations: 5.25 kB / 1.056 GB, free: 43 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001133/4.125, allocations: 313 kB / 1.056 GB, free: 42.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004185/4.129, allocations: 426.9 kB / 1.057 GB, free: 42.97 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008437/4.138, allocations: 1.947 MB / 1.059 GB, free: 42.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/4.138, allocations: 1.099 MB / 1.06 GB, free: 41.71 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004251/4.143, allocations: 0.8368 MB / 1.06 GB, free: 41.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001164/4.144, allocations: 432.4 kB / 1.061 GB, free: 41.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.723e-06/4.144, allocations: 0 / 1.061 GB, free: 41.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/4.256, allocations: 36.38 MB / 1.096 GB, free: 39.75 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005254/4.256, allocations: 252.5 kB / 1.097 GB, free: 39.41 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.408/8.664, allocations: 0 / 1.097 GB, free: 39.41 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat