Running command: "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Windkessel_3element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_3element",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.195/2.195, allocations: 210.4 MB / 222.5 MB, free: 4.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.526e-05, allocations: 0 / 273.9 MB, free: 1.172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 48.35 MB / 322.2 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.5776, allocations: 94.16 MB / 416.4 MB, free: 4 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/0.578, allocations: 74.95 kB / 416.5 MB, free: 15.97 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1327/0.7107, allocations: 32.78 MB / 449.3 MB, free: 4.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.7107, allocations: 0 / 449.3 MB, free: 4.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.901e-05/0.7108, allocations: 8 kB / 449.3 MB, free: 4.492 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001397/0.7122, allocations: 0.5033 MB / 449.8 MB, free: 3.957 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.7123, allocations: 8.031 kB / 449.8 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.471e-05/0.7123, allocations: 51.75 kB / 449.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001125/0.7125, allocations: 23.72 kB / 449.8 MB, free: 3.875 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/0.7129, allocations: 245.8 kB / 450.1 MB, free: 3.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.713, allocations: 11.3 kB / 450.1 MB, free: 3.602 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.884e-05/0.713, allocations: 18.69 kB / 450.1 MB, free: 3.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003808/0.7134, allocations: 142.1 kB / 450.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.7135, allocations: 0 / 450.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.64e-05/0.7135, allocations: 6.625 kB / 450.3 MB, free: 3.48 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.14e-05/0.7135, allocations: 7.953 kB / 450.3 MB, free: 3.473 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003181/0.7138, allocations: 101.7 kB / 450.4 MB, free: 3.406 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.7154, allocations: 0.5249 MB / 450.9 MB, free: 2.906 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.7159, allocations: 132.4 kB / 451 MB, free: 2.805 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.7161, allocations: 66.47 kB / 451.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.769e-05/0.7161, allocations: 0 / 451.1 MB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.7164, allocations: 96.06 kB / 451.2 MB, free: 2.668 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.955e-06/0.7164, allocations: 0 / 451.2 MB, free: 2.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.0005223/0.7169, allocations: 152.1 kB / 451.3 MB, free: 2.539 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.717, allocations: 59.34 kB / 451.4 MB, free: 2.469 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/0.7173, allocations: 169.5 kB / 451.6 MB, free: 2.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.7173, allocations: 33.64 kB / 451.6 MB, free: 2.285 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.612e-05/0.7174, allocations: 136 kB / 451.7 MB, free: 2.172 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.052e-05/0.7175, allocations: 45.88 kB / 451.8 MB, free: 2.133 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.404e-05/0.7176, allocations: 4 kB / 451.8 MB, free: 2.129 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.7177, allocations: 332.6 kB / 452.1 MB, free: 1.805 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.7178, allocations: 34.66 kB / 452.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000134/0.718, allocations: 56.02 kB / 452.2 MB, free: 1.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001497/0.7181, allocations: 41.94 kB / 452.2 MB, free: 1.703 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.7181, allocations: 0 / 452.2 MB, free: 1.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004635/0.7186, allocations: 156 kB / 452.4 MB, free: 1.574 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/0.7187, allocations: 11.95 kB / 452.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.7187, allocations: 0 / 452.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7187, allocations: 0 / 452.4 MB, free: 1.562 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003998/0.7191, allocations: 51.03 kB / 452.4 MB, free: 1.516 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7191, allocations: 3.938 kB / 452.4 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/0.7198, allocations: 31.86 kB / 452.5 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.741e-05/0.7199, allocations: 7.062 kB / 452.5 MB, free: 1.477 MB / 362.7 MB Warning: Assuming fixed start value for the following 2 variables: pulses.T0:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "beginning of cardiac cycle" type: Real pulses.HP:DISCRETE(unit = "s" fixed = false nominal = 60.0 ) "duration of cardiac cycle" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulses.T0,pulses.b,$PRE.pulses.HP,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0002235/0.7201, allocations: 116.7 kB / 452.6 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.605e-05/0.7202, allocations: 15.81 kB / 452.6 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004996/0.7207, allocations: 165.9 kB / 452.8 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.7207, allocations: 0 / 452.8 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.7208, allocations: 4 kB / 452.8 MB, free: 1.211 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.7208, allocations: 3.984 kB / 452.8 MB, free: 1.207 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001072/0.7219, allocations: 491.9 kB / 453.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.7219, allocations: 0 / 453.3 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.7222, allocations: 43.23 kB / 453.3 MB, free: 0.6992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.7222, allocations: 4 kB / 453.3 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.215e-05/0.7223, allocations: 0 / 453.3 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/0.7223, allocations: 0 / 453.3 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.7223, allocations: 0 / 453.3 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006573/0.723, allocations: 295.4 kB / 453.6 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001552/0.7231, allocations: 104.2 kB / 453.7 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.186e-05/0.7232, allocations: 6.578 kB / 453.7 MB, free: 328 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004773/0.7237, allocations: 18.98 kB / 453.7 MB, free: 312 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.264e-05/0.7238, allocations: 11.98 kB / 453.7 MB, free: 300 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.7238, allocations: 7.438 kB / 453.7 MB, free: 296 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002/0.724, allocations: 140.8 kB / 453.9 MB, free: 172 kB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.724, allocations: 0 / 453.9 MB, free: 172 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004674/0.7245, allocations: 55.06 kB / 453.9 MB, free: 124 kB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (arteries.state) * Number of discrete variables: 5 (pulses.b,$whenCondition1,pulses.T0,pulses.HP,pulses.TD2) * Number of discrete states: 2 (pulses.T0,pulses.HP) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001059/0.7256, allocations: 0.857 MB / 454.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003532/0.726, allocations: 102.8 kB / 454.9 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.726, allocations: 0 / 454.9 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001562/0.7262, allocations: 53.92 kB / 454.9 MB, free: 15.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.7267, allocations: 34.94 kB / 455 MB, free: 15.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.7277, allocations: 296.6 kB / 455.3 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.7281, allocations: 0.7326 MB / 456 MB, free: 14.1 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001463/0.7283, allocations: 17.55 kB / 456 MB, free: 14.08 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001318/0.7284, allocations: 62.53 kB / 456.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7284, allocations: 0 / 456.1 MB, free: 14.05 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02903/0.7575, allocations: 3.822 MB / 459.9 MB, free: 10.3 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003009/0.7579, allocations: 148.4 kB / 460 MB, free: 10.08 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.481/3.239, allocations: 4 kB / 460 MB, free: 10.08 MB / 378.7 MB