Running command: translateModel(Physiolibrary.Hydraulic.Examples.Windkessel_3element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_3element") Notification: Performance of loadModel(Physiolibrary): time 1.985/1.985, allocations: 210.4 MB / 222.5 MB, free: 4.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.262e-05/3.277e-05, allocations: 4 kB / 273.8 MB, free: 1.262 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0882/0.08826, allocations: 48.35 MB / 322.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3757/0.464, allocations: 94.13 MB / 416.3 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.4643, allocations: 76.12 kB / 416.4 MB, free: 408 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1228/0.5872, allocations: 32.77 MB / 449.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.5872, allocations: 0 / 449.1 MB, free: 4.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.383e-05/0.5873, allocations: 8 kB / 449.1 MB, free: 4.926 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.001065/0.5883, allocations: 0.5019 MB / 449.6 MB, free: 4.395 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5884, allocations: 8.031 kB / 449.6 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.475e-05/0.5885, allocations: 27.67 kB / 449.7 MB, free: 4.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.5889, allocations: 248.4 kB / 449.9 MB, free: 4.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.085e-05/0.589, allocations: 17.69 kB / 449.9 MB, free: 4.078 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.374e-05/0.589, allocations: 11.75 kB / 449.9 MB, free: 4.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003409/0.5894, allocations: 144.2 kB / 450.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.5894, allocations: 0 / 450.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.5895, allocations: 3.375 kB / 450.1 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.5895, allocations: 7.953 kB / 450.1 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002794/0.5898, allocations: 100.9 kB / 450.2 MB, free: 3.891 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001261/0.591, allocations: 0.531 MB / 450.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.5914, allocations: 127.6 kB / 450.8 MB, free: 3.285 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/0.5916, allocations: 67.09 kB / 450.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.798e-05/0.5916, allocations: 0 / 450.9 MB, free: 3.238 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.5918, allocations: 96.06 kB / 451 MB, free: 3.148 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 6.33e-06/0.5919, allocations: 3.984 kB / 451 MB, free: 3.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000428/0.5923, allocations: 150.4 kB / 451.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.033e-05/0.5924, allocations: 55.41 kB / 451.2 MB, free: 2.953 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/0.5926, allocations: 180.5 kB / 451.4 MB, free: 2.793 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.5927, allocations: 29.27 kB / 451.4 MB, free: 2.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.876e-05/0.5928, allocations: 131.2 kB / 451.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.353e-05/0.5929, allocations: 47 kB / 451.6 MB, free: 2.613 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.039e-05/0.5929, allocations: 4 kB / 451.6 MB, free: 2.609 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5931, allocations: 326.6 kB / 451.9 MB, free: 2.289 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.5932, allocations: 35.44 kB / 451.9 MB, free: 2.266 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.5933, allocations: 61.56 kB / 452 MB, free: 2.211 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.5935, allocations: 47.16 kB / 452.1 MB, free: 2.18 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.904e-06/0.5935, allocations: 0 / 452.1 MB, free: 2.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004095/0.5939, allocations: 152 kB / 452.2 MB, free: 2.051 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5939, allocations: 8 kB / 452.2 MB, free: 2.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.594, allocations: 3.953 kB / 452.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.594, allocations: 4 kB / 452.2 MB, free: 2.035 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002993/0.5943, allocations: 51.94 kB / 452.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.461e-06/0.5943, allocations: 3.938 kB / 452.3 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/0.5948, allocations: 23.83 kB / 452.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.174e-05/0.5949, allocations: 7.938 kB / 452.3 MB, free: 1.957 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.0001704/0.5951, allocations: 120.7 kB / 452.4 MB, free: 1.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.544e-05/0.5951, allocations: 15.81 kB / 452.4 MB, free: 1.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004037/0.5955, allocations: 157.8 kB / 452.6 MB, free: 1.699 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.292e-06/0.5956, allocations: 3.953 kB / 452.6 MB, free: 1.695 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.5956, allocations: 4 kB / 452.6 MB, free: 1.691 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.272e-06/0.5956, allocations: 3.938 kB / 452.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009299/0.5965, allocations: 490.4 kB / 453.1 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-06/0.5966, allocations: 4 kB / 453.1 MB, free: 1.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.5968, allocations: 27.73 kB / 453.1 MB, free: 1.191 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.22e-05/0.5968, allocations: 7.953 kB / 453.1 MB, free: 1.184 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.363e-05/0.5969, allocations: 3.984 kB / 453.1 MB, free: 1.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.718e-06/0.5969, allocations: 3.938 kB / 453.1 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.837e-06/0.5969, allocations: 0 / 453.1 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005602/0.5975, allocations: 296.3 kB / 453.4 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000147/0.5976, allocations: 108.5 kB / 453.5 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.341e-05/0.5977, allocations: 7.891 kB / 453.5 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003624/0.5981, allocations: 11.98 kB / 453.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.236e-05/0.5981, allocations: 15.73 kB / 453.6 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.242e-05/0.5982, allocations: 4 kB / 453.6 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001679/0.5984, allocations: 143.5 kB / 453.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.79e-07/0.5984, allocations: 0 / 453.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004349/0.5988, allocations: 55.5 kB / 453.8 MB, free: 0.5977 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 (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.0002032/0.599, allocations: 123.3 kB / 453.9 MB, free: 484 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002923/0.5994, allocations: 98.75 kB / 454 MB, free: 412 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.124e-06/0.5994, allocations: 4 kB / 454 MB, free: 408 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.5995, allocations: 55.23 kB / 454 MB, free: 368 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.5999, allocations: 35.98 kB / 454.1 MB, free: 340 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006536/0.6006, allocations: 234.3 kB / 454.3 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.601, allocations: 0.7365 MB / 455 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001195/0.6012, allocations: 17.55 kB / 455 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.6013, allocations: 23.42 kB / 455.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of SimCode: time 1.554e-06/0.6013, allocations: 0 / 455.1 MB, free: 15.3 MB / 378.7 MB Notification: Performance of Templates: time 0.007272/0.6086, allocations: 1.977 MB / 457 MB, free: 13.35 MB / 378.7 MB