Running command: "" <> buildModelFMU(MEV.Test.TestSupplyValve,fileNamePrefix="MEV_MEV_Test_TestSupplyValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.041/2.041, allocations: 207.6 MB / 219.8 MB, free: 8.039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.108e-05/4.113e-05, allocations: 4 kB / 270.8 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.05 MB / 318.8 MB, free: 4.227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4256/0.529, allocations: 76.31 MB / 395.2 MB, free: 7.258 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002364/0.5293, allocations: 70.22 kB / 395.2 MB, free: 7.227 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01015/0.5395, allocations: 2.408 MB / 397.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.5395, allocations: 0 / 397.6 MB, free: 5.156 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.5395, allocations: 0 / 397.6 MB, free: 5.156 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005542/0.5401, allocations: 390.3 kB / 398 MB, free: 4.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.5402, allocations: 12.03 kB / 398 MB, free: 4.727 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.572e-05/0.5402, allocations: 34.38 kB / 398.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.5403, allocations: 11.91 kB / 398.1 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002743/0.5405, allocations: 203.2 kB / 398.3 MB, free: 4.441 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.5406, allocations: 4 kB / 398.3 MB, free: 4.438 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.5406, allocations: 11.83 kB / 398.3 MB, free: 4.43 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002105/0.5408, allocations: 76.8 kB / 398.4 MB, free: 4.367 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5409, allocations: 4 kB / 398.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5409, allocations: 0 / 398.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.5409, allocations: 0 / 398.4 MB, free: 4.363 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.5411, allocations: 51.03 kB / 398.4 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007742/0.5419, allocations: 399 kB / 398.8 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00055/0.5424, allocations: 54.3 kB / 398.9 MB, free: 3.883 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.339e-05/0.5425, allocations: 16.8 kB / 398.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.247e-05/0.5425, allocations: 0 / 398.9 MB, free: 3.867 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.5426, allocations: 42.44 kB / 398.9 MB, free: 3.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.765e-06/0.5426, allocations: 0 / 398.9 MB, free: 3.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002217/0.5428, allocations: 59.16 kB / 399 MB, free: 3.762 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/0.5429, allocations: 59.22 kB / 399 MB, free: 3.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5431, allocations: 160.3 kB / 399.2 MB, free: 3.547 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.5431, allocations: 25.7 kB / 399.2 MB, free: 3.516 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.11e-05/0.5432, allocations: 111.5 kB / 399.3 MB, free: 3.414 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-05/0.5433, allocations: 15.69 kB / 399.3 MB, free: 3.402 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5433, allocations: 4 kB / 399.3 MB, free: 3.398 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5434, allocations: 319.1 kB / 399.7 MB, free: 3.082 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.603e-05/0.5435, allocations: 15.75 kB / 399.7 MB, free: 3.074 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.417e-05/0.5435, allocations: 11.88 kB / 399.7 MB, free: 3.066 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.806e-05/0.5436, allocations: 11.81 kB / 399.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5436, allocations: 0 / 399.7 MB, free: 3.059 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001913/0.5438, allocations: 77.09 kB / 399.8 MB, free: 2.988 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.791e-05/0.5439, allocations: 104.3 kB / 399.9 MB, free: 2.887 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.5439, allocations: 5.016 kB / 399.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.5439, allocations: 0 / 399.9 MB, free: 2.883 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/0.5441, allocations: 15.98 kB / 399.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.5441, allocations: 0 / 399.9 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001231/0.5443, allocations: 11.84 kB / 399.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.28e-05/0.5443, allocations: 0 / 399.9 MB, free: 2.855 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/0.5443, allocations: 11.92 kB / 399.9 MB, free: 2.844 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001053/0.5444, allocations: 31.5 kB / 399.9 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-06/0.5444, allocations: 0 / 399.9 MB, free: 2.824 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-06/0.5444, allocations: 4 kB / 400 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001113/0.5446, allocations: 15.98 kB / 400 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.5446, allocations: 0 / 400 MB, free: 2.805 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.78e-05/0.5447, allocations: 4 kB / 400 MB, free: 2.801 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.5447, allocations: 3.938 kB / 400 MB, free: 2.801 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (6): * Single equations (assignments): 6 * 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 8.964e-05/0.5448, allocations: 108.9 kB / 400.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.5448, allocations: 11.81 kB / 400.1 MB, free: 2.676 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002053/0.5451, allocations: 74.09 kB / 400.2 MB, free: 2.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/0.5451, allocations: 8 kB / 400.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5451, allocations: 0 / 400.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.5451, allocations: 0 / 400.2 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.5456, allocations: 336.9 kB / 400.5 MB, free: 2.23 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/0.5456, allocations: 4 kB / 400.5 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.5457, allocations: 16.48 kB / 400.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.5458, allocations: 0 / 400.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.5458, allocations: 0 / 400.5 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5458, allocations: 4.031 kB / 400.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5458, allocations: 0 / 400.5 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.546, allocations: 181 kB / 400.7 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.59e-05/0.5461, allocations: 96.56 kB / 400.8 MB, free: 1.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.269e-05/0.5462, allocations: 4.125 kB / 400.8 MB, free: 1.902 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.5464, allocations: 8.672 kB / 400.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.655e-05/0.5464, allocations: 9.953 kB / 400.8 MB, free: 1.887 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/0.5465, allocations: 7.938 kB / 400.8 MB, free: 1.879 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001592/0.5466, allocations: 132.6 kB / 401 MB, free: 1.766 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.414e-06/0.5466, allocations: 0 / 401 MB, free: 1.766 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004589/0.5471, allocations: 42.44 kB / 401 MB, free: 1.727 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005968/0.5477, allocations: 0.8002 MB / 401.8 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.5479, allocations: 54.14 kB / 401.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.548, allocations: 3.25 kB / 401.9 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.587e-05/0.548, allocations: 11.38 kB / 401.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/0.5483, allocations: 11.27 kB / 401.9 MB, free: 0.8477 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006391/0.5489, allocations: 178.3 kB / 402.1 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003754/0.5493, allocations: 0.701 MB / 402.8 MB, free: 15.91 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000111/0.5495, allocations: 16.38 kB / 402.8 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.5495, allocations: 37.17 kB / 402.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of SimCode: time 8.61e-07/0.5496, allocations: 0 / 402.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02122/0.5708, allocations: 2.21 MB / 405 MB, free: 13.73 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002806/0.5711, allocations: 107.3 kB / 405.1 MB, free: 13.62 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.281/2.852, allocations: 0 / 405.1 MB, free: 13.62 MB / 330.7 MB