Running command: translateModel(Physiolibrary.Hydraulic.Examples.Windkessel_2element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_2element") Notification: Performance of loadModel(Physiolibrary): time 1.966/1.966, allocations: 210.4 MB / 222.5 MB, free: 4.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.412e-05/3.421e-05, allocations: 4 kB / 273.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08845/0.08851, allocations: 48.36 MB / 322.1 MB, free: 0.8242 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3702/0.4587, allocations: 94.05 MB / 416.2 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.459, allocations: 80.27 kB / 416.3 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1203/0.5793, allocations: 32.34 MB / 448.6 MB, free: 5.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.182e-06/0.5793, allocations: 4 kB / 448.6 MB, free: 5.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.168e-05/0.5794, allocations: 0 / 448.6 MB, free: 5.414 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.001061/0.5804, allocations: 495.3 kB / 449.1 MB, free: 4.898 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5805, allocations: 8.031 kB / 449.1 MB, free: 4.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.632e-05/0.5806, allocations: 19.77 kB / 449.1 MB, free: 4.871 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003863/0.581, allocations: 238.9 kB / 449.4 MB, free: 4.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.581, allocations: 6.875 kB / 449.4 MB, free: 4.605 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.189e-05/0.5811, allocations: 11 kB / 449.4 MB, free: 4.598 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003087/0.5814, allocations: 128.9 kB / 449.5 MB, free: 4.496 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.5814, allocations: 3.938 kB / 449.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.107e-05/0.5815, allocations: 2.562 kB / 449.5 MB, free: 4.492 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.5815, allocations: 4 kB / 449.5 MB, free: 4.488 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002351/0.5817, allocations: 80.69 kB / 449.6 MB, free: 4.438 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.583, allocations: 0.4883 MB / 450.1 MB, free: 3.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003556/0.5833, allocations: 110.1 kB / 450.2 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.5835, allocations: 53.22 kB / 450.2 MB, free: 3.84 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.169e-05/0.5835, allocations: 4 kB / 450.2 MB, free: 3.836 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001983/0.5837, allocations: 91.75 kB / 450.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.744e-06/0.5838, allocations: 0 / 450.3 MB, free: 3.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0004306/0.5842, allocations: 140.7 kB / 450.5 MB, free: 3.629 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.5843, allocations: 51.41 kB / 450.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002369/0.5845, allocations: 167.9 kB / 450.7 MB, free: 3.414 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.5846, allocations: 28.83 kB / 450.7 MB, free: 3.383 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.945e-05/0.5847, allocations: 123.8 kB / 450.8 MB, free: 3.277 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.331e-05/0.5848, allocations: 38.33 kB / 450.9 MB, free: 3.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.524e-05/0.5848, allocations: 7.562 kB / 450.9 MB, free: 3.242 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.585, allocations: 337.5 kB / 451.2 MB, free: 2.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.482e-05/0.5851, allocations: 30.36 kB / 451.2 MB, free: 2.891 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001198/0.5852, allocations: 53.17 kB / 451.3 MB, free: 2.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001178/0.5853, allocations: 33.41 kB / 451.3 MB, free: 2.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.01e-06/0.5854, allocations: 4 kB / 451.3 MB, free: 2.816 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003914/0.5858, allocations: 146.6 kB / 451.5 MB, free: 2.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.5858, allocations: 4 kB / 451.5 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.015e-06/0.5858, allocations: 0 / 451.5 MB, free: 2.688 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.5858, allocations: 4 kB / 451.5 MB, free: 2.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002607/0.5861, allocations: 35.52 kB / 451.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.5861, allocations: 0 / 451.5 MB, free: 2.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004928/0.5866, allocations: 31.8 kB / 451.5 MB, free: 2.621 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.5867, allocations: 7.812 kB / 451.6 MB, free: 2.617 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.0001786/0.5869, allocations: 120.3 kB / 451.7 MB, free: 2.496 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.531e-05/0.5869, allocations: 15.81 kB / 451.7 MB, free: 2.48 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003918/0.5874, allocations: 147.1 kB / 451.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.551e-06/0.5874, allocations: 0 / 451.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.176e-06/0.5874, allocations: 0 / 451.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.974e-06/0.5874, allocations: 7.984 kB / 451.8 MB, free: 2.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009117/0.5883, allocations: 466.6 kB / 452.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.816e-06/0.5884, allocations: 0 / 452.3 MB, free: 1.906 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002082/0.5886, allocations: 27.42 kB / 452.3 MB, free: 1.883 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.283e-06/0.5886, allocations: 4 kB / 452.3 MB, free: 1.879 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.105e-05/0.5886, allocations: 3.984 kB / 452.3 MB, free: 1.875 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.812e-06/0.5886, allocations: 4 kB / 452.3 MB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.291e-06/0.5887, allocations: 3.938 kB / 452.3 MB, free: 1.867 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005334/0.5892, allocations: 277.2 kB / 452.6 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.5894, allocations: 100.6 kB / 452.7 MB, free: 1.512 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.5894, allocations: 4 kB / 452.7 MB, free: 1.508 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004383/0.5899, allocations: 19.36 kB / 452.7 MB, free: 1.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.76e-05/0.5899, allocations: 7.984 kB / 452.7 MB, free: 1.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.59, allocations: 7.375 kB / 452.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001769/0.5902, allocations: 136.6 kB / 452.9 MB, free: 1.363 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.5902, allocations: 0 / 452.9 MB, free: 1.363 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004282/0.5906, allocations: 51.45 kB / 452.9 MB, free: 1.316 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.0002064/0.5908, allocations: 121.8 kB / 453 MB, free: 1.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.5912, allocations: 92.92 kB / 453.1 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.938e-06/0.5912, allocations: 0 / 453.1 MB, free: 1.125 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001308/0.5913, allocations: 49.12 kB / 453.2 MB, free: 1.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003569/0.5917, allocations: 26.86 kB / 453.2 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000643/0.5923, allocations: 214.8 kB / 453.4 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.5928, allocations: 0.7244 MB / 454.1 MB, free: 112 kB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.5929, allocations: 29.67 kB / 454.2 MB, free: 84 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.679e-05/0.593, allocations: 19.42 kB / 454.2 MB, free: 64 kB / 362.7 MB Notification: Performance of SimCode: time 1.956e-06/0.593, allocations: 0 / 454.2 MB, free: 64 kB / 362.7 MB Notification: Performance of Templates: time 0.007006/0.6, allocations: 1.801 MB / 456 MB, free: 14.29 MB / 378.7 MB