Running command: translateModel(Physiolibrary.Hydraulic.Examples.Windkessel_4element,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Hydraulic.Examples.Windkessel_4element") Notification: Performance of loadModel(Physiolibrary): time 1.99/1.99, allocations: 210.4 MB / 222.5 MB, free: 4.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.152e-05, allocations: 4 kB / 273.8 MB, free: 1.273 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.08993, allocations: 48.35 MB / 322.1 MB, free: 0.8281 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3761/0.4661, allocations: 94.33 MB / 416.5 MB, free: 248 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/0.4663, allocations: 74.7 kB / 416.5 MB, free: 212 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2263/0.6927, allocations: 61.44 MB / 478 MB, free: 9.145 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.6927, allocations: 0 / 478 MB, free: 9.145 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.792e-05/0.6928, allocations: 8 kB / 478 MB, free: 9.137 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001352/0.6942, allocations: 0.5646 MB / 478.5 MB, free: 8.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.6942, allocations: 12.03 kB / 478.6 MB, free: 8.516 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.6944, allocations: 27.62 kB / 478.6 MB, free: 8.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005073/0.6949, allocations: 269.6 kB / 478.8 MB, free: 8.184 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.55e-05/0.6949, allocations: 16 kB / 478.9 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.582e-05/0.695, allocations: 20 kB / 478.9 MB, free: 8.148 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003994/0.6954, allocations: 161.6 kB / 479 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6954, allocations: 4.25 kB / 479 MB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.6955, allocations: 15.94 kB / 479.1 MB, free: 7.965 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.32e-05/0.6955, allocations: 4 kB / 479.1 MB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003784/0.6959, allocations: 135.9 kB / 479.2 MB, free: 7.828 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001617/0.6975, allocations: 0.617 MB / 479.8 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.6981, allocations: 235.7 kB / 480 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.6984, allocations: 100.7 kB / 480.1 MB, free: 6.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.6985, allocations: 4 kB / 480.1 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000233/0.6987, allocations: 99.38 kB / 480.2 MB, free: 6.688 MB / 394.7 MB Notification: Performance of pre-optimization done (n=19): time 3.78e-06/0.6987, allocations: 4 kB / 480.2 MB, free: 6.684 MB / 394.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005397/0.6993, allocations: 173.6 kB / 480.4 MB, free: 6.508 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.301e-05/0.6993, allocations: 51.41 kB / 480.5 MB, free: 6.445 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003095/0.6997, allocations: 207 kB / 480.7 MB, free: 6.242 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.456e-05/0.6997, allocations: 29.7 kB / 480.7 MB, free: 6.207 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000126/0.6999, allocations: 140.4 kB / 480.8 MB, free: 6.062 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.7, allocations: 63.09 kB / 480.9 MB, free: 6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.378e-05/0.7, allocations: 7.938 kB / 480.9 MB, free: 5.992 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001882/0.7002, allocations: 334.8 kB / 481.2 MB, free: 5.656 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.7004, allocations: 48.17 kB / 481.3 MB, free: 5.605 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.7006, allocations: 80.06 kB / 481.4 MB, free: 5.512 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/0.7007, allocations: 48.92 kB / 481.4 MB, free: 5.465 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.119e-06/0.7008, allocations: 0 / 481.4 MB, free: 5.465 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0005549/0.7013, allocations: 203 kB / 481.6 MB, free: 5.266 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.7014, allocations: 10.41 kB / 481.6 MB, free: 5.258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7014, allocations: 8.062 kB / 481.6 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.7014, allocations: 0 / 481.6 MB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003485/0.7018, allocations: 59.89 kB / 481.7 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.405e-06/0.7018, allocations: 0 / 481.7 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008299/0.7026, allocations: 31.73 kB / 481.7 MB, free: 5.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/0.7027, allocations: 19.97 kB / 481.7 MB, free: 5.141 MB / 394.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: 4 * 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 (27): * Single equations (assignments): 27 * 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.0001811/0.7029, allocations: 116.9 kB / 481.8 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/0.703, allocations: 27.67 kB / 481.9 MB, free: 4.992 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005061/0.7035, allocations: 195.4 kB / 482.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.748e-06/0.7035, allocations: 0 / 482.1 MB, free: 4.801 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.7036, allocations: 4 kB / 482.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.377e-06/0.7036, allocations: 0 / 482.1 MB, free: 4.797 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/0.7048, allocations: 0.5374 MB / 482.6 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.872e-06/0.7049, allocations: 0 / 482.6 MB, free: 4.203 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002938/0.7052, allocations: 39.91 kB / 482.6 MB, free: 4.164 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/0.7052, allocations: 7.953 kB / 482.7 MB, free: 4.156 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.596e-05/0.7052, allocations: 11.98 kB / 482.7 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.176e-06/0.7053, allocations: 0 / 482.7 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.039e-06/0.7053, allocations: 0 / 482.7 MB, free: 4.145 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007142/0.706, allocations: 327.2 kB / 483 MB, free: 3.809 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001998/0.7062, allocations: 108.8 kB / 483.1 MB, free: 3.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.543e-05/0.7063, allocations: 11.95 kB / 483.1 MB, free: 3.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005319/0.7068, allocations: 20.05 kB / 483.1 MB, free: 3.652 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.959e-05/0.7069, allocations: 11.98 kB / 483.1 MB, free: 3.641 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.739e-05/0.707, allocations: 11.92 kB / 483.1 MB, free: 3.629 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.7072, allocations: 163.1 kB / 483.3 MB, free: 3.473 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.7072, allocations: 0 / 483.3 MB, free: 3.473 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004873/0.7077, allocations: 67.84 kB / 483.4 MB, free: 3.406 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (arteries.state,inertia.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 (19): * Single equations (assignments): 16 * 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.0002324/0.708, allocations: 123.2 kB / 483.5 MB, free: 3.273 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003733/0.7083, allocations: 127.9 kB / 483.6 MB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.981e-06/0.7084, allocations: 0 / 483.6 MB, free: 3.148 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.7085, allocations: 75.86 kB / 483.7 MB, free: 3.074 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000408/0.709, allocations: 43.02 kB / 483.7 MB, free: 3.035 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007998/0.7098, allocations: 291 kB / 484 MB, free: 2.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004753/0.7103, allocations: 0.7599 MB / 484.8 MB, free: 1.949 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000146/0.7104, allocations: 30.16 kB / 484.8 MB, free: 1.918 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.7105, allocations: 27.42 kB / 484.8 MB, free: 1.891 MB / 394.7 MB Notification: Performance of SimCode: time 1.758e-06/0.7106, allocations: 0 / 484.8 MB, free: 1.891 MB / 394.7 MB Notification: Performance of Templates: time 0.008637/0.7192, allocations: 2.452 MB / 487.3 MB, free: 15.46 MB / 410.7 MB