Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.417/2.417, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.891e-05/5.902e-05, allocations: 7.234 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1655, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.962/9.127, allocations: 2.778 GB / 3.179 GB, free: 68.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/9.128, allocations: 84.98 kB / 3.179 GB, free: 68.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.653/12.78, allocations: 0.6442 GB / 3.823 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.924e-06/12.78, allocations: 0 / 3.823 GB, free: 37.67 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001458/12.78, allocations: 39.73 kB / 3.823 GB, free: 37.66 MB / 0.5417 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.01141/12.79, allocations: 2.444 MB / 3.825 GB, free: 36.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/12.79, allocations: 14.16 kB / 3.825 GB, free: 36.34 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005905/12.79, allocations: 172.4 kB / 3.825 GB, free: 36.22 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01143/12.8, allocations: 0.9582 MB / 3.826 GB, free: 36.07 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003263/12.81, allocations: 1.003 MB / 3.827 GB, free: 35.5 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000181/12.81, allocations: 106.2 kB / 3.827 GB, free: 35.45 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004281/12.81, allocations: 111.4 kB / 3.828 GB, free: 35.41 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009608/12.82, allocations: 2.246 MB / 3.83 GB, free: 34.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.474e-05/12.82, allocations: 9.312 kB / 3.83 GB, free: 34.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002716/12.82, allocations: 58.06 kB / 3.83 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.715e-05/12.82, allocations: 32.62 kB / 3.83 GB, free: 34.36 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/12.83, allocations: 1.956 MB / 3.832 GB, free: 33.8 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02036/12.85, allocations: 10.01 MB / 3.842 GB, free: 25.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006213/12.86, allocations: 1.573 MB / 3.843 GB, free: 24.62 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/12.86, allocations: 447.9 kB / 3.843 GB, free: 24.42 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07994/12.94, allocations: 26.08 MB / 3.869 GB, free: 11.71 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.525e-05/12.94, allocations: 57.27 kB / 3.869 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=88): time 3.366e-06/12.94, allocations: 4 kB / 3.869 GB, free: 11.65 MB / 0.5573 GB Notification: Performance of matching and sorting (n=88): time 0.01314/12.95, allocations: 2.348 MB / 3.871 GB, free: 9.293 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001745/12.95, allocations: 265.8 kB / 3.872 GB, free: 8.969 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002053/12.95, allocations: 0.9035 MB / 3.872 GB, free: 8.055 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002733/12.95, allocations: 49.7 kB / 3.872 GB, free: 8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.000716/12.96, allocations: 0.6115 MB / 3.873 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004624/12.96, allocations: 295.6 kB / 3.873 GB, free: 7.098 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/12.96, allocations: 20 kB / 3.873 GB, free: 7.078 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002111/12.96, allocations: 349.9 kB / 3.874 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001161/12.96, allocations: 338.6 kB / 3.874 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/12.96, allocations: 0.7382 MB / 3.875 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001369/12.96, allocations: 436 kB / 3.875 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-05/12.96, allocations: 7.938 kB / 3.875 GB, free: 5.055 MB / 0.5573 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.004028/12.96, allocations: 1.183 MB / 3.876 GB, free: 3.863 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.4505/13.42, allocations: 4.459 MB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.818e-05/13.42, allocations: 11.88 kB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.699e-05/13.42, allocations: 20.88 kB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003013/13.42, allocations: 354.8 kB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.529e-05/13.42, allocations: 24.23 kB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003075/13.42, allocations: 241.9 kB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004046/13.42, allocations: 67.05 kB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/13.42, allocations: 4.156 kB / 3.881 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003846/13.43, allocations: 1.026 MB / 3.882 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-05/13.43, allocations: 11.16 kB / 3.882 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.382e-05/13.43, allocations: 19.38 kB / 3.882 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/13.43, allocations: 356.4 kB / 3.883 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.848e-05/13.43, allocations: 26.33 kB / 3.883 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/13.43, allocations: 223.6 kB / 3.883 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000439/13.43, allocations: 68.02 kB / 3.883 GB, free: 60.94 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * 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 (141): * Single equations (assignments): 141 * 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.0005748/13.43, allocations: 185.4 kB / 3.883 GB, free: 60.83 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005702/13.43, allocations: 145.6 kB / 3.883 GB, free: 60.82 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/13.45, allocations: 6.464 MB / 3.89 GB, free: 60.15 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001513/13.45, allocations: 86.38 kB / 3.89 GB, free: 60.15 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/13.45, allocations: 6.625 kB / 3.89 GB, free: 60.15 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.597e-05/13.45, allocations: 5.484 kB / 3.89 GB, free: 60.15 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00758/13.45, allocations: 3.284 MB / 3.893 GB, free: 59.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.362e-05/13.45, allocations: 4.594 kB / 3.893 GB, free: 59.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002491/13.46, allocations: 316 kB / 3.893 GB, free: 59.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.799e-05/13.46, allocations: 4.688 kB / 3.893 GB, free: 59.73 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000202/13.46, allocations: 23.58 kB / 3.893 GB, free: 59.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/13.46, allocations: 7.875 kB / 3.893 GB, free: 59.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/13.46, allocations: 0 / 3.893 GB, free: 59.73 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006422/13.46, allocations: 2.786 MB / 3.896 GB, free: 59.27 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002667/13.47, allocations: 0.9008 MB / 3.897 GB, free: 58.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009325/13.47, allocations: 29.19 kB / 3.897 GB, free: 58.88 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00299/13.47, allocations: 145.4 kB / 3.897 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005306/13.47, allocations: 105.9 kB / 3.897 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001636/13.47, allocations: 46.17 kB / 3.897 GB, free: 58.87 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.005392/13.48, allocations: 1.504 MB / 3.899 GB, free: 58.71 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.91e-07/13.48, allocations: 1.312 kB / 3.899 GB, free: 58.71 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01185/13.49, allocations: 1.829 MB / 3.901 GB, free: 58.62 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: 56 ($cse3.phase,$cse3.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse29.phase,$cse29.region,$cse33.phase,$cse33.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse44.phase,$cse44.region,$cse45.phase,$cse45.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse51.phase,$cse51.region,$cse55.phase,$cse55.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * 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.01943/13.51, allocations: 5.232 MB / 3.906 GB, free: 57.52 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.006014/13.51, allocations: 2.181 MB / 3.908 GB, free: 57.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/13.51, allocations: 3.75 kB / 3.908 GB, free: 57.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002915/13.52, allocations: 1.367 MB / 3.909 GB, free: 57.47 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007961/13.53, allocations: 0.7936 MB / 3.91 GB, free: 57.44 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/13.54, allocations: 4.903 MB / 3.915 GB, free: 56.39 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001689/13.54, allocations: 1.864 MB / 3.916 GB, free: 55.64 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005844/13.55, allocations: 2.171 MB / 3.919 GB, free: 55.6 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/13.55, allocations: 1.095 MB / 3.92 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of SimCode: time 1.352e-06/13.55, allocations: 0 / 3.92 GB, free: 55.59 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2158/13.77, allocations: 95.58 MB / 4.013 GB, free: 49.3 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/13.77, allocations: 219.3 kB / 4.013 GB, free: 49.07 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.134/21.9, allocations: 0 / 4.013 GB, free: 49.07 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat