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.357/2.357, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.828e-05/2.828e-05, allocations: 4 kB / 299.5 MB, free: 6.469 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3845, allocations: 54.85 MB / 354.3 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8089/1.193, allocations: 214.7 MB / 0.5557 GB, free: 56.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000397/1.194, allocations: 87.2 kB / 0.5558 GB, free: 56.56 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.095/4.289, allocations: 0.504 GB / 1.06 GB, free: 65.53 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.685e-06/4.289, allocations: 1.312 kB / 1.06 GB, free: 65.53 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001691/4.289, allocations: 35.69 kB / 1.06 GB, free: 65.53 MB / 474.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.007332/4.296, allocations: 1.9 MB / 1.062 GB, free: 64.92 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/4.297, allocations: 14.53 kB / 1.062 GB, free: 64.92 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004856/4.301, allocations: 350.6 kB / 1.062 GB, free: 64.85 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003004/4.304, allocations: 0.8938 MB / 1.063 GB, free: 64.58 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.311e-05/4.305, allocations: 28.69 kB / 1.063 GB, free: 64.58 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002876/4.305, allocations: 48.09 kB / 1.063 GB, free: 64.58 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00222/4.307, allocations: 0.7163 MB / 1.064 GB, free: 64.58 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/4.31, allocations: 0.9415 MB / 1.065 GB, free: 64.32 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.715e-05/4.31, allocations: 3.438 kB / 1.065 GB, free: 64.32 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002002/4.31, allocations: 3.094 kB / 1.065 GB, free: 64.32 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/4.31, allocations: 20.41 kB / 1.065 GB, free: 64.32 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/4.321, allocations: 6.125 MB / 1.071 GB, free: 60.15 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/4.322, allocations: 452.6 kB / 1.071 GB, free: 60.12 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005403/4.323, allocations: 219.1 kB / 1.071 GB, free: 60.12 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/4.323, allocations: 0.767 MB / 1.072 GB, free: 59.27 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.073e-05/4.323, allocations: 42.19 kB / 1.072 GB, free: 59.23 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001117/4.325, allocations: 100.6 kB / 1.072 GB, free: 59.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=48): time 6.462e-06/4.325, allocations: 3.609 kB / 1.072 GB, free: 59.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=48): time 0.008027/4.333, allocations: 1.084 MB / 1.073 GB, free: 59.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/4.333, allocations: 184 kB / 1.073 GB, free: 58.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/4.334, allocations: 0.6896 MB / 1.074 GB, free: 58.75 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001781/4.334, allocations: 25.7 kB / 1.074 GB, free: 58.72 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004527/4.335, allocations: 0.6066 MB / 1.075 GB, free: 58.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002137/4.335, allocations: 167 kB / 1.075 GB, free: 58.4 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.796e-05/4.335, allocations: 0 / 1.075 GB, free: 58.4 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.781e-05/4.335, allocations: 345.5 kB / 1.075 GB, free: 58.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006321/4.336, allocations: 255.6 kB / 1.075 GB, free: 58.09 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000806/4.337, allocations: 0.6011 MB / 1.076 GB, free: 57.66 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/4.347, allocations: 1.502 MB / 1.077 GB, free: 57.65 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.228e-05/4.347, allocations: 3.594 kB / 1.077 GB, free: 57.65 MB / 474.7 MB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01265/4.36, allocations: 2.183 MB / 1.08 GB, free: 57.54 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009495/4.361, allocations: 4.179 MB / 1.084 GB, free: 53.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.568e-05/4.361, allocations: 14.36 kB / 1.084 GB, free: 53.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004361/4.365, allocations: 416.2 kB / 1.084 GB, free: 53.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001952/4.367, allocations: 291.9 kB / 1.084 GB, free: 53.19 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002959/4.37, allocations: 0.9452 MB / 1.085 GB, free: 52.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002143/4.373, allocations: 87.95 kB / 1.085 GB, free: 52.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003321/4.373, allocations: 80.81 kB / 1.085 GB, free: 52.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/4.373, allocations: 4.594 kB / 1.085 GB, free: 52.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01001/4.383, allocations: 1.818 MB / 1.087 GB, free: 52.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/4.383, allocations: 8.375 kB / 1.087 GB, free: 52.63 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004534/4.384, allocations: 81.09 kB / 1.087 GB, free: 52.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001915/4.386, allocations: 309 kB / 1.088 GB, free: 52.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002048/4.388, allocations: 1.591 MB / 1.089 GB, free: 51.34 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001697/4.389, allocations: 76.11 kB / 1.089 GB, free: 51.34 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002153/4.39, allocations: 72.27 kB / 1.089 GB, free: 51.34 MB / 474.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.0003456/4.39, allocations: 133.9 kB / 1.089 GB, free: 51.23 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01019/4.4, allocations: 1.655 MB / 1.091 GB, free: 51.13 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/4.4, allocations: 103.2 kB / 1.091 GB, free: 51.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007302/4.408, allocations: 1.751 MB / 1.093 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/4.408, allocations: 15.52 kB / 1.093 GB, free: 50.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/4.408, allocations: 3.938 kB / 1.093 GB, free: 50.95 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/4.408, allocations: 3.844 kB / 1.093 GB, free: 50.95 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008467/4.416, allocations: 1.792 MB / 1.095 GB, free: 50.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/4.416, allocations: 3.781 kB / 1.095 GB, free: 50.62 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/4.418, allocations: 130.8 kB / 1.095 GB, free: 50.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002273/4.42, allocations: 295.9 kB / 1.095 GB, free: 50.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001226/4.42, allocations: 15.86 kB / 1.095 GB, free: 50.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002703/4.423, allocations: 0.9084 MB / 1.096 GB, free: 50.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/4.423, allocations: 2.438 kB / 1.096 GB, free: 50.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006556/4.429, allocations: 1.167 MB / 1.097 GB, free: 49.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/4.43, allocations: 309.2 kB / 1.097 GB, free: 49.59 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004895/4.431, allocations: 7.484 kB / 1.097 GB, free: 49.58 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001727/4.433, allocations: 58.42 kB / 1.097 GB, free: 49.58 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002481/4.433, allocations: 53.38 kB / 1.097 GB, free: 49.58 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/4.433, allocations: 31.39 kB / 1.098 GB, free: 49.58 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001367/4.435, allocations: 0.5239 MB / 1.098 GB, free: 49.47 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.92e-07/4.435, allocations: 2.156 kB / 1.098 GB, free: 49.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006896/4.442, allocations: 0.9816 MB / 1.099 GB, free: 49.35 MB / 474.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.0115/4.453, allocations: 2.734 MB / 1.102 GB, free: 48.04 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004709/4.458, allocations: 1.246 MB / 1.103 GB, free: 47.88 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/4.458, allocations: 0 / 1.103 GB, free: 47.88 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001173/4.459, allocations: 298.9 kB / 1.103 GB, free: 47.87 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004984/4.464, allocations: 407.4 kB / 1.104 GB, free: 47.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00894/4.473, allocations: 1.879 MB / 1.105 GB, free: 47.29 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001599/4.475, allocations: 1.102 MB / 1.106 GB, free: 62.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004767/4.48, allocations: 0.829 MB / 1.107 GB, free: 62.49 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001193/4.481, allocations: 438.7 kB / 1.108 GB, free: 62.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.092e-06/4.481, allocations: 0 / 1.108 GB, free: 62.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1307/4.612, allocations: 34.3 MB / 1.141 GB, free: 57.31 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/4.612, allocations: 207.6 kB / 1.141 GB, free: 57.04 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.366/8.978, allocations: 0 / 1.141 GB, free: 57.04 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