Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.046/2.046, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.697e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.018/1.134, allocations: 209.1 MB / 0.5185 GB, free: 112.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/1.134, allocations: 81.98 kB / 0.5186 GB, free: 112.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.781/3.915, allocations: 0.4989 GB / 1.017 GB, free: 60.5 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.924e-06/3.915, allocations: 2.953 kB / 1.017 GB, free: 60.5 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001133/3.915, allocations: 33.25 kB / 1.017 GB, free: 60.5 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.00714/3.922, allocations: 1.905 MB / 1.019 GB, free: 59.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/3.923, allocations: 11.16 kB / 1.019 GB, free: 59.91 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003371/3.923, allocations: 130.7 kB / 1.019 GB, free: 59.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004674/3.928, allocations: 355.5 kB / 1.02 GB, free: 59.8 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002966/3.931, allocations: 0.8927 MB / 1.021 GB, free: 59.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.306e-05/3.931, allocations: 66.45 kB / 1.021 GB, free: 59.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002017/3.931, allocations: 80.44 kB / 1.021 GB, free: 59.54 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/3.935, allocations: 1.138 MB / 1.022 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.605e-05/3.935, allocations: 3.188 kB / 1.022 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002091/3.935, allocations: 42.31 kB / 1.022 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/3.935, allocations: 20.66 kB / 1.022 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003636/3.939, allocations: 0.8201 MB / 1.023 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01121/3.95, allocations: 6.288 MB / 1.029 GB, free: 55.06 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002112/3.952, allocations: 497.2 kB / 1.029 GB, free: 55.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005831/3.953, allocations: 218.9 kB / 1.03 GB, free: 55.03 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/3.953, allocations: 0.7592 MB / 1.03 GB, free: 54.18 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/3.953, allocations: 40.62 kB / 1.03 GB, free: 54.14 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001093/3.955, allocations: 109 kB / 1.031 GB, free: 54.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 4.609e-06/3.955, allocations: 0 / 1.031 GB, free: 54.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.003584/3.958, allocations: 0.6999 MB / 1.031 GB, free: 54.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/3.958, allocations: 194.8 kB / 1.031 GB, free: 53.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001464/3.96, allocations: 0.7432 MB / 1.032 GB, free: 53.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001961/3.96, allocations: 32.45 kB / 1.032 GB, free: 53.62 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004295/3.96, allocations: 0.6073 MB / 1.033 GB, free: 53.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002125/3.961, allocations: 175.2 kB / 1.033 GB, free: 53.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.387e-05/3.961, allocations: 17.94 kB / 1.033 GB, free: 53.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001024/3.961, allocations: 350 kB / 1.033 GB, free: 52.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/3.962, allocations: 263.8 kB / 1.033 GB, free: 52.91 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009581/3.963, allocations: 0.6117 MB / 1.034 GB, free: 52.49 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009628/3.964, allocations: 364.2 kB / 1.034 GB, free: 52.48 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.185e-05/3.964, allocations: 3.438 kB / 1.034 GB, free: 52.48 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003016/3.967, allocations: 1.037 MB / 1.035 GB, free: 52.41 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009901/3.968, allocations: 4.183 MB / 1.04 GB, free: 48.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/3.968, allocations: 11.25 kB / 1.04 GB, free: 48.06 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009368/3.977, allocations: 0.7441 MB / 1.04 GB, free: 48.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001996/3.979, allocations: 291.2 kB / 1.041 GB, free: 48.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/3.981, allocations: 0.7843 MB / 1.041 GB, free: 47.53 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/3.983, allocations: 94.84 kB / 1.041 GB, free: 47.53 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002968/3.983, allocations: 81.88 kB / 1.041 GB, free: 47.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/3.983, allocations: 7.625 kB / 1.041 GB, free: 47.53 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002892/3.986, allocations: 0.933 MB / 1.042 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/3.986, allocations: 13 kB / 1.042 GB, free: 47.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004023/3.987, allocations: 75.64 kB / 1.042 GB, free: 47.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002014/3.989, allocations: 299.1 kB / 1.043 GB, free: 47.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/3.991, allocations: 1.647 MB / 1.044 GB, free: 46.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/3.992, allocations: 94.3 kB / 1.044 GB, free: 46.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/3.993, allocations: 70.58 kB / 1.045 GB, free: 46.16 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.0003723/3.993, allocations: 160.6 kB / 1.045 GB, free: 46.05 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003728/3.993, allocations: 109.9 kB / 1.045 GB, free: 46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005054/3.998, allocations: 1.501 MB / 1.046 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/3.999, allocations: 11.28 kB / 1.046 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/3.999, allocations: 0 / 1.046 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/3.999, allocations: 6.844 kB / 1.046 GB, free: 45.88 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003955/4.003, allocations: 1.647 MB / 1.048 GB, free: 45.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.635e-06/4.003, allocations: 3.062 kB / 1.048 GB, free: 45.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008893/4.003, allocations: 134.8 kB / 1.048 GB, free: 45.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004809/4.008, allocations: 0.554 MB / 1.049 GB, free: 45.51 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/4.009, allocations: 30.61 kB / 1.049 GB, free: 45.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/4.01, allocations: 0.7959 MB / 1.049 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/4.01, allocations: 7.688 kB / 1.049 GB, free: 44.98 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002164/4.012, allocations: 0.9011 MB / 1.05 GB, free: 44.65 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007582/4.013, allocations: 317.1 kB / 1.051 GB, free: 44.49 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002303/4.013, allocations: 14.72 kB / 1.051 GB, free: 44.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/4.014, allocations: 76.23 kB / 1.051 GB, free: 44.49 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/4.014, allocations: 52.34 kB / 1.051 GB, free: 44.48 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/4.014, allocations: 31.27 kB / 1.051 GB, free: 44.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001155/4.016, allocations: 0.5818 MB / 1.051 GB, free: 44.37 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/4.016, allocations: 0 / 1.051 GB, free: 44.37 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004842/4.02, allocations: 1.025 MB / 1.052 GB, free: 44.25 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.005536/4.026, allocations: 2.478 MB / 1.055 GB, free: 42.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003874/4.03, allocations: 1.29 MB / 1.056 GB, free: 42.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.004e-05/4.03, allocations: 6.266 kB / 1.056 GB, free: 42.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009354/4.031, allocations: 318.6 kB / 1.056 GB, free: 42.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003873/4.035, allocations: 430.9 kB / 1.057 GB, free: 42.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007287/4.042, allocations: 1.983 MB / 1.059 GB, free: 42.21 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006145/4.043, allocations: 1.094 MB / 1.06 GB, free: 41.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/4.044, allocations: 460.1 kB / 1.06 GB, free: 41.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.012e-06/4.044, allocations: 0 / 1.06 GB, free: 41.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.339/7.383, allocations: 31.58 MB / 1.091 GB, free: 39.92 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat