Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCoefficients,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_TestComponents_Valves_TestValveCoefficients",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.454/2.454, allocations: 270 MB / 282.6 MB, free: 1.914 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.962e-05/3.973e-05, allocations: 4 kB / 347.1 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.433/0.4331, allocations: 61.88 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.789/9.223, allocations: 2.777 GB / 3.177 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003078/9.223, allocations: 87.44 kB / 3.177 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.603/12.83, allocations: 0.6439 GB / 3.821 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.206e-06/12.83, allocations: 4.25 kB / 3.821 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001952/12.83, allocations: 42.98 kB / 3.821 GB, free: 46.91 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.01476/12.84, allocations: 2.437 MB / 3.823 GB, free: 45.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.5e-05/12.84, allocations: 12.88 kB / 3.823 GB, free: 45.76 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006706/12.84, allocations: 175 kB / 3.823 GB, free: 45.71 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01807/12.86, allocations: 0.9574 MB / 3.824 GB, free: 45.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004359/12.86, allocations: 0.9977 MB / 3.825 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000242/12.87, allocations: 108.9 kB / 3.825 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004355/12.87, allocations: 114.2 kB / 3.825 GB, free: 45.27 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/12.88, allocations: 2.253 MB / 3.827 GB, free: 44.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.616e-05/12.88, allocations: 7.812 kB / 3.827 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003716/12.88, allocations: 55.84 kB / 3.828 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/12.88, allocations: 34.16 kB / 3.828 GB, free: 44.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01133/12.89, allocations: 1.957 MB / 3.829 GB, free: 44.77 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.022/12.91, allocations: 10.33 MB / 3.84 GB, free: 37.75 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006285/12.92, allocations: 1.543 MB / 3.841 GB, free: 37.71 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/12.92, allocations: 421.4 kB / 3.841 GB, free: 37.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07624/12.99, allocations: 24.01 MB / 3.865 GB, free: 22.48 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.893e-05/12.99, allocations: 42.09 kB / 3.865 GB, free: 22.44 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=80): time 4.197e-06/12.99, allocations: 4 kB / 3.865 GB, free: 22.44 MB / 0.5417 GB Notification: Performance of matching and sorting (n=80): time 0.01071/13.01, allocations: 2.309 MB / 3.867 GB, free: 22.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/13.01, allocations: 271.7 kB / 3.868 GB, free: 21.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/13.01, allocations: 0.9803 MB / 3.868 GB, free: 21.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0002826/13.01, allocations: 45.55 kB / 3.869 GB, free: 21.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004679/13.01, allocations: 0.6025 MB / 3.869 GB, free: 20.92 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003266/13.01, allocations: 278.2 kB / 3.869 GB, free: 20.71 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/13.01, allocations: 19.78 kB / 3.869 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001074/13.01, allocations: 350.9 kB / 3.87 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00095/13.01, allocations: 346.3 kB / 3.87 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/13.01, allocations: 0.7676 MB / 3.871 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/13.01, allocations: 430.7 kB / 3.871 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/13.01, allocations: 3.406 kB / 3.871 GB, free: 19.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=143) (initialization): time 0.003155/13.02, allocations: 1.125 MB / 3.872 GB, free: 18.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002061/13.02, allocations: 4.888 MB / 3.877 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.054e-05/13.02, allocations: 11.56 kB / 3.877 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.638e-05/13.02, allocations: 22.11 kB / 3.877 GB, free: 29.73 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/13.02, allocations: 356.1 kB / 3.877 GB, free: 29.69 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-05/13.02, allocations: 26.52 kB / 3.877 GB, free: 29.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002993/13.02, allocations: 280.2 kB / 3.878 GB, free: 29.56 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002929/13.02, allocations: 70.78 kB / 3.878 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/13.02, allocations: 4.656 kB / 3.878 GB, free: 29.55 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002972/13.03, allocations: 1.037 MB / 3.879 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/13.03, allocations: 15.02 kB / 3.879 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.357e-05/13.03, allocations: 21.88 kB / 3.879 GB, free: 29.16 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002416/13.03, allocations: 357.3 kB / 3.879 GB, free: 29.12 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.435e-05/13.03, allocations: 26.83 kB / 3.879 GB, free: 29.11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002071/13.03, allocations: 203.3 kB / 3.879 GB, free: 29.04 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001887/13.03, allocations: 69.09 kB / 3.879 GB, free: 29.03 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.0005317/13.03, allocations: 188.1 kB / 3.88 GB, free: 28.86 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004922/13.03, allocations: 136.1 kB / 3.88 GB, free: 28.8 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009484/13.04, allocations: 6.41 MB / 3.886 GB, free: 25.72 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/13.04, allocations: 84.58 kB / 3.886 GB, free: 25.7 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.116e-05/13.04, allocations: 4 kB / 3.886 GB, free: 25.7 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/13.04, allocations: 3.609 kB / 3.886 GB, free: 25.7 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/13.05, allocations: 3.255 MB / 3.889 GB, free: 24.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.368e-05/13.05, allocations: 0 / 3.889 GB, free: 24.15 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001969/13.05, allocations: 279 kB / 3.89 GB, free: 24.12 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/13.05, allocations: 3.938 kB / 3.89 GB, free: 24.12 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001107/13.05, allocations: 27.3 kB / 3.89 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.055e-05/13.05, allocations: 7.891 kB / 3.89 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/13.05, allocations: 0 / 3.89 GB, free: 24.11 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00453/13.05, allocations: 2.736 MB / 3.892 GB, free: 22.81 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00201/13.06, allocations: 0.9015 MB / 3.893 GB, free: 22.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006083/13.06, allocations: 23.91 kB / 3.893 GB, free: 22.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002339/13.06, allocations: 135.8 kB / 3.893 GB, free: 22.17 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003134/13.06, allocations: 106.5 kB / 3.893 GB, free: 22.15 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/13.06, allocations: 41.7 kB / 3.893 GB, free: 22.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.003267/13.06, allocations: 1.556 MB / 3.895 GB, free: 21.52 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.062e-06/13.06, allocations: 0 / 3.895 GB, free: 21.52 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009474/13.07, allocations: 1.848 MB / 3.897 GB, free: 19.78 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.01618/13.09, allocations: 5.169 MB / 3.902 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00486/13.09, allocations: 2.132 MB / 3.904 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/13.09, allocations: 4.062 kB / 3.904 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002577/13.1, allocations: 1.332 MB / 3.905 GB, free: 12.03 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007878/13.1, allocations: 0.8049 MB / 3.906 GB, free: 11.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01602/13.12, allocations: 4.895 MB / 3.911 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/13.12, allocations: 1.855 MB / 3.913 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002251/13.13, allocations: 1.112 MB / 3.914 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of SimCode: time 1.904e-06/13.13, allocations: 0 / 3.914 GB, free: 4.504 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.656/17.78, allocations: 62.2 MB / 3.974 GB, free: 71.52 MB / 0.573 GB