Running command: "" <> buildModelFMU(Physiolibrary.Osmotic.Examples.CerebrospinalFluid,fileNamePrefix="Physiolibrary_Physiolibrary_Osmotic_Examples_CerebrospinalFluid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 1.923/1.923, allocations: 210.4 MB / 222.5 MB, free: 4.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.734e-05, allocations: 8 kB / 273.9 MB, free: 1.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 48.35 MB / 322.2 MB, free: 0.7266 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4407/0.5478, allocations: 96.1 MB / 418.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.5481, allocations: 72.28 kB / 418.4 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3981/0.9462, allocations: 94.13 MB / 0.5005 GB, free: 6.438 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.9462, allocations: 0 / 0.5005 GB, free: 6.438 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.168e-05/0.9463, allocations: 19.98 kB / 0.5005 GB, free: 6.418 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002154/0.9485, allocations: 0.7598 MB / 0.5013 GB, free: 5.609 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.9485, allocations: 12.03 kB / 0.5013 GB, free: 5.598 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001297/0.9487, allocations: 82.52 kB / 0.5014 GB, free: 5.508 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002165/0.9489, allocations: 63.25 kB / 0.5014 GB, free: 5.445 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009152/0.9498, allocations: 399.2 kB / 0.5018 GB, free: 5.016 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.399e-05/0.9499, allocations: 33 kB / 0.5018 GB, free: 4.984 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.95, allocations: 47.98 kB / 0.5019 GB, free: 4.938 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009021/0.9509, allocations: 340.5 kB / 0.5022 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.951, allocations: 0 / 0.5022 GB, free: 4.598 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.951, allocations: 20 kB / 0.5022 GB, free: 4.578 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.691e-05/0.9511, allocations: 12 kB / 0.5023 GB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.9519, allocations: 277.9 kB / 0.5025 GB, free: 4.297 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003424/0.9553, allocations: 1.225 MB / 0.5037 GB, free: 3.008 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006732/0.956, allocations: 295.5 kB / 0.504 GB, free: 2.691 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006047/0.9566, allocations: 176.8 kB / 0.5042 GB, free: 2.516 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.181e-05/0.9567, allocations: 4 kB / 0.5042 GB, free: 2.512 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.9567, allocations: 38.56 kB / 0.5042 GB, free: 2.465 MB / 426.7 MB Notification: Performance of pre-optimization done (n=23): time 2.865e-06/0.9567, allocations: 0 / 0.5042 GB, free: 2.465 MB / 426.7 MB Notification: Performance of matching and sorting (n=23): time 0.0007841/0.9575, allocations: 238.1 kB / 0.5044 GB, free: 2.227 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.9576, allocations: 51.41 kB / 0.5045 GB, free: 2.164 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006504/0.9582, allocations: 383.8 kB / 0.5048 GB, free: 1.785 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.9583, allocations: 29.7 kB / 0.5049 GB, free: 1.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/0.9585, allocations: 264.1 kB / 0.5051 GB, free: 1.488 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001533/0.9587, allocations: 78.8 kB / 0.5052 GB, free: 1.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.9587, allocations: 16 kB / 0.5052 GB, free: 1.395 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001671/0.9589, allocations: 350.8 kB / 0.5056 GB, free: 1.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000241/0.9592, allocations: 72 kB / 0.5056 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.9595, allocations: 142.8 kB / 0.5058 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.9598, allocations: 91.97 kB / 0.5058 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.9598, allocations: 0 / 0.5058 GB, free: 0.7188 MB / 426.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008978/0.9607, allocations: 305.1 kB / 0.5061 GB, free: 424 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.9607, allocations: 11.97 kB / 0.5061 GB, free: 412 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.9608, allocations: 4 kB / 0.5061 GB, free: 408 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.9608, allocations: 4 kB / 0.5062 GB, free: 404 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005688/0.9614, allocations: 79.83 kB / 0.5062 GB, free: 324 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.9614, allocations: 4 kB / 0.5062 GB, free: 320 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/0.963, allocations: 47.52 kB / 0.5063 GB, free: 272 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.335e-05/0.9631, allocations: 12 kB / 0.5063 GB, free: 260 kB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001279/0.9632, allocations: 124.9 kB / 0.5064 GB, free: 128 kB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/0.9634, allocations: 43.44 kB / 0.5065 GB, free: 84 kB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2719/1.235, allocations: 243.5 kB / 0.5067 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/1.235, allocations: 2.312 kB / 0.5067 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/1.235, allocations: 4.234 kB / 0.5067 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.725e-06/1.235, allocations: 2.656 kB / 0.5067 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/1.237, allocations: 0.7298 MB / 0.5074 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/1.238, allocations: 2.844 kB / 0.5074 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/1.238, allocations: 45.42 kB / 0.5075 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.081e-05/1.238, allocations: 1.344 kB / 0.5075 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.238, allocations: 7.5 kB / 0.5075 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.206e-05/1.238, allocations: 2.234 kB / 0.5075 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.238, allocations: 4.438 kB / 0.5075 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001571/1.24, allocations: 440.8 kB / 0.5079 GB, free: 110 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000509/1.24, allocations: 142 kB / 0.508 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/1.24, allocations: 8.594 kB / 0.508 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001448/1.242, allocations: 13.69 kB / 0.508 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/1.242, allocations: 12.12 kB / 0.5081 GB, free: 109.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.423e-05/1.242, allocations: 8.422 kB / 0.5081 GB, free: 109.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007673/1.243, allocations: 298.5 kB / 0.5083 GB, free: 109.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.243, allocations: 0 / 0.5083 GB, free: 109.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00105/1.244, allocations: 122.9 kB / 0.5085 GB, free: 109.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (CSF_osmotic.state,CSF_hydraulic.state,choroidPlexusCapilaries.state) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 23 * 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.001867/1.246, allocations: 1.001 MB / 0.5094 GB, free: 109.2 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001001/1.247, allocations: 205.6 kB / 0.5096 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.247, allocations: 0 / 0.5096 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003577/1.247, allocations: 92.53 kB / 0.5097 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/1.249, allocations: 115.5 kB / 0.5098 GB, free: 109.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/1.254, allocations: 0.8177 MB / 0.5106 GB, free: 108.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005681/1.254, allocations: 0.8438 MB / 0.5115 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005917/1.255, allocations: 61.69 kB / 0.5115 GB, free: 108.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004279/1.256, allocations: 174.9 kB / 0.5117 GB, free: 108.2 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/1.256, allocations: 3.781 kB / 0.5117 GB, free: 108.2 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04804/1.304, allocations: 9.211 MB / 0.5207 GB, free: 107.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002277/1.304, allocations: 147.6 kB / 0.5208 GB, free: 107.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.552/3.856, allocations: 0 / 0.5208 GB, free: 107.6 MB / 426.7 MB