Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.456/2.456, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.712e-05/2.737e-05, allocations: 4 kB / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3947/0.3947, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.97/8.365, allocations: 2.607 GB / 2.953 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/8.365, allocations: 80.02 kB / 2.953 GB, free: 107.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.803/12.17, allocations: 0.6264 GB / 3.58 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.355e-06/12.17, allocations: 0 / 3.58 GB, free: 40.29 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001709/12.17, allocations: 42.81 kB / 3.58 GB, free: 40.28 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.012/12.18, allocations: 2.454 MB / 3.582 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/12.18, allocations: 7.375 kB / 3.582 GB, free: 39.2 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01157/12.19, allocations: 0.9526 MB / 3.583 GB, free: 39.12 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003699/12.2, allocations: 1.046 MB / 3.584 GB, free: 38.79 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/12.2, allocations: 57.42 kB / 3.584 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00037/12.2, allocations: 68.38 kB / 3.584 GB, free: 38.78 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003675/12.2, allocations: 1.208 MB / 3.586 GB, free: 38.77 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00388/12.2, allocations: 1.42 MB / 3.587 GB, free: 38.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.867e-05/12.2, allocations: 13.88 kB / 3.587 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002706/12.2, allocations: 5.625 kB / 3.587 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.869e-05/12.2, allocations: 32.91 kB / 3.587 GB, free: 38.33 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.462/13.67, allocations: 265.7 MB / 3.847 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001347/13.67, allocations: 0.5294 MB / 3.847 GB, free: 21.26 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/13.67, allocations: 252.7 kB / 3.847 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06888/13.74, allocations: 20.23 MB / 3.867 GB, free: 25.33 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/13.74, allocations: 43.09 kB / 3.867 GB, free: 25.29 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=23): time 3.997e-06/13.74, allocations: 1.094 kB / 3.867 GB, free: 25.29 MB / 0.5573 GB Notification: Performance of matching and sorting (n=23): time 0.00769/13.75, allocations: 1.363 MB / 3.868 GB, free: 25.21 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/13.75, allocations: 263.1 kB / 3.869 GB, free: 24.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/13.75, allocations: 0.9999 MB / 3.87 GB, free: 24.73 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/13.75, allocations: 29.52 kB / 3.87 GB, free: 24.7 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007741/13.75, allocations: 0.8532 MB / 3.87 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/13.75, allocations: 102.6 kB / 3.871 GB, free: 24.29 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/13.75, allocations: 0 / 3.871 GB, free: 24.29 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001836/13.75, allocations: 352.7 kB / 3.871 GB, free: 23.98 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007756/13.75, allocations: 311.7 kB / 3.871 GB, free: 23.98 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001038/13.75, allocations: 0.8602 MB / 3.872 GB, free: 23.27 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004658/13.76, allocations: 0.7364 MB / 3.873 GB, free: 23.25 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-05/13.76, allocations: 11.47 kB / 3.873 GB, free: 23.24 MB / 0.5573 GB Notification: Performance of matching and sorting (n=165) (initialization): time 0.007304/13.76, allocations: 1.492 MB / 3.874 GB, free: 23.13 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00306/13.77, allocations: 6.884 MB / 3.881 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.096e-05/13.77, allocations: 18.91 kB / 3.881 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.71e-05/13.77, allocations: 28.03 kB / 3.881 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002725/13.77, allocations: 388.5 kB / 3.881 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.991e-05/13.77, allocations: 39.56 kB / 3.881 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/13.77, allocations: 360.4 kB / 3.882 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003897/13.77, allocations: 81.14 kB / 3.882 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/13.77, allocations: 3.969 kB / 3.882 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005639/13.78, allocations: 1.226 MB / 3.883 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.787e-05/13.78, allocations: 23.17 kB / 3.883 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.051e-05/13.78, allocations: 25.5 kB / 3.883 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/13.78, allocations: 392.5 kB / 3.883 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.125e-05/13.78, allocations: 35.27 kB / 3.883 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002919/13.79, allocations: 232.9 kB / 3.884 GB, free: 15.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003831/13.79, allocations: 82.75 kB / 3.884 GB, free: 15.77 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004654/13.79, allocations: 164.5 kB / 3.884 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003936/13.79, allocations: 0.5821 MB / 3.885 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002665/13.79, allocations: 121.1 kB / 3.885 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/13.79, allocations: 1.011 MB / 3.886 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/13.79, allocations: 3.781 kB / 3.886 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/13.79, allocations: 0 / 3.886 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/13.79, allocations: 4.078 kB / 3.886 GB, free: 15.32 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002292/13.8, allocations: 0.9414 MB / 3.887 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/13.8, allocations: 2.062 kB / 3.887 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005705/13.8, allocations: 67.91 kB / 3.887 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/13.8, allocations: 2.75 kB / 3.887 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.77e-05/13.8, allocations: 9 kB / 3.887 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/13.8, allocations: 0 / 3.887 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/13.8, allocations: 0 / 3.887 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/13.8, allocations: 458.7 kB / 3.887 GB, free: 14.94 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00108/13.8, allocations: 410.1 kB / 3.887 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004908/13.8, allocations: 6.109 kB / 3.887 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00149/13.8, allocations: 84.03 kB / 3.888 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/13.8, allocations: 18.34 kB / 3.888 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/13.8, allocations: 7 kB / 3.888 GB, free: 14.73 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002342/13.8, allocations: 1.064 MB / 3.889 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.402e-06/13.8, allocations: 0 / 3.889 GB, free: 14.62 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009744/13.81, allocations: 1.698 MB / 3.89 GB, free: 13.14 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 24 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01434/13.83, allocations: 3.013 MB / 3.893 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003323/13.83, allocations: 1.212 MB / 3.894 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.829e-06/13.83, allocations: 8.062 kB / 3.894 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002369/13.83, allocations: 87.42 kB / 3.894 GB, free: 10.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003739/13.84, allocations: 379.2 kB / 3.895 GB, free: 9.906 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009864/13.85, allocations: 2.023 MB / 3.897 GB, free: 8.227 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009668/13.85, allocations: 1.243 MB / 3.898 GB, free: 7.184 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007222/13.85, allocations: 2.837 MB / 3.901 GB, free: 5.578 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/13.86, allocations: 0.5654 MB / 3.901 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of SimCode: time 1.512e-06/13.86, allocations: 0 / 3.901 GB, free: 5.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5995/14.46, allocations: 55.89 MB / 3.956 GB, free: 97.5 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002787/14.46, allocations: 191.1 kB / 3.956 GB, free: 97.31 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.931/19.39, allocations: 0 / 3.956 GB, free: 97.31 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat