Running command: "" <> buildModelFMU(Physiolibrary.Hydraulic.Examples.Windkessel_2element,fileNamePrefix="Physiolibrary_Physiolibrary_Hydraulic_Examples_Windkessel_2element",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Physiolibrary): time 2.063/2.063, allocations: 210.4 MB / 222.5 MB, free: 4.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.713e-05/4.734e-05, allocations: 4 kB / 273.9 MB, free: 1.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 48.35 MB / 322.2 MB, free: 0.7305 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4605/0.5936, allocations: 94.06 MB / 416.3 MB, free: 468 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.594, allocations: 70.27 kB / 416.4 MB, free: 432 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1463/0.7404, allocations: 32.34 MB / 448.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.7404, allocations: 192 / 448.7 MB, free: 5.332 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.018e-05/0.7405, allocations: 15.92 kB / 448.7 MB, free: 5.316 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001537/0.7421, allocations: 485.4 kB / 449.2 MB, free: 4.809 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.176e-05/0.7421, allocations: 12.03 kB / 449.2 MB, free: 4.797 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.769e-05/0.7422, allocations: 46.3 kB / 449.3 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.7424, allocations: 19.77 kB / 449.3 MB, free: 4.73 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005466/0.743, allocations: 237.7 kB / 449.5 MB, free: 4.469 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.743, allocations: 15.5 kB / 449.5 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-05/0.7431, allocations: 11.81 kB / 449.5 MB, free: 4.453 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/0.7436, allocations: 128.1 kB / 449.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/0.7436, allocations: 0 / 449.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.7436, allocations: 3.875 kB / 449.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.43e-05/0.7437, allocations: 7.953 kB / 449.7 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003587/0.744, allocations: 78.11 kB / 449.7 MB, free: 4.293 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001762/0.7458, allocations: 497.1 kB / 450.2 MB, free: 3.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004839/0.7463, allocations: 112.6 kB / 450.3 MB, free: 3.734 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.7465, allocations: 52.28 kB / 450.4 MB, free: 3.695 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.7466, allocations: 4 kB / 450.4 MB, free: 3.691 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002607/0.7469, allocations: 86.7 kB / 450.5 MB, free: 3.609 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 4.639e-06/0.7469, allocations: 0 / 450.5 MB, free: 3.609 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.000626/0.7475, allocations: 132.2 kB / 450.6 MB, free: 3.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.252e-05/0.7476, allocations: 51.41 kB / 450.7 MB, free: 3.434 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003083/0.7479, allocations: 173 kB / 450.8 MB, free: 3.277 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.79e-05/0.748, allocations: 33.64 kB / 450.9 MB, free: 3.242 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.7481, allocations: 130.8 kB / 451 MB, free: 3.133 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.822e-05/0.7482, allocations: 39.33 kB / 451 MB, free: 3.098 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.846e-05/0.7483, allocations: 3.688 kB / 451 MB, free: 3.098 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.7485, allocations: 330.5 kB / 451.4 MB, free: 2.773 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001407/0.7486, allocations: 27.44 kB / 451.4 MB, free: 2.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001718/0.7488, allocations: 53.69 kB / 451.4 MB, free: 2.707 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001762/0.749, allocations: 47.38 kB / 451.5 MB, free: 2.672 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.749, allocations: 0 / 451.5 MB, free: 2.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005651/0.7496, allocations: 136.4 kB / 451.6 MB, free: 2.555 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.423e-05/0.7496, allocations: 4 kB / 451.6 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.7497, allocations: 4 kB / 451.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.7497, allocations: 224 / 451.6 MB, free: 2.547 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004365/0.7501, allocations: 43.78 kB / 451.7 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/0.7502, allocations: 7.875 kB / 451.7 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000897/0.7511, allocations: 27.86 kB / 451.7 MB, free: 2.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.896e-05/0.7511, allocations: 11.89 kB / 451.7 MB, free: 2.465 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 (18): * Single equations (assignments): 18 * 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.0002472/0.7514, allocations: 120.8 kB / 451.8 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.424e-05/0.7515, allocations: 15.81 kB / 451.8 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005879/0.7521, allocations: 137.4 kB / 452 MB, free: 2.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.7521, allocations: 8 kB / 452 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.7522, allocations: 0 / 452 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.915e-05/0.7522, allocations: 0 / 452 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/0.7535, allocations: 472.2 kB / 452.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.7535, allocations: 0 / 452.4 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003363/0.7539, allocations: 23.97 kB / 452.5 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.165e-06/0.7539, allocations: 0 / 452.5 MB, free: 1.734 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.7539, allocations: 11.88 kB / 452.5 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.754, allocations: 0 / 452.5 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.754, allocations: 3.938 kB / 452.5 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007791/0.7548, allocations: 277.7 kB / 452.8 MB, free: 1.477 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.755, allocations: 104.5 kB / 452.9 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.06e-05/0.7551, allocations: 3.875 kB / 452.9 MB, free: 1.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006637/0.7557, allocations: 16.05 kB / 452.9 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.361e-05/0.7559, allocations: 15.73 kB / 452.9 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.7559, allocations: 0 / 452.9 MB, free: 1.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002373/0.7561, allocations: 137.1 kB / 453 MB, free: 1.215 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.7562, allocations: 0 / 453 MB, free: 1.215 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006865/0.7569, allocations: 55.86 kB / 453.1 MB, free: 1.164 MB / 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 (13): * Single equations (assignments): 10 * 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.001235/0.7581, allocations: 0.8232 MB / 453.9 MB, free: 372 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003401/0.7585, allocations: 90.92 kB / 454 MB, free: 304 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7585, allocations: 0 / 454 MB, free: 304 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.7587, allocations: 43.44 kB / 454 MB, free: 272 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.7592, allocations: 38.39 kB / 454.1 MB, free: 248 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.7602, allocations: 262 kB / 454.3 MB, free: 15.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.7606, allocations: 0.7282 MB / 455.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001412/0.7607, allocations: 29.66 kB / 455.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.7609, allocations: 50.42 kB / 455.1 MB, free: 15.17 MB / 378.7 MB Notification: Performance of SimCode: time 1.513e-06/0.7609, allocations: 0 / 455.1 MB, free: 15.17 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03281/0.7937, allocations: 3.529 MB / 458.7 MB, free: 11.71 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003673/0.7941, allocations: 152.4 kB / 458.8 MB, free: 11.49 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.578/3.372, allocations: 4 kB / 458.8 MB, free: 11.48 MB / 378.7 MB