Running command: "" <> buildModelFMU(MEV.Test.TestStandardPatient,fileNamePrefix="MEV_MEV_Test_TestStandardPatient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.079/2.079, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.562e-05, allocations: 8 kB / 270.8 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1008, allocations: 48.06 MB / 318.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4102/0.511, allocations: 77.72 MB / 396.6 MB, free: 5.539 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002461/0.5113, allocations: 67.84 kB / 396.6 MB, free: 5.508 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03261/0.5439, allocations: 7.266 MB / 403.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.544, allocations: 0 / 403.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.242e-05/0.544, allocations: 8 kB / 403.9 MB, free: 15.43 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001755/0.5458, allocations: 0.6236 MB / 404.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.339e-05/0.5459, allocations: 8.031 kB / 404.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001517/0.546, allocations: 71.84 kB / 404.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.5462, allocations: 39.53 kB / 404.7 MB, free: 14.67 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.5468, allocations: 295.4 kB / 404.9 MB, free: 14.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.872e-05/0.5469, allocations: 26.36 kB / 405 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.78e-05/0.547, allocations: 34.31 kB / 405 MB, free: 14.34 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.5478, allocations: 282.4 kB / 405.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.5479, allocations: 4 kB / 405.3 MB, free: 14.15 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.384e-05/0.5479, allocations: 14.44 kB / 405.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.72e-05/0.5479, allocations: 12 kB / 405.3 MB, free: 14.13 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006987/0.5487, allocations: 215.5 kB / 405.5 MB, free: 14.01 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.5517, allocations: 1.107 MB / 406.6 MB, free: 13.13 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009568/0.5527, allocations: 243.6 kB / 406.9 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002928/0.5531, allocations: 110.1 kB / 407 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.557e-05/0.5531, allocations: 4 kB / 407 MB, free: 12.88 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003892/0.5535, allocations: 141.4 kB / 407.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 3.837e-06/0.5535, allocations: 3.938 kB / 407.1 MB, free: 12.77 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009447/0.5545, allocations: 256.8 kB / 407.4 MB, free: 12.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.378e-05/0.5546, allocations: 59.41 kB / 407.4 MB, free: 12.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005373/0.5551, allocations: 296.9 kB / 407.7 MB, free: 12.27 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.471e-05/0.5552, allocations: 33.33 kB / 407.7 MB, free: 12.23 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000194/0.5554, allocations: 192.9 kB / 407.9 MB, free: 12.08 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.5555, allocations: 85.12 kB / 408 MB, free: 12.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.578e-05/0.5556, allocations: 7.562 kB / 408 MB, free: 12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.5557, allocations: 340.9 kB / 408.4 MB, free: 11.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002411/0.556, allocations: 71 kB / 408.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002919/0.5563, allocations: 132.5 kB / 408.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003102/0.5566, allocations: 115 kB / 408.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.5567, allocations: 4 kB / 408.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00108/0.5577, allocations: 352 kB / 409 MB, free: 11.16 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003192/0.5581, allocations: 0.5577 MB / 409.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.5581, allocations: 0 / 409.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002436/0.5606, allocations: 210.1 kB / 409.8 MB, free: 10.38 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004046/0.561, allocations: 43.67 kB / 409.8 MB, free: 10.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.5621, allocations: 0.6748 MB / 410.5 MB, free: 9.711 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006124/0.5628, allocations: 39.27 kB / 410.5 MB, free: 9.676 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-05/0.5629, allocations: 16 kB / 410.6 MB, free: 9.664 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5629, allocations: 9.188 kB / 410.6 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001296/0.5642, allocations: 350.2 kB / 410.9 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.5642, allocations: 4.156 kB / 410.9 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/0.5649, allocations: 98.22 kB / 411 MB, free: 9.305 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004063/0.5654, allocations: 47.55 kB / 411.1 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003602/0.569, allocations: 1.915 MB / 413 MB, free: 7.484 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000526/0.5695, allocations: 39.36 kB / 413 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/0.5696, allocations: 16 kB / 413 MB, free: 7.438 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.opening.T_start,opening.T_start,$PRE.opening.count,opening.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001759/0.5698, allocations: 119.7 kB / 413.1 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.452e-05/0.5699, allocations: 39.48 kB / 413.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.571, allocations: 312.6 kB / 413.5 MB, free: 7.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.571, allocations: 4 kB / 413.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.571, allocations: 0 / 413.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.165e-06/0.5711, allocations: 7.984 kB / 413.5 MB, free: 7.051 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006488/0.5717, allocations: 389.7 kB / 413.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.5717, allocations: 0 / 413.9 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.5721, allocations: 23.98 kB / 413.9 MB, free: 6.676 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001947/0.574, allocations: 209.8 kB / 414.1 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.642e-05/0.5741, allocations: 11.86 kB / 414.1 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009535/0.5751, allocations: 0.6848 MB / 414.8 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.5751, allocations: 7.938 kB / 414.8 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.5764, allocations: 432 kB / 415.2 MB, free: 5.516 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002691/0.5767, allocations: 146.6 kB / 415.4 MB, free: 5.371 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.607e-05/0.5768, allocations: 7.312 kB / 415.4 MB, free: 5.367 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003797/0.5772, allocations: 19.67 kB / 415.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5773, allocations: 27.83 kB / 415.4 MB, free: 5.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.428e-05/0.5774, allocations: 8 kB / 415.4 MB, free: 5.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003876/0.5778, allocations: 234.9 kB / 415.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.485e-06/0.5778, allocations: 0 / 415.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000899/0.5787, allocations: 182.1 kB / 415.8 MB, free: 4.973 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (standardPatient.compliance.p,standardPatient.compliance.V) * Number of discrete variables: 3 ($whenCondition1,opening.T_start,opening.count) * Number of discrete states: 1 (opening.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.001802/0.5805, allocations: 0.977 MB / 416.8 MB, free: 4.094 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.5826, allocations: 0.6092 MB / 417.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5826, allocations: 0.6875 kB / 417.4 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005143/0.5832, allocations: 117.3 kB / 417.5 MB, free: 3.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005022/0.5837, allocations: 37.58 kB / 417.6 MB, free: 3.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002052/0.5858, allocations: 0.618 MB / 418.2 MB, free: 2.867 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004744/0.5863, allocations: 0.7961 MB / 419 MB, free: 2.039 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003698/0.5867, allocations: 42.94 kB / 419 MB, free: 1.992 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001911/0.5869, allocations: 100 kB / 419.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5869, allocations: 0 / 419.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03695/0.6238, allocations: 7.9 MB / 427 MB, free: 10.14 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002797/0.6242, allocations: 146.3 kB / 427.2 MB, free: 9.914 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.593/3.217, allocations: 3.938 kB / 427.2 MB, free: 9.91 MB / 346.7 MB