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 1.951/1.951, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.819e-05, allocations: 5.406 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1056, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9027/1.008, allocations: 209.1 MB / 0.5185 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/1.009, allocations: 81.16 kB / 0.5186 GB, free: 112.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.731/3.74, allocations: 0.4989 GB / 1.017 GB, free: 60.7 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.244e-06/3.74, allocations: 0 / 1.017 GB, free: 60.7 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001893/3.74, allocations: 37.59 kB / 1.018 GB, free: 60.7 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.009095/3.749, allocations: 1.899 MB / 1.019 GB, free: 60.11 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/3.749, allocations: 13.16 kB / 1.019 GB, free: 60.11 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005588/3.75, allocations: 129.5 kB / 1.019 GB, free: 60.07 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007289/3.757, allocations: 351 kB / 1.02 GB, free: 60.01 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004004/3.761, allocations: 0.9012 MB / 1.021 GB, free: 59.74 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/3.761, allocations: 67.38 kB / 1.021 GB, free: 59.74 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003282/3.762, allocations: 79.44 kB / 1.021 GB, free: 59.74 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005448/3.767, allocations: 1.139 MB / 1.022 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5e-05/3.767, allocations: 3.188 kB / 1.022 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/3.767, allocations: 42.11 kB / 1.022 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.184e-05/3.768, allocations: 26.28 kB / 1.022 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005185/3.773, allocations: 0.8194 MB / 1.023 GB, free: 59.47 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01421/3.787, allocations: 6.272 MB / 1.029 GB, free: 55.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002558/3.79, allocations: 498.6 kB / 1.029 GB, free: 55.24 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006282/3.79, allocations: 223.2 kB / 1.03 GB, free: 55.23 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006214/3.791, allocations: 0.7628 MB / 1.03 GB, free: 54.39 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/3.791, allocations: 39.12 kB / 1.03 GB, free: 54.35 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001176/3.792, allocations: 110 kB / 1.031 GB, free: 54.33 MB / 442.7 MB Notification: Performance of pre-optimization done (n=48): time 5.2e-06/3.792, allocations: 0 / 1.031 GB, free: 54.33 MB / 442.7 MB Notification: Performance of matching and sorting (n=48): time 0.004012/3.796, allocations: 0.7064 MB / 1.031 GB, free: 54.23 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.989e-05/3.796, allocations: 188.1 kB / 1.031 GB, free: 54.01 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/3.798, allocations: 0.7372 MB / 1.032 GB, free: 53.86 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002171/3.798, allocations: 36.95 kB / 1.032 GB, free: 53.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005094/3.799, allocations: 0.6117 MB / 1.033 GB, free: 53.58 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/3.799, allocations: 166.4 kB / 1.033 GB, free: 53.5 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/3.799, allocations: 19.66 kB / 1.033 GB, free: 53.5 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.369e-05/3.799, allocations: 339.2 kB / 1.033 GB, free: 53.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008018/3.8, allocations: 270.1 kB / 1.034 GB, free: 53.19 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009925/3.801, allocations: 0.6125 MB / 1.034 GB, free: 52.77 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009689/3.802, allocations: 363.8 kB / 1.034 GB, free: 52.76 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/3.802, allocations: 3.188 kB / 1.034 GB, free: 52.76 MB / 442.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003321/3.805, allocations: 1.095 MB / 1.036 GB, free: 52.65 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009335/3.806, allocations: 4.184 MB / 1.04 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/3.806, allocations: 9.594 kB / 1.04 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009314/3.816, allocations: 0.7445 MB / 1.04 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001975/3.818, allocations: 290.5 kB / 1.041 GB, free: 48.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001369/3.819, allocations: 0.7962 MB / 1.041 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/3.821, allocations: 95.53 kB / 1.041 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003153/3.822, allocations: 82.8 kB / 1.042 GB, free: 47.77 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/3.822, allocations: 3.125 kB / 1.042 GB, free: 47.77 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003/3.825, allocations: 0.9309 MB / 1.042 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.746e-05/3.825, allocations: 10.84 kB / 1.042 GB, free: 47.74 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004907/3.825, allocations: 84.2 kB / 1.043 GB, free: 47.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00198/3.827, allocations: 304.4 kB / 1.043 GB, free: 47.73 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002271/3.83, allocations: 1.659 MB / 1.044 GB, free: 46.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/3.831, allocations: 98.31 kB / 1.045 GB, free: 46.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002353/3.832, allocations: 69.58 kB / 1.045 GB, free: 46.39 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.0003682/3.832, allocations: 161.5 kB / 1.045 GB, free: 46.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00032/3.832, allocations: 104.8 kB / 1.045 GB, free: 46.23 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005134/3.838, allocations: 1.498 MB / 1.046 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.306e-05/3.838, allocations: 7.469 kB / 1.046 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/3.838, allocations: 0 / 1.046 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/3.838, allocations: 3.797 kB / 1.046 GB, free: 46.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004267/3.842, allocations: 1.651 MB / 1.048 GB, free: 45.76 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/3.842, allocations: 0 / 1.048 GB, free: 45.76 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008912/3.843, allocations: 135.3 kB / 1.048 GB, free: 45.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004826/3.848, allocations: 0.5573 MB / 1.049 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001687/3.848, allocations: 19.55 kB / 1.049 GB, free: 45.75 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/3.849, allocations: 0.8115 MB / 1.049 GB, free: 45.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/3.849, allocations: 5.75 kB / 1.049 GB, free: 45.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/3.851, allocations: 0.8937 MB / 1.05 GB, free: 44.89 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008257/3.852, allocations: 316.3 kB / 1.051 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003263/3.853, allocations: 14.75 kB / 1.051 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001227/3.854, allocations: 72.44 kB / 1.051 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001846/3.854, allocations: 55.98 kB / 1.051 GB, free: 44.73 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001097/3.854, allocations: 34 kB / 1.051 GB, free: 44.73 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001218/3.855, allocations: 0.5791 MB / 1.051 GB, free: 44.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.81e-07/3.855, allocations: 0 / 1.051 GB, free: 44.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004966/3.86, allocations: 1.023 MB / 1.052 GB, free: 44.49 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.005864/3.866, allocations: 2.473 MB / 1.055 GB, free: 43.19 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004006/3.87, allocations: 1.339 MB / 1.056 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/3.87, allocations: 1.75 kB / 1.056 GB, free: 43.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009804/3.871, allocations: 315.7 kB / 1.056 GB, free: 43.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003897/3.875, allocations: 427 kB / 1.057 GB, free: 43.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007318/3.883, allocations: 1.941 MB / 1.059 GB, free: 42.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006394/3.883, allocations: 1.106 MB / 1.06 GB, free: 41.77 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003799/3.887, allocations: 0.8375 MB / 1.061 GB, free: 41.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/3.888, allocations: 426.1 kB / 1.061 GB, free: 41.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.493e-06/3.888, allocations: 3.906 kB / 1.061 GB, free: 41.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/4.004, allocations: 36.34 MB / 1.097 GB, free: 39.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002164/4.004, allocations: 250.1 kB / 1.097 GB, free: 39.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.363/8.367, allocations: 0 / 1.097 GB, free: 39.57 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