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.07/2.07, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.505e-05/2.499e-05, allocations: 8 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1046, allocations: 48.7 MB / 316.3 MB, free: 4.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9364/1.041, allocations: 208.7 MB / 0.5127 GB, free: 97.09 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.041, allocations: 83.53 kB / 0.5128 GB, free: 97.09 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.821/3.863, allocations: 0.4943 GB / 1.007 GB, free: 67.9 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.415e-06/3.863, allocations: 3.562 kB / 1.007 GB, free: 67.9 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001808/3.863, allocations: 40.84 kB / 1.007 GB, free: 67.9 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.007786/3.871, allocations: 1.899 MB / 1.009 GB, free: 67.25 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/3.871, allocations: 6.312 kB / 1.009 GB, free: 67.25 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004902/3.876, allocations: 351.8 kB / 1.009 GB, free: 67.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003116/3.879, allocations: 0.9029 MB / 1.01 GB, free: 66.92 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.685e-05/3.879, allocations: 28.25 kB / 1.01 GB, free: 66.92 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002178/3.879, allocations: 47.06 kB / 1.01 GB, free: 66.92 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002015/3.881, allocations: 0.7208 MB / 1.011 GB, free: 66.91 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/3.884, allocations: 0.9397 MB / 1.012 GB, free: 66.64 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.998e-05/3.884, allocations: 5.969 kB / 1.012 GB, free: 66.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001658/3.884, allocations: 3.906 kB / 1.012 GB, free: 66.64 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.326e-05/3.884, allocations: 19.56 kB / 1.012 GB, free: 66.64 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01072/3.895, allocations: 6.117 MB / 1.018 GB, free: 62.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001288/3.896, allocations: 457.9 kB / 1.018 GB, free: 62.46 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005115/3.896, allocations: 214.1 kB / 1.018 GB, free: 62.45 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006262/3.897, allocations: 0.7611 MB / 1.019 GB, free: 61.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/3.897, allocations: 40.53 kB / 1.019 GB, free: 61.57 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001169/3.898, allocations: 104.9 kB / 1.019 GB, free: 61.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 6.191e-06/3.898, allocations: 0 / 1.019 GB, free: 61.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.008086/3.906, allocations: 1.082 MB / 1.02 GB, free: 61.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.999e-05/3.907, allocations: 190.5 kB / 1.021 GB, free: 61.24 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00129/3.908, allocations: 0.6821 MB / 1.021 GB, free: 61.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001659/3.908, allocations: 28.7 kB / 1.021 GB, free: 61.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004409/3.909, allocations: 0.6107 MB / 1.022 GB, free: 60.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/3.909, allocations: 165.7 kB / 1.022 GB, free: 60.67 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.349e-05/3.909, allocations: 0 / 1.022 GB, free: 60.67 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.598e-05/3.909, allocations: 349.6 kB / 1.022 GB, free: 60.36 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006304/3.91, allocations: 249.4 kB / 1.023 GB, free: 60.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008821/3.911, allocations: 0.6049 MB / 1.023 GB, free: 59.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/3.921, allocations: 1.501 MB / 1.025 GB, free: 59.92 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.149e-05/3.921, allocations: 6.094 kB / 1.025 GB, free: 59.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01287/3.934, allocations: 2.127 MB / 1.027 GB, free: 59.85 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009556/3.935, allocations: 4.177 MB / 1.031 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.422e-05/3.935, allocations: 14.94 kB / 1.031 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004353/3.94, allocations: 417.8 kB / 1.031 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/3.942, allocations: 298.3 kB / 1.032 GB, free: 55.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/3.945, allocations: 0.9483 MB / 1.032 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002097/3.947, allocations: 76.47 kB / 1.033 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002503/3.947, allocations: 86.27 kB / 1.033 GB, free: 54.96 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/3.947, allocations: 2.469 kB / 1.033 GB, free: 54.96 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01017/3.957, allocations: 1.819 MB / 1.034 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.282e-05/3.957, allocations: 12.31 kB / 1.034 GB, free: 54.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/3.958, allocations: 69.38 kB / 1.034 GB, free: 54.93 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002005/3.96, allocations: 306.5 kB / 1.035 GB, free: 54.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002096/3.962, allocations: 1.576 MB / 1.036 GB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/3.964, allocations: 77.03 kB / 1.036 GB, free: 53.66 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/3.964, allocations: 75.11 kB / 1.036 GB, free: 53.66 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.000375/3.964, allocations: 138.8 kB / 1.037 GB, free: 53.55 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01048/3.975, allocations: 1.648 MB / 1.038 GB, free: 53.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002548/3.975, allocations: 102.2 kB / 1.038 GB, free: 53.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007597/3.983, allocations: 1.756 MB / 1.04 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/3.983, allocations: 11.86 kB / 1.04 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/3.983, allocations: 0 / 1.04 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.077e-05/3.983, allocations: 3.516 kB / 1.04 GB, free: 53.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006415/3.989, allocations: 1.799 MB / 1.042 GB, free: 52.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/3.989, allocations: 0 / 1.042 GB, free: 52.94 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008787/3.99, allocations: 134 kB / 1.042 GB, free: 52.94 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001783/3.992, allocations: 295.7 kB / 1.042 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001308/3.992, allocations: 17.95 kB / 1.042 GB, free: 52.93 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002012/3.994, allocations: 0.911 MB / 1.043 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.576e-06/3.994, allocations: 7.734 kB / 1.043 GB, free: 52.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004887/3.999, allocations: 1.158 MB / 1.044 GB, free: 52.05 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/4, allocations: 316 kB / 1.045 GB, free: 51.89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003847/4.001, allocations: 7.25 kB / 1.045 GB, free: 51.89 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001358/4.002, allocations: 56.44 kB / 1.045 GB, free: 51.89 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001949/4.002, allocations: 55.34 kB / 1.045 GB, free: 51.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-05/4.002, allocations: 28.47 kB / 1.045 GB, free: 51.89 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00112/4.003, allocations: 0.5199 MB / 1.045 GB, free: 51.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.51e-07/4.003, allocations: 2.906 kB / 1.045 GB, free: 51.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005146/4.009, allocations: 0.9776 MB / 1.046 GB, free: 51.66 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.007813/4.017, allocations: 2.745 MB / 1.049 GB, free: 50.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003353/4.02, allocations: 1.207 MB / 1.05 GB, free: 50.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/4.02, allocations: 3.562 kB / 1.05 GB, free: 50.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008273/4.021, allocations: 292.9 kB / 1.05 GB, free: 50.14 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003642/4.024, allocations: 400.6 kB / 1.051 GB, free: 50.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006969/4.031, allocations: 1.908 MB / 1.053 GB, free: 49.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007519/4.032, allocations: 1.089 MB / 1.054 GB, free: 48.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/4.033, allocations: 460.9 kB / 1.054 GB, free: 48.79 MB / 442.7 MB Notification: Performance of SimCode: time 3.476e-06/4.033, allocations: 0 / 1.054 GB, free: 48.79 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.39/7.424, allocations: 31.65 MB / 1.085 GB, free: 45.88 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