Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValvesIncompressibleReverse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.39/2.39, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.617e-05/3.62e-05, allocations: 0 / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4125/0.4126, allocations: 54.86 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7169/1.13, allocations: 215.4 MB / 0.5618 GB, free: 99.66 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002633/1.13, allocations: 86.78 kB / 0.5619 GB, free: 99.66 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.632/3.762, allocations: 0.5087 GB / 1.071 GB, free: 25.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.914e-06/3.762, allocations: 0 / 1.071 GB, free: 25.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001023/3.762, allocations: 31.98 kB / 1.071 GB, free: 25.2 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.006517/3.769, allocations: 1.905 MB / 1.072 GB, free: 23.24 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.793e-05/3.769, allocations: 8.031 kB / 1.072 GB, free: 23.23 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003003/3.769, allocations: 135.1 kB / 1.073 GB, free: 23.09 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004536/3.774, allocations: 358 kB / 1.073 GB, free: 22.74 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002846/3.777, allocations: 0.8983 MB / 1.074 GB, free: 21.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.135e-05/3.777, allocations: 65.94 kB / 1.074 GB, free: 21.74 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/3.777, allocations: 80 kB / 1.074 GB, free: 21.66 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003681/3.781, allocations: 1.134 MB / 1.075 GB, free: 20.44 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.28e-05/3.781, allocations: 0 / 1.075 GB, free: 20.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001747/3.781, allocations: 36 kB / 1.075 GB, free: 20.41 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.144e-05/3.781, allocations: 20 kB / 1.075 GB, free: 20.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00322/3.784, allocations: 0.8198 MB / 1.076 GB, free: 19.57 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/3.795, allocations: 6.272 MB / 1.082 GB, free: 12.74 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/3.797, allocations: 484 kB / 1.083 GB, free: 12.26 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005809/3.798, allocations: 226.1 kB / 1.083 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005888/3.798, allocations: 0.764 MB / 1.083 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.996e-05/3.798, allocations: 38.95 kB / 1.084 GB, free: 11.06 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001151/3.799, allocations: 107.2 kB / 1.084 GB, free: 10.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=48): time 4.508e-06/3.799, allocations: 0 / 1.084 GB, free: 10.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=48): time 0.003907/3.803, allocations: 0.6987 MB / 1.084 GB, free: 10.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.181e-05/3.803, allocations: 184.4 kB / 1.084 GB, free: 10.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001458/3.805, allocations: 0.7458 MB / 1.085 GB, free: 9.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002052/3.805, allocations: 41.7 kB / 1.085 GB, free: 9.207 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004751/3.806, allocations: 0.6068 MB / 1.086 GB, free: 8.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/3.806, allocations: 169.6 kB / 1.086 GB, free: 8.422 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/3.806, allocations: 20 kB / 1.086 GB, free: 8.402 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.261e-05/3.806, allocations: 341.9 kB / 1.086 GB, free: 8.062 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008241/3.807, allocations: 265.9 kB / 1.087 GB, free: 7.805 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000927/3.808, allocations: 0.6051 MB / 1.087 GB, free: 7.031 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008953/3.809, allocations: 359 kB / 1.088 GB, free: 6.68 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.075e-05/3.809, allocations: 4 kB / 1.088 GB, free: 6.676 MB / 490.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003098/3.812, allocations: 1.061 MB / 1.089 GB, free: 5.605 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008667/3.813, allocations: 4.188 MB / 1.093 GB, free: 1.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.472e-05/3.813, allocations: 12 kB / 1.093 GB, free: 1.078 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009564/3.823, allocations: 0.7537 MB / 1.093 GB, free: 328 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00197/3.825, allocations: 295.5 kB / 1.094 GB, free: 32 kB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4504/4.275, allocations: 0.7683 MB / 1.094 GB, free: 66.72 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003054/4.278, allocations: 104.5 kB / 1.095 GB, free: 66.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004091/4.279, allocations: 77.7 kB / 1.095 GB, free: 66.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.22e-05/4.279, allocations: 4.938 kB / 1.095 GB, free: 66.72 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004511/4.283, allocations: 0.8997 MB / 1.095 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.362e-05/4.283, allocations: 10.72 kB / 1.095 GB, free: 66.71 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000731/4.284, allocations: 89.97 kB / 1.096 GB, free: 66.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/4.287, allocations: 305.2 kB / 1.096 GB, free: 66.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003301/4.29, allocations: 1.645 MB / 1.097 GB, free: 65.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/4.293, allocations: 93.36 kB / 1.098 GB, free: 65.39 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006458/4.294, allocations: 75.73 kB / 1.098 GB, free: 65.39 MB / 490.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.0006411/4.294, allocations: 157.5 kB / 1.098 GB, free: 65.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/4.295, allocations: 108.4 kB / 1.098 GB, free: 65.28 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00564/4.301, allocations: 1.492 MB / 1.099 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.372e-05/4.301, allocations: 7.938 kB / 1.099 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/4.301, allocations: 0 / 1.099 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/4.301, allocations: 3.656 kB / 1.099 GB, free: 65.2 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004301/4.306, allocations: 1.647 MB / 1.101 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.976e-06/4.306, allocations: 2.062 kB / 1.101 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000962/4.307, allocations: 130.2 kB / 1.101 GB, free: 64.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005015/4.312, allocations: 0.5759 MB / 1.102 GB, free: 64.83 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001577/4.312, allocations: 22.98 kB / 1.102 GB, free: 64.83 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/4.313, allocations: 0.8022 MB / 1.102 GB, free: 64.31 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/4.313, allocations: 1.219 kB / 1.102 GB, free: 64.31 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/4.315, allocations: 0.8976 MB / 1.103 GB, free: 63.98 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/4.316, allocations: 310.7 kB / 1.104 GB, free: 63.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002516/4.316, allocations: 15.58 kB / 1.104 GB, free: 63.82 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/4.318, allocations: 69.81 kB / 1.104 GB, free: 63.82 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/4.318, allocations: 64.36 kB / 1.104 GB, free: 63.82 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/4.318, allocations: 25.98 kB / 1.104 GB, free: 63.82 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002115/4.32, allocations: 0.5782 MB / 1.104 GB, free: 63.71 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.71e-07/4.32, allocations: 0 / 1.104 GB, free: 63.71 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00855/4.329, allocations: 1.028 MB / 1.105 GB, free: 63.68 MB / 490.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.006865/4.336, allocations: 2.494 MB / 1.108 GB, free: 62.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004386/4.34, allocations: 1.285 MB / 1.109 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.656e-06/4.34, allocations: 0 / 1.109 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/4.341, allocations: 311 kB / 1.109 GB, free: 62.36 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004011/4.345, allocations: 420.5 kB / 1.11 GB, free: 62.34 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007935/4.353, allocations: 1.947 MB / 1.112 GB, free: 61.89 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008188/4.354, allocations: 1.102 MB / 1.113 GB, free: 61.19 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004309/4.358, allocations: 0.8344 MB / 1.114 GB, free: 61.14 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/4.36, allocations: 432.3 kB / 1.114 GB, free: 61.14 MB / 490.7 MB Notification: Performance of SimCode: time 1.402e-06/4.36, allocations: 0 / 1.114 GB, free: 61.14 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09867/4.458, allocations: 36.38 MB / 1.15 GB, free: 60.01 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002294/4.459, allocations: 252.5 kB / 1.15 GB, free: 59.68 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.58/9.038, allocations: 0 / 1.15 GB, free: 59.68 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse_res.mat does not exist to compare? outputFormat=mat