Running command: "" <> buildModelFMU(MEV.Test.TestPatientValve,fileNamePrefix="MEV_MEV_Test_TestPatientValve",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.053/2.053, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.824e-05, allocations: 4 kB / 270.8 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 48.05 MB / 318.8 MB, free: 4.234 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4239/0.5247, allocations: 76.32 MB / 395.2 MB, free: 6.906 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002045/0.525, allocations: 69.78 kB / 395.2 MB, free: 6.875 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01023/0.5352, allocations: 2.401 MB / 397.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.5353, allocations: 0 / 397.6 MB, free: 4.812 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.5353, allocations: 7.984 kB / 397.6 MB, free: 4.805 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.0005447/0.5359, allocations: 390.3 kB / 398 MB, free: 4.387 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5359, allocations: 8.031 kB / 398 MB, free: 4.379 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.536, allocations: 46.36 kB / 398.1 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.536, allocations: 7.906 kB / 398.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002552/0.5363, allocations: 196.3 kB / 398.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.5363, allocations: 4 kB / 398.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.5364, allocations: 15.52 kB / 398.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002143/0.5366, allocations: 81.11 kB / 398.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5366, allocations: 0 / 398.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.5366, allocations: 0 / 398.4 MB, free: 4.012 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5367, allocations: 7.984 kB / 398.4 MB, free: 4.004 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001479/0.5368, allocations: 51.08 kB / 398.4 MB, free: 3.969 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008157/0.5377, allocations: 398.6 kB / 398.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005501/0.5382, allocations: 50.12 kB / 398.9 MB, free: 3.531 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.5383, allocations: 16.3 kB / 398.9 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.5383, allocations: 0 / 398.9 MB, free: 3.516 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.5384, allocations: 38.44 kB / 398.9 MB, free: 3.473 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 1.873e-06/0.5384, allocations: 3.938 kB / 398.9 MB, free: 3.469 MB / 314.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002321/0.5386, allocations: 61.73 kB / 399 MB, free: 3.406 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/0.5387, allocations: 55.09 kB / 399 MB, free: 3.344 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.5389, allocations: 160.6 kB / 399.2 MB, free: 3.195 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.539, allocations: 25.7 kB / 399.2 MB, free: 3.164 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.393e-05/0.539, allocations: 111.2 kB / 399.3 MB, free: 3.062 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.5391, allocations: 11.75 kB / 399.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.5391, allocations: 0 / 399.3 MB, free: 3.055 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.5392, allocations: 327.4 kB / 399.7 MB, free: 2.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.5393, allocations: 11.88 kB / 399.7 MB, free: 2.723 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.754e-05/0.5394, allocations: 15.62 kB / 399.7 MB, free: 2.715 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.505e-05/0.5394, allocations: 15.92 kB / 399.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5394, allocations: 0 / 399.7 MB, free: 2.703 MB / 314.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001767/0.5396, allocations: 73.09 kB / 399.8 MB, free: 2.637 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.5397, allocations: 105.5 kB / 399.9 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.5397, allocations: 4 kB / 399.9 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5397, allocations: 0 / 399.9 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001571/0.5399, allocations: 11.98 kB / 399.9 MB, free: 2.52 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.5399, allocations: 4 kB / 399.9 MB, free: 2.516 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.5401, allocations: 11.84 kB / 399.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.5401, allocations: 0 / 399.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.5401, allocations: 4 kB / 399.9 MB, free: 2.5 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001089/0.5402, allocations: 35.67 kB / 399.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.874e-06/0.5402, allocations: 0 / 399.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.855e-06/0.5402, allocations: 0 / 399.9 MB, free: 2.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.5404, allocations: 16.19 kB / 400 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.5404, allocations: 4 kB / 400 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.02e-05/0.5405, allocations: 8 kB / 400 MB, free: 2.449 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.5405, allocations: 3.875 kB / 400 MB, free: 2.449 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.656e-05/0.5406, allocations: 112.9 kB / 400.1 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/0.5407, allocations: 15.81 kB / 400.1 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002052/0.5409, allocations: 66.25 kB / 400.2 MB, free: 2.25 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5409, allocations: 4 kB / 400.2 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5409, allocations: 0 / 400.2 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.5409, allocations: 0 / 400.2 MB, free: 2.246 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.5414, allocations: 342.1 kB / 400.5 MB, free: 1.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.5415, allocations: 3.938 kB / 400.5 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.655e-05/0.5416, allocations: 8 kB / 400.5 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.5416, allocations: 0 / 400.5 MB, free: 1.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.652e-05/0.5416, allocations: 8.672 kB / 400.5 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5416, allocations: 0 / 400.5 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.5416, allocations: 4.031 kB / 400.5 MB, free: 1.855 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002143/0.5419, allocations: 182.7 kB / 400.7 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.654e-05/0.542, allocations: 96.5 kB / 400.8 MB, free: 1.555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.542, allocations: 4 kB / 400.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.5422, allocations: 0 / 400.8 MB, free: 1.551 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.5422, allocations: 19.92 kB / 400.8 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5422, allocations: 0 / 400.8 MB, free: 1.531 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001594/0.5424, allocations: 132.2 kB / 401 MB, free: 1.418 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.5424, allocations: 4 kB / 401 MB, free: 1.414 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004611/0.5429, allocations: 35.31 kB / 401 MB, free: 1.383 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.0006191/0.5435, allocations: 0.7967 MB / 401.8 MB, free: 0.5664 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.5437, allocations: 46.84 kB / 401.8 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.5438, allocations: 0 / 401.8 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.141e-05/0.5438, allocations: 19.44 kB / 401.9 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.5441, allocations: 15.44 kB / 401.9 MB, free: 0.5039 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006385/0.5448, allocations: 174.3 kB / 402 MB, free: 312 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.5451, allocations: 0.7088 MB / 402.7 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001134/0.5453, allocations: 12.38 kB / 402.8 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.915e-05/0.5454, allocations: 32.42 kB / 402.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.653e-06/0.5454, allocations: 4 kB / 402.8 MB, free: 15.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.566, allocations: 2.22 MB / 405 MB, free: 13.38 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002792/0.5664, allocations: 116.5 kB / 405.1 MB, free: 13.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.331/2.898, allocations: 0 / 405.1 MB, free: 13.24 MB / 330.7 MB