Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.365/2.365, allocations: 270 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.278e-05/4.282e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.148, allocations: 61.88 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.576/8.724, allocations: 2.777 GB / 3.178 GB, free: 70.37 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/8.725, allocations: 86.69 kB / 3.178 GB, free: 70.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.498/12.22, allocations: 0.6439 GB / 3.822 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.384e-06/12.22, allocations: 0 / 3.822 GB, free: 38.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001722/12.22, allocations: 43.05 kB / 3.822 GB, free: 38.82 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.01172/12.23, allocations: 2.438 MB / 3.824 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.67e-05/12.23, allocations: 8.719 kB / 3.824 GB, free: 37.48 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006722/12.24, allocations: 175.5 kB / 3.825 GB, free: 37.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0138/12.25, allocations: 0.961 MB / 3.826 GB, free: 37.22 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004349/12.25, allocations: 0.9938 MB / 3.826 GB, free: 36.65 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002905/12.25, allocations: 106.3 kB / 3.827 GB, free: 36.6 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000544/12.25, allocations: 119.2 kB / 3.827 GB, free: 36.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0373/12.29, allocations: 2.244 MB / 3.829 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-05/12.29, allocations: 7.469 kB / 3.829 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003787/12.29, allocations: 55.59 kB / 3.829 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-05/12.29, allocations: 34.48 kB / 3.829 GB, free: 35.51 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01946/12.31, allocations: 1.958 MB / 3.831 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03651/12.35, allocations: 10.34 MB / 3.841 GB, free: 26.65 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01008/12.36, allocations: 1.548 MB / 3.842 GB, free: 25.92 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/12.36, allocations: 420.6 kB / 3.843 GB, free: 25.73 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07223/12.43, allocations: 24.01 MB / 3.866 GB, free: 15.61 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.68e-05/12.43, allocations: 51.28 kB / 3.866 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=80): time 3.386e-06/12.43, allocations: 0 / 3.866 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of matching and sorting (n=80): time 0.01125/12.44, allocations: 2.309 MB / 3.869 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001762/12.44, allocations: 273.8 kB / 3.869 GB, free: 12.9 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002311/12.45, allocations: 0.9768 MB / 3.87 GB, free: 11.92 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002973/12.45, allocations: 45.7 kB / 3.87 GB, free: 11.87 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007692/12.45, allocations: 0.6173 MB / 3.871 GB, free: 11.25 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005021/12.45, allocations: 274.9 kB / 3.871 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/12.45, allocations: 24 kB / 3.871 GB, free: 10.96 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001912/12.45, allocations: 349.9 kB / 3.871 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001135/12.45, allocations: 342.6 kB / 3.871 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/12.45, allocations: 0.7708 MB / 3.872 GB, free: 9.309 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001344/12.45, allocations: 438.3 kB / 3.873 GB, free: 8.895 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.437e-05/12.45, allocations: 8 kB / 3.873 GB, free: 8.887 MB / 0.5573 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.004198/12.46, allocations: 1.203 MB / 3.874 GB, free: 7.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.003567/12.46, allocations: 4.906 MB / 3.879 GB, free: 2.434 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.199e-05/12.46, allocations: 16 kB / 3.879 GB, free: 2.418 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001007/12.46, allocations: 20 kB / 3.879 GB, free: 2.398 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004477/12.46, allocations: 359.5 kB / 3.879 GB, free: 2.047 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001171/12.46, allocations: 27.94 kB / 3.879 GB, free: 2.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004563/12.47, allocations: 277.9 kB / 3.879 GB, free: 1.75 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005244/12.47, allocations: 71.98 kB / 3.879 GB, free: 1.68 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.566e-05/12.47, allocations: 7.953 kB / 3.879 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00537/12.48, allocations: 1.037 MB / 3.88 GB, free: 0.6406 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-05/12.48, allocations: 12.08 kB / 3.88 GB, free: 0.6289 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.686e-05/12.48, allocations: 24.16 kB / 3.88 GB, free: 0.6055 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004175/12.48, allocations: 359.5 kB / 3.881 GB, free: 260 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.544e-05/12.48, allocations: 27.91 kB / 3.881 GB, free: 232 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4427/12.92, allocations: 233 kB / 3.881 GB, free: 62.06 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000489/12.92, allocations: 67.83 kB / 3.881 GB, free: 62.06 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * Number of states: 0 () * Number of discrete variables: 16 (SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase,V4.state_b.phase,V4.state_a.phase,V3.state_b.phase,V3.state_a.phase,V2.state_b.phase,V2.state_a.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (143): * Single equations (assignments): 143 * 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.000523/12.92, allocations: 188.3 kB / 3.881 GB, free: 61.95 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000528/12.92, allocations: 141.2 kB / 3.881 GB, free: 61.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0116/12.94, allocations: 6.4 MB / 3.888 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001516/12.94, allocations: 91.09 kB / 3.888 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/12.94, allocations: 3.375 kB / 3.888 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.636e-05/12.94, allocations: 9.312 kB / 3.888 GB, free: 61.36 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006862/12.94, allocations: 3.259 MB / 3.891 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.893e-05/12.94, allocations: 0 / 3.891 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002093/12.95, allocations: 275 kB / 3.891 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.766e-05/12.95, allocations: 5.375 kB / 3.891 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001078/12.95, allocations: 24.67 kB / 3.891 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.158e-05/12.95, allocations: 4.469 kB / 3.891 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/12.95, allocations: 1.125 kB / 3.891 GB, free: 61 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00513/12.95, allocations: 2.735 MB / 3.894 GB, free: 60.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002057/12.95, allocations: 0.9009 MB / 3.895 GB, free: 60.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005259/12.95, allocations: 20.19 kB / 3.895 GB, free: 60.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002219/12.96, allocations: 141.6 kB / 3.895 GB, free: 60.14 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003353/12.96, allocations: 99.55 kB / 3.895 GB, free: 60.13 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001219/12.96, allocations: 38.77 kB / 3.895 GB, free: 60.13 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003454/12.96, allocations: 1.561 MB / 3.897 GB, free: 59.97 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7.22e-07/12.96, allocations: 0 / 3.897 GB, free: 59.97 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01144/12.97, allocations: 1.836 MB / 3.898 GB, free: 59.89 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 ($cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse40.phase,$cse40.region,$cse44.phase,$cse44.region,$cse47.phase,$cse47.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.phase,$cse51.region,$cse54.phase,$cse54.region,SourceP1.medium.phase,SinkP1.medium.phase,SourceP2.medium.phase,SinkP2.medium.phase,SourceP3.medium.phase,SinkP3.medium.phase,SourceP4.medium.phase,SinkP4.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 88 * 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.0168/12.99, allocations: 5.171 MB / 3.903 GB, free: 58.79 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005335/12.99, allocations: 2.17 MB / 3.906 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.695e-06/12.99, allocations: 3.812 kB / 3.906 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/13, allocations: 1.338 MB / 3.907 GB, free: 58.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00779/13, allocations: 0.7926 MB / 3.908 GB, free: 58.72 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01452/13.02, allocations: 4.853 MB / 3.912 GB, free: 57.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001442/13.02, allocations: 1.861 MB / 3.914 GB, free: 56.93 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.005768/13.02, allocations: 2.176 MB / 3.916 GB, free: 56.88 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001972/13.03, allocations: 1.088 MB / 3.917 GB, free: 56.87 MB / 0.5573 GB Notification: Performance of SimCode: time 1.663e-06/13.03, allocations: 1.969 kB / 3.917 GB, free: 56.87 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2526/13.28, allocations: 95.79 MB / 4.011 GB, free: 52.28 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002257/13.28, allocations: 208.3 kB / 4.011 GB, free: 52.06 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.289/20.57, allocations: 7.375 kB / 4.011 GB, free: 52.06 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients_res.mat does not exist to compare? outputFormat=mat